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

test: add --repeat option to tools/test.py #7740

Closed
wants to merge 262 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 28, 2016

  1. http_parser: use MakeCallback

    Make `HTTPParser` an instance of `AsyncWrap` and make it use
    `MakeCallback`. This means that async wrap hooks will be called on
    consumed TCP sockets as well as on non-consumed ones.
    
    Additional uses of `AsyncCallbackScope` are necessary to prevent
    improper state from progressing that triggers failure in the
    test-http-pipeline-flood.js test. Optimally this wouldn't be necessary,
    but for the time being it's the most sure way to allow operations to
    proceed as they have.
    
    Ref: nodejs#7048
    Fix: nodejs#4416
    PR-URL: nodejs#5419
    Reviewed-By: Fedor Indutny <[email protected]>
    trevnorris authored and Myles Borins committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    68d42c8 View commit details
    Browse the repository at this point in the history
  2. src,http: fix uncaughtException miss in http

    In AsyncWrap::MakeCallback always return empty handle if there is an
    error. In the future this should change to return a v8::MaybeLocal, but
    that major change will have to wait for v6.x, and these changes are
    meant to be backported to v4.x.
    
    The HTTParser call to AsyncWrap::MakeCallback failed because it expected
    a thrown call to return an empty handle.
    
    In node::MakeCallback return an empty handle if the call is
    in_makecallback(), otherwise return v8::Undefined() as usual to preserve
    backwards compatibility.
    
    Ref: nodejs#7048
    Fixes: nodejs#5555
    PR-URL: nodejs#5591
    Reviewed-By: Julien Gilli <[email protected]>
    trevnorris authored and Myles Borins committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    534e199 View commit details
    Browse the repository at this point in the history
  3. src,http_parser: remove KickNextTick call

    Now that HTTPParser uses MakeCallback it is unnecessary to manually
    process the nextTickQueue.
    
    The KickNextTick function is now no longer needed so code has moved back
    to node::MakeCallback to simplify implementation.
    
    Include minor cleanup moving Environment::tick_info() call below the
    early return to save an operation.
    
    Ref: nodejs#7048
    PR-URL: nodejs#5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and Myles Borins committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    6084a7c View commit details
    Browse the repository at this point in the history
  4. src: reword command and add ternary

    Make comment clear that Undefined() is returned for legacy
    compatibility. This will change in the future as a semver-major change,
    but to be able to port this to previous releases it needs to stay as is.
    
    Ref: nodejs#7048
    PR-URL: nodejs#5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and Myles Borins committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    4700cda View commit details
    Browse the repository at this point in the history
  5. async_wrap: setupHooks now accepts object

    The number of callbacks accepted to setupHooks was getting unwieldy.
    Instead change the implementation to accept an object with all callbacks
    
    Ref: nodejs#7048
    PR-URL: nodejs#5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and Myles Borins committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    9369f92 View commit details
    Browse the repository at this point in the history
  6. async_wrap: notify post if intercepted exception

    The second argument of the post callback is a boolean indicating whether
    the callback threw and was intercepted by uncaughtException or a domain.
    
    Currently node::MakeCallback has no way of retrieving a uid for the
    object. This is coming in a future patch.
    
    Ref: nodejs#7048
    PR-URL: nodejs#5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and Myles Borins committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    ff60886 View commit details
    Browse the repository at this point in the history
  7. async_wrap: don't abort on callback exception

    Rather than abort if the init/pre/post/final/destroy callbacks throw,
    force the exception to propagate and not be made catchable. This way
    the application is still not allowed to proceed but also allowed the
    location of the failure to print before exiting. Though the stack itself
    may not be of much use since all callbacks except init are called from
    the bottom of the call stack.
    
        /tmp/async-test.js:14
          throw new Error('pre');
          ^
        Error: pre
            at InternalFieldObject.pre (/tmp/async-test.js:14:9)
    
    Ref: nodejs#7048
    PR-URL: nodejs#5756
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and Myles Borins committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    505e9b6 View commit details
    Browse the repository at this point in the history
  8. async_wrap: pass uid to JS as double

    Passing the uid via v8::Integer::New() converts it to a uint32_t. Which
    will trim the value early. Instead use v8::Number::New() to convert the
    int64_t to a double so that JS can see the full 2^53 range of uid's.
    
    Ref: nodejs#7048
    PR-URL: nodejs#7096
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    trevnorris authored and Myles Borins committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    f14d9cf View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2016

  1. tls,https: respect address family when connecting

    Respect the `{ family: 6 }` address family property when connecting to
    a remote peer over TLS.
    
    Fixes: nodejs#4139
    Fixes: nodejs#6440
    PR-URL: nodejs#6654
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Myles Borins committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    c7c5a78 View commit details
    Browse the repository at this point in the history
  2. test: use strictEqual consistently in agent test

    Update parallel/test-http-agent-getname to use assert.strictEqual()
    consistently and const-ify variables while we're here.
    
    PR-URL: nodejs#6654
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Myles Borins committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    8cbcea0 View commit details
    Browse the repository at this point in the history
  3. debugger: propagate --debug-port= to debuggee

    Before this commit `node --debug-port=1234 debug t.js` ignored the
    --debug-port= argument, binding to the default port 5858 instead,
    making it impossible to debug more than one process on the same
    machine that way.
    
    This commit also reduces the number of places where the default port
    is hard-coded by one.
    
    Fixes: nodejs#3345
    PR-URL: nodejs#3470
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and Myles Borins committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    ceb1377 View commit details
    Browse the repository at this point in the history
  4. test: work around debugger not killing inferior

    On UNIX platforms, the debugger doesn't reliably kill the inferior when
    killed by a signal.  Work around that by spawning the debugger in its
    own process group and killing the process group instead of just the
    debugger process.
    
    This is a hack to get the continuous integration back to green, it
    doesn't address the underlying issue, which is that the debugger
    shouldn't leave stray processes behind.
    
    Fixes: nodejs#7034
    PR-URL: nodejs#7037
    Refs: nodejs#3470
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Myles Borins committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    739d83f View commit details
    Browse the repository at this point in the history
  5. build: enable compilation for linuxOne

    Changes to Node core in order to allow compilation for linuxOne.
    
    The ../archs/linux32-s390x/opensslconf.h and
    ../archs/linux64-s390x/opensslconf.h were automatically
    generated by running make linux-ppc linux-ppc64 in the
    deps/openssl/config directory as per our standard
    practice
    
    After these changes we still need a version of v8
    which supports linuxOne but that will be coming soon
    in the 5.1 version of v8.  Until then with these changes
    we'll be able to create a hybrid build which pulls in
    v8 from the http://github/andrewlow repo.
    
    PR-URL: nodejs#5941
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    mhdawson authored and Myles Borins committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    48949fb View commit details
    Browse the repository at this point in the history
  6. test: run v8 tests from node tree

    Ported by exinfinitum from a PR by jasnell:
    see nodejs/node-v0.x-archive#14185
    
    Allows the running of v8 tests on node's packaged v8 source code.
    
    Note that the limited win32 support added by jasnell has NOT been ported,
    and so these tests are currently UNIX ONLY.
    
    Note that gclient depot tools
    (see https://commondatastorage.googleapis.com/
    chrome-infra-docs/flat/depot_tools/docs/html/
    depot_tools_tutorial.html#_setting_up) and subversion are required
    to run tests.
    
    To perform tests, run the following commands:
    
    make v8 DESTCPU=(ARCH)
    make test-v8 DESTCPU=(ARCH)
    
    where (ARCH) is your CPU architecture, e.g. x64, ia32.
    DESTCPU MUST be specified for this to work properly.
    
    Can also do tests on debug build by using "make test-v8 DESTCPU=(ARCH)
    BUILDTYPE=Debug", or perform intl or benchmark tests via make
    test-v8-intl or test-v8-benchmarks respectively.
    
    Note that by default, quickcheck and TAP output are disabled, and i18n
    is enabled. To activate these options, use options"QUICKCHECK=True" and
    "ENABLE_V8_TAP=True" respectively.
    
    Use "DISABLE_V8_I18N" to disable i18n.
    
    Use V8_BUILD_OPTIONS to allow custom user-defined flags to be
    appended onto "make v8".
    
    Any tests performed after changes to the packaged v8 file will require
    recompiling of v8, which can be done using "make v8 DESTCPU=(ARCH)".
    
    Finally, two additional files necessary for one of the v8 tests have
    been added to the v8 folder.
    
    PR-URL: nodejs#4704
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: targos - Michaël Zasso <[email protected]>
    exinfinitum authored and Myles Borins committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    5f9110e View commit details
    Browse the repository at this point in the history
  7. deps: backport 9c927d0f01 from V8 upstream

    Original commit message:
    
        [test] Set default locale in test runner
    
        BUG=v8:4437,v8:2899,chromium:604310
        LOG=n
    
        Review URL: https://codereview.chromium.org/1402373002
    
        Cr-Commit-Position: refs/heads/master@{nodejs#35614}
    
    PR-URL: nodejs#7451
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    MylesBorins committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    c6fab00 View commit details
    Browse the repository at this point in the history
  8. tools: explicit path for V8 test tap output

    Currently we do not specific an absolute path for the tap output of the
    V8 test suite. This is proving to be unreliable across release lines.
    
    By prepending `$(PWD)` to each path we can guarantee it will always be
    in the root folder.
    
    PR-URL: nodejs#7460
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Myles Borins authored and MylesBorins committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    72de1ce View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2016

  1. zlib: release callback and buffer after processing

    PR-URL: nodejs#6955
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Yuval Brik <[email protected]>
    mdlavin authored and Myles Borins committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    395f4be View commit details
    Browse the repository at this point in the history
  2. vm: don't abort process when stack space runs out

    Make less assumptions about what objects will be available when
    vm context creation or error message printing fail because V8
    runs out of JS stack space.
    
    Ref: nodejs#6899
    PR-URL: nodejs#6907
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and Myles Borins committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    73ceb7c View commit details
    Browse the repository at this point in the history
  3. module: don't cache uninitialized builtins

    Don't cache the exported values of fully uninitialized builtins.
    This works by adding an additional `loading` flag that is only
    active during initial loading of an internal module and checking
    that either the module is fully loaded or is in that state before
    using its cached value.
    
    This has the effect that builtins modules which could not be loaded
    (e.g. because compilation failed due to missing stack space) can be
    loaded at a later point.
    
    Fixes: nodejs#6899
    
    Ref: nodejs#6899
    PR-URL: nodejs#6907
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and Myles Borins committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    5ba807a View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2016

  1. deps: backport e7cc609 from upstream V8

    This is part 1/2 of the fixes from v8:4871. This fixes a segfault in
    verify-heap.
    
    Original commit message:
      [crankshaft] Write fillers for folded old space allocations during verify-heap
    
      If we don't write fillers, we crash during PagedSpace verification when we try
      to iterate over dead memory (unused folded allocation slots).
    
      BUG=v8:4871,chromium:580959
      LOG=N
    
      Review URL: https://codereview.chromium.org/1837163002
    
      Cr-Commit-Position: refs/heads/master@{#35097}
    
    Fixes: nodejs#5900
    V8-Bug: https://bugs.chromium.org/p/v8/issues/detail?id=4871
    
    PR-URL: nodejs#7303
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    ofrobots authored and Myles Borins committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    5cf3845 View commit details
    Browse the repository at this point in the history
  2. deps: fix segfault during gc

    This is part 2/2 of the fixes needed for v8:4871. This fix never landed
    upstream because the bug is not present in active V8 version. The patch
    is available from the upstream v8 bug however.
    
    The segfault occurs at the intersection of the following three
    conditions that are dependent on the allocation pattern of an
    application: A pretenured (1) allocation site has to be optimized into
    a merged allocation by the allocation folding optimization (2) and
    there needs to be overflow of the store buffer (3).
    
    This patch disables the allocation folding optimization for pretenured
    allocations. This may have some, hopefully negligible, performance
    impact on real world applications.
    
    Fixes: nodejs#5900
    
    PR-URL: nodejs#7303
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    ofrobots authored and Myles Borins committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    e319d76 View commit details
    Browse the repository at this point in the history
  3. child_process: emit IPC messages on next tick

    Currently, if an IPC event handler throws an error, it can
    cause the message to not be consumed, leading to messages piling
    up. This commit causes IPC events to be emitted on the next tick,
    allowing the channel's processing logic to move forward as
    normal.
    
    Fixes: nodejs#6561
    PR-URL: nodejs#6909
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    cjihrig authored and Myles Borins committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    9ac3971 View commit details
    Browse the repository at this point in the history
  4. test: verify IPC messages are emitted on next tick

    The test in this commit runs correctly if IPC messages are
    properly consumed and emitted. Otherwise, the test times out.
    
    Fixes: nodejs#6561
    PR-URL: nodejs#6909
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    santigimeno authored and Myles Borins committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    8293968 View commit details
    Browse the repository at this point in the history
  5. cluster: close ownerless handles on disconnect()

    When a worker is disconnecting, it shuts down all of the handles
    it is waiting on. It is possible that a handle does not have an
    owner, which causes a crash. This commit closes such handles
    without accessing the missing owner.
    
    Fixes: nodejs#6561
    PR-URL: nodejs#6909
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    cjihrig authored and Myles Borins committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    8aba411 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2016

  1. util: improve util.format performance

    By manually copying arguments and breaking the try/catch out, we are
    able to improve the performance of util.format by 20-100% (depending on
    the types).
    
    PR-URL: nodejs#5360
    Reviewed-By: James M Snell <[email protected]>
    evanlucas authored and Myles Borins committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    9532dd8 View commit details
    Browse the repository at this point in the history
  2. util: improve format() performance further

    Replacing the regexp and replace function with a loop improves
    performance by ~60-200%.
    
    PR-URL: nodejs#5360
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    34dc1cd View commit details
    Browse the repository at this point in the history
  3. test: test cluster worker disconnection on error

    This test checks that ownerless cluster worker handles are closed
    correctly on disconnection.
    
    Fixes: nodejs#6561
    PR-URL: nodejs#6909
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    santigimeno authored and Myles Borins committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    74dce1b View commit details
    Browse the repository at this point in the history
  4. build: split CI rules in Makefile

    Some CI jobs compile Node and run the tests on different machines.
    This change enables collaborators to have finer control over what runs
    on these jobs, such as the exact suites to run. The test-ci rule was
    split into js and native, to allow for addons to be compiled only on
    the machines that are going to run them.
    
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    PR-URL: nodejs#7317
    joaocgreis authored and Myles Borins committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    6db4dab View commit details
    Browse the repository at this point in the history
  5. deps: update to http-parser 2.7.0

    Adds `2` as a return value of `on_headers_complete`, this mode will be
    used to fix handling responses to `CONNECT` requests.
    
    See: nodejs#6198
    PR-URL: nodejs#6279
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    36a7034 View commit details
    Browse the repository at this point in the history
  6. http: skip body and next message of CONNECT res

    When handling a response to `CONNECT` request - skip message body
    and do not attempt to parse the next message. `CONNECT` requests are
    used in similar sense to HTTP Upgrade.
    
    Fix: nodejs#6198
    PR-URL: nodejs#6279
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    a5d5d02 View commit details
    Browse the repository at this point in the history
  7. test: add test for responses to HTTP CONNECT req

    See: nodejs#6198
    PR-URL: nodejs#6279
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    slushie authored and Myles Borins committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    fb88542 View commit details
    Browse the repository at this point in the history
  8. buffer: backport --zero-fill-buffers cli option

    This backports the --zero-fill-buffers command line flag introduced
    in master. When used, all Buffer and SlowBuffer instances will zero
    fill by default.
    
    This does *not* backport any of the other Buffer API or behavior
    changes.
    
    PR-URL: nodejs#5745
    Reviewed-By: Trevor Norris <[email protected]>
    jasnell authored and Myles Borins committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    a27eeab View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2016

  1. doc: git mv to .md

    Original commit:
    nodejs@0800c0a
    
        doc: git mv to .md
        * doc: rename .markdown references in content
        * doc: rename to .md in tools
        * doc: rename to .md in CONTRIBUTING.md
    
        PR-URL: nodejs#4747
        Reviewed-By: Myles Borins <[email protected]>
        Reviewed-By: techjeffharris
        Reviewed-By: Johan Bergström <[email protected]>
        Reviewed-By: James M Snell <[email protected]>
        Reviewed-By: Anna Henningsen <[email protected]>
    eljefedelrodeodeljefe authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    aee23f8 View commit details
    Browse the repository at this point in the history
  2. win,build: add creation of zip and 7z package

    Add a step in vcbuild.bat to create a minimal package including node
    and npm that can be used as an alternative to the MSI.
    
    Compress the node.pdb file as zip and 7z.
    
    All files are uploaded as part of build-release.
    
    Reviewed-By: Joao Reis <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Alexis Campailla <[email protected]>
    PR-URL: nodejs#5995
    Fixes: nodejs/build#299
    Fixes: nodejs#5696
    bzoz authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    80e498c View commit details
    Browse the repository at this point in the history
  3. test,win: skip addons/load-long-path on WOW64

    This test fails on WOW64 because of a bug in the OS, and there is
    no acceptable workaround.
    
    Ref: nodejs#3667
    
    PR-URL: nodejs#6675
    Reviewed-By: bnoordhuis - Ben Noordhuis <[email protected]>
    Reviewed-By: cjihrig - Colin Ihrig <[email protected]>
    orangemocha authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    84b8061 View commit details
    Browse the repository at this point in the history
  4. buffer: ignore negative allocation lengths

    Treat negative length arguments to `Buffer()`/`allocUnsafe()`
    as if they were zero so the allocation does not affect the
    pool’s offset.
    
    Fixes: nodejs#7047
    
    Refs: nodejs#7051
    Refs: nodejs#7221
    Refs: nodejs#7475
    PR-URL: nodejs#7562
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Nikolai Vavilov <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    725c8c4 View commit details
    Browse the repository at this point in the history
  5. buffer: backport new buffer constructor APIs to v4.x

    This backports the new `Buffer.alloc()`, `Buffer.allocUnsafe()`,
    `Buffer.from()`, and `Buffer.allocUnsafeSlow()` APIs for v4.
    
    Some backported tests are disabled, but those are not related to the
    new API.
    
    Note that `Buffer.from(arrayBuffer[, byteOffset [, length]])` is not
    supported in v4.x, only `Buffer.from(arrayBuffer)` is.
    
    Refs: nodejs#4682
    Refs: nodejs#5833
    Refs: nodejs#7475
    PR-URL: nodejs#7562
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Nikolai Vavilov <[email protected]>
    ChALkeR authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    12d9769 View commit details
    Browse the repository at this point in the history
  6. deps: backport 22c5e46 from V8

    This removes the diagnostic code for the issue described in
    https://bugs.chromium.org/p/chromium/issues/detail?id=454297. That issue
    is private, probably due to the fact that it contains information about
    a security vulnerability.
    
    The original issue was fixed in V8 by
    https://codereview.chromium.org/1286343004, which was integrated into
    node v4.x with c431725, so there's no
    need for the corresponding diagnostic code anymore.
    
    Original commit message:
    
      [heap] Remove debugging code of crbug/454297.
    
      BUG=
    
      Review URL: https://codereview.chromium.org/1420253002
    
      Cr-Commit-Position: refs/heads/master@{nodejs#31523}
    
    PR-URL: nodejs#7584
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Ali Ijaz Sheikh <[email protected]>
    Julien Gilli authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    8a3e6ea View commit details
    Browse the repository at this point in the history
  7. doc: note that process.config can and will be changed

    PR-URL: nodejs#6266
    Reviewed-By: Ben Noordhuis <[email protected]>
    jasnell authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b55e65a View commit details
    Browse the repository at this point in the history
  8. src: add process.binding('config')

    It turns out that userland likes to override process.config with
    their own stuff. If we want to be able to depend on it in any way,
    we need our own internal mechanism.
    
    This adds a new private process.binding('config') that is
    intended to serve as a container for internal flags and compile
    time configs that need to be passed on to the JS layer.
    
    PR-URL: nodejs#6266
    Reviewed-By: Ben Noordhuis <[email protected]>
    jasnell authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    55f0f88 View commit details
    Browse the repository at this point in the history
  9. tls: use process.binding('config') to detect fips mode

    When the fips mode check was added sometime in v4 it caused a
    regression in some edge cases (see nodejs#6114)
    because `process.config` can be overwritten by userland modules.
    This switches to using the backported process.binding('config') to
    fix the regression.
    
    Fixes: nodejs#6114
    
    PR-URL: nodejs#7551
    Reviewed-By: Myles Borins <[email protected]>
    jasnell authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    65ede67 View commit details
    Browse the repository at this point in the history
  10. deps: upgrade libuv to 1.9.0

    Fixes: nodejs#5737
    Fixes: nodejs#4643
    Fixes: nodejs#4291
    Fixes: nodejs/node-v0.x-archive#8960
    Refs: nodejs#3594
    PR-URL: nodejs#5994
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    saghul authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f56125e View commit details
    Browse the repository at this point in the history
  11. deps: upgrade libuv to 1.9.1

    Fixes: nodejs#4002
    Fixes: nodejs#5384
    Fixes: nodejs#6563
    Refs: nodejs#2680 (comment)
    PR-URL: nodejs#6796
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    saghul authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    eaab802 View commit details
    Browse the repository at this point in the history
  12. unix,stream: fix getting the correct fd for a handle

    On OSX it's possible that the fd is replaced, so use the proper libuv
    API to get the correct fd.
    
    PR-URL: nodejs#6753
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    saghul authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    350a883 View commit details
    Browse the repository at this point in the history
  13. tty: use blocking mode on OS X

    OS X has a tiny 1kb hard-coded buffer size for stdout / stderr to
    TTYs (terminals). Output larger than that causes chunking, which ends
    up having some (very small but existent) delay past the first chunk.
    That causes two problems:
    
    1. When output is written to stdout and stderr at similar times, the
    two can become mixed together (interleaved). This is especially
    problematic when using control characters, such as \r. With
    interleaving, chunked output will often have lines or characters erased
    unintentionally, or in the wrong spots, leading to broken output.
    CLI apps often extensively use such characters for things such as
    progress bars.
    
    2. Output can be lost if the process is exited before chunked writes
    are finished flushing. This usually happens in applications that use
    `process.exit()`, which isn't infrequent.
    
    See nodejs#6980 for more info.
    
    This became an issue as result of the Libuv 1.9.0 upgrade. A fix to
    an unrelated issue broke a hack previously required for the OS X
    implementation. This resulted in an unexpected behavior change in node.
    The 1.9.0 upgrade was done in c3cec1e,
    which was included in v6.0.0.
    Full details of the Libuv issue that induced this are at
    nodejs#6456 (comment)
    
    Refs: nodejs#1771
    Refs: nodejs#6456
    Refs: nodejs#6773
    Refs: nodejs#6816
    PR-URL: nodejs#6895
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Fishrock123 authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    139f9f0 View commit details
    Browse the repository at this point in the history
  14. udp: use libuv API to get file descriptor

    Refs: nodejs#6838
    PR-URL: nodejs#6908
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    saghul authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    973abab View commit details
    Browse the repository at this point in the history
  15. test: test TTY problems by fakeing a TTY using openpty

    Many thanks to thefourtheye and addaleax who helped make the python
    bits of this possible.
    
    See nodejs#6980 for more info regarding
    the related TTY issues.
    
    Refs: nodejs#6456
    Refs: nodejs#6773
    Refs: nodejs#6816
    PR-URL: nodejs#6895
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Fishrock123 authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c4def78 View commit details
    Browse the repository at this point in the history
  16. src: add node::FreeEnvironment public API

    Since debugger::Agent's interface is not exported, third party embedders
    will have linking errors if they call Environment's destructor directly.
    
    PR-URL: nodejs#3098
    Reviewed-By: Ben Noordhuis <[email protected]>
    zcbenz authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    70a8411 View commit details
    Browse the repository at this point in the history
  17. doc: add vm example, be able to require modules

    The intention behind is to present the user a way to
    execute code in a vm context. The current API doesn't
    allow this out-of-the-box, since it is neither passing a require
    function nor creating context with one.
    The missing docs for this behaviour have produced a number of
    Q&A items and have also been discussed in the node-archive repo.
    In both cases there was no real canonical answer.
    
    Refs: nodejs/node-v0.x-archive#9211, nodejs#4955
    PR-URL: nodejs#5323
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    eljefedelrodeodeljefe authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    18e1bb6 View commit details
    Browse the repository at this point in the history
  18. repl: copying tabs shouldn't trigger completion

    PR-URL: nodejs#5958
    Fixes: nodejs#5954
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    ghaiklor authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    48405be View commit details
    Browse the repository at this point in the history
  19. doc: document socket.destroyed

    Fixes: nodejs#5898
    PR-URL: nodejs#6128
    Reviewed-By: Colin Ihrig <[email protected]>
    tusharmath authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    a6113bc View commit details
    Browse the repository at this point in the history
  20. assert: allow circular references

    assert.deepEqual() and assert.deepStrictEqual() will no longer throw a
    RangeError if passed objects with circular references.
    
    PR-URL: nodejs#6432
    Fixes: nodejs#6416
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d7b13f2 View commit details
    Browse the repository at this point in the history
  21. test: add tests for stream3 buffering using cork

    adds 2 new tests for streams3 cork behavior, cork then uncork and cork then end
    
    PR-URL: nodejs#6493
    
    Reviewed-By: James M Snell <[email protected]>
    alexjeffburke authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    944ac54 View commit details
    Browse the repository at this point in the history
  22. test: avoid test-cluster-master-* flakiness

    Removed reliance on worker exit before arbitrary timeout. Instead of failing
    the test after 200 or 1000 ms wait indefinitely for child process exit. If
    the test hangs the test harness global timeout will kick in and fail the test.
    
    Note that if the orphaned children are not reaped correctly (in the absence
    of init, e.g. Docker) the test will hang and the harness will fail it.
    
    PR-URL: nodejs#6531
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Andreas Madsen <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    stefanmb authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    331d3de View commit details
    Browse the repository at this point in the history
  23. test: unmark test-http-regr-nodejsgh-2928 as flaky

    The flakiness issue for test-http-regr-nodejsgh-2928 on SmartOS was resolved
    in late February in nodejs#5454. This
    change removes its flaky designation in sequential.status.
    
    PR-URL: nodejs#6540
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    39fbc18 View commit details
    Browse the repository at this point in the history
  24. doc: Add resolveNaptr and naptr rrtype docs

    Updates the dns module documentation to include documentation on
    the resolveNaptr method, and also adds the option NAPTR to the
    list of valid values for rrtype in dns.resolve(hostname[, rrtype],
    callback).
    
    PR-URL: nodejs#6586
    Fixes: nodejs#6507
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    doug-wade authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    e1944eb View commit details
    Browse the repository at this point in the history
  25. test: make stdout buffer test more robust

    test-stdout-buffer-flush-on-exit is unfortunately non-deterministic. It
    will, every so often, pass when it is supposed to fail. This is
    currently guarded against by running the test with three different long
    strings. This change increases it to five to reduce the false negatives.
    
    PR-URL: nodejs#6633
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    ab55d12 View commit details
    Browse the repository at this point in the history
  26. test: pass python path to node-gyp

    node-gyp rebuild should use the same python interpreter as in Makefile
    rather than let node-gyp guess the python path by itself.
    
    PR-URL: nodejs#6646
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    hefangshi authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    175a2a1 View commit details
    Browse the repository at this point in the history
  27. doc: server.listen truncates socket path on unix

    Internally it ends up calling `uv_pipe_bind` with the given path which
    itself is documented to truncate the path. See
    http://docs.libuv.org/en/v1.x/pipe.html#c.uv_pipe_bind
    
    This is NOT a bug, but a restriction of the unix
    socket api, as it stores the path in `sockaddr_un.sun_path` (104 chars
    on OS X, 108 chars on Linux), see `man unix`.
    
    PR-URL: nodejs#6659
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Alexander Makarenko <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    jeanregisser authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    1785e97 View commit details
    Browse the repository at this point in the history
  28. tools: print stderr on bad test.py vmArch check

    This makes it so you can see why the check fails if it does.
    
    Typically that sort of thing can happen if you are modifying
    bootstrapping or `process`.
    
    PR-URL: nodejs#6786
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Fishrock123 authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b1fe6cc View commit details
    Browse the repository at this point in the history
  29. build: unbreak configure with python 2.6

    Commit 2b1c01c ("build: refactor pkg-config for shared libraries")
    from May 2015 introduced python 2.7-specific code.
    
    It mainly affects people building on old RHEL platforms where the system
    python is 2.6.  Seemingly a dying breed because the issue went unnoticed
    (or at least unreported) for a whole year.
    
    Fixes: nodejs#6711
    PR-URL: nodejs#6874
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    cba189e View commit details
    Browse the repository at this point in the history
  30. installer: don't install node_internals.h

    As the name suggests, it's for internal use only, so don't install it.
    
    Including it in an add-on doesn't work because the file depends on other
    header files that are not installed.
    
    Adding it to the install list appears to have been an oversight in
    commit 32478ac ("build: unix install node and dep library headers").
    
    PR-URL: nodejs#6913
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b2a8eab View commit details
    Browse the repository at this point in the history
  31. test: fix component printing on windows

    Commit 084b2ec ("test: include component in tap output") introduced
    an in hindsight glaringly obvious but fortunately not very critical
    Windows-specific bug by failing to take the path separator into account.
    This commit rectifies that, the prefix is now correctly stripped.
    
    PR-URL: nodejs#6915
    Refs: nodejs#6653
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f1677e8 View commit details
    Browse the repository at this point in the history
  32. src: fix Windows segfault with --eval

    When specifing a parameter that requries an additional argument on the
    command line, node would segfault.  This appears to be specific to
    Windows, adjusted command line argument parsing to hold a nullptr
    terminal.
    
    Adding unit test for crash on missing arguments.
    
    PR-URL: nodejs#6938
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Bryce Simonds authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c35762b View commit details
    Browse the repository at this point in the history
  33. child_process: allow buffer encoding in spawnSync

    When the 'buffer' encoding is passed to spawnSync(), an exception
    is thrown in Buffer's toString() method because 'buffer' is not
    a valid encoding there. This commit special cases the 'buffer'
    encoding.
    
    Fixes: nodejs#6930
    PR-URL: nodejs#6939
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    cjihrig authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6daebb0 View commit details
    Browse the repository at this point in the history
  34. test: refactor spawnSync() cwd test

    This commit refactors test-child-process-spawnsync.js to use
    the reusable common.spawnSyncPwd().
    
    PR-URL: nodejs#6939
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    cjihrig authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    830675e View commit details
    Browse the repository at this point in the history
  35. doc: specify how to link issues in commit log

    PR-URL: nodejs#7161
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    lpinca authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    9ad0eea View commit details
    Browse the repository at this point in the history
  36. doc: remove cluster.setupMaster() myth

    cluster.setupMaster() can be called more than once. Core even has
    tests for this functionality. This commit removes an incorrect
    statement to the contrary from the documentation.
    
    Fixes: nodejs#7156
    PR-URL: nodejs#7179
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    cjihrig authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    075cbac View commit details
    Browse the repository at this point in the history
  37. http: fix no dumping after maybeReadMore

    When `maybeReadMore` kicks in on a first bytes of incoming data, the
    `req.read(0)` will be invoked and the `req._consuming` will be set to
    `true`. This seemingly harmless property leads to a dire consequences:
    the server won't call `req._dump()` and the whole HTTP/1.1 pipeline will
    hang (single connection).
    
    PR-URL: nodejs#7211
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    indutny authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c3de701 View commit details
    Browse the repository at this point in the history
  38. doc,dgram: fix addMembership documentation

    Adding membership using `IP_ADD_MEMBERSHIP` with interface address set
    to `INADDR_ANY` for `IPv4` or as an index of `0` for `IPv6` leads to
    using only one interface selected by the operating system.
    
    Fixes: nodejs#1692
    PR-URL: nodejs#7244
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    santigimeno authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b306e61 View commit details
    Browse the repository at this point in the history
  39. doc: update build instructions for Windows

    The Visual C++ Build Tools are supported to build Node on Windows
    and already used in CI, so they should be included in the build
    instructions.
    
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    PR-URL: nodejs#7285
    joaocgreis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    e4007cb View commit details
    Browse the repository at this point in the history
  40. test: listen on and connect to 127.0.0.1

    Avoid transient DNS issues in test sequential/test-net-GH-5504 by using
    the IP address instead of the 'localhost' host name.
    
    Fixes: nodejs#6611
    PR-URL: nodejs#7524
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    cd12cfd View commit details
    Browse the repository at this point in the history
  41. benchmark: add util.format benchmark

    PR-URL: nodejs#5360
    Reviewed-By: James M Snell <[email protected]>
    evanlucas authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    aa7ca85 View commit details
    Browse the repository at this point in the history
  42. doc: Add CTC meeting minutes for 2016-05-04

    PR-URL: nodejs#6579
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Evan Lucas <[email protected]>
    Reviewed-By: thefourtheye - Sakthipriyan Vairamani <[email protected]>
    mhdawson authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    affa8f6 View commit details
    Browse the repository at this point in the history
  43. doc: add bmeck to collaborators

    PR-URL: nodejs#6962
    Reviewed-By: Rich Trott <[email protected]>
    bmeck authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c1ad830 View commit details
    Browse the repository at this point in the history
  44. doc: add firedfox to collaborators

    PR-URL: nodejs#6961
    Reviewed-By: Rich Trott <[email protected]>
    firedfox authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    059c209 View commit details
    Browse the repository at this point in the history
  45. cluster: guard against undefined message handlers

    cluster's internal message handling includes a cache of callback
    functions. Once the message for that callback is received, it is
    removed from the cache. If, for any reason, the same message ID
    is processed twice, the callback will be missing from the cache
    and cluster will try to call undefined as a function. This commit
    guards against this scenario.
    
    Refs: nodejs#6561
    PR-URL: nodejs#6902
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    cjihrig authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3ba5d13 View commit details
    Browse the repository at this point in the history
  46. doc: add yorkie to collaborators

    PR-URL: nodejs#7004
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    yorkie authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    756396e View commit details
    Browse the repository at this point in the history
  47. test: verify cluster worker exit

    test-cluster-disconnect-handles already includes logic that
    tries to cleanup any child processes when the test fails. This
    commit adds additional checks to verify that the child exited
    normally, and fails the test if that is not the case.
    
    Refs: nodejs#6988
    PR-URL: nodejs#6993
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    cjihrig authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    fb451eb View commit details
    Browse the repository at this point in the history
  48. doc: clarified use of sexual language in the CoC

    Clarifies the code of conduct by adding some wording discouraging the
    use of sexualized language.
    
    This PR was prompted by some moderation discussion, and we realized
    that there was some ambiguity around this topic in the current CoC
    
    PR-URL: nodejs#6973
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    nebrius authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    205ddba View commit details
    Browse the repository at this point in the history
  49. doc: improve server.address() doc text

    PR-URL: nodejs#7001
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c7f3841 View commit details
    Browse the repository at this point in the history
  50. doc: improve server.listen() documentation prose

    PR-URL: nodejs#7000
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuval Brik <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d106702 View commit details
    Browse the repository at this point in the history
  51. doc: add info on what's used for fswatch on AIX

    Info is provided on for the other OS's. Add similar
    level of info for AIX.
    
    PR-URL: nodejs#6837
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    mhdawson authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    fb8232a View commit details
    Browse the repository at this point in the history
  52. test: remove modifcation to common.PORT

    A possibly-buggy fixture server uses `common.PORT+1000` for its port
    rather than `common.PORT`. That could result in it clashing with other
    ports if tests are run in parallel. The test runner increments
    `common.PORT` by 100 for each running instance for tests. Change to use
    common.PORT and have the tests that use the fixture start with
    common.PORT+1 for anything they need.
    
    PR-URL: nodejs#6990
    Refs: nodejs#6989
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    58a3852 View commit details
    Browse the repository at this point in the history
  53. doc: update labels and CI info in onboarding doc

    PR-URL: nodejs#7006
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7e36ab2 View commit details
    Browse the repository at this point in the history
  54. doc: fix typos in WORKING_GROUPS.md

    PR-URL: nodejs#7032
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    joaosa authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d4a0288 View commit details
    Browse the repository at this point in the history
  55. doc: improve debugger doc prose

    PR-URL: nodejs#7007
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    936271c View commit details
    Browse the repository at this point in the history
  56. test: fix test-debug-port-numbers on OS X

    According to kill(2), kill returns `EPERM` error if when signalling a
    process group any of the members could not be signalled.
    
    PR-URL: nodejs#7046
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    santigimeno authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c0081b1 View commit details
    Browse the repository at this point in the history
  57. doc,test: add How to write a Node.js test guide

    PR-URL: nodejs#6984
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yorkie Liu <[email protected]>
    santigimeno authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    521f74a View commit details
    Browse the repository at this point in the history
  58. test: remove common.PORT from gc tests

    Allow the operating system to provide an arbitrary available port rather
    than using `common.PORT`, as `common.PORT` makes it likely that a test
    will fail with `EADDRINUSE` as a side effect of an earlier test.
    
    PR-URL: nodejs#7013
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    978554f View commit details
    Browse the repository at this point in the history
  59. cluster: rewrite debug ports consistently

    When debug flags are passed to clustered applications, the debug
    port is rewritten for each worker process to avoid collisions.
    Prior to this commit, each debug flag would get a unique value.
    This commit reworks the logic to assign the same port value to
    all debug flags for a single worker.
    
    PR-URL: nodejs#7050
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    cjihrig authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    914d146 View commit details
    Browse the repository at this point in the history
  60. test: remove non-incremental common.PORT changes

    Remove uses of `common.PORT + 1337` where `common.PORT` suffices.
    
    PR-URL: nodejs#7055
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Refs: nodejs#6990
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6a85acc View commit details
    Browse the repository at this point in the history
  61. doc: Add CII Best Practices badge to README.md

    Node.js has earned the Linux Foundation Core Infrastructure Initiative (CII) best practices badge.
    This change lets people see that, including a link for more information.
    
    The badge lets users and potential users of Node.js know that Node.js follows best practices.
    It may also help spur other projects to follow Node.js's lead.
    
    My thanks to Rod Vagg, who did the work to see that Node.js earned the badge.
    
    PR-URL: nodejs#6819
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    david-a-wheeler authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0a89108 View commit details
    Browse the repository at this point in the history
  62. test: remove disabled eio race test

    The project does not use libeio anymore. Remove disabled libeio-specific
    test.
    
    PR-URL: nodejs#7083
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    72411f0 View commit details
    Browse the repository at this point in the history
  63. benchmark: add benchmark for Buffer.concat

    PR-URL: nodejs#7054
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    94c2ec8 View commit details
    Browse the repository at this point in the history
  64. doc: fix header depth of util.isSymbol

    PR-URL: nodejs#7138
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    jasnell authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b3952fb View commit details
    Browse the repository at this point in the history
  65. test: improve debug-break-on-uncaught reliability

    Running the test through CI reveals unreliability due to a race
    condition. These changes mitigate the race condition, but do not
    eliminate it.
    
    PR-URL: nodejs#6793
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    188960d View commit details
    Browse the repository at this point in the history
  66. child_process: measure buffer length in bytes

    This change fixes a known issue where `maxBuffer` limits by characters
    rather than bytes. Benchmark added to confirm no performance regression
    occurs with this change.
    
    PR-URL: nodejs#6764
    Fixes: nodejs#1901
    Reviewed-By: Brian White <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3ed7683 View commit details
    Browse the repository at this point in the history
  67. http: wait for both prefinish/end to keepalive

    When `free`ing the socket to be reused in keep-alive Agent wait for
    both `prefinish` and `end` events. Otherwise the next request may be
    written before the previous one has finished sending the body, leading
    to a parser errors.
    
    PR-URL: nodejs#7149
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    indutny authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    ce0a1fa View commit details
    Browse the repository at this point in the history
  68. test: make test-child-process-fork-net more robust

    test-child-process-fork-net will sometimes fail in CI with EADDRINUSE
    because an earlier test failed to free common.PORT. Have the operating
    system provide an available port instead.
    
    PR-URL: nodejs#7033
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3299ad3 View commit details
    Browse the repository at this point in the history
  69. test: add test for uid/gid setting in spawn

    Remove a disabled test in favor of one that expects an error.
    
    This validates (somewhat) that the underlying code is calling the
    correct system call for setting UID and GID. Unlike the formerly
    disabled test, it does not try to validate that the system UID/GID
    setting works.
    
    PR-URL: nodejs#7084
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    308723e View commit details
    Browse the repository at this point in the history
  70. doc: fix events typo

    This commit removes an extraneous word.
    
    PR-URL: nodejs#7329
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    greysonp authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7f18417 View commit details
    Browse the repository at this point in the history
  71. doc: add internal link in GOVERNANCE.md

    PR-URL: nodejs#7279
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    95ee70e View commit details
    Browse the repository at this point in the history
  72. test: enable test-debug-brk-no-arg

    Fix issues with disabled test-debug-brk-no-arg and re-enable the test.
    
    PR-URL: nodejs#7143
    Reviewed-By: Fedor Indutny <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c5c7603 View commit details
    Browse the repository at this point in the history
  73. test: fix spawn on windows

    Most Windows systems do not have an external `echo` program installed,
    so any attempts to spawn `echo` as a child process will fail with
    `ENOENT`. This commit forces the use of the built-in `echo` provided
    by `cmd.exe`.
    
    PR-URL: nodejs#7049
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: João Reis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    mscdex authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f0f62e5 View commit details
    Browse the repository at this point in the history
  74. doc: fix IRC link

    PR-URL: nodejs#7210
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    imyller authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    69665de View commit details
    Browse the repository at this point in the history
  75. doc: clarify use of 0 port value

    Clarify that using a port value of `0` will result in the operating
    system identifying an available port for use.
    
    PR-URL: nodejs#7206
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: cjihrig - Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    8d216d9 View commit details
    Browse the repository at this point in the history
  76. doc: use Buffer.byteLength for Content-Length

    As the description in http.md:
    
    > If the body contains higher coded characters then
    Buffer.byteLength() should be used to determine the number of
    bytes in a given encoding.
    
    PR-URL: nodejs#7274
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jackson Tian <[email protected]>
    kimown authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    06d130a View commit details
    Browse the repository at this point in the history
  77. tools: fix license builder to work with icu-small

    Currently the license builder is expecting the ICU package to be
    found at `deps/icu`. ICU is now included by default and found at
    `deps/icu-small`. This commit adds logic to find the license at the new
    location.
    
    This could likely be done in a more elegant way, but it works!
    
    PR-URL: nodejs#7119
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Steven R Loomis <[email protected]>
    Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3d00c78 View commit details
    Browse the repository at this point in the history
  78. benchmark: add benchmark for url.format()

    PR-URL: nodejs#7250
    Reviewed-By: Brian White <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    826cec8 View commit details
    Browse the repository at this point in the history
  79. test: add tests for some stream.Readable uses

    * test: check invalid chunk error for readable.push
    
      Test that passing invalid chunks to readable.push() in
      non-object mode throw errors.
    
    * test: add simple object mode + decoder stream test
    
    * test: add test for readable stream lacking _read
    
      Check that using a readable stream without a _read method will throw
      an error.
    
    * test: add basic test for piping to multiple dests
    
      Add a simple test for piping and unpiping from a readable stream
      to multiple writable streams.
    
    PR-URL: nodejs#7260
    Reviewed-By: Matteo Collina <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6ec05db View commit details
    Browse the repository at this point in the history
  80. debugger: remove obsolete setTimeout

    Remove obsolete `setTimeout()` introduced in 3148f14. The fix for the
    problem is in b266074. (For the record, I mostly don't know what I'm
    talking about here but am summarizing from an IRC #node-dev conversation
    with @indutny on 04-Jun-2016.)
    
    PR-URL: nodejs#7154
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    998ce1c View commit details
    Browse the repository at this point in the history
  81. doc: fixing minor typo in AtExit hooks section

    PR-URL: nodejs#7485
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    danbev authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    5e19425 View commit details
    Browse the repository at this point in the history
  82. test: mark test-vm-timeout flaky on windows

    PR-URL: nodejs#7359
    Refs: nodejs#6727
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Joao Reis <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    335a90b View commit details
    Browse the repository at this point in the history
  83. doc: add RReverser to collaborators

    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    PR-URL: nodejs#7370
    RReverser authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    83a1051 View commit details
    Browse the repository at this point in the history
  84. doc: mention http request "aborted" events

    Fixes: nodejs#6925
    PR-URL: nodejs#7270
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    kemitchell authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    041edab View commit details
    Browse the repository at this point in the history
  85. doc: update "who to cc in issues" chart

    Refs: nodejs#6655
    
    PR-URL: nodejs#6694
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ingvar Stepanyan <[email protected]>
    Fishrock123 authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f0d7193 View commit details
    Browse the repository at this point in the history
  86. doc: add lance to collaborators

    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    PR-URL: nodejs#7407
    lance authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    23c26a3 View commit details
    Browse the repository at this point in the history
  87. doc: add CTC meeting minutes 2016-06-15

    PR-URL: nodejs#7320
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    joshgav authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c2b6098 View commit details
    Browse the repository at this point in the history
  88. repl: fix tab completion for defined commands

    PR-URL: nodejs#7364
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    princejwesley authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    e626c3c View commit details
    Browse the repository at this point in the history
  89. doc: clarify child_process stdout/stderr types

    Clarify how the encoding option interacts with the data
    type of child process stdout and stderr.
    
    Fixes: nodejs#6666
    PR-URL: nodejs#7361
    Reviewed-By: Colin Ihrig <[email protected]>
    sartrey authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6f5d939 View commit details
    Browse the repository at this point in the history
  90. doc: fix "sign.verify" typo in crypto doc.

    Fix typo in example
    
    PR-URL: nodejs#7411
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rus0000 authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7db0d3f View commit details
    Browse the repository at this point in the history
  91. assert: remove unneeded arguments special handling

    Remove special handling when asserting on a pair of arguments objects.
    The code being removed will only run if both `expected` and `actual` are
    arguments objects. Given that situation, the subsequent code for
    handling everything else works just fine.
    
    Tests added to confirm expected behavior.
    
    This came about while trying to improve test coverage. The segment of
    code removed had no test coverage. I was unable to write a test that
    would both exercise the code and fail if the code was removed. Further
    examination indicated that this was because the special handling was not
    needed.
    
    PR-URL: nodejs#7413
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    fc851e8 View commit details
    Browse the repository at this point in the history
  92. doc: improve usage of zero/0

    PR-URL: nodejs#7466
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Bryan English <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7d47f3e View commit details
    Browse the repository at this point in the history
  93. test: remove common.PORT from http tests

    PR-URL: nodejs#7467
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    fb73122 View commit details
    Browse the repository at this point in the history
  94. doc: fix detached child stdio example

    The example changed by this commit uses ['ignore'] where
    'ignore' is intended.
    
    Fixes: nodejs#7269
    PR-URL: nodejs#7540
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    cjihrig authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    90d36c8 View commit details
    Browse the repository at this point in the history
  95. doc: add bartosz sosnowski to colaborators

    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: João Reis <[email protected]>
    PR-URL: nodejs#7567
    bzoz authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f59981a View commit details
    Browse the repository at this point in the history
  96. doc: fix minor style issues in http.md

    PR-URL: nodejs#7528
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6c06020 View commit details
    Browse the repository at this point in the history
  97. test: fix flaky test-net-write-slow

    Increase socket timeout so that there is enough time to reliably run the
    test on FreeBSD.
    
    Fixes: nodejs#7516
    PR-URL: nodejs#7555
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    df5a82b View commit details
    Browse the repository at this point in the history
  98. doc: added information on how to run the linter.

    Added clarification about the linter execution.
    
    PR-URL: nodejs#7534
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    diosney authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    bb54aa7 View commit details
    Browse the repository at this point in the history
  99. doc: add benchmark who-to-CC info

    Add benchmark to "Who to CC". Also, alphabetized the only
    non-alphabetized subsystem.
    
    PR-URL: nodejs#7604
    Reviewed-By: Ben Noordhuis <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b6e70d6 View commit details
    Browse the repository at this point in the history
  100. doc: dns.resolve fix callback argument description

    The dns.resolve documentation stated that an array of IP
    addresses would be returned in the callback. This is true
    for everything other than the SOA record which returns an object.
    This fixes that documentation.
    
    Fixes: nodejs#6506
    PR-URL: nodejs#7532
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    qheaden authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7bd2666 View commit details
    Browse the repository at this point in the history
  101. tools: remove unused variable

    `oldDirs` is assigned but never used. Remove it.
    
    (This was missed by the linter in previous versions of ESLint but is
    flagged by the current version. Updating the linter is contingent on
    this change or some similar remedy landing.)
    
    PR-URL: nodejs#7594
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    02db9a0 View commit details
    Browse the repository at this point in the history
  102. test: remove unused var in test-tls-server-verify

    `connections` is assigned but never used. Remove it.
    
    (This was missed by the linter in previous versions of ESLint but is
    flagged by the current version. Updating the linter is contingent on
    this change or some similar remedy landing.)
    
    PR-URL: nodejs#7595
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d40e8f1 View commit details
    Browse the repository at this point in the history
  103. test: remove unused var from child-process-fork

    `messageCount` is assigned, but never used. Remove it.
    
    (This was missed by the linter in previous versions of ESLint but is
    flagged by the current version. Updating the linter is contingent on
    this change or some similar remedy landing.)
    
    PR-URL: nodejs#7599
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3f9a392 View commit details
    Browse the repository at this point in the history
  104. test: remove unused var from stream2 test

    `writes` is assigned but never used. Remove it.
    
    (This was missed by the linter in previous versions of ESLint but is
    flagged by the current version. Updating the linter is contingent on
    this change or some similar remedy landing.)
    
    PR-URL: nodejs#7596
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    cf5de6a View commit details
    Browse the repository at this point in the history
  105. test: remove unused var in net-server-try-ports

    `connections` is assigned but never used. Remove it.
    
    (This was missed by the linter in previous versions of ESLint but is
    flagged by the current version. Updating the linter is contingent on
    this change or some similar remedy landing.)
    
    PR-URL: nodejs#7597
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    eeb0b80 View commit details
    Browse the repository at this point in the history
  106. benchmark: remove unused variables

    Remove variables that are assigned but never used.
    
    (This was missed by the linter in previous versions of ESLint but is
    flagged by the current version. Updating the linter is contingent on
    this change or some similar remedy landing.)
    
    PR-URL: nodejs#7600
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0df6431 View commit details
    Browse the repository at this point in the history
  107. test: remove unused vars from http/https tests

    Remove handful of variables that are assigned but never used.
    
    (This was missed by the linter in previous versions of ESLint but is
    flagged by the current version. Updating the linter is contingent on
    this change or some similar remedy landing.)
    
    PR-URL: nodejs#7598
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    820ad4d View commit details
    Browse the repository at this point in the history
  108. tools: update ESLint, fix unused vars bug

    Update ESLint to 3.0.0. This includes an enhancement to `no-unused-vars`
    such that it finds a few instances in our code base that it did not find
    previously (fixed in previous commits readying this for landing).
    
    PR-URL: nodejs#7601
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Roman Reiss <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    70ea216 View commit details
    Browse the repository at this point in the history
  109. test: update weak module for gc tests

    Previous version of weak used for gc tests emitted a warning on OS X.
    Updating to current version eliminates warning.
    
    PR-URL: nodejs#7014
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    e9e2d3b View commit details
    Browse the repository at this point in the history
  110. test: test isFullWidthCodePoint with invalid input

    Code coverage information shows that we are only testing the happy path
    for the internal readline `isFullWidthCodePoint()` function. Test it
    with invalid input.
    
    PR-URL: nodejs#7422
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    42a6d01 View commit details
    Browse the repository at this point in the history
  111. doc: fix cluster worker 'message' event

    This commit adds the missing handle argument to the cluster
    worker 'message' event. It also adds a link to the process
    'message' event for reference.
    
    Refs: nodejs#7297
    PR-URL: nodejs#7309
    Reviewed-By: Brian White <[email protected]>
    cjihrig authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f51dd31 View commit details
    Browse the repository at this point in the history
  112. src: remove unused #include statement

    strcasecmp() is not used in src/node_http_parser.cc so there is no need
    to include its header file.
    
    PR-URL: nodejs#6582
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    8463b7e View commit details
    Browse the repository at this point in the history
  113. src: don't use locale-sensitive strcasecmp()

    strcasecmp() is affected by the current locale as configured through
    e.g. the LC_ALL environment variable and the setlocale() libc function.
    
    It can result in unpredictable results across systems so replace it with
    a function that isn't susceptible to that.
    
    PR-URL: nodejs#6582
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f65b106 View commit details
    Browse the repository at this point in the history
  114. tools: update certdata.txt

    This is the certdata.txt[0] that ships in Firefox 47 and NSS 3.23, last
    updated on 2016-02-26.
    
    [0] https://hg.mozilla.org/mozilla-central/raw-file/1f84dea6508d/security/nss/lib/ckfw/builtins/certdata.txt
    
    PR-URL: nodejs#7363
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6b660fd View commit details
    Browse the repository at this point in the history
  115. crypto: update root certificates

    Update the list of root certificates in src/node_root_certs.h with
    tools/mk-ca-bundle.pl.
    
    Certificates added:
    - CA WoSign ECC Root
    - Certification Authority of WoSign G2
    - Certinomis - Root CA
    - Certum Trusted Network CA 2
    - OISTE WISeKey Global Root GB CA
    - SZAFIR ROOT CA2
    - TURKTRUST Elektronik Sertifika Hizmet Sa?layıcısı H5
    - TURKTRUST Elektronik Sertifika Hizmet Sa?layıcısı H6
    
    Certificates removed:
    - A-Trust-nual-03
    - Buypass Class 3 CA 1
    - CA Disig
    - ComSign Secured CA
    - Equifax Secure CA
    - NetLock Notary (Class A) Root
    - Staat der Nederlanden Root CA
    - TC TrustCenter Class 2 CA II
    - TC TrustCenter Universal CA I
    - TURKTRUST Certificate Services Provider Root 1
    - TURKTRUST Certificate Services Provider Root 2
    - UTN DATACorp SGC Root CA
    - Verisign Class 4 Public Primary Certification Authority - G3
    
    PR-URL: nodejs#7363
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    8c73688 View commit details
    Browse the repository at this point in the history
  116. test: remove internet/test-tls-connnect-cnnic

    Shigeki Ohtsu points out that the test is unreliable because some of
    the www1.cnnnic.cn servers are misconfigured.  Remove it.
    
    PR-URL: nodejs#7363
    Refs: nodejs#7363 (comment)
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    65a4b6f View commit details
    Browse the repository at this point in the history
  117. src: check uv_async_init() return value

    Pointed out by Coverity.
    
    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    08f2624 View commit details
    Browse the repository at this point in the history
  118. src: guard against starting fs watcher twice

    This commit adds a CHECK that verifies that the file event watcher is
    not started twice, which would be indicative of a bug in lib/fs.js.
    
    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    26f4bf4 View commit details
    Browse the repository at this point in the history
  119. src: remove unused data member write_queue_size_

    Remove TLSWrap::write_queue_size_, it's not used anywhere.
    
    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    9008a2d View commit details
    Browse the repository at this point in the history
  120. src: remove unused md_ data members

    The code assigned the result of EVP_get_digestbyname() to data members
    called md_ that were not used outside the initialization functions.
    
    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    04d968f View commit details
    Browse the repository at this point in the history
  121. src: remove duplicate HMAC_Init calls

    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    bf8ac55 View commit details
    Browse the repository at this point in the history
  122. src: remove deprecated HMAC_Init, use HMAC_Init_ex

    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f3610ca View commit details
    Browse the repository at this point in the history
  123. src: fix use-after-return in zlib bindings

    Pointed out by Coverity.  Introduced in commit 5b8e1da from September
    2011 ("Initial pass at zlib bindings".)
    
    The asynchronous version of Write() used a pointer to a stack-allocated
    buffer on flush.  A mitigating factor is that zlib does not dereference
    the pointer for zero-sized writes but it's still technically UB.
    
    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    9498059 View commit details
    Browse the repository at this point in the history
  124. src: fix bad logic in uid/gid checks

    Pointed out by Coverity.  Introduced in commits 3546383 ("process_wrap:
    avoid leaking memory when throwing due to invalid arguments") and
    fa4eb47 ("bindings: add spawn_sync bindings").
    
    The return statements inside the if blocks were dead code because their
    guard conditions always evaluated to false.  Remove them.
    
    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b30feb1 View commit details
    Browse the repository at this point in the history
  125. tls: catch certCbDone exceptions

    Catch and emit `certCbDone` exceptions instead of throwing them as
    `uncaughtException` and crashing the whole process.
    
    Fix: nodejs#6822
    PR-URL: nodejs#6887
    Reviewed-By: Ben Noordhuis <[email protected]>
    indutny authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    481b940 View commit details
    Browse the repository at this point in the history
  126. build: add v8 requirement to test-v8* in Makefile

    The test targets expect that V8 is built in deps/v8/out
    
    Ref: nodejs#7477
    PR-URL: nodejs#7482
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    targos authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6fce484 View commit details
    Browse the repository at this point in the history
  127. build: use BUILDTYPE when building V8 in Makefile

    Without this it would always compile Release and Debug builds.
    
    Ref: nodejs#7477
    PR-URL: nodejs#7482
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    targos authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    728eab1 View commit details
    Browse the repository at this point in the history
  128. test: add test for exec() known issue

    PR-URL: nodejs#7375
    Refs: nodejs#7342
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d7d9990 View commit details
    Browse the repository at this point in the history
  129. Revert "child_process: measure buffer length in bytes"

    This reverts commit c9a5990.
    
    PR-URL: nodejs#7391
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jackson Tian <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    1622bac View commit details
    Browse the repository at this point in the history
  130. child_process: preserve argument type

    A previous fix for a `maxBuffer` bug resulted in a change to the
    argument type for the `data` event on `child.stdin` and `child.stdout`
    when using `child_process.exec()`.
    
    This fixes the `maxBuffer` bug in a way that does not have that side
    effect.
    
    PR-URL: nodejs#7391
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Jackson Tian <[email protected]>
    Fixes: nodejs#7342
    Refs: nodejs#1901
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0923c00 View commit details
    Browse the repository at this point in the history
  131. cluster: don't send messages if no IPC channel

    Avoid sending messages if the IPC channel is already disconnected. It
    avoids undesired errors when calling `process.disconnect` when there are
    still pending IPC messages.
    
    PR-URL: nodejs#7132
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    santigimeno authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    849f7b1 View commit details
    Browse the repository at this point in the history
  132. cluster: reset handle index on close

    It allows reopening a server after it has been closed.
    
    Fixes: nodejs#6693
    PR-URL: nodejs#6981
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Ron Korving <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    santigimeno authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    27b5512 View commit details
    Browse the repository at this point in the history
  133. buffer: fix dataview-set benchmark

    Improves numbers up to 4x by avoiding repetitive dynamic method lookup.
    
    PR-URL: nodejs#6922
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    RReverser authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    1c410bf View commit details
    Browse the repository at this point in the history
  134. vm: don't print out arrow message for custom error

    In `AppendExceptionLine()`, which is used both by the `vm`
    module and the uncaught exception handler, don’t print anything
    to stderr when called from the `vm` module, even if the
    thrown object is not a native error instance.
    
    Fixes: nodejs#7397
    PR-URL: nodejs#7398
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    2724394 View commit details
    Browse the repository at this point in the history
  135. src: fix sporadic deadlock in SIGUSR1 handler

    Calling v8::Debug::DebugBreak() directly from the signal handler is
    unsafe because said function tries to grab a mutex.  Work around that
    by starting a watchdog thread that is woken up from the signal handler,
    which then calls v8::Debug::DebugBreak().
    
    Using a watchdog thread also removes the need to use atomic operations
    so this commit does away with that.
    
    Fixes: nodejs#5368
    PR-URL: nodejs#5904
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    1cdf65c View commit details
    Browse the repository at this point in the history
  136. src: unify implementations of Utf8Value etc.

    Unify the common code of `Utf8Value`, `TwoByteValue`, `BufferValue`
    and `StringBytes::InlineDecoder` into one class. Always make the
    result zero-terminated for the first three.
    
    This fixes two problems in passing:
    
    * When the conversion of the input value to String fails,
      make the buffer zero-terminated anyway. Previously, this would
      have resulted in possibly reading uninitialized data in multiple
      places in the code. An instance of that problem can be reproduced
      by running e.g.
      `valgrind node -e 'net.isIP({ toString() { throw Error() } })'`.
    * Previously, `BufferValue` copied one byte too much from the source,
      possibly resulting in an out-of-bounds memory access.
      This can be reproduced by running e.g.
      `valgrind node -e \
        'fs.openSync(Buffer.from("node".repeat(8192)), "r")'`.
    
    Further minor changes:
    * This lifts the `out()` method of `StringBytes::InlineDecoder`
      to the common class so that it can be used when using the
      overloaded `operator*` does not seem appropiate.
    * Hopefully clearer variable names.
    * Add checks to make sure the length of the data does not exceed
      the allocated storage size, including the possible null terminator.
    
    PR-URL: nodejs#6357
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trevor Norris <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    2657d53 View commit details
    Browse the repository at this point in the history
  137. tools: update cpplint to r456

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    a3d602b View commit details
    Browse the repository at this point in the history
  138. tools: disable unwanted cpplint rules again

    This commit disables the build/include, build/include_alpha,
    build/include_order and legal/copyright warnings again.
    
    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b1d403d View commit details
    Browse the repository at this point in the history
  139. tools: add back --mode=tap to cpplint

    This commit reimplements commit 7b45163 ("tools: add tap output to
    cpplint") on top of the upgraded copy of cpplint.
    
    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3a381a8 View commit details
    Browse the repository at this point in the history
  140. tools: allow cpplint to run outside git repo

    This reapplies commit a493dab ("cpplint: make it possible to run
    outside git repo") from September 2015, this time with a proper
    status line.
    
    PR-URL: nodejs#7462
    Refs: nodejs#2693
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0bb8a71 View commit details
    Browse the repository at this point in the history
  141. src: fix build/c++tr1 cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0bf8eed View commit details
    Browse the repository at this point in the history
  142. src: fix build/header_guard cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d977e97 View commit details
    Browse the repository at this point in the history
  143. src: fix readability/braces cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    9100b4b View commit details
    Browse the repository at this point in the history
  144. src: fix readability/constructors cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    8902b12 View commit details
    Browse the repository at this point in the history
  145. src: fix readability/inheritance cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    e90629a View commit details
    Browse the repository at this point in the history
  146. src: fix readability/namespace cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f62f520 View commit details
    Browse the repository at this point in the history
  147. src: fix readability/nolint cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    10f6c07 View commit details
    Browse the repository at this point in the history
  148. src: fix runtime/indentation_namespace warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7bc1894 View commit details
    Browse the repository at this point in the history
  149. src: fix runtime/int cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    5b543f9 View commit details
    Browse the repository at this point in the history
  150. src: fix runtime/references cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    08c83b3 View commit details
    Browse the repository at this point in the history
  151. src: fix whitespace/blank_line cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    2879711 View commit details
    Browse the repository at this point in the history
  152. src: fix whitespace/indent cpplint warnings

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d18e8fc View commit details
    Browse the repository at this point in the history
  153. build: remove unused files from CPPLINT_FILES

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f40f882 View commit details
    Browse the repository at this point in the history
  154. src: lint node_win32_perfctr_provider.cc

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    5daf07e View commit details
    Browse the repository at this point in the history
  155. src: lint node_lttng_tp.h

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    59575b1 View commit details
    Browse the repository at this point in the history
  156. src: lint v8abbr.h

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f9e835c View commit details
    Browse the repository at this point in the history
  157. tools: fix -Wunused-variable warning

    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    93c68a1 View commit details
    Browse the repository at this point in the history
  158. src: remove obsolete NOLINT comments

    Obsoleted by the recent cpplint upgrade.
    
    PR-URL: nodejs#7462
    Reviewed-By: Trevor Norris <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    e84388b View commit details
    Browse the repository at this point in the history
  159. src: fix memory leak in WriteBuffers() error path

    Pointed out by Coverity.  Introduced in commit 05d30d5 from July 2015
    ("fs: implemented WriteStream#writev").
    
    WriteBuffers() leaked memory in the synchronous uv_fs_write() error path
    when trying to write > 1024 buffers.
    
    PR-URL: nodejs#7374
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    4c431ce View commit details
    Browse the repository at this point in the history
  160. test: fix flaky test-vm-timeout

    Likely fix the flaky parallel/test-vm-timeout. Increase the outer
    timeout in the test checking for nested timeouts with `vm` scripts
    so that its firing won’t interfere with the inner timeout.
    
    Fixes: nodejs#6727
    PR-URL: nodejs#7373
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    1336a7b View commit details
    Browse the repository at this point in the history
  161. Revert "test: mark test-vm-timeout flaky on windows"

    This reverts commit f34caa9.
    
    PR-URL: nodejs#7373
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    04814ed View commit details
    Browse the repository at this point in the history
  162. doc: add added: information for assert

    PR-URL: nodejs#6688
    Ref: nodejs#6578
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    a0ebd1e View commit details
    Browse the repository at this point in the history
  163. doc: add added: information for child_process

    Ref: nodejs#6578
    PR-URL: nodejs#6927
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    55a3b41 View commit details
    Browse the repository at this point in the history
  164. doc: add added: data for cli.md

    PR-URL: nodejs#6960
    Refs: nodejs#6578
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7138a42 View commit details
    Browse the repository at this point in the history
  165. doc: add added: information for console

    Information extracted from git history.
    
    Ref: nodejs#6578
    PR-URL: nodejs#6995
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Julian Duque <[email protected]>
    edsadr authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    1ba9016 View commit details
    Browse the repository at this point in the history
  166. doc: add added: information for dns

    Got the information from git history and I ignored previous version of
    dns attached to `node.dns` (pre v0.1.16).
    
    There is a case where `dns.resolveNaptr` were intented to be in v0.7.12 and
    it was reverted and addec back on `v0.9.12`, I left the latest version
    when module was introduced. Same for `dns.resolvePtr` who was referenced
    before but it was only added on `v6.0.0`
    
    Refs: nodejs#6578
    PR-URL: nodejs#7021
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    julianduque authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f52831f View commit details
    Browse the repository at this point in the history
  167. doc: add added: information for https

    Ref: nodejs#6578
    PR-URL: nodejs#7392
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b9f8c83 View commit details
    Browse the repository at this point in the history
  168. doc: add added information for net

    Ref: nodejs#6578
    PR-URL: nodejs#7038
    Reviewed-By: Anna Henningsen <[email protected]>
    italoacasas authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    99723b2 View commit details
    Browse the repository at this point in the history
  169. doc: add added: information for os

    Via git spelunking, mostly.
    Some functions have been renamed. Used the version in which they were
    renamed.
    
    Ref: nodejs#6578
    PR-URL: nodejs#6609
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    bengl authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    cb63f64 View commit details
    Browse the repository at this point in the history
  170. doc: add added: information for path

    Got the information from git history mostly, I ignored previous path
    methods attached to `node.path` (pre v0.1.16).
    
    Refs: nodejs#6578
    PR-URL: nodejs#6985
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    julianduque authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    057492c View commit details
    Browse the repository at this point in the history
  171. doc: add added: information for punycode

    PR-URL: nodejs#6805
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    firedfox authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0c25aa8 View commit details
    Browse the repository at this point in the history
  172. doc: add added: information for querystring

    Module introduced in 7ff04c1.
    
    Ref: nodejs#6578
    PR-URL: nodejs#6593
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    bengl authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    9899298 View commit details
    Browse the repository at this point in the history
  173. doc: add added: information for readline

    Got the information from git history, I added the version when Interface
    was exported as class (v0.1.104), it was an internal class on previous
    versions.
    
    Refs: nodejs#6578
    PR-URL: nodejs#6996
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    julianduque authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    535c1c9 View commit details
    Browse the repository at this point in the history
  174. doc: add added: information for repl

    Ref: nodejs#6578
    PR-URL: nodejs#7256
    Reviewed-By: Julian Duque <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    315548b View commit details
    Browse the repository at this point in the history
  175. doc: add added: info for string_decoder

    PR-URL: nodejs#6741
    Ref: nodejs#6578
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Roman Klauke <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    4717176 View commit details
    Browse the repository at this point in the history
  176. doc: add added: in for tty

    Refs: nodejs#6578
    PR-URL: nodejs#6783
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    e6790f0 View commit details
    Browse the repository at this point in the history
  177. doc: add added: information for url

    Module introduced in 7ff04c1.
    
    Ref: nodejs#6578
    PR-URL: nodejs#6593
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    bengl authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7600a54 View commit details
    Browse the repository at this point in the history
  178. doc: add added: information for v8

    PR-URL: nodejs#6684
    Ref: nodejs#6578
    Reviewed-By: Ben Noorhduis <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    02af985 View commit details
    Browse the repository at this point in the history
  179. doc: add added: information for vm

    Ref: nodejs#6578
    PR-URL: nodejs#7011
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Julian Duque <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    2f0499b View commit details
    Browse the repository at this point in the history
  180. doc: add added: information for zlib

    Ref: nodejs#6578
    PR-URL: nodejs#6840
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0fcaf48 View commit details
    Browse the repository at this point in the history
  181. doc: add added: information for timers

    Ref: nodejs#6578
    PR-URL: nodejs#7493
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    8bbeaa4 View commit details
    Browse the repository at this point in the history
  182. doc: adds 'close' events to fs.ReadStream and fs.WriteStream

    Add 'close' event to doc/api/fs.md --> fs.ReadStream
    Add 'close' event to doc/api/fs.md --> fs.WriteStream
    Add 'close event to doc/api/stream.md --> stream.Writable
    
    From squashed history:
    Add 'close' event to stream.Writable per Issue nodejs#6484
    Add #### prefix to Event: 'close' and backticks to 'close'
    similar to stream.Readable event: 'close' section
    Add more specifics to 'close' events for fs.ReadStream
    and fs.WriteStream
    Fix/Changed 'close' event from 'fs.ReadStream' to 'fs.WriteStream'
    wrapped long lines at 80 chars, reworded
    per Issue nodejs#6484
    including the 'close' event as optional
    add 'close' event as optional in stream.Readable
    per issue nodejs#6484
    doc: Add 'close' events to fs.ReadStream, 80char nit
    
    Fixes: nodejs#6484
    PR-URL: nodejs#6499
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Jenna Vuong authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    efed560 View commit details
    Browse the repository at this point in the history
  183. doc: add added: information for fs

    Ref: nodejs#6578
    PR-URL: nodejs#6717
    Reviewed-By: Robert Lindstaedt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    9c0694c View commit details
    Browse the repository at this point in the history
  184. doc: correct added: information for fs.access

    fs.access and fs.accessSync were added to Node v0.11.15 via 2944934
    
    PR-URL: nodejs#7299
    Reviewed-By: Anna Henningsen <[email protected]>
    Ref: nodejs#6717
    Ref: nodejs#6578
    richardlau authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    10e1bc8 View commit details
    Browse the repository at this point in the history
  185. doc: add added: information for tls

    Ref: nodejs#6578
    PR-URL: nodejs#7018
    Reviewed-By: Anna Henningsen <[email protected]>
    italoacasas authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    bb18032 View commit details
    Browse the repository at this point in the history
  186. doc: add added: information for process

    Most of the information is gleaned from changelogs. The rest is inferred
    from git history.
    
    Omitted cpuUsage() since it's not yet in a release.
    
    Also omitted the streams, events and signals, since I didn't really
    think it made sense for those.
    
    Ref: nodejs#6578
    PR-URL: nodejs#6589
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Stephen Belanger <[email protected]>
    Reviewed-By: Alexander Makarenko <[email protected]>
    bengl authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d0ec6e8 View commit details
    Browse the repository at this point in the history
  187. doc: remove superfluos backticks in process.md

    These are likely left over from backporting
    nodejs#4733.
    
    PR-URL: nodejs#7681
    Reviewed-By: Myles Borins <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    21b1285 View commit details
    Browse the repository at this point in the history
  188. doc: add information for IncomingMessage.destroy()

    Add documentation for `http.IncomingMessage.prototype.destroy()`.
    
    PR-URL: nodejs#7237
    Fixes: nodejs#4226
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: cjihrig - Colin Ihrig <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3c300c7 View commit details
    Browse the repository at this point in the history
  189. doc: add added: information for http

    Ref: nodejs#6578
    PR-URL: nodejs#7392
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    dfbd2cf View commit details
    Browse the repository at this point in the history
  190. doc: buffers are not sent over IPC with a socket

    If a socket is sent to a child, any data that is buffered in the socket
    will not be sent to the child. The child will only receive data from the
    socket that is sent after the child has the socket.
    
    PR-URL: nodejs#6951
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Tim Kuijsten authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b9bf60c View commit details
    Browse the repository at this point in the history
  191. doc: add added: information for buffer

    Add `added:` and `deprecated:` entries to buffer.md.
    These are incomplete (particularly for some of the ancient features),
    but correct to the best of my knowledge. This serves as a
    demonstration of how the `added:`/`deprecated:` metadata may be
    implemented in 'real' docs.
    
    PR-URL: nodejs#6495
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7b05532 View commit details
    Browse the repository at this point in the history
  192. tools: add mock-y js-yaml dependency to doctool

    Add a hack js-yaml module to the doctool dependencies that simply
    loads the one that’s included with eslint.
    
    This helps avoiding to check in the whole dependency tree into
    the core repo.
    
    PR-URL: nodejs#6495
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    83a03df View commit details
    Browse the repository at this point in the history
  193. tools: parse documentation metadata

    This commit introduces the Documentation YAML metadata concept to the
    documentation.
    
    - Parses added or Added for HTML
    - Parses all data for JSON
    
    Ref: nodejs#3867
    Ref: nodejs#3713
    Ref: nodejs#6470
    PR-URL: nodejs#6495
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    tflanagan authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    f0f990a View commit details
    Browse the repository at this point in the history
  194. test,tools: test yaml parsing of doctool

    Add checks that make sure the doctool parses metadata correctly.
    
    PR-URL: nodejs#6495
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6a65939 View commit details
    Browse the repository at this point in the history
  195. tools: allow multiple added: version entries

    Allow multiple `added:` version entries, since semver-minors
    can trickle down to previous major versions, and thus
    features may have been added in multiple versions.
    
    Also include `deprecated:` entries and apply the same logic
    to them for consistency.
    
    Stylize the added HTML as `Added in:` and `Deprecated since:`.
    
    PR-URL: nodejs#6495
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7f3f604 View commit details
    Browse the repository at this point in the history
  196. tools: update marked dependency

    Update module marked. Customize renderer to remove id from heading.
    
    PR-URL: nodejs#6396
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    firedfox authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    96922ec View commit details
    Browse the repository at this point in the history
  197. tools: lint for object literal spacing

    There has been occasional nits for spacing in object literals in PRs but
    the project does not lint for it and it is not always handled
    consistently in the existing code, even on adjacent lines of a file.
    
    This change enables a linting rule requiring no space between the key
    and the colon, and requiring at least one space (but allowing for more
    so property values can be lined up if desired) between the colon and the
    value. This appears to be the most common style used in the current code
    base.
    
    Example code the complies with lint rule:
    
        myObj = { foo: 'bar' };
    
    Examples that do not comply with the lint rule:
    
        myObj = { foo : 'bar' };
        myObj = { foo:'bar' };
    
    PR-URL: nodejs#6592
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Brian White <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    0cc38cc View commit details
    Browse the repository at this point in the history
  198. test: build addons with V8_DEPRECATION_WARNINGS=1

    PR-URL: nodejs#6652
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    5069387 View commit details
    Browse the repository at this point in the history
  199. doc: fix deprecation warnings in addon examples

    Use the overload of `v8::Function::NewInstance()` that returns a
    `v8::MaybeLocal<v8::Object>`.  The overloads that return a simple
    `v8::Local<v8::Object>` are deprecated.
    
    PR-URL: nodejs#6652
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6237508 View commit details
    Browse the repository at this point in the history
  200. build,test: fix build-addons dependency chain

    * Make the 'extract embedded addons in the documentations' step a normal
      prerequisite.  As an order-only prerequisite, it's sometimes skipped
      when it shouldn't be.
    
    * Make `tools/doc/addon-verify.js` a dependency of that step.  Changes
      to that file should result in a rebuild.
    
    PR-URL: nodejs#6652
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d34fa13 View commit details
    Browse the repository at this point in the history
  201. tools: fix tools/doc/addon-verify.js regression

    Introduced in commit 3f69ea5 ("tools: update marked dependency"), it
    stopped the embedded addons in the documentation from getting built.
    
    PR-URL: nodejs#6652
    Reviewed-By: Ben Noordhuis <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7304b0f View commit details
    Browse the repository at this point in the history
  202. build: add Make doc-only target

    Allows building just docs using existing Node instead of building Node
    first.
    
    PR-URL: nodejs#3888
    Reviewed-By: Chris Dickinson <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Myles Borins <[email protected]>
    jmm authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    173f5ae View commit details
    Browse the repository at this point in the history
  203. tools: fix regression in doctool

    101dd1e introduced a regression in the doctool. This commit reverts
    the changes that were made to the function signature of the various
    doctool functions while maintaining support for passing in specific
    node versions.
    
    Refs: nodejs@101dd1e
    
    PR-URL: nodejs#6680
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Robert Lindstaedt <[email protected]>
    Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    25be5aa View commit details
    Browse the repository at this point in the history
  204. test: refactor doctool tests

    Adjust style in doctool tests to conform with predominant style of the
    rest of the project. The biggest changes are:
    
    * Replace string concatenation with `path.join()`
    * Remove unnecessary quotes from property names
    
    PR-URL: nodejs#6719
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    b260008 View commit details
    Browse the repository at this point in the history
  205. tools: restore change of signatures to opts hashes

    These signatures were originally converted to opts hashes in nodejs#3888. That
    change was misinterpreted as the intrinsic cause of a test failure and
    reverted in nodejs#6680.
    
    PR-URL: nodejs#6690
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    jmm authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    c7d18c9 View commit details
    Browse the repository at this point in the history
  206. tools: make sure doctool anchors respect includes

    Previously, output files which were created using includes (notably,
    the single-page all.html) had basically broken internal links all
    over the place because references like `errors.html#errors_class_error`
    are being used, yet `id` attributes were generated that looked like
    `all_class_error`.
    
    This PR adds generation of comments from the include preprocessor
    that indicate from which file the current markdown bits come and
    lets the HTML output generation take advantage of that so that more
    appropriate `id` attributes can be generated.
    
    PR-URL: nodejs#6943
    Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
    Reviewed-By: Daniel Wang <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    1c90f28 View commit details
    Browse the repository at this point in the history
  207. tools,doc: add example usage for REPLACEME tag

    Ref: nodejs#6578
    PR-URL: nodejs#6864
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    78c9346 View commit details
    Browse the repository at this point in the history
  208. build: add REPLACEME tag for version info in docs

    Add a `REPLACEME` tag that should be used when introducing
    docs for new features, so that they can be updated when releases
    are made.
    
    Ref: nodejs#6578
    PR-URL: nodejs#6864
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Claudio Rodriguez <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    ff005fa View commit details
    Browse the repository at this point in the history
  209. test: skip doctool tests when js-yaml is missing

    Skip the doctool tests when js-yaml, which is currently `require()`d
    from the eslint source tree, is missing. This can happen, for example,
    because eslint is not included in the release source tarballs.
    
    Fixes: nodejs#7201
    Ref: nodejs#6495
    PR-URL: nodejs#7218
    Reviewed-By: Roman Reiss <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    addaleax authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    fd8302f View commit details
    Browse the repository at this point in the history
  210. doc: make doc-only -> fallback to user binary

    After the nodejs#3888 it was not possible to "make doc-only"
    in some situations. This now fallsback to any installed
    node version and throws "node not found" in error case.
    
    Ref: nodejs#3888
    
    PR-URL: nodejs#6906
    Reviewed-By: Myles Borins <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    eljefedelrodeodeljefe authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d373ba1 View commit details
    Browse the repository at this point in the history
  211. build: add --enable-d8 configure option

    Add an option to the configure script for building d8.  Useful for
    testing V8 standalone.
    
    PR-URL: nodejs#7538
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    bnoordhuis authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    a47fe01 View commit details
    Browse the repository at this point in the history
  212. crypto: allow GCM ciphers to have longer IV length

    GCM cipher IV length can be >=1 bytes.
    When not the default 12 bytes (96 bits) sets the IV length using
    `EVP_CIPHER_CTX_ctrl` with type `EVP_CTRL_GCM_SET_IVLEN`
    
    PR-URL: nodejs#6376
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    mwain authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    d0587cc View commit details
    Browse the repository at this point in the history
  213. src: clean up string_search

    This commit removes some unnecessary signed checks on unsigned
    variables.
    
    PR-URL: nodejs#7174
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    2b79221 View commit details
    Browse the repository at this point in the history
  214. deps: upgrade npm in LTS to 2.15.9

    PR-URL: nodejs#7692
    Reviewed-By: Myles Borins <[email protected]>
    zkat authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    1a7dab5 View commit details
    Browse the repository at this point in the history
  215. test: use random ports where possible

    This helps to prevent issues where a failed test can keep a bound
    socket open long enough to cause other tests to fail with EADDRINUSE
    because the same port number is used.
    
    PR-URL: nodejs#7045
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: Rod Vagg <[email protected]>
    mscdex authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    6fb9c1d View commit details
    Browse the repository at this point in the history
  216. build: update build-addons when node-gyp changes

    Backported from
    nodejs@99bf6fa
    
    We can tell when `node-gyp` is changed by creating a prerequisite on
    `deps/npm/node_modules/node-gyp/package.json`. The prerequisite is added
    to the `test/addons/.buildstamp` since `build-addons` is .PHONY.
    
    Testing for this change was entirely manual.
    
      $ make clean test-build # Initial build
      $ make test-build # Make sure build-addons doesn't rebuild
      $ touch deps/npm/node_modules/node-gyp/package.json # simulate change
      $ make test-build # Ensure build-addons rebuilds
    
    PR-URL: nodejs#6787
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    lance authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    3b0f1ff View commit details
    Browse the repository at this point in the history
  217. benchmark: fix child-process-exec-stdout on win

    This benchmark fails on Windows when trying to execute command which
    is more than 32k in size. This commits skips this one case when running
    under Windows.
    
    PR-URL: nodejs#7178
    Reviewed-By: Trott - Rich Trott <[email protected]>
    Reviewed-By: orangemocha - Alexis Campailla <[email protected]>
    bzoz authored and Myles Borins committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    63d94ee View commit details
    Browse the repository at this point in the history
  218. test: add --repeat option to tools/test.py

    Manual backport from master to 4.x stream, original
    commit message follows.
    
    I often want to run a test many times to see if a failure
    can be recreated and I believe this is a common
    use case.  We even have this job in the CI
    https://ci.nodejs.org/job/node-stress-single-test/configure
    but often you want to run it on a specific machine.
    
    This patch adds the --repeat option so that
    you can repeat the selected set of tests a
    number of times. Given existing options
    in test.py this will allow you to run
    one or more tests for the number of
    repeats specified. For example:
    
    tools/test.py -j8 --repeat 1000 parallel/test-process-exec-argv
    
    runs the test-process-exec-argv test 1000 times,
    running 8 copies in parallel
    
    tools/test.py --repeat 2
    
    would run the entire test suite twice.
    
    PR-URL: nodejs#6700
    Reviewed-By: Ben Noorhduis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: thefourtheye - Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: joaocgreis - João Reis <[email protected]>
    Reviewed-By: Johan Bergström <[email protected]>
    mhdawson committed Jul 14, 2016
    Configuration menu
    Copy the full SHA
    7a38d2a View commit details
    Browse the repository at this point in the history