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

V7.8.0 proposal #12104

Merged
merged 67 commits into from
Mar 29, 2017
Merged
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
d22346d
deps: fix async await desugaring in V8
targos Mar 23, 2017
17d16e8
buffer: remove unneeded eslint-disable comment
Trott Mar 17, 2017
8ab26cf
readline: add option to stop duplicates in history
DannyNemer Sep 21, 2015
c51d925
url: restrict setting protocol to "file"
watilde Mar 20, 2017
169f187
test: synchronize WPT url setters tests data
watilde Mar 20, 2017
68b23be
doc: add missing word in stream.md
jyotman Mar 18, 2017
d6da170
src: ensure that fd 0-2 are valid on windows
bzoz Mar 14, 2017
04fa28e
doc: fix gitter badge in README
silverwind Mar 20, 2017
114f9d6
test: add hasCrypto check to tls-socket-close
danbev Mar 8, 2017
85eb1bc
benchmark: remove v8ForceOptimization calls
lucaslago Mar 17, 2017
d62ddbe
benchmark: fix fs\bench-realpathSync.js
vsemozhetbyt Mar 17, 2017
019a20a
src: make PercentDecode return void
TimothyGu Mar 16, 2017
9ba551f
test: fix flaky test-tls-socket-close
Trott Mar 19, 2017
55a1126
test: add test for child_process.execFile()
Trott Mar 19, 2017
59f71f5
src, buffer: do not segfault on out-of-range index
TimothyGu Mar 19, 2017
2f4ad6f
benchmark: harmonize progress bar + stderr output
vsemozhetbyt Mar 19, 2017
3e4ecca
build: don't create directory for NDK toolchain
diastremskii Mar 21, 2017
486bd1b
doc: require uses fs root for '/' prefix
bmeck Mar 17, 2017
0f2642e
errors: remove needless lazyAssert
DavidCai1111 Mar 17, 2017
96ad336
doc: remove superfluous sample assert code
Trott Mar 20, 2017
d0c2d67
src: add native URL class
jasnell Mar 11, 2017
91a2700
readline: rename `deDupeHistory` option
DannyNemer Mar 20, 2017
41bec5c
doc: correct info in child_process.md
vsemozhetbyt Mar 20, 2017
6a6c431
src: use persistent strings from node::Environment
bnoordhuis Mar 20, 2017
90acb77
benchmark: allow multiple values for same config
seishun Mar 12, 2017
4b1b6b8
timers: fix not to close reused timer handle
shigeki Feb 20, 2017
2767e2d
deps: upgrade npm to 4.2.0
zkat Feb 14, 2017
924f346
doc: update collaborator email address
Trott Mar 22, 2017
bb2de4a
test: do not use `more` command on Windows
vsemozhetbyt Mar 21, 2017
f675518
url: show input in parse error message
joyeecheung Mar 20, 2017
1f7fe55
doc: add richardlau to collaborators
richardlau Mar 24, 2017
fb41ee3
build: add lint option to vcbuild.bat help
brennemo Mar 22, 2017
764a00e
test: add test for url
hiroppy Mar 23, 2017
b48f13a
test: add minimal test for net benchmarks
Trott Mar 22, 2017
e70ed3c
test: improve test-vm-cached-data.js
mpelekh Mar 21, 2017
3d21bfe
test: invalid chars in http client path
lucamaraschi Mar 21, 2017
6c803db
lib: fix event race condition with -e
bnoordhuis Mar 21, 2017
ade64e6
test: refactor test-cluster-disconnect
Trott Mar 22, 2017
7aeeee3
benchmark: repair the fs/readfile benchmark
Jul 21, 2016
2462fd8
process: maintain constructor descriptor
bengl Oct 26, 2016
2102504
benchmark: update obsolete information pointer
Trott Mar 24, 2017
837ff4b
lib: remove an unnecessary coverage check
Fishrock123 Mar 24, 2017
a73dea9
test: add second argument to assert.throws()
rjbernaldo Mar 24, 2017
1c0435b
test: add regex for expected error message
jfmercer Mar 23, 2017
414df6c
test: test validity of prefix in mkdtempSync
lucamaraschi Mar 23, 2017
ac92d02
net: refactor net module to module.exports
claudiorodriguez Mar 5, 2017
7347860
lib: clarify the usage of 'else'
JacksonTian Feb 3, 2017
41284fb
test: cover thrown errors from exec() kill
cjihrig Jan 27, 2017
126dcb7
url: name anonymous functions in url
pvsousalima Oct 21, 2016
d112aad
test: replace throw with common.fail
itsmed Nov 19, 2016
4051184
stream_base,tls_wrap: notify on destruct
trevnorris Oct 31, 2016
51c8d80
Partial revert "tls: keep track of stream that is closed"
trevnorris Mar 20, 2017
7f6b03f
doc: fix process.stdout fd number
fmy Mar 27, 2017
5e3d429
doc: stdout/err/in are all Duplex streams
seppevs Feb 6, 2017
18a586a
doc: edit the benchmark guide
Trott Mar 25, 2017
948b99d
test: fix broken tests in test-buffer-includes
aqrln Mar 25, 2017
af051f6
doc: fix http properties documented as methods
Mar 25, 2017
4b5f177
doc: fix https.timeout docs
Mar 25, 2017
63a19c7
doc: update and modernize examples in fs.ms
vsemozhetbyt Mar 25, 2017
8b2b93f
test: mark child-process-exec-kill-throws flaky
gibfahn Mar 26, 2017
751c115
benchmark: check end() argument to be > 0
vsemozhetbyt Mar 24, 2017
fade55b
doc: clarify out-of-bounds behavior of buf[index]
seishun Feb 10, 2017
d8b71be
test: fix misleading comment
fhinkel Mar 26, 2017
a64aa44
crypto: fix memory leak if certificate is revoked
Mar 28, 2017
fd93622
tls: fix SecurePair external memory reporting
bnoordhuis Mar 17, 2017
5bdd549
lib: add comment to script eval _tickCallback
gibfahn Mar 26, 2017
f04524e
2017-03-28, Version 7.8.0 (Current)
MylesBorins Mar 28, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: stdout/err/in are all Duplex streams
stdout, stderr and stdin are all Duplex streams but documentation
states otherwise

Fixes #9201

PR-URL: #11194
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
  • Loading branch information
seppevs authored and MylesBorins committed Mar 28, 2017
commit 5e3d429613e6d1ebf3078af94f04cb97838971b4
21 changes: 14 additions & 7 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1496,8 +1496,10 @@ Android)

* {Stream}

The `process.stderr` property returns a [Writable][] stream connected to
`stderr` (fd `2`).
The `process.stderr` property returns a stream connected to
`stderr` (fd `2`). It is a [`net.Socket`][] (which is a [Duplex][]
stream) unless fd `2` refers to a file, in which case it is
a [Writable][] stream.

Note: `process.stderr` differs from other Node.js streams in important ways,
see [note on process I/O][] for more information.
Expand All @@ -1506,8 +1508,10 @@ see [note on process I/O][] for more information.

* {Stream}

The `process.stdin` property returns a [Readable][] stream equivalent to or
associated with `stdin` (fd `0`).
The `process.stdin` property returns a stream connected to
`stdin` (fd `0`). It is a [`net.Socket`][] (which is a [Duplex][]
stream) unless fd `0` refers to a file, in which case it is
a [Readable][] stream.

For example:

Expand All @@ -1526,7 +1530,7 @@ process.stdin.on('end', () => {
});
```

As a [Readable][] stream, `process.stdin` can also be used in "old" mode that
As a [Duplex][] stream, `process.stdin` can also be used in "old" mode that
is compatible with scripts written for Node.js prior to v0.10.
For more information see [Stream compatibility][].

Expand All @@ -1538,8 +1542,10 @@ must call `process.stdin.resume()` to read from it. Note also that calling

* {Stream}

The `process.stdout` property returns a [Writable][] stream connected to
`stdout` (fd `1`).
The `process.stdout` property returns a stream connected to
`stdout` (fd `1`). It is a [`net.Socket`][] (which is a [Duplex][]
stream) unless fd `1` refers to a file, in which case it is
a [Writable][] stream.

For example, to copy process.stdin to process.stdout:

Expand Down Expand Up @@ -1780,6 +1786,7 @@ cases:
[TTY]: tty.html#tty_tty
[Writable]: stream.html#stream_writable_streams
[Readable]: stream.html#stream_readable_streams
[Duplex]: stream.html#stream_duplex_and_transform_streams
[Child Process]: child_process.html
[Cluster]: cluster.html
[`process.exitCode`]: #process_process_exitcode
Expand Down