Rod Vagg
42b936e78d
src: add process.release.lts property
...
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/3212
2015-10-12 06:47:51 -07:00
David Boivin
747271372f
doc: update the assert module summary
...
The current wording "This module is used for writing unit tests for your
applications, you can access it with require('assert')." implies that
this module should only be used in development while unit testing.
The article "Error Handling in Node.js" by Joyent
(https://www.joyent.com/developers/node/design/errors ) uses the assert
module in an efficient way to validate required function arguments.
PR-URL: https://github.com/nodejs/node/pull/2799
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2015-10-12 06:42:20 -07:00
Roman Klauke
0d506556b0
doc: replace node-gyp link with nodejs/node-gyp
...
The node-gyp is now in the nodejs/node-gyp. This commit replaces the
repository owner link with the new nodejs/node-gyp link.
PR-URL: https://github.com/nodejs/node/pull/3320
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
2015-10-12 06:41:21 -07:00
Dave Hodder
40a159e4f4
doc: Amend capitalization of word JavaScript
...
PR-URL: https://github.com/nodejs/node/pull/3285
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2015-10-10 10:38:01 -07:00
Alejandro Oviedo
6dd34761fd
doc: add method links in dns.markdown
...
Added links to referenced methods.
PR-URL: https://github.com/nodejs/node/pull/3196
Reviewed-By: Roman Reiss <me@silverwind.io >>
2015-10-10 10:37:03 -07:00
Alejandro Oviedo
333e8336be
doc: add method links in child_process.markdown
...
Added links to referenced methods.
PR-URL: https://github.com/nodejs/node/pull/3186
Reviewed-By: Roman Reiss <me@silverwind.io >
2015-10-10 10:36:04 -07:00
Jason Karns
0cfc6d39ca
doc: recommend Infinity on emitter.setMaxListeners
...
Instead of recommending `0` as the magic value to set max listeners to
unlimited, recommend `Infinity`. This paves the way for `0` as a magic
value eventually being deprecated and finally removed.
PR-URL: https://github.com/nodejs/node/pull/2559
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2015-10-10 10:34:39 -07:00
Roman Reiss
28aac7f19d
doc: add TLS session resumption example
...
Using TLS session resumption correctly is not obvious. This added
example code should help new users understand how to use it correctly.
Related issue: https://github.com/nodejs/node/issues/3132
PR-URL: https://github.com/nodejs/node/pull/3147
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
2015-10-07 20:39:18 -07:00
Martial
d4399613b7
doc: standardize references to userland
...
Change occurrences of "user-land" to "userland".
PR-URL: https://github.com/nodejs/node/pull/3192
Fixes: https://github.com/nodejs/node/issues/3189
Reviewed-By: Rich Trott <rtrott@gmail.com >
2015-10-07 20:39:17 -07:00
Rod Machen
75de258376
doc: fix spelling in Buffer documentation
...
Change b.writeUint16LE(0x90ab, 0) to b.writeUInt16LE(0x90ab, 0).
PR-URL: https://github.com/nodejs/node/pull/3226
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2015-10-07 20:39:17 -07:00
Dave Eddy
9d65528b01
node: add -c|--check CLI arg to syntax check script
...
PR-URL: https://github.com/nodejs/node/pull/2411
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2015-10-07 20:39:15 -07:00
Evan Lucas
7271cb047c
src: add process.versions.icu
...
If i18n support is present, add the icu version
to process.versions
Fixes: https://github.com/nodejs/node/issues/3089
PR-URL: https://github.com/nodejs/node/pull/3102
Reviewed-By: Steven R Loomis <srloomis@us.ibm.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Rod Vagg <rod@vagg.org >
2015-10-07 20:39:15 -07:00
Minwoo Jung
f92aee7170
doc: fix outdated 'try/catch' statement in sync
...
Fixes description about crypto.randomBytes.
Fixes: https://github.com/nodejs/node/issues/3081
PR-URL: https://github.com/nodejs/node/pull/3087
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2015-10-02 13:39:25 +10:00
Rod Vagg
c7161f39e8
doc: add TSC meeting minutes 2015-09-16
...
PR-URL: https://github.com/nodejs/node/pull/3023
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2015-10-02 13:39:24 +10:00
Rich Trott
928166c4a8
doc: copyedit fs.watch() information
...
Removed "Only FSEvents supports this type of file watching so it is
unlikely any additional platforms will be added soon."
Per @saghul, "FSEvents" refers to the OSX API, but since we added
Windows support it may not be unlikely that we add more.
PR-URL: https://github.com/nodejs/node/pull/3097
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com >
2015-10-02 13:39:24 +10:00
Michał Gołębiowski
75d5dcea76
doc: jenkins-iojs.nodesource.com -> ci.nodejs.org
...
The Jenkins URL has changed from https://jenkins-iojs.nodesource.com
to https://ci.nodejs.org . The former address now redirects to the
latter. Some jobs has also changed names.
PR-URL: https://github.com/nodejs/node/pull/2886
Reviewed-By: Rod Vagg <r@va.gg >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2015-09-24 22:09:45 -07:00
Fabio Oliveira
b28f6a53bc
docs: Clarify assert.doesNotThrow behavior
...
The documentation for assert.doesNotThrow now reflects all the inputs
the function accepts, as well as the errors thrown for each combination
of parameter types.
PR-URL: https://github.com/nodejs/node/pull/2807
Reviewed-By: Rich Trott <rtrott@gmail.com >
2015-09-24 22:09:45 -07:00
Laurent Fortin
5c3f50b21d
doc: rearrange execSync and execFileSync
...
Changed the ordering so it is in line with the async methods.
PR-URL: https://github.com/nodejs/node/pull/2940
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2015-09-24 22:09:45 -07:00
Laurent Fortin
4fc33ac11a
doc: make execFileSync in line with execFile
...
PR-URL: https://github.com/nodejs/node/pull/2940
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2015-09-24 22:09:44 -07:00
reggi
a366e84b17
doc: fix typos in cluster & errors
...
PR-URL: https://github.com/nodejs/node/pull/3011
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2015-09-24 22:09:44 -07:00
Sakthipriyan Vairamani
43e2b7f836
doc: remove usage of events.EventEmitter
...
The `events` module already exports `EventEmitter` constructor function
So, we don't have to use `events.EventEmitter` to access it.
Refer: https://github.com/nodejs/node/pull/2896
PR-URL: https://github.com/nodejs/node/pull/2921
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
2015-09-23 08:39:34 +10:00
Christopher J. Brody
9c59d2f16a
doc: remove extra using v8::HandleScope statement
...
v8::HandleScope does not seem to be required for addon functions.
PR-URL: https://github.com/nodejs/node/pull/2983
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2015-09-22 16:31:39 +10:00
Rich Trott
f7edbab367
doc: clarify description of assert.ifError()
...
This fixes a few typographical errors (comma splices and the like) and
clarifies the description of assert.ifError(). It also standardizes the
document on "inequality" rather than having both "inequality" and "non-
equality".
PR-URL: https://github.com/nodejs/node/pull/2941
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2015-09-20 10:31:26 -07:00
Rich Trott
b2ddf0f9a2
doc: refine process.kill() and exit explanations
...
Add corrections about when exit event fires and how .kill() works on
Windows.
PR-URL: https://github.com/nodejs/node/pull/2918
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
2015-09-20 10:30:53 -07:00
Rich Trott
bf42cc8dba
doc: process exit event is not guaranteed to fire
...
This change:
* notes that the exit event is not guaranteed to fire
* provides an example situation where the exit event may not fire
* makes a minor copyediting change
* enforces 80 character wrap in one place where it was not honored
Fixes: https://github.com/nodejs/node/issues/2853
PR-URL: https://github.com/nodejs/node/pull/2861
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2015-09-16 21:03:51 -04:00
Sam Roberts
bb0f869f67
doc: remove incorrect reference to TCP in net docs
...
createServer() can create socket of types other than TCP.
PR-URL: https://github.com/nodejs/node/pull/2903
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2015-09-16 16:07:59 -04:00
Sam Roberts
302d59dce8
doc: correct buffer.slice arg syntax
...
PR-URL: https://github.com/nodejs/node/pull/2903
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2015-09-16 16:07:58 -04:00
Sam Roberts
74db9637b7
doc: describe spawn option.detached
...
PR-URL: https://github.com/nodejs/node/pull/2903
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2015-09-16 16:07:58 -04:00
Sam Roberts
f931b9dd95
timer: ref/unref return self
...
Most calls to ref() and unref() are chainable, timers should be
chainable, too.
Typical use:
var to = setTimeout(ontimeout, 123).unref();
PR-URL: https://github.com/nodejs/node/pull/2905
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trevor Norris <trevnorris@nodejs.org >
2015-09-16 16:07:58 -04:00
Sven Slootweg
cd643d7c37
doc: add missing backtick in buffer.markdown
...
Fixes: https://github.com/nodejs/node/issues/2880
PR-URL: https://github.com/nodejs/node/pull/2881
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2015-09-15 14:06:19 -04:00
Yazhong Liu
6108ea9bb4
fs: consider NaN/Infinity in toUnixTimestamp
...
PR-URL: https://github.com/nodejs/node/pull/2387
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2015-09-15 13:53:00 -04:00
Danny Nemer
e8a206e802
doc: fix broken link in repl.markdown
...
PR-URL: https://github.com/nodejs/node/pull/2827
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2015-09-14 21:50:59 -04:00
Jeremiah Senkpiel
2d77d03643
doc: fix two doc errors in stream and process
...
`process.stdout` always blocks as of
20176a9841
`WritableState.buffer` is `getBuffer()` as of
91586661c9
PR-URL: https://github.com/nodejs/node/pull/2549
Reviewed-By: Alexis Campailla <orangemocha@nodejs.org >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2015-09-14 21:50:58 -04:00
Tristian Flanagan
55ac24f721
doc: fixed io.js references in process.markdown
...
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/2846
2015-09-14 21:50:58 -04:00
Minwoo Jung
cd1297fb57
doc: use "Calls" over "Executes" for consistency
...
"Calls" is used frequently throughout the docs except for this line.
Use "Calls" over "Executes" to make it consistent.
PR-URL: https://github.com/nodejs/node/pull/2800
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2015-09-14 21:50:57 -04:00
Anne-Gaelle Colom
d664b95581
doc: use US English for consistency
...
behaviour -> behavior
PR-URL: https://github.com/nodejs/node/pull/2784
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
2015-09-11 11:31:20 +10:00
Anne-Gaelle Colom
82ba1839fb
doc: use 3rd person singular for consistency
...
PR-URL: https://github.com/nodejs/node/pull/2765
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2015-09-11 11:31:20 +10:00
Sam Roberts
432cce6e95
doc: describe process API for IPC
...
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
PR-URL: https://github.com/nodejs/node/pull/1978
2015-09-11 11:31:19 +10:00
Rich Trott
1d75012b9d
doc: fix comma splice in Assertion Testing doc
...
This fixes a minor typographical error in the Assertion Testing doc.
PR-URL: https://github.com/nodejs/node/pull/2728
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2015-09-09 09:05:11 +10:00
Rod Vagg
8637755cbf
doc: add TSC meeting minutes 2015-09-02
...
PR-URL: https://github.com/nodejs/node/pull/2674
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2015-09-06 21:39:08 +10:00
Roman Reiss
d3d5b93214
doc: update environment vars in manpage and --help
...
- Added NODE_REPL_HISTORY to the environment variables in the --help
and made all descriptions start with lower case for consistency.
- Added NODE_REPL_HISTORY and NODE_ICU_DATA to the man page.
PR-URL: https://github.com/nodejs/node/pull/2690
Reviewed-By: fishrock123 - Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: evanlucas - Evan Lucas <evanlucas@me.com >
2015-09-06 21:39:07 +10:00
Sakthipriyan Vairamani
7038388558
doc,test: enable recursive file watching in Windows
...
Recursive file watching is supported by libuv since 1.7.0. Refer
https://github.com/nodejs/node/blob/master/deps/uv/ChangeLog#L126 . This
patch notes that in the docs and enables testing this feature. It also
adds proper TAP plugin parsable message for other platforms.
PR-URL: https://github.com/nodejs/node/pull/2649
Fixes: https://github.com/nodejs/node/issues/375
Reviewed-By: rvagg - Rod Vagg <rod@vagg.org >
Reviewed-By: silverwind - Roman Reiss <me@silverwind.io >
2015-09-06 21:39:06 +10:00
Jeremiah Senkpiel
29f586ac0a
doc: update url doc to account for escaping
...
Fixes: https://github.com/nodejs/node/issues/2113
Ref: 17a379ec39
PR-URL: https://github.com/nodejs/node/pull/2605
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com >
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: mscdex - Brian White <mscdex@mscdex.net >
2015-09-06 21:38:59 +10:00
Ben Noordhuis
d010568c23
child_process: add callback parameter to .send()
...
Add an optional callback parameter to `ChildProcess.prototype.send()`
that is invoked when the message has been sent.
Juggle the control channel's reference count so that in-flight messages
keep the event loop (and therefore the process) alive until they have
been sent.
`ChildProcess.prototype.send()` and `process.send()` used to operate
synchronously but became asynchronous in commit libuv/libuv@393c1c5
("unix: set non-block mode in uv_{pipe,tcp,udp}_open"), which landed
in io.js in commit 07bd05b ("deps: update libuv to 1.2.1").
Fixes: https://github.com/nodejs/node/issues/760
PR-URL: https://github.com/nodejs/node/pull/2620
Reviewed-By: trevnorris - Trevor Norris <trev.norris@gmail.com >
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com >
2015-09-06 21:38:58 +10:00
Rod Vagg
499321fd38
doc: add TSC meeting minutes 2015-08-12
...
PR-URL: https://github.com/nodejs/node/pull/2438
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com >
2015-09-02 21:32:15 +10:00
Rod Vagg
07019b6a1b
doc: add TSC meeting minutes 2015-08-26
...
PR-URL: https://github.com/nodejs/node/pull/2591
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2015-08-31 21:05:59 +10:00
Jeremiah Senkpiel
4c5fc3b1d4
doc: clarify cluster behaviour with no workers
...
Fixes: https://github.com/nodejs/node/issues/1239
Ref: 41b75ca926
PR-URL: https://github.com/nodejs/node/pull/2606
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl >
2015-08-28 20:32:56 -04:00
Ben Noordhuis
de88255b0f
Revert "lib,src: add unix socket getsockname/getpeername"
...
This reverts commit 6cd0e2664b .
This reverts commit 7a999a1376 .
This reverts commit f337595441 .
It turns out that on Windows, uv_pipe_getsockname() is a no-op for
client sockets. It slipped through testing because of a CI snafu.
PR-URL: https://github.com/nodejs/node/pull/2584
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2015-08-28 00:14:13 +02:00
Ben Noordhuis
6cd0e2664b
doc: update io.js reference
...
Commit f337595 ("lib,src: add unix socket getsockname/getpeername")
accidentally left in a reference to io.js v1.5.0 in the documentation.
Update it to say "Node.js v4.0.0", the upcoming release.
PR-URL: https://github.com/nodejs/node/pull/2580
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2015-08-27 18:00:55 +02:00
Ben Noordhuis
7a999a1376
lib: add net.Socket#localFamily property
...
Complements the existing net.Socket#remoteFamily property.
PR-URL: https://github.com/nodejs/node/pull/956
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2015-08-27 17:45:29 +02:00