Chris Dickinson
056ed4b0c9
src: revert -r/--require flags
This reverts commit 7bde3f1a8f
.
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>
10 years ago
Ali Ijaz Sheikh
7bde3f1a8f
src: add -r/--require flags for preloading modules
-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>
10 years ago
Ben Noordhuis
57a2cab769
doc: update v8 options in man page
Update the outdated list of V8 options in the man page.
PR-URL: https://github.com/iojs/io.js/pull/262
Reviewed-By: Bert Belder <bertbelder@gmail.com>
10 years ago
Ben Noordhuis
62bd7110d2
doc: s/node/iojs/ in iojs.1
The binary is about to be renamed from `node` to `iojs`; preemptively
update the man page.
PR-URL: https://github.com/iojs/io.js/pull/262
Reviewed-By: Bert Belder <bertbelder@gmail.com>
10 years ago
Ben Noordhuis
3f8b76ebd5
doc: rename node.1 -> iojs.1
PR-URL: https://github.com/iojs/io.js/pull/262
Reviewed-By: Bert Belder <bertbelder@gmail.com>
10 years ago
Timothy J Fontaine
86b8d84811
doc: re-add node.1 man page
The man page was accidentally removed in 37376de
for the website
refactor, bring it back.
Fixes #7117
11 years ago
Timothy J Fontaine
37376debe5
website: move website to joyent/node-website
The website will no longer be living in the source repository instead
it can be found at http://github.com/joyent/node-website
11 years ago
Nicolas Kaiser
4bc2ec90d7
doc: fix typos in node.1
11 years ago
isaacs
5038f40185
node: Add --throw-deprecation
Extremely handy when tracking down a flood of recursive nextTick warnings.
12 years ago
isaacs
5b39929d47
Add --no-deprecation and --trace-deprecation flags
13 years ago
isaacs
a0a5c4c5af
doc: update v8-options in man page
13 years ago
Ben Noordhuis
96a137a18a
docs: update man page
13 years ago
isaacs
c050d0fa19
Finish removing require.paths
Fix require() completion bug in repl, and correct man output
14 years ago
Ryan Dahl
6afdca885a
Add docs about NODE_USE_UV to man page
14 years ago
Ryan Dahl
4ed6688010
Add V8 options to man page
14 years ago
Ryan Dahl
ad7c2a8938
escape chars on man page
14 years ago
Ryan Dahl
97e13748fa
Typos
Closes GH-557.
Closes GH-539.
14 years ago
Ryan Dahl
d7e7161b27
Add small crappy manpage (please improve)
14 years ago
Ryan Dahl
bf0d278a45
Improve "make dist" remove generated doc from repo.
15 years ago
Felix Geisendörfer
eeaa267cbe
Documentation for Multipart parser
Also added multipart.parse as a convenience function
15 years ago
Ryan Dahl
9c9d67eb6c
bump version
15 years ago
Ryan Dahl
a8c0211e73
Bugfix: require() and include() should work in callbacks.
Removing requireAsync and includeAsync from global scope for now as a
temporary fix. Reported by Yuffster.
15 years ago
Ryan Dahl
1ae69a68a4
Clean up some text in documentation.
15 years ago
Ryan Dahl
4ba5b7e24b
Add doc for node.compile()
15 years ago
Ryan Dahl
e972add0ea
Update module loading docs
15 years ago
Ryan Dahl
9f07a690c6
docs: Reference node.libraryPaths in helpers section.
15 years ago
Ryan Dahl
27738d8e60
Clean up some things in the repl, add docs.
15 years ago
Ryan Dahl
23c7f472d0
API: Move node.exit() to process.exit().
15 years ago
Ryan Dahl
095470854b
Move tcp library to /tcp.js
15 years ago
Ryan Dahl
f6657c3c9d
Move http library to /http.js
15 years ago
Ryan Dahl
7abad8b7b3
API: Move node.puts(), node.exec() and others to /utils.js
15 years ago
Ryan Dahl
4f69871c17
Add node.inspect() and deprecate p().
15 years ago
Ryan Dahl
2f56ccb45e
bump version
15 years ago
Ryan Dahl
55a2e8271e
Decrease default TCP backlog to 128
...after seeing http://lionet.livejournal.com/42016.html
15 years ago
Ryan Dahl
2d256f34c5
Change example at beginning of api.txt
15 years ago
Ryan Dahl
a3229ed7b7
Add documentation about requiring system modules.
15 years ago
Ryan Dahl
e0ec0036ca
Add connection.setNoDelay() to disable Nagle algorithm.
15 years ago
Ryan Dahl
07792afe0a
Remove "raw" encoding. Rename "raws" to "binary".
Deprecation warnings have been added to help the conversion to this new API.
15 years ago
Ryan Dahl
5ddc4f5d0c
bump version
15 years ago
Ryan Dahl
6f31a3763d
Add more explanation to docs for request.finish().
16 years ago
Ryan Dahl
9db2e5f375
Default to utf8 encoding for node.fs.cat()
16 years ago
Ryan Dahl
16185ae57e
update doc for node.fs.write()
16 years ago
Ryan Dahl
083d150bc4
Add node.exec()
16 years ago
Ryan Dahl
fdc136df69
Add documentation for promise.emitSuccess and emitError
16 years ago
Ryan Dahl
0d1ec5fdbe
API: node.fs.read() takes a normal encoding parameter.
Removes node.UTF8, node.RAW, node.ASCII enum versions of the encodings.
node.fs.read() now supports "raws" encoding.
16 years ago
Ryan Dahl
69e8a01c58
Fix broken asciidoc section
16 years ago
Ryan
dbe116ddfe
API: Change arguments of emit(), emitSuccess(), emitError()
Instead of
myemitter.emit("event", [arg1, arg2, arg3]);
the API is now
myemitter.emit("event", arg1, arg2, arg3);
This change saves the creation of an extra array object for each event.
The implementation is also slightly more simple.
16 years ago
Ryan
97355f3613
spell check api.txt
16 years ago
Ryan
5629fd574a
Add doc note about 'raws' encoding
16 years ago
Ryan
d03c7e38e9
Just add the gernerated doc files. Make life easier.
16 years ago