Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 95382cc

Browse files
committed
meta: merge node/master into node-chakracore/master
Merge a29089d as of 2018-02-23 This commit was automatically generated. For any problems, please contact jackhorton Reviewed-By: Kyle Farnung <kfarnung@microsoft.com>
2 parents 4b42bea + a29089d commit 95382cc

File tree

132 files changed

+1504
-1366
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+1504
-1366
lines changed

BUILDING.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ Support is divided into three tiers:
3434
### Supported platforms
3535

3636
The community does not build or test against end-of-life distributions (EoL).
37-
Thus we do not recommend that you use Node on end-of-life or unsupported platforms
38-
in production.
37+
Thus we do not recommend that you use Node on end-of-life or unsupported
38+
platforms in production.
3939

4040
| System | Support type | Version | Architectures | Notes |
4141
|--------------|--------------|----------------------------------|----------------------|------------------|
@@ -107,9 +107,11 @@ installed, you can find them under the menu `Xcode -> Open Developer Tool ->
107107
More Developer Tools...`. This step will install `clang`, `clang++`, and
108108
`make`.
109109
* After building, you may want to setup [firewall rules](tools/macosx-firewall.sh)
110-
to avoid popups asking to accept incoming network connections when running tests:
110+
to avoid popups asking to accept incoming network connections when running
111+
tests:
111112

112-
If the path to your build directory contains a space, the build will likely fail.
113+
If the path to your build directory contains a space, the build will likely
114+
fail.
113115

114116
```console
115117
$ sudo ./tools/macosx-firewall.sh
@@ -232,8 +234,8 @@ Prerequisites:
232234
* **Optional** (to build the MSI): the [WiX Toolset v3.11](http://wixtoolset.org/releases/)
233235
and the [Wix Toolset Visual Studio 2017 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WixToolsetVisualStudio2017Extension).
234236

235-
If the path to your build directory contains a space or a non-ASCII character, the
236-
build will likely fail.
237+
If the path to your build directory contains a space or a non-ASCII character,
238+
the build will likely fail.
237239

238240
```console
239241
> .\vcbuild

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Node.js Changelog
22

3+
<!--lint disable maximum-line-length-->
4+
35
To make the changelog easier to both use and manage, it has been split into
46
multiple files organized according to significant major and minor Node.js
57
release lines.
@@ -29,7 +31,8 @@ release.
2931
</tr>
3032
<tr>
3133
<td valign="top">
32-
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.6.0">9.6.0</a></b><br/>
34+
<b><a href="doc/changelogs/CHANGELOG_V9.md#9.6.1">9.6.1</a></b><br/>
35+
<a href="doc/changelogs/CHANGELOG_V9.md#9.6.0">9.6.0</a><br/>
3336
<a href="doc/changelogs/CHANGELOG_V9.md#9.5.0">9.5.0</a><br/>
3437
<a href="doc/changelogs/CHANGELOG_V9.md#9.4.0">9.4.0</a><br/>
3538
<a href="doc/changelogs/CHANGELOG_V9.md#9.3.0">9.3.0</a><br/>

COLLABORATOR_GUIDE.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -154,22 +154,23 @@ The pull request should have a CI status indicator if possible.
154154
#### Useful CI Jobs
155155

156156
* [`node-test-pull-request`](https://ci.nodejs.org/job/node-test-pull-request/)
157-
is the standard CI run we do to check Pull Requests. It triggers `node-test-commit`,
158-
which runs the `build-ci` and `test-ci` targets on all supported platforms.
157+
is the standard CI run we do to check Pull Requests. It triggers
158+
`node-test-commit`, which runs the `build-ci` and `test-ci` targets on all
159+
supported platforms.
159160

160161
* [`node-test-linter`](https://ci.nodejs.org/job/node-test-linter/)
161-
only runs the linter targets, which is useful for changes that only affect comments
162-
or documentation.
162+
only runs the linter targets, which is useful for changes that only affect
163+
comments or documentation.
163164

164165
* [`node-test-pull-request-lite`](https://ci.nodejs.org/job/node-test-pull-request-lite/)
165-
only runs the linter job, as well as the tests on LinuxONE. Should only be used for
166-
trivial changes that do not require being tested on all platforms.
166+
only runs the linter job, as well as the tests on LinuxONE. Should only be used
167+
for trivial changes that do not require being tested on all platforms.
167168

168169
* [`citgm-smoker`](https://ci.nodejs.org/job/citgm-smoker/)
169-
uses [`CitGM`](https://github.com/nodejs/citgm) to allow you to run `npm install && npm test`
170-
on a large selection of common modules. This is useful to check whether a
171-
change will cause breakage in the ecosystem. To test Node.js ABI changes
172-
you can run [`citgm-abi-smoker`](https://ci.nodejs.org/job/citgm-abi-smoker/).
170+
uses [`CitGM`](https://github.com/nodejs/citgm) to allow you to run
171+
`npm install && npm test` on a large selection of common modules. This is
172+
useful to check whether a change will cause breakage in the ecosystem. To test
173+
Node.js ABI changes you can run [`citgm-abi-smoker`](https://ci.nodejs.org/job/citgm-abi-smoker/).
173174

174175
* [`node-stress-single-test`](https://ci.nodejs.org/job/node-stress-single-test/)
175176
is designed to allow one to run a group of tests over and over on a specific
@@ -483,17 +484,18 @@ Apply external patches:
483484
$ curl -L https://github.com/nodejs/node/pull/xxx.patch | git am --whitespace=fix
484485
```
485486

486-
If the merge fails even though recent CI runs were successful, then a 3-way merge may
487-
be required. In this case try:
487+
If the merge fails even though recent CI runs were successful, then a 3-way
488+
merge may be required. In this case try:
488489

489490
```text
490491
$ git am --abort
491492
$ curl -L https://github.com/nodejs/node/pull/xxx.patch | git am -3 --whitespace=fix
492493
```
493494
If the 3-way merge succeeds you can proceed, but make sure to check the changes
494495
against the original PR carefully and build/test on at least one platform
495-
before landing. If the 3-way merge fails, then it is most likely that a conflicting
496-
PR has landed since the CI run and you will have to ask the author to rebase.
496+
before landing. If the 3-way merge fails, then it is most likely that a
497+
conflicting PR has landed since the CI run and you will have to ask the author
498+
to rebase.
497499

498500
Check and re-review the changes:
499501

GOVERNANCE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ repository, with a summary of the nominee's contributions, for example:
159159
* Participation in other projects, teams, and working groups of the
160160
Node.js organization
161161
* Can be shown using the links
162-
`https://github.com/search?q=author%3A${GITHUB_ID}++org%3Anodejs&type=Issues`
162+
`https://github.com/search?q=author%3A${GITHUB_ID}++org%3Anodejs&type=Issues`
163163
and
164-
`https://github.com/search?q=commenter%3A${GITHUB_ID}++org%3Anodejs&type=Issues`
164+
`https://github.com/search?q=commenter%3A${GITHUB_ID}++org%3Anodejs&type=Issues`
165165
* Other participation in the wider Node.js community
166166

167167
Mention @nodejs/collaborators in the issue to notify other Collaborators about

benchmark/url/url-parse.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
'use strict';
2+
const common = require('../common.js');
3+
const url = require('url');
4+
5+
const inputs = {
6+
normal: 'http://foo.com/bar',
7+
escaped: 'https://foo.bar/{}^`/abcd'
8+
};
9+
10+
const bench = common.createBenchmark(main, {
11+
type: Object.keys(inputs),
12+
n: [1e7]
13+
});
14+
15+
function main({ type, n }) {
16+
const input = inputs[type] || '';
17+
18+
bench.start();
19+
for (var i = 0; i < n; i += 1)
20+
url.parse(input);
21+
bench.end(n);
22+
}

deps/uv/AUTHORS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,3 +325,8 @@ Anna Henningsen <anna@addaleax.net>
325325
Jérémy Lal <kapouer@melix.org>
326326
Ben Wijen <ben@wijen.net>
327327
elephantp <elephantp@elephantp.blog>
328+
Felix Yan <felixonmars@archlinux.org>
329+
Mason X <me@masonx.ca>
330+
Jesse Gorzinski <jgorzinski@gmail.com>
331+
Ryuichi KAWAMATA <ryuichi.kawamata@dena.jp>
332+
Joyee Cheung <joyeec9h3@gmail.com>

deps/uv/ChangeLog

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
2018.02.22, Version 1.19.2 (Stable), c5afc37e2a8a70d8ab0da8dac10b77ba78c0488c
2+
3+
Changes since version 1.19.1:
4+
5+
* test: fix incorrect asserts (cjihrig)
6+
7+
* test: fix a typo in test-fork.c (Felix Yan)
8+
9+
* build: remove long-obsolete gyp workarounds (Ben Noordhuis)
10+
11+
* build: split off tests into separate gyp file (Ben Noordhuis)
12+
13+
* test: check uv_cond_timedwait more carefully (Jamie Davis)
14+
15+
* include,src: introduce UV__ERR() macro (Mason X)
16+
17+
* build: add url field to libuv.pc (Ben Noordhuis)
18+
19+
* doc: mark IBM i as Tier 3 support (Jesse Gorzinski)
20+
21+
* win,build: correct C2059 errors (Michael Fero)
22+
23+
* zos: fix timeout for condition variable (jBarz)
24+
25+
* win: CREATE_NO_WINDOW when stdio is not inherited (Nick Logan)
26+
27+
* build: fix commmon.gypi comment (Ryuichi KAWAMATA)
28+
29+
* doc: document uv_timer_start() on an active timer (Vladimír Čunát)
30+
31+
* doc: add note about handle movability (Bartosz Sosnowski)
32+
33+
* doc: fix syntax error in loop documentation (Bartosz Sosnowski)
34+
35+
* osx,stream: retry sending handle on EMSGSIZE error (Santiago Gimeno)
36+
37+
* unix: delay fs req register until after validation (cjihrig)
38+
39+
* test: add tests for bad inputs (Joyee Cheung)
40+
41+
* unix,win: ensure req->bufs is freed (cjihrig)
42+
43+
* test: add additional fs memory management checks (cjihrig)
44+
45+
146
2018.01.20, Version 1.19.1 (Stable), 8202d1751196c2374ad370f7f3779daef89befae
247

348
Changes since version 1.19.0:

deps/uv/SUPPORTED_PLATFORMS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
| Linux with musl | Tier 2 | musl >= 1.0 | |
1212
| SmartOS | Tier 2 | >= 14.4 | Maintainers: @libuv/smartos |
1313
| Android | Tier 3 | NDK >= r15b | |
14+
| IBM i | Tier 3 | >= IBM i 7.2 | Maintainers: @libuv/ibmi |
1415
| MinGW | Tier 3 | MinGW32 and MinGW-w64 | |
1516
| SunOS | Tier 3 | Solaris 121 and later | |
1617
| Other | Tier 3 | N/A | |

deps/uv/common.gypi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
'VCCLCompilerTool': {
1717
'target_conditions': [
1818
['uv_library=="static_library"', {
19-
'RuntimeLibrary': 1, # static debug
19+
'RuntimeLibrary': 1, # /MTd static debug
2020
}, {
21-
'RuntimeLibrary': 3, # DLL debug
21+
'RuntimeLibrary': 3, # /MDd DLL debug
2222
}],
2323
],
2424
'Optimization': 0, # /Od, no optimization
@@ -52,9 +52,9 @@
5252
'VCCLCompilerTool': {
5353
'target_conditions': [
5454
['uv_library=="static_library"', {
55-
'RuntimeLibrary': 0, # static release
55+
'RuntimeLibrary': 0, # /MT static release
5656
}, {
57-
'RuntimeLibrary': 2, # debug release
57+
'RuntimeLibrary': 2, # /MD DLL release
5858
}],
5959
],
6060
'Optimization': 3, # /Ox, full optimization

deps/uv/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1414

1515
AC_PREREQ(2.57)
16-
AC_INIT([libuv], [1.19.1], [https://github.com/libuv/libuv/issues])
16+
AC_INIT([libuv], [1.19.2], [https://github.com/libuv/libuv/issues])
1717
AC_CONFIG_MACRO_DIR([m4])
1818
m4_include([m4/libuv-extra-automake-flags.m4])
1919
m4_include([m4/as_case.m4])

0 commit comments

Comments
 (0)