Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2015-05-18doc: update links from iojs/io.js to nodejs/io.jsFrederic Hemberger
Replaced all links in doc and comments to point to the new org. PR-URL: https://github.com/nodejs/io.js/pull/1715 Reviewed-By: Roman Reiss <me@silverwind.io>
2015-05-17doc: recommend against use of NODE_PATHsmikes
PR-URL: https://github.com/nodejs/io.js/pull/1708 Reviewed-By: Roman Reiss <me@silverwind.io>
2015-05-17doc: fix connectListener description in net docsJosh Gummersall
`connectListener` is registered as a listener to the 'connect' event once. Update the documentation to reflect that behavior. Fixes: https://github.com/nodejs/io.js/issues/901 PR-URL: https://github.com/nodejs/io.js/pull/1717 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-05-17repl: support non-array `.scope`, document itYazhong Liu
REPL evaluate `.scope` when it needs to get a list of the variable names available in the current scope. Do not throw if the output of such evaluation is not array, just ignore it. PR-URL: https://github.com/nodejs/io.js/pull/1682 Reviewed-By: Fedor Indutny <fedor@indutny.com>
2015-05-16http,net,tls: return this from setTimeout methodsEvan Lucas
Modifies the setTimeout methods for the following prototypes: - http.ClientRequest - http.IncomingMessage - http.OutgoingMessage - http.Server - https.Server - net.Socket - tls.TLSSocket Previously, the above functions returned undefined. They now return `this`. This is useful for chaining function calls. PR-URL: https://github.com/nodejs/io.js/pull/1699 Reviewed-By: Roman Reiss <me@silverwind.io>
2015-05-11tls: update default ciphers to use gcm and aes128Mike MacCana
AES-GCM or CHACHA20_POLY1305 ciphers must be used in current version of Chrome to avoid an 'obsolete cryptography' warning. Prefer 128 bit AES over 192 and 256 bit AES considering attacks that specifically affect the larger key sizes but do not affect AES 128. PR-URL: https://github.com/iojs/io.js/pull/1660 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp> Reviewed-By: Roman Reiss <me@silverwind.io>
2015-05-08src: add type check to v8.setFlagsFromString()Roman Klauke
Calling v8.setFlagsFromString with e.g a function as a flag argument gave no exception or warning that the function call will fail. There is now an exception if the function gets called with the wrong flag type (string is required) or that a flag is expected. Other APIs already provide exceptions if the argument has not the expected type. PR-URL: https://github.com/iojs/io.js/pull/1652 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-05-07doc: add TC meeting 2015-04-29 minutesRod Vagg
PR-URL: https://github.com/iojs/io.js/pull/1585 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-05-03doc: add require() lines to child.stdio exampleNick Raienko
PR-URL: https://github.com/iojs/io.js/pull/1504 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
2015-05-02doc: fix some cross-referencesAlexander Gromnitsky
PR-URL: https://github.com/iojs/io.js/pull/1584 Reviewed-By: Roman Reiss <me@silverwind.io>
2015-05-02doc: add TC meeting 2015-04-22 minutesRod Vagg
Closes: https://github.com/iojs/io.js/pull/1502 PR-URL: https://github.com/iojs/io.js/pull/1556 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-05-01doc: improve http.request and https.request optsRoman Reiss
This adds a few previously undocumented option to both functions. PR-URL: https://github.com/iojs/io.js/pull/1551 Fixes: https://github.com/iojs/io.js/issues/1082 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-05-01repl: add mode detection, cli persistent historyChris Dickinson
this creates a new internal module responsible for providing the repl created via "iojs" or "iojs -i," and adds the following options to the readline and repl subsystems: * "repl mode" - determine whether a repl is strict mode, sloppy mode, or auto-detect mode. * historySize - determine the maximum number of lines a repl will store as history. The built-in repl gains persistent history support when the NODE_REPL_HISTORY_FILE environment variable is set. This functionality is not exposed to userland repl instances. PR-URL: https://github.com/iojs/io.js/pull/1513 Reviewed-By: Fedor Indutny <fedor@indutny.com>
2015-04-30doc: deprecate smalloc moduleBen Noordhuis
Upcoming V8 changes will make it impossible to keep supporting the smalloc module so deprecate it now and tell people to switch to typed arrays. PR-URL: https://github.com/iojs/io.js/pull/1566 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-04-30src: add ability to get/set effective uid/gidEvan Lucas
Adds the following to process: - `process.geteuid()` - `process.seteuid(id)` - `process.getegid()` - `process.setegid(id)` PR-URL: https://github.com/iojs/io.js/pull/1536 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-04-28doc: add TC meeting 2015-04-15 minutesRod Vagg
PR-URL: #1498 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-04-28doc: fix util.deprecate exampleNick Raienko
PR-URL: https://github.com/iojs/io.js/pull/1535 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Julian Duque <julianduquej@gmail.com>
2015-04-25doc: add TC meeting 2015-04-08 minutesRod Vagg
PR-URL: #1497 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-04-24net: add lookup option to Socket.prototype.connectEvan Lucas
Allows customization of the lookup function used when Socket.prototype.connect is called using a hostname. PR-URL: https://github.com/iojs/io.js/pull/1505 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Yosuke Furukawa <yosuke.furukawa@gmail.com>
2015-04-23doc: add spaces to child.kill exampleNick Raienko
PR-URL: https://github.com/iojs/io.js/pull/1503 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
2015-04-16node: allow multiple arguments passed to nextTickTrevor Norris
PR-URL: https://github.com/iojs/io.js/pull/1077 Reviewed-by: Colin Ihrig <cjihrig@gmail.com>
2015-04-11doc: remove keepAlive options from http.requestJeremiah Senkpiel
These can only be specified in the options for http.Agent Fixes: https://github.com/iojs/io.js/issues/1300 PR-URL: https://github.com/iojs/io.js/pull/1392 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-04-11doc: remove redundant parameter in `end` listener.Alex Yursha
PR-URL: https://github.com/iojs/io.js/pull/1387 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
2015-04-11doc: document Console classJackson Tian
document Console class to tell user can use it. PR-URL: https://github.com/iojs/io.js/pull/1388 Fixes: https://github.com/iojs/io.js/issues/1359 Reviewed-By: Roman Reiss <me@silverwind.io>
2015-04-09doc: properly indent http.Agent keepAlive optionsJeremiah Senkpiel
Fixes: https://github.com/iojs/io.js/issues/1300 PR-URL: https://github.com/iojs/io.js/pull/1384 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-04-09doc: add TC meeting 2015-03-18 minutesRod Vagg
PR-URL: https://github.com/iojs/io.js/pull/1370 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-04-09doc: add TC meeting 2015-04-01 minutesRod Vagg
Closes: https://github.com/iojs/io.js/issues/1311 PR-URL: https://github.com/iojs/io.js/pull/1371 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-04-07build: Remove building against a shared V8Johan Bergström
This action is to encourage packagers to not build against a shared V8 library since even minor bumps of V8 can create issues. PR-URL: https://github.com/iojs/io.js/pull/1331 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-04-04doc,src: remove references to --max-stack-sizeAria Stewart
Remove obsolete references to the removed --max-stack-size switch. PR-URL: https://github.com/iojs/io.js/pull/1327 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-04-03doc: add back quote to boolean variable 'true'Kohei TAKATA
PR-URL: https://github.com/iojs/io.js/pull/1338 Reviewed-By: Roman Reiss <me@silverwind.io>
2015-04-01doc: add TC meeting minutes 2015-03-04Rod Vagg
PR-URL: https://github.com/iojs/io.js/pull/1123 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-03-31doc: fix util.isObject documentationJeremiah Senkpiel
Proposed functionality fix containing prior discussion: https://github.com/iojs/io.js/pull/822 Fixes: https://github.com/iojs/io.js/issues/743 PR-URL: https://github.com/iojs/io.js/pull/1295 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
2015-03-28doc: decouple sidebar scrollingRoman Reiss
This lets the doc sidebar have its own scrolling container, making the page easier to navigate in cases where previously the menu was scrolled far off. PR-URL: https://github.com/iojs/io.js/pull/1274 Reviewed-by: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
2015-03-27doc: fix spelling error in feature flagsPhillip Lamplugh
PR-URL: https://github.com/iojs/io.js/pull/1286 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-03-25doc: fix format docs discrepancyBrendan Ashworth
Only objects and symbols use `util.inspect`, others are simply concatenated. Fixes: https://github.com/iojs/io.js/issues/935 PR-URL: https://github.com/iojs/io.js/pull/1255 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-03-25doc: document repl on-demand module loadingRoman Reiss
Fixes: https://github.com/iojs/io.js/issues/992 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com> PR-URL: https://github.com/iojs/io.js/pull/1249
2015-03-21doc: call js function in null contextBen Noordhuis
It's good practice now to call JS functions that don't execute in a specific scope with v8::Null() as the receiver. Update the addons documentation. PR-URL: https://github.com/iojs/io.js/pull/1125 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-03-21doc: don't use `using namespace v8`Ben Noordhuis
Wholesale importing an entire namespace with `using namespace` is a bad practice. Remove it from the addons documentation and replace it with proper `using` directives. Wrap code in a namespace while we are here. PR-URL: https://github.com/iojs/io.js/pull/1125 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-03-21doc: replace v8::Handle<T> with v8::Local<T>Ben Noordhuis
v8::Handle is on its way out, to be replaced with v8::Local. Update the addons documentation accordingly. PR-URL: https://github.com/iojs/io.js/pull/1125 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-03-21doc: remove unnecessary v8::HandleScopesBen Noordhuis
Remove unnecessary v8::HandleScope uses from the addons documentation. C++ API callbacks run in an implicit v8::HandleScope, there is no need to declare one in the callback function. PR-URL: https://github.com/iojs/io.js/pull/1125 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-03-21doc: remove uses of v8::Isolate::GetCurrent()Ben Noordhuis
v8::Isolate::GetCurrent() is slated for deprecation. Replace its uses in the addons documentation with v8::Object::GetIsolate(), etc. PR-URL: https://github.com/iojs/io.js/pull/1125 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Trevor Norris <trev.norris@gmail.com>
2015-03-19src: add -r/--require flags for preloading modulesAli Ijaz Sheikh
This patch adds a command line option (-r/--require) that allows one to provide modules on the command line that will be 'required' during node startup. This can be useful for debugging, tracing, memory leak analysis etc. to be preloaded without explicit changes to the user script. The option can be repeated to preload multiple modules. PR-URL: https://github.com/iojs/io.js/pull/881 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
2015-03-17doc: fix typo in buffer module documentationAlex Yursha
PR-URL: https://github.com/iojs/io.js/pull/1169 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-03-17http: add flushHeaders and deprecate flushYosuke Furukawa
PR-URL: https://github.com/iojs/io.js/pull/1156 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Christian Tellnes <christian@tellnes.no> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-03-16doc: fix '\\' typos on WindowsSteven Vercruysse
This commit changes the Windows examples in path.markdown to correctly display '\\'. PR-URL: https://github.com/joyent/node/pull/9412 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-03-16lib: remove broken NODE_MODULE_CONTEXTS featureBen Noordhuis
This feature has no tests and has been broken for ages, see for example https://github.com/iojs/io.js/pull/1160. Don't bother fixing it, it's pretty much broken by design and there can't be too many users because it's almost undocumented. A quick Google search suggests that it causes more grief than joy to the few that do use it. Remove it. PR-URL: https://github.com/iojs/io.js/pull/1162 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2015-03-16doc: reflect new require('events') behaviourAlex Yursha
We don't need to do `require('events').EventEmitter` any longer. PR-URL: https://github.com/iojs/io.js/pull/975 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
2015-03-14src: revert -r/--require flagsChris Dickinson
This reverts commit 7bde3f1a8f53d82992a8fed73e5f93159bb400b3. The added test (test/parallel/test-preload.js) fails on Windows. PR-URL: https://github.com/iojs/io.js/pull/1150 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
2015-03-14doc: fix vm module examplesFangDun Cai
PR-URL: https://github.com/iojs/io.js/pull/1147 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
2015-03-13src: add -r/--require flags for preloading modulesAli Ijaz Sheikh
-r/--require can be used to preload modules on node startup. The option takes a single module name. The option can be repeated as necessary to preload multiple modules. This patch allows 'vendors' (such a cloud host) to inject functionality that gets executed at application startup without requiring an explicit require from the user's application. This can be useful to load vendor specific application monitoring APIs transparently. PR-URL: https://github.com/iojs/io.js/pull/881 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>