Mithun Patel
434af03825
doc: Add note about use of JSON.stringify()
...
process.send and child.send use JSON.stringify to serialize
the message.
Fixes: https://github.com/nodejs/node/issues/5453
PR-URL: https://github.com/nodejs/node/pull/5723
Reviewed-By: Jeremy Whitlock <jwhitlock@apache.org >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-16 13:06:32 +11:00
Kirill Fomichev
62926d85bd
doc: clarify type of first argument in zlib
...
The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.
PR-URL: https://github.com/nodejs/node/pull/5685
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-16 13:06:31 +11:00
Kevin Locke
eb73574349
doc: clarify when writable.write callback is called
...
The current documentation for writable.write only specifies that the
callback is called "once the data has been fully handled". It is
ambiguous whether this means "successfully handled" and, if so,
whether the callback is called if the data can not be successfully
handled (i.e. an error occurs).
The ambiguity is not only in the documentation. The stream class
implementations differ on this point. stream.Writable invokes the
callback with any errors that occur during parameter checking or
during calls to _write. However, not all classes return all errors
to _write. zlib.Zlib does pass argument and state errors to the
_write (_transform) callback, but does not pass data errors.
http.OutgoingMessage passes argument type errors and some other types
of errors, but not all.
This inconsistency is behind issue #1746 and, I suspect, other issues
in client code which passes a callback to write.
This commit takes no position on whether the callback error behavior
should changed, but simply attempts to document the current behavior
in a way that is open to changes so that users are not caught by
surprise.
PR-URL: https://github.com/nodejs/node/pull/4810
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jeremy Whitlock <jwhitlock@apache.org >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2016-03-16 13:06:30 +11:00
Daijiro Wachi
c579507034
doc: fix typo in api/addons
...
PR-URL: https://github.com/nodejs/node/pull/5678
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-16 13:06:29 +11:00
Daijiro Wachi
8e45c9d9ea
doc: fix typo in api/dgram
...
PR-URL: https://github.com/nodejs/node/pull/5678
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-16 13:06:29 +11:00
Daijiro Wachi
44a9b100c5
doc: fix typo in api/fs
...
PR-URL: https://github.com/nodejs/node/pull/5678
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-16 13:06:28 +11:00
Jeremiah Senkpiel
9794abb5d1
doc: add onboarding resources
...
PR-URL: https://github.com/nodejs/node/pull/3726
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-03-16 13:06:27 +11:00
Stefano Vozza
31e39fbd7a
doc: remove non-standard use of hyphens
...
Identifies the non-idiomatic usages of the '-' character
and either removes them or replaces them with colons.
Fixes: https://github.com/nodejs/node/issues/5672
R-URL: https://github.com/nodejs/node/pull/5677
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
2016-03-16 13:06:27 +11:00
Kári Tristan Helgason
f3e9daa825
doc: add clarification on birthtime in fs stat
...
Clarifies the possibility of birthtime in the fs stat
object being greater than atime or mtime when not available
in the filesystem (see issue for further info).
Fixes: https://github.com/nodejs/node/issues/2222
PR-URL: https://github.com/nodejs/node/pull/5479
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-14 17:52:05 +11:00
Vaibhav
2a442b3dfc
doc: update removeListener behaviour
...
This commit updates events doc to describe removeListener behaviour
when it is called within a listener. An example is added to make
it more evident.
A test is also incuded to make this behaviour consistent in future
releases.
Fixes : nodejs/node#4759
PR-URL: https://github.com/nodejs/node/pull/5201
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2016-03-14 17:52:04 +11:00
Benjamin Gruenbaum
f6ee0996e0
doc: fix typo in child_process docs
...
Fixes a typo in the child process docs.
Fixes: https://github.com/nodejs/nodejs.org/issues/573
PR-URL: https://github.com/nodejs/node/pull/5681
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com >
2016-03-14 17:52:03 +11:00
Robert C Jensen
dd12661173
doc: include typo in 'unhandledRejection' example
...
Reintroduces an intentional typo in a process doc example.
Fixes: https://github.com/nodejs/node/issues/5644
PR-URL: https://github.com/nodejs/node/pull/5654
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-03-14 17:52:03 +11:00
Myles Borins
4c1fdaeb2a
docs: update link to iojs+release ci job
...
We recently sandboxed the release CI jobs to their own Jenkins instance
This commit updates the links found in `doc/releases.md` to point
people in the right direction.
PR-URL: https://github.com/nodejs/node/pull/5632
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-14 17:51:58 +11:00
Steve Mao
9ebd559a55
doc: fix markdown links
...
Fixes: https://github.com/nodejs/node/issues/5322
PR-URL: https://github.com/nodejs/node/pull/5641
Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-14 17:51:57 +11:00
axvm
62d267e1ff
doc: fix dns.resolveCname description typo
...
PR-URL: https://github.com/nodejs/node/pull/5622
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-14 17:51:57 +11:00
Jeremiah Senkpiel
9f8e2e2979
doc: update release tweet template
...
PR-URL: https://github.com/nodejs/node/pull/5628
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-14 17:51:56 +11:00
Sequoia McDowell
7be726f86a
doc: add info to docs on how to submit docs patch
...
The docs mentioned that the docs source live in
the node source, but did not link to same.
PR-URL: https://github.com/nodejs/node/pull/4591
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-08 15:55:05 -05:00
Michaël Zasso
eb5a95e04a
doc: fix typo in fs.symlink
...
PR-URL: https://github.com/nodejs/node/pull/5560
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-03-08 15:55:02 -05:00
Robert Jefe Lindstaedt
2abf866b6e
build: update Node.js logo on Win installer
...
also change stripe color to RGB 68 136 62
PR-URL: https://github.com/nodejs/node/pull/5531
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Rod Vagg <rod@vagg.org >
2016-03-08 15:55:02 -05:00
Matteo Collina
67e9f65958
dgram: default send address to 127.0.0.1 or ::1
...
In net we default to 'localhost' as the default address for connect.
Not doing the same on dgram is confusing, because sending to 0.0.0.0
works on Linux/OS X but not on Windows. Defaulting that to 127.0.0.1 /
::1 addresses that.
Related: https://github.com/nodejs/node/pull/5407
Related: https://github.com/nodejs/node/issues/5398
Fixes: https://github.com/nodejs/node/issues/5487
PR-URL: https://github.com/nodejs/node/pull/5493
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-08 15:55:01 -05:00
James M Snell
9ad901ef44
doc: improve unhandledException doc copy
...
Rework the doc a bit to tighten it up, including removing the
use of `you`
Fix some line wrapping issues.
PR-URL: https://github.com/nodejs/node/pull/5287
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
...
2016-03-08 15:54:56 -05:00
silverwind
3bd96fdb0f
doc: update link green to match homepage
...
Also fixed a minor color issue with :focus on the title.
PR-URL: https://github.com/nodejs/node/pull/5548
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-03-08 15:54:54 -05:00
Craig Akimoto
cb7e4fbac9
doc: update V8 URL
...
https://code.google.com/p/v8/ redirects to the V8 issue tracker
PR-URL: https://github.com/nodejs/node/pull/5530
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-03-08 15:54:52 -05:00
Sam Roberts
b54a26fa61
doc: correct name of engine methods
...
ENGINE_METHOD_PKEY_METH and ENGINE_METHOD_PKEY_ASN1_METH are misspelled
in the documentation, both should be ..._METHS.
PR-URL: https://github.com/nodejs/node/pull/5463
Reviewed-By: Fedor Indutny <fedor@indutny.com >
2016-03-08 15:54:51 -05:00
cjihrig
e572e421b4
repl: accept no arguments to start()
...
Currently, there is a check to ensure that the user either
provides an object or a string to repl.start(). The string case
is used to set a REPL prompt. However, a default of '> ' already
exists, so forcing the user to specify a prompt is a bit
redundant. This commit removes this restriction.
Fixes: https://github.com/nodejs/node/issues/5385
PR-URL: https://github.com/nodejs/node/pull/5388
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Julian Duque <julianduquej@gmail.com >
2016-03-08 15:54:50 -05:00
cjihrig
a3017992e4
child_process: add keepOpen option to send()
...
This option allows an instance of net.Socket to be kept open in
the sending process.
Fixes: https://github.com/nodejs/node/issues/4271
PR-URL: https://github.com/nodejs/node/pull/5283
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-03-08 15:54:50 -05:00
cjihrig
6d4887ccc2
child_process: support options in send()
...
This commit adds an options object to process.send(). The same
object is propagated to process._send(), the _handleQueue, and the
send() and postSend() functions of the handle converter.
Fixes: https://github.com/nodejs/node/issues/4271
PR-URL: https://github.com/nodejs/node/pull/5283
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-03-08 15:54:49 -05:00
ronkorving
f1f3832934
doc: update NAN urls in ROADMAP.md and doc/releases.md
...
PR-URL: https://github.com/nodejs/node/pull/5472
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-02 13:31:13 -05:00
Rod Vagg
51bc062dab
doc: add CTC meeting minutes 2016-02-17
...
PR-URL: https://github.com/nodejs/node/pull/5410
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-02 13:31:11 -05:00
Evan Lucas
795c85ba1c
doc: fix typo in child_process documentation
...
TSCP should be TCP
PR-URL: https://github.com/nodejs/node/pull/5474
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-03-02 13:19:57 -05:00
Anton Andesen
0a56e9690b
doc: add note for binary safe string reading
...
`readable.setEncoding(null)` - may be the most preferable way to proxy
a binary data without any encoding/decoding overhead
PR-URL: https://github.com/nodejs/node/pull/5155
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-02 13:19:56 -05:00
Alexander Makarenko
ea8331e15f
doc: improvements to crypto.markdown copy
...
Fix several typos. Add missing links.
PR-URL: https://github.com/nodejs/node/pull/5230
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Kelvin Knighton <keltheceo@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-02 13:19:55 -05:00
Hugo Wood
378a772034
doc: require behavior on case-insensitive systems
...
This adds a paragraph in the Module Caching Caveats section about the
behavior of require when Node is running on top of a file system (e.g.
HFS) or operating system (e.g. Windows) that will not consider the case
of file paths to find files.
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Alexis Campailla <orangemocha@nodejs.org >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-28 12:41:50 +11:00
Tristan Slominski
06b7eb6636
doc: document base64url encoding support
...
Documents that creating a buffer from base64 encoded string
transparently supports "URL and Filename Safe Alphabet" base64url
encoding.
PR-URL: https://github.com/nodejs/node/pull/5243
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
Reviewed-By: Benjamin Gruenbaum <inglor@gmail.com >
Reviewed-By: Alejandro Oviedo <alejandro.oviedo.g@gmail.com >
2016-02-28 12:41:50 +11:00
Jackson Tian
8ec3d904cb
doc: improve httpVersionMajor / httpVersionMajor
...
The description of httpVersionMajor & httpVersionMinor should
have same context like httpVersion.
PR-URL: https://github.com/nodejs/node/pull/5296
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-28 12:41:49 +11:00
Evan Lucas
534e88f56c
doc: fix relative links in net docs
...
They were not being processed as relative links.
PR-URL: https://github.com/nodejs/node/pull/5358
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-28 12:41:49 +11:00
Brian White
7b98a30976
doc: fix crypto function indentation level
...
PR-URL: https://github.com/nodejs/node/pull/5460
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-28 12:41:48 +11:00
dcposch@dcpos.ch
c0fd802cc2
doc: link to man pages
...
This changes the doc generator to automatically link references such as
`open(2)` to a man page on man7.org or freebsd.org
PR-URL: https://github.com/nodejs/node/pull/5073
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-28 12:41:48 +11:00
Rafael Cepeda
f8c6701e22
doc: add missing property in cluster example
...
`Cluster.setupMaster(options)` Options object was missing an `args`
property on the example.
PR-URL: https://github.com/nodejs/node/pull/5305
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-28 12:41:47 +11:00
Chris Dew
3bfe0483f0
doc: corrected name of argument in socket.send
...
Corrected name of "msg" argument from "buf" to "msg".
PR-URL: https://github.com/nodejs/node/pull/5449
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-28 12:41:47 +11:00
Alexander Makarenko
c8725f5e95
doc: fix links in tls, cluster docs
...
Fix missing links described in #5322 .
PR-URL: https://github.com/nodejs/node/pull/5364
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-28 12:41:46 +11:00
Rod Vagg
f349a9a2cf
build: update Node.js logo on OSX installer
...
PR-URL: https://github.com/nodejs/node/pull/5401
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: kahwee
Reviewed-By: fhemberger
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-02-27 17:15:39 +11:00
Rich Trott
ff988b3ee6
doc,tools,test: lint doc-based addon tests
...
PR-URL: https://github.com/nodejs/node/pull/5427
Fixes: https://github.com/nodejs/node/issues/5424
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-02-27 17:15:39 +11:00
Rich Trott
43853679f7
doc: copyedit util doc
...
Add verbs to make sentence fragments less fragmentary.
PR-URL: https://github.com/nodejs/node/pull/5399
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-27 17:15:35 +11:00
Marc Cuva
903e8d09e1
doc: fix typo in pbkdf2Sync code sample
...
Function name in code sample had the wrong capitalization.
PR-URL: https://github.com/nodejs/node/pull/5306
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-27 17:15:35 +11:00
Chinedu Francis Nwafili
79b1c22c9f
doc: fix buf.readInt16LE output
...
Previous example didn't account for the 1 byte offset
PR-URL: https://github.com/nodejs/node/pull/5282
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-02-27 17:15:34 +11:00
cjihrig
e46915f2f3
doc: note util.isError() @@toStringTag limitations
...
util.isError() is the only remaining util.is*() method that
depends on Object.prototype.toString() behavior. This commit
notes the limitations of isError() related to @@toStringTag.
Refs: https://github.com/nodejs/node/pull/2201
PR-URL: https://github.com/nodejs/node/pull/5414
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-02-27 17:15:34 +11:00
Dirceu Pereira Tiegs
935fd21fff
doc: clarify error handling in net.createServer
...
Remove indications that an error argument is sent to the `listen()` callback.
Fixes: https://github.com/nodejs/node/issues/5345
PR-URL: https://github.com/nodejs/node/pull/5353
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-02-27 17:15:32 +11:00
Ron Korving
93dce6d4fe
doc: document fs.datasync(Sync)
...
The APIs are implemented but currently not documented.
PR-URL: https://github.com/nodejs/node/pull/5402
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Rod Vagg <rod@vagg.org >
2016-02-27 17:15:32 +11:00
Jeremiah Senkpiel
365cc63783
doc: add "building node with ninja" guide
...
PR-URL: https://github.com/nodejs/node/pull/4767
Refs: https://github.com/nodejs/docs/pull/38
Reviewed-By: Bryan English <bryan@bryanenglish.com >
Reviewed-By: Stephan Belanger <admin@stephenbelanger.com >
2016-02-27 17:15:29 +11:00