Commit Graph

794 Commits (871194d5fdf5359ecc9021364d3cafaf1e5af66b)

Author SHA1 Message Date
Ben Noordhuis 26874e2e07 docs: addons: fix example 2011-10-30 17:15:10 +01:00
koichik 52c2988f16 docs: fix option's name of cluster.startMaster() 2011-10-30 11:40:31 +09:00
Ben Noordhuis 004e6fbe1f docs: addons: fix NODE_SET_METHOD example 2011-10-28 22:36:55 +02:00
Zachary Scott e35ce7baa1 docs: tty: stdin must be initialized before calling setRawMode 2011-10-28 22:32:04 +02:00
Ben Noordhuis 1d94d4fa70 docs: fix home page link to API docs 2011-10-28 18:22:39 +02:00
koichik 173f91c791 docs: add zlib.createXxx() functions 2011-10-27 21:21:54 +09:00
Tj Holowaychuk 528c28587f cluster: Add some docs, improve cluster.isWorker()
Fixes #1949.
2011-10-26 16:42:00 -07:00
Ryan Dahl c5d54010bc node cluster is now a module instead of CLI interface
This is to make room for master process plugins instead of adding CLI
options as proposed in #1879.
2011-10-26 13:50:53 -07:00
Nathan Rajlich 3524f41a27 Add docs for the type checking functions in `util.js`. 2011-10-27 03:38:29 +09:00
Zachary Scott 7fb8c7c37f docs: update socket.io url 2011-10-26 20:00:10 +02:00
koichik cbcaeedba9 tls: add address(), remoteAddress/remotePort
Fixes #758.
Fixes #1055.
2011-10-27 00:28:16 +09:00
Ryan Dahl 239b3d62de Remove resume and pause events
Too complex; unnecessary.
2011-10-24 13:23:59 -07:00
koichik 00aa8935d7 docs: improvement fs, http and https 2011-10-22 23:40:15 +09:00
seebees 216570b5e1 Lint 2011-10-22 14:14:40 +09:00
seebees a2eaddaa51 Documentation update
http.markdown
  note options now align with url.parse
  added note that hostname is preferred over host.
  added auth
  added not that setting an explicit Authorization header will override basic authentication with 'auth'

https.markdown
  Made a link to http.request and noted that all http.request options are valid.

url.markdown
  added path option
2011-10-22 14:14:40 +09:00
koichik 7e2d799328 docs: fix typo 2011-10-22 14:02:35 +09:00
Ryan Dahl 220e61c1f6 Bump version to v0.5.10 2011-10-21 18:46:42 -07:00
Ryan Dahl 493d3b9f7c Merge remote branch 'origin/v0.4'
Conflicts:
	ChangeLog
	Makefile
	deps/libev/wscript
	doc/index.html
	doc/template.html
	lib/net.js
	src/node_version.h
	src/platform_cygwin.cc
	test/pummel/test-net-write-callbacks.js
	test/simple/test-buffer.js
2011-10-21 18:02:30 -07:00
isaacs 2d02e6a992 Add useGlobal flag for standard node repl 2011-10-21 13:02:49 -07:00
isaacs caf70f5e94 Revert "Don't use a separate context for the repl."
This reverts commit b70fed48a7.
2011-10-21 13:00:37 -07:00
Ryan Dahl c83dda89a4 dns.lookup uses cares_wrap::GetAddrInfo 2011-10-20 18:03:02 -07:00
Ben Noordhuis 9bb3a683fe docs: improve buffer.fill() documentation
Fixes #1912.
2011-10-19 18:20:55 -07:00
isaacs b70fed48a7 Don't use a separate context for the repl.
Fix #1484
Fix #1834
Fix #1482
Fix #771

It's been a while now, and we've seen how this separate context thing
works.  It constantly confuses people, and no one actually uses '.clear'
anyway, so the benefit of that feature does not justify the constant
WTFery.

This makes repl.context actually be a getter that returns the global
object, and prints a deprecation warning.  The '.clear' command is gone,
and will report that it's an invalid repl keyword.  Tests updated to
allow the require, module, and exports globals, which are still
available in the repl just like they were before, by making them global.
2011-10-18 18:18:32 -07:00
Ryan Dahl 5783a52a9c Remove process.memoryUsage().vsize
Not meaningful cross platform; unused.
2011-10-18 14:31:37 -07:00
koichik cdec7e3ae5 docs: improvement tls example 2011-10-16 16:50:16 +09:00
koichik 86a67f15a0 docs: add example of tls 2011-10-16 01:26:38 +09:00
koichik 68cc173c6d tls: The TLS API is inconsistent with the TCP API
Add 'secureConnect' event to tls.CleartextStream.

Fixes #1467.
2011-10-15 19:27:21 +09:00
isaacs e6f147141e doc: Add examples of zlib usage with http 2011-10-14 16:15:08 -07:00
koichik 19a855382c tls: requestCert unusable with Firefox and Chrome
Fixes #1516.
2011-10-15 00:54:46 +09:00
Guglielmo Ferri 66a10b6e58 docs: add API documentation note about UDP datagram size 2011-10-13 18:10:01 +02:00
Maciej Małecki 683c1c6583 docs: document `process.versions` 2011-10-13 17:02:54 +02:00
koichik 1b55010a04 docs: added .json modules. 2011-10-13 17:06:27 +09:00
Brian White f243ca199b docs: mention util instead of sys 2011-10-13 05:06:42 +02:00
Ilya Dmitrichenko 39987cbc80 docs: improved fs.Stats section in API documentation 2011-10-13 02:25:30 +02:00
Ryan Dahl de7fb33879 Add some docs for node cluster 2011-10-12 14:19:32 -07:00
Ben Noordhuis 6ed8d41ddd docs: fix child_process.send() example 2011-10-12 17:44:47 +02:00
Igor Zinkovsky f164704383 fs.watch documentation 2011-10-11 18:28:16 -07:00
Fedor Indutny 178e2ce65f docs: improve addons, readline, repl documentation 2011-10-11 21:44:09 +02:00
Ben Noordhuis 49c3a910c6 docs: fix typo in code snippet 2011-10-11 21:05:45 +02:00
Ryan Dahl 53c163cd5b Disable test-child-process-custom-fds.js 2011-10-11 11:27:58 -07:00
Ryan Dahl 3bd9b08fb1 Bump version to v0.5.9 2011-10-10 18:18:56 -07:00
isaacs 4f91b72dbe Fix #1851 Correct X/index doc 2011-10-10 12:44:20 -07:00
isaacs ff942c6b39 Fix #1851 Correct X/index doc 2011-10-10 11:47:10 -07:00
Ryan Dahl 0fec213656 Update docs for server fd sharing 2011-10-10 11:36:00 -07:00
Brian White eb40dcb097 Fix typo for fs.write docs
Fixes #1843.
2011-10-09 16:51:42 +09:00
Ryan Dahl b413c77583 Support sending handles to other processes
Needs test.
2011-10-07 01:30:28 -07:00
koichik 9797482568 docs: add example to net.connect()
Fixes #1824.
2011-10-06 21:36:46 +09:00
Maciej Małecki f4f037aa64 docs: Update `assert` module docs 2011-10-02 02:25:52 +02:00
Fedor Indutny 234afa5be1 docs: document watcher debugger commands 2011-10-02 02:19:17 +02:00
Ryan Dahl f30cba2ba4 add zlib module to doc index 2011-09-30 17:01:07 -07:00
Ryan Dahl 7cc17a0cea Bump version to v0.5.8 2011-09-30 13:59:44 -07:00
koichik 530082932d docs: Added missing parenthesis to buffer.readUInt8 example.
Fixes #1790.
2011-09-30 17:05:50 +09:00
Marco Rogers 3fc01d9770 docs: note about empty environment in child processes
Fixes #1794.
2011-09-29 19:50:25 +09:00
Ben Noordhuis abfcd1fb00 docs: document crypto.randomBytes() 2011-09-27 20:27:57 +02:00
Fedor Indutny 02e0a0aa10 debugger docs
Fixes #1767
2011-09-25 12:38:06 -07:00
Vitor Balocco 97d355c273 docs: Add anchor links next to each function
Modify doctool.js to automatically create anchor links for
every function, for easy linking.
Include support for functions that have a <h4> level

Fixes: #1718.
2011-09-21 21:08:53 +09:00
koichik b93a7cc99e docs: add links 2011-09-20 15:50:36 +09:00
Ryan Dahl 771ba34ca7 Bump version to v0.4.12 2011-09-15 16:46:39 -07:00
koichik 509a676128 Doc improvements 2011-08-23 01:15:32 +09:00
Maciej Małecki e150bc4f2b docs: process.memoryUsage returns memory usage measured in bytes 2011-08-20 01:00:21 +02:00
isaacs b4712bf1ac Close #1544 Document slashesDenoteHost flag in url.parse 2011-08-17 18:47:48 -07:00
Ryan Dahl a745d19ce7 Bump version to v0.4.11 2011-08-17 18:18:10 -07:00
isaacs 5b8e1dabbc Initial pass at zlib bindings 2011-09-17 18:22:09 -07:00
Ryan Dahl 558241166c Bump version to v0.5.7 2011-09-16 17:54:20 -07:00
koichik 244675cab1 doc: HTTPS client's options 2011-09-14 23:48:42 +09:00
koichik e7f64a7d41 doc: HTTPS client's options
Fixes #1494.
2011-09-14 20:17:30 +09:00
Ryan Dahl 70a5659a46 Document child_process.execFile
Fixes #1700
2011-09-13 20:50:49 -07:00
Ryan Dahl 69c35f990f Doc fixes
Fixes #1701. Thanks baudehlo.
2011-09-13 20:02:54 -07:00
isaacs dc8f4eed53 Fix #1694 Document require() cycles 2011-09-13 10:59:42 -07:00
Thomas Shinnick e58c036c27 fs: add positioned file writing feature to fs.WriteStream
Patterned on same feature in ReadStream; a small bit of new code added
plus two refactorings of previous code; added two test files.

Fixes #1645.
2011-09-12 14:57:49 +09:00
Ryan Dahl 8821eb24c2 Correct date 2011-09-09 20:18:40 -07:00
Bert Belder b49bec5580 Bump version to 0.5.6 2011-09-10 00:29:35 +02:00
Thomas Shinnick 4cf0ce5bb4 docs: typos and minor edits in several modules
Mostly quite minor edits.  Those possibly of more interest are:

  emitter.setMaxListeners(n)

    That the limit is per event name for an emitter.

  fs.readlink()

    Not a path, but rather the symbolic link's string value, which
      would be at best a partial path, certainly not a 'resolvedPath'

  global.__filename

    This may be "well-known" but this is a full path to the module
    that referencing code is running in.  It is not the main program's
    path, unless you are in the main program.  Each module knows only
    its own path.

  server.listen(port,...)

    I actually needed this functionality... "gimme just _any_ next port"

  stream.end()
  stream.destroy()

    Yeah, everybody knows what happens to the queued data, but let's
    make it *really* explicit for the first readers.
2011-09-06 18:19:41 +02:00
Logan Smyth bc0a552a84 docs: Fix merge error in tls docs
Fixes #1648.
2011-09-05 00:48:35 +09:00
AJ ONeal 087d210679 docs: explain how url.format works (`search` trumps `query`, etc) 2011-09-03 03:29:49 +02:00
Michael Jackson 3bf20e43cf Fixes #1635. Fixed typo 2011-09-02 13:01:05 -07:00
koichik c28f20f880 docs: console.log() refer to util.format(). 2011-09-03 01:46:53 +09:00
AJ ONeal 8039086470 docs: document querystring behavior for arrays and unassigned parameters 2011-08-30 15:17:05 +02:00
Ben Noordhuis d2d53d4bb2 Bump version to v0.5.5 2011-08-26 23:24:18 +02:00
Ryan Dahl f1996ffebc Merge remote branch 'origin/v0.4'
Conflicts:
	AUTHORS
	ChangeLog
	doc/api/stdio.markdown
	doc/index.html
	doc/template.html
	lib/net.js
	src/node_version.h
	test/simple/test-child-process-customfd-bounded.js
	test/simple/test-console-not-call-toString.js
2011-08-26 13:16:16 -07:00
Ben Noordhuis 48f4b2be2b docs: remove unix dgram documentation 2011-08-24 22:27:25 +02:00
Ben Noordhuis cbd4033619 dgram: integrate libuv UDP support 2011-08-24 22:27:24 +02:00
Mikeal Rogers cdbecc48a1 docs: Improved http2 agent docs
Fixes #1517.
2011-08-25 00:55:51 +09:00
koichik 1adfd48448 Doc improvements 2011-08-23 00:18:46 +09:00
Maciej Małecki 962a9e808c docs: process.memoryUsage returns memory usage measured in bytes 2011-08-20 00:59:31 +02:00
isaacs 711a356468 Close #1544 Document slashesDenoteHost flag in url.parse 2011-08-17 13:43:09 -07:00
Ryan Dahl 8320af7ef3 Merge remote branch 'origin/v0.4'
Conflicts:
	doc/api/tls.markdown
2011-08-17 13:25:44 -07:00
Antranig Basman c05936ca13 vm: fix incorrect dispatch of vm.runInContext for argument "filename"
Adds test case and documentation for vm.runInContext and vm.createContext.

Fixes #1140.
2011-08-16 14:50:04 +02:00
Mickaël Delahaye e8d268fd5f Fix docs for fs.*chown
Fix bad parameters of fs.chown[Sync], fs.fchown[Sync] and
fs.lchown[Sync] in documentation.

Fixes #1533.
2011-08-15 22:45:41 +09:00
koichik 4d186f270f Docs: Not memcpy, but memmove
Fixes #1520.
2011-08-14 23:10:36 +09:00
Fedor Indutny c0d8311f6b small NPN doc fix
Fixes #1522.
2011-08-14 02:51:35 +09:00
Glen Low 04122ad2d3 crypto: PBKDF2 function from OpenSSL 2011-08-12 16:23:11 +02:00
Brian White b7c23ac3f5 Incorporate endianness into buffer.read* function names instead of passing in a boolean flag 2011-08-12 15:49:57 +02:00
Arnout Kazemier 7ba30a4c2e Small changes for fs.watchFile. Fixed broken markdown. Changed variable `f` to a proper filename.
Fixes #1507.
2011-08-12 21:57:58 +09:00
Ryan Dahl cfba1f5922 Bump version to v0.5.4 2011-08-12 01:17:05 -07:00
koichik d1a2628499 Doc improvements
related to #1472.
2011-08-12 02:00:42 +09:00
Christopher Wright 0d8d04e585 Correct code span
Fixes #1489.
2011-08-11 16:29:37 +09:00
Fedor Indutny 942f8b5afb Add NPN and SNI documentation.
Fixes #1420.
Fixes #1426.
2011-08-10 09:44:35 -07:00
Ryan Dahl 2689d262ec Make buffer.INSPECT_MAX_BYTES public for mscdex 2011-08-08 19:04:34 -07:00
Robert Mustacchi 0df08c6a0c Endian argument should be a boolean. Signed integers shouldn't run through checks for unsigned integers. Clean up jslint. Provide unchecked uint entry points. 2011-08-08 17:01:57 -07:00