summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2015-08-23tools: fix anchors in generated documentsSakthipriyan Vairamani
When an anchor tag is used within a pre tag, the link is not distinguishable. This patch makes sure that the links are highlighted by underlining them. PR-URL: https://github.com/nodejs/node/pull/2491 Reviewed-By: Roman Reiss <me@silverwind.io>
2015-08-22doc: add TSC meeting minutes 2015-07-29Rod Vagg
PR-URL: https://github.com/nodejs/node/pull/2437 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-08-22doc: add TSC meeting minutes 2015-08-19Rod Vagg
PR-URL: https://github.com/nodejs/node/pull/2460 Reviewed-By: James M Snell <jasnell@gmail.com>
2015-08-22doc: add TSC meeting minutes 2015-06-03Rod Vagg
PR-URL: https://github.com/nodejs/node/pull/2453 Reviewed-By: James M Snell <jasnell@gmail.com>
2015-08-22doc: fix links to original converged repoRod Vagg
nodejs/node -> nodejs/node-convergence-archive PR-URL: https://github.com/nodejs/node/pull/2454 Reviewed-By: James M Snell <jasnell@gmail.com>
2015-08-22doc: fix links to original gh issues for TSC meetingsRod Vagg
nodejs/node -> nodejs/node-convergence-archive PR-URL: https://github.com/nodejs/node/pull/2454 Reviewed-By: James M Snell <jasnell@gmail.com>
2015-08-22doc: add audio recording links to TSC meeting minutesRod Vagg
PR-URL: https://github.com/nodejs/node/pull/2454 Reviewed-By: James M Snell <jasnell@gmail.com>
2015-08-21doc: add TSC meeting minutes 2015-07-22Rod Vagg
PR-URL: https://github.com/nodejs/node/pull/2436 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-08-20events: deprecate static listenerCount functionSakthipriyan Vairamani
As per the discussion in #734, this patch deprecates the usage of `EventEmitter.listenerCount` static function in the docs, and introduces the `listenerCount` function in the prototype of `EventEmitter` itself. PR-URL: https://github.com/nodejs/node/pull/2349 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
2015-08-18doc: clarify options for fs.watchFile()Rich Trott
The explanation for the `options` argument to `fs.watchFile()` had missing punctuation. I took the opportunity to try to rewrite the paragraph for greater clarity. PR-URL: https://github.com/nodejs/node/pull/2425 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
2015-08-11src: add total_available_size to v8 statisticsRoman Klauke
v8 introduced the new flag `total_available_size` in version 4.4 and upwards. This flag is now available on `v8.getHeapStatistics` with the name `total_available_size`. It contains the total available heap size of v8. Introduced with commit: v8/v8-git-mirror@0a1352a7 PR-URL: https://github.com/nodejs/io.js/pull/2348 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-08-05doc: multiple documentation updates cherry picked from v0.12James M Snell
* doc: improve http.abort description * doc: mention that mode is ignored if file exists * docs: Fix default options for fs.createWriteStream() * Documentation update about Buffer initialization * doc: add a note about readable in flowing mode * doc: Document http.request protocol option * doc, comments: Grammar and spelling fixes * updated documentation for fs.createReadStream * Update child_process.markdown, spelling * doc: Clarified read method with specified size argument. * docs:events clarify emitter.listener() behavior * doc: two minor stream doc improvements * doc: clarify Readable._read and Readable.push * doc: stream.unshift does not reset reading state * doc: readable event clarification * doc: additional refinement to readable event Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noorduis <ben@strongloop.com> PR-URL: https://github.com/nodejs/io.js/pull/2302
2015-08-04doc: fix heading levels for new repl documentationRod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/2299 Reviewed-by: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-08-04doc: document repl persistent history changesJeremiah Senkpiel
PR-URL: https://github.com/nodejs/io.js/pull/2224 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
2015-08-04src: introduce process.release objectRod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/2154 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-08-04deps: update v8 to 4.4.63.9Ben Noordhuis
Upgrade the bundled V8 and update code in src/ and lib/ to the new API. Notable backwards incompatible changes are the removal of the smalloc module and dropped support for CESU-8 decoding. CESU-8 support can be brought back if necessary by doing UTF-8 decoding ourselves. This commit includes https://codereview.chromium.org/1192973004 to fix a build error on python 2.6 systems. The original commit log follows: Use optparse in js2c.py for python compatibility Without this change, V8 won't build on RHEL/CentOS 6 because the distro python is too old to know about the argparse module. PR-URL: https://github.com/nodejs/io.js/pull/2022 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-08-04buffer: fix case of one buffer passed to concatSakthipriyan Vairamani
Fix Buffer.concat() so a copy is always returned regardless of the number of buffers that were passed. Previously if the array length was one then the same same buffer was returned. This created a special case for the user where there was a chance mutating the buffer returned by .concat() could mutate the buffer passed in. Also fixes an inconsistency when throwing if an array member was not a Buffer instance. For example: Buffer.concat([42]); // Returns 42 Buffer.concat([42, 1]); // Throws a TypeError Now .concat() will always throw if an array member is not a Buffer instance. See: https://github.com/nodejs/io.js/issues/1891 PR-URL: https://github.com/nodejs/io.js/pull/1937 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-08-04dgram: make send cb act as "error" event handlerMatteo Collina
Modifies the dgram send() method to not emit errors when a DNS lookup fails if there is a callback. Given that the same UDP socket can be used to send messages to different hosts, the socket can be reused even if one of those send() fails. This slightly changes the behavior of a stable API, so that it behaves as users would expect to. This is based on https://github.com/joyent/node/pull/7738, which landed in 77266d7fadd8dfefb107ccb1e3fe97f9620f1288. Fixes: https://github.com/joyent/node/issues/4846 Refs: https://github.com/joyent/node/pull/7738 PR-URL: https://github.com/nodejs/io.js/pull/1796 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-08-04dgram: make send cb act as "error" event handlerChris Dickinson
This allows users to provide a callback that handles potential errors resulting from a `socket.send` call. The original behavior of emitting the error event on the socket is preserved. Fixes: https://github.com/joyent/node/issues/4846 PR-URL: https://github.com/joyent/node/pull/7738 PR-URL: https://github.com/nodejs/io.js/pull/1796 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-08-04net: do not set V4MAPPED on FreeBSDJulien Gilli
V4MAPPED is not supported on recent FreeBSD versions, at least on 10.1. Thus, do not set this flag in net.connect on FreeBSD. Fixes: https://github.com/joyent/node/issues/8540 Fixes: https://github.com/joyent/node/issues/9204 PR-URL: https://github.com/joyent/node/pull/18204 PR-URL: https://github.com/iojs/io.js/pull/1555 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-08-04doc: update v8 flags in man pageMichaël Zasso
PR-URL: https://github.com/iojs/io.js/pull/1701 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-08-04doc,test: documents behaviour of non-existent fileSakthipriyan Vairamani
As per the discussion in https://github.com/nodejs/io.js/pull/2093#discussion_r34343965, this patch documents the behavior of calling fs.watchFile() with a path that does not yet exist. This patch also includes a test which checks if a file not present, the callback is invoked at least once and if the file is created after the callback is invoked, it will be invoked again with new stat objects. PR-URL: https://github.com/nodejs/io.js/pull/2169 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
2015-07-29doc: properly inheriting from EventEmitterSakthipriyan Vairamani
There are so many buggy code out there, just because not inheriting properly from `EventEmitter`. This patch gives an official recommendation. PR-URL: https://github.com/nodejs/io.js/pull/2168 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
2015-07-28doc: a listener, not "an" listenerSam Roberts
Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com> PR-URL: https://github.com/nodejs/io.js/pull/1025
2015-07-28doc: server close event does not have an argumentSam Roberts
Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Trevor Norris <trev.norris@gmail.com> PR-URL: https://github.com/nodejs/io.js/pull/1025
2015-07-25doc: note about custom inspect functionsSakthipriyan Vairamani
See: https://github.com/nodejs/io.js/issues/1798 When an Object is printed in REPL, the actual representation can be overriden by defining `inspect` method on the objects. This patch includes a note about the same in the REPL documentation. PR-URL: https://github.com/nodejs/io.js/pull/2142 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
2015-07-23cluster: emit 'message' event on cluster masterSam Roberts
For consistency with the worker 'exit', 'online', 'disconnect', and 'listening' events which are emitted on worker and cluster, also emit 'message' on cluster. Reviewed-by: Sam Roberts <vieuxtech@gmail.com> Reviewed-by: Christian Tellnes <christian@tellnes.no> Reviewed-by: Stephen Belanger <admin@stephenbelanger.com> PR-URL: https://github.com/nodejs/io.js/pull/861
2015-07-23tls: add `getTicketKeys()`/`setTicketKeys()`Fedor Indutny
Introduce two new APIs for getting/settings the TLS Server Ticket Keys. Fix: #1465 PR-URL: https://github.com/nodejs/io.js/pull/2227 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-07-24doc: Replace util.debug with console.errorYosuke Furukawa
PR-URL: https://github.com/nodejs/io.js/pull/2214 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2015-07-20doc: add TSC meeting minutes 2015-07-15Rod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/2191 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
2015-07-16docs: link to more up-to-date v8 docsJeremiah Senkpiel
PR-URL: https://github.com/nodejs/io.js/pull/2196 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Fixes: https://github.com/nodejs/io.js/pull/2155
2015-07-16doc: add TSC meeting minutes 2015-07-08Rod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/2184 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-07-15doc: add TSC meeting minutes 2015-07-01Rod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/2132 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-07-14doc,test: empty strings in path moduleSakthipriyan Vairamani
The path module's `join, normalize, isAbsolute, relative and resolve` functions return/use the current directory if they are passed zero length strings. > process.version 'v2.3.4-pre' > path.win32.join('') '.' > path.posix.join('') '.' > path.win32.normalize('') '.' > path.posix.normalize('') '.' > path.win32.isAbsolute('') false > path.posix.isAbsolute('') false > path.win32.relative('', '') '' > path.posix.relative('', '') '' > path.win32relative('.', '') '' > path.posix.relative('.', '') '' > path.posix.resolve('') '/home/thefourtheye/Desktop' > path.win32.resolve('') '\\home\\thefourtheye\\Desktop' Since empty paths are not valid in any of the operating systems people normally use, this behaviour might be a surprise to the users. This commit introduces "Notes" about this, wherever applicable in `path`'s documentation. The tests makes sure that the behaviour is intact between commits. PR-URL: https://github.com/nodejs/io.js/pull/2106 Reviewed-By: Rich Trott <rtrott@gmail.com>
2015-07-10src: add --track-heap-objectsBradley Meck
- This makes v8 add .trace_function_info to the serialized form of snapshots from v8::HeapSnapshot::Serialize - .trace_funciton_info combined with .trace_node in snapshots tells the JS location that allocated a specific object PR-URL: https://github.com/nodejs/io.js/pull/2135 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-07-10doc: document fs.watchFile behaviour on ENOENTBrendan Ashworth
When fs.watchFile encounters an ENOENT error, it invokes the given callback with some error data. This caused an issue as it was different behaviour than Node v0.10. Instead of changing this behaviour, document it and add a test. Ref: https://github.com/nodejs/io.js/issues/1745 Ref: https://github.com/nodejs/io.js/pull/2028 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/nodejs/io.js/pull/2093
2015-07-07doc: document current release procedureRod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/2099 Author: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-07-03doc: don't recommend domains for error handlingBenjamin Gruenbaum
Remove the suggestion to use domains for exception handling. Add clarity to "unhandledException". Fixes: https://github.com/nodejs/io.js/issues/2055 PR-URL: https://github.com/nodejs/io.js/pull/2056 Reviewed-By: Trev Norris <trev.norris@gmail.com> Reviewed-By: Chris Dickinson <chris@neversaw.us>
2015-06-25doc: make the abbreviation 1MM clearIvan Yan
Refs: https://github.com/nodejs/io.js/pull/2050 PR-URL: https://github.com/nodejs/io.js/pull/2053 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
2015-06-25doc: add TSC meeting minutes 2015-06-17Rod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/2048 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-06-24doc: add TSC meeting minutes 2015-05-27Rod Vagg
closes: https://github.com/nodejs/node/issues/41 PR-URL: https://github.com/nodejs/io.js/pull/2037 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-06-24doc: archive io.js TC minutesRod Vagg
2015-06-24doc: rename tc-meetings to tsc-meetingsRod Vagg
2015-06-23doc: add TC meeting 2015-05-13 minutesRod Vagg
PR-URL: https://github.com/nodejs/io.js/pull/1700 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-06-17doc: add TSC meeting notes 2015-06-10Bert Belder
PR-URL: https://github.com/nodejs/io.js/pull/1943 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-06-16doc: minor clarification in the modules API doc.Сковорода Никита Андреевич
PR-URL: https://github.com/nodejs/io.js/pull/1983 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-06-09doc: add references to crypto.getCurves()Roman Reiss
This adds references to the newly available crypto.getCurves method where appropriate. PR-URL: https://github.com/nodejs/io.js/pull/1918 Reviewed-By: Brian White <mscdex@mscdex.net>
2015-06-08crypto: add getCurves() to get supported ECsBrian White
PR-URL: https://github.com/nodejs/io.js/pull/1914 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-06-07doc: remove comma spliceRich Trott
Remove comma splice. Edit for clarity and concision. PR-URL: https://github.com/nodejs/io.js/pull/1900 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
2015-06-07doc: add note about available ECC curvesRyan Petschek
Added instructions on how to get the elliptic curves supported by the OpenSSL installation in the crypto.createECDH() constructor. Also made a few minor grammar fixes within the same paragraph. PR-URL: https://github.com/nodejs/io.js/pull/1913 Reviewed-By: Roman Reiss <me@silverwind.io>