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

Merge nodejs/master as of 3/14/2017 #186

Merged
merged 76 commits into from
Mar 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
c7e8aff
doc: add Franziska Hinkelmann to the CTC
rvagg Feb 22, 2017
a44aff4
deps: cherry-pick 0ba513f05 from V8 upstream
fhinkel Mar 6, 2017
28584db
doc: fix process links to console.log/error
sam-github Mar 6, 2017
0c10ec9
doc: fix occurences of "the the"
JeroenMandersloot Mar 6, 2017
9ee58c0
test: test buffer behavior when zeroFill undefined
Trott Mar 6, 2017
a9e64a8
dgram: refactor dgram to module.exports
claudiorodriguez Mar 5, 2017
4775942
lib, test: fix server.listen error message
joyeecheung Mar 4, 2017
7c8bbe3
doc: reduce font size on smaller screens
gibfahn Mar 5, 2017
6d16048
src: drop the NODE_ISOLATE_SLOT macro
addaleax Mar 5, 2017
dd76f5f
tools: add links to the stability index reference
michaelcox Mar 2, 2017
74bd314
test: increase coverage of console
DavidCai1111 Mar 2, 2017
86996c5
doc: deprecate private http properties
mscdex Mar 6, 2017
940b530
http: use Symbol for outgoing headers
mscdex Mar 6, 2017
b377034
http: support old private properties and function
mscdex Mar 6, 2017
8243ca0
http: reuse existing StorageObject
mscdex Feb 20, 2017
6b2cef6
http: append Cookie header values with semicolon
mscdex Feb 9, 2017
d348077
http: concatenate outgoing Cookie headers
mscdex Feb 11, 2017
7afc70d
url: remove invalid file protocol check
mscdex Mar 5, 2017
e4fbd8e
test: add more WHATWG URL origin tests
mscdex Mar 5, 2017
5efb15e
src: add missing #include <unicode/ustring.h>
srl295 Mar 8, 2017
6df23fa
benchmark: fix punycode and get-ciphers benchmark
bzoz Mar 9, 2017
ec2f098
util: change sparse arrays inspection format
aqrln Feb 27, 2017
7a4adb5
test: add regex in test_cyclic_link_protection
clarenced Feb 19, 2017
e2f151f
src: make process.env work with symbols in/delete
TimothyGu Mar 6, 2017
b98004b
test: add hasCrypto check to tls-legacy-deprecated
danbev Mar 8, 2017
dacaaa5
test: add script to create 0-dns-cert.pem
shigeki Feb 27, 2017
b806e18
s390: enable march=z196
Mar 7, 2017
1125c8a
src: fix typos in node_lttng_provider.h
bf4 Mar 6, 2017
98e54b0
meta: restore original copyright header
jasnell Jan 3, 2017
455e6f1
util: throw toJSON errors when formatting %j
TimothyGu Mar 6, 2017
df97727
doc: improve net.md on sockets and connections
joyeecheung Mar 7, 2017
99b27ce
url: prioritize toString when stringifying
TimothyGu Mar 8, 2017
190dc69
benchmark: add parameter for module benchmark
mscdex Jan 13, 2017
21b2440
fs: avoid recompilation of closure
mscdex Jan 13, 2017
34c9fc2
fs: avoid multiple conversions to string
mscdex Jan 13, 2017
1c3df96
fs: replace regexp with function
mscdex Jan 13, 2017
a851b86
lib: remove sources of permanent deopts
mscdex Jan 13, 2017
298a40e
module: use "clean" objects
mscdex Jan 13, 2017
403b89e
module: avoid hasOwnProperty()
mscdex Jan 13, 2017
28dc848
lib: improve method of function calling
mscdex Jan 13, 2017
e32425b
module: avoid JSON.stringify() for cache key
mscdex Jan 13, 2017
c672077
lib: simplify Module._resolveLookupPaths
mscdex Jan 13, 2017
443691a
crypto: fix default encoding of LazyTransform
Sep 17, 2016
92e7c93
test: add test for loading from global folders
richardlau Oct 20, 2016
055482c
module: fix loading from global folders on Windows
richardlau Oct 25, 2016
efec14a
assert: enforce type check in deepStrictEqual
joyeecheung Jan 31, 2017
c6cbbf9
net: allow missing callback for Socket.connect
vhain Mar 9, 2017
608ea94
doc: package main can be directory with an index
bmeck Feb 27, 2017
b170fb7
inspector: proper WS URLs when bound to 0.0.0.0
Mar 1, 2017
78cdd4b
test: include all stdio strings for fork()
Trott Mar 10, 2017
ea5a2f4
doc: improve child_process `maxBuffer` text
Trott Mar 10, 2017
471aa19
build: add node_use_openssl check to install.py
danbev Mar 9, 2017
1d1dbca
doc: update to current V8 versions
fhinkel Mar 10, 2017
3be1db8
test: fix flaky test-http-set-timeout-server
santigimeno Mar 10, 2017
6ff495b
doc: add missing changelog heading for 7.7.2
evanlucas Mar 13, 2017
d3418b1
doc: fix stylistic issues in api/net.md
aqrln Mar 10, 2017
879d666
net: remove an unused internal module `assertPort`
watilde Mar 14, 2017
92bcc13
test: test resolveObject with an empty path
watilde Mar 14, 2017
d77a758
url: spec-compliant URLSearchParams serializer
TimothyGu Feb 4, 2017
39d9afe
repl: refactor `LineParser` implementation
blakeembrey Nov 14, 2015
c9bc3e5
test: fail when child dies in fork-net
joyeecheung Mar 4, 2017
bc26c62
2017-03-14, Version 7.7.3 (Current)
italoacasas Mar 14, 2017
2281944
test: add regex to assert.throws
matejkrajcovic Mar 12, 2017
e494e42
doc: var -> let / const in events.md
vsemozhetbyt Mar 12, 2017
4d52d12
doc: console.log() -> console.error() in events.md
vsemozhetbyt Mar 12, 2017
8b03221
doc: correct comment error in stream.md
Alex-Sokolov Mar 11, 2017
38ba0c2
doc: missing argument types for events methods
ameliavoncat Mar 11, 2017
73e2d0b
doc: argument types for crypto methods
ameliavoncat Mar 11, 2017
27f4c94
doc: fix a typo in api/process.md
sabakugaara Mar 10, 2017
205f4e5
test: fix repl-function-redefinition-edge-case
aqrln Mar 8, 2017
1faf136
doc: argument types for dns methods
ameliavoncat Mar 9, 2017
7acc482
test: add arrow functions to test-util-inspect
aqrln Mar 10, 2017
55946a6
Merge remote-tracking branch 'nodejs/master' into xplat
kunalspathak Mar 13, 2017
4c63073
test: Skipped few testcases
kunalspathak Mar 15, 2017
4ef4e84
Merge remote-tracking branch 'nodejs/master' into xplat
kunalspathak Mar 15, 2017
374a1d8
test,chakrashim: Updated v8-version
kunalspathak Mar 15, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V7.md#7.7.2">7.7.2</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V7.md#7.7.3">7.7.3</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.7.2">7.7.2</a><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.7.1">7.7.1</a><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.7.0">7.7.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.6.0">7.6.0</a><br/>
Expand Down
21 changes: 21 additions & 0 deletions benchmark/buffers/buffer-base64-encode.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
var common = require('../common.js');

Expand Down
21 changes: 21 additions & 0 deletions benchmark/buffers/buffer-compare.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.

'use strict';
var common = require('../common.js');

Expand Down
2 changes: 1 addition & 1 deletion benchmark/crypto/get-ciphers.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ function main(conf) {
method();
}
bench.start();
for (; i < n; i++) method();
for (i = 0; i < n; i++) method();
bench.end(n);
}
2 changes: 1 addition & 1 deletion benchmark/misc/punycode.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function runPunycode(n, val) {
for (; i < n; i++)
usingPunycode(val);
bench.start();
for (; i < n; i++)
for (i = 0; i < n; i++)
usingPunycode(val);
bench.end(n);
}
Expand Down
27 changes: 20 additions & 7 deletions benchmark/module/module-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ var benchmarkDirectory = path.join(tmpDirectory, 'nodejs-benchmark-module');

var bench = common.createBenchmark(main, {
thousands: [50],
fullPath: ['true', 'false']
fullPath: ['true', 'false'],
useCache: ['true', 'false']
});

function main(conf) {
Expand All @@ -31,22 +32,34 @@ function main(conf) {
}

if (conf.fullPath === 'true')
measureFull(n);
measureFull(n, conf.useCache === 'true');
else
measureDir(n);
measureDir(n, conf.useCache === 'true');
}

function measureFull(n) {
function measureFull(n, useCache) {
var i;
if (useCache) {
for (i = 0; i <= n; i++) {
require(benchmarkDirectory + i + '/index.js');
}
}
bench.start();
for (var i = 0; i <= n; i++) {
for (i = 0; i <= n; i++) {
require(benchmarkDirectory + i + '/index.js');
}
bench.end(n / 1e3);
}

function measureDir(n) {
function measureDir(n, useCache) {
var i;
if (useCache) {
for (i = 0; i <= n; i++) {
require(benchmarkDirectory + i);
}
}
bench.start();
for (var i = 0; i <= n; i++) {
for (i = 0; i <= n; i++) {
require(benchmarkDirectory + i);
}
bench.end(n / 1e3);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const inputs = require('../fixtures/url-inputs.js').searchParams;
const bench = common.createBenchmark(main, {
type: Object.keys(inputs),
method: ['legacy', 'whatwg'],
n: [1e5]
n: [1e6]
});

function useLegacy(n, input, prop) {
Expand Down
8 changes: 4 additions & 4 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,12 @@
'ldflags': [ '-m64' ],
}],
[ 'target_arch=="s390"', {
'cflags': [ '-m31' ],
'ldflags': [ '-m31' ],
'cflags': [ '-m31', '-march=z196' ],
'ldflags': [ '-m31', '-march=z196' ],
}],
[ 'target_arch=="s390x"', {
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ],
'cflags': [ '-m64', '-march=z196' ],
'ldflags': [ '-m64', '-march=z196' ],
}],
[ 'OS=="solaris"', {
'cflags': [ '-pthreads' ],
Expand Down
2 changes: 1 addition & 1 deletion deps/chakrashim/include/v8-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#define V8_MAJOR_VERSION 5
#define V8_MINOR_VERSION 6
#define V8_BUILD_NUMBER 326
#define V8_PATCH_LEVEL 55
#define V8_PATCH_LEVEL 56

// Use 1 for candidates and 0 otherwise.
// (Boolean macro values are not supported by all preprocessors.)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions deps/npm/node_modules/readable-stream/lib/_stream_duplex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading