Commit Graph

23 Commits (7abad8b7b360bc328243475fa59b899fcb902c60)

Author SHA1 Message Date
Ryan Dahl 7abad8b7b3 API: Move node.puts(), node.exec() and others to /utils.js 2009-09-28 12:06:30 +02:00
Ryan Dahl 4f69871c17 Add node.inspect() and deprecate p(). 2009-09-27 12:33:44 +02:00
Ryan Dahl 2f56ccb45e bump version 2009-09-24 13:51:10 +02:00
Ryan Dahl 55a2e8271e Decrease default TCP backlog to 128
...after seeing http://lionet.livejournal.com/42016.html
2009-09-23 17:57:12 +02:00
Ryan Dahl 2d256f34c5 Change example at beginning of api.txt 2009-09-23 17:00:20 +02:00
Ryan Dahl a3229ed7b7 Add documentation about requiring system modules. 2009-09-23 16:53:34 +02:00
Ryan Dahl e0ec0036ca Add connection.setNoDelay() to disable Nagle algorithm. 2009-09-23 15:36:34 +02:00
Ryan Dahl 07792afe0a Remove "raw" encoding. Rename "raws" to "binary".
Deprecation warnings have been added to help the conversion to this new API.
2009-09-21 12:27:22 +02:00
Ryan Dahl 5ddc4f5d0c bump version 2009-09-18 18:32:25 +02:00
Ryan Dahl 6f31a3763d Add more explanation to docs for request.finish(). 2009-09-17 15:15:05 +02:00
Ryan Dahl 9db2e5f375 Default to utf8 encoding for node.fs.cat() 2009-09-15 22:41:25 +02:00
Ryan Dahl 16185ae57e update doc for node.fs.write() 2009-09-15 22:32:37 +02:00
Ryan Dahl 083d150bc4 Add node.exec() 2009-09-15 15:42:16 +02:00
Ryan Dahl fdc136df69 Add documentation for promise.emitSuccess and emitError 2009-09-15 15:25:06 +02:00
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.
2009-09-13 18:31:17 +02:00
Ryan Dahl 69e8a01c58 Fix broken asciidoc section 2009-09-12 19:14:16 +02:00
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.
2009-09-12 14:21:37 +02:00
Ryan 97355f3613 spell check api.txt 2009-09-11 21:27:20 +02:00
Ryan 12bb0d46ce bump version 2009-09-11 21:06:50 +02:00
Ryan 5629fd574a Add doc note about 'raws' encoding 2009-09-11 21:04:02 +02:00
Ryan 241950c1df Add isDirectory(), isFile(), isSocket(), ... methods to stats object.
Thanks to Felix Geisendörfer for the initial patch.
2009-09-11 13:41:47 +02:00
Ryan dc39e82024 Add access to user environment via ENV 2009-09-10 14:07:35 +02:00
Ryan 68dda0a7d8 Man page generation. 2009-09-10 13:40:38 +02:00