0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
Commit Graph

90 Commits

Author SHA1 Message Date
Ryan
51addf19d8 Improve Promise documentation. 2009-08-26 11:25:53 +02:00
Ryan
8781b969e9 Modify website layout. 2009-08-26 11:25:10 +02:00
Ryan
db42ad959d API: All EventEmitters emit "newListener" when listeners are added.
The "newListener" event will also be emitted for listeners to "newListener".
Maybe useful?
2009-08-25 17:28:06 +02:00
Ryan
b5a1585470 Restyle website/api.html. Now looks like the front page.
Made a few other little corrections too.
2009-08-25 17:25:39 +02:00
Ryan
19f182a39f Experimental support for Promise.block() 2009-08-25 04:25:35 +02:00
Ryan
82cb1b5acb API: Remove buffered file object (node.File)
With the addition of non-libeio stdio (17c6a67f15)
this class is no longer being used internally. It has proved buggy and isn't
full-featured enough to be very useful.  Since it's implemented entirely in
javascript it will be easy for someone to extra into their own library if
needed.
2009-08-25 01:18:44 +02:00
Ryan
17c6a67f15 Introduce node.stdio
Remove old stdout, stderr, stdin objects.
2009-08-24 21:20:26 +02:00
Ryan
316e2833f0 Use flat object instead of array-of-arrays for HTTP headers.
E.G. { "Content-Length": 10, "Content-Type": "text/html" } instead of
[["Content-Length", 10], ["Content-Type", "text/html"]].
The main reason for this change is object-creation efficiency.

This still needs testing and some further changes (like when receiving
multiple header lines with the same field-name, they are concatenated with a
comma but some headers ("Content-Length") should not be concatenated ; the
new header line should replace the old value).

Various thoughts on this subject:
http://groups.google.com/group/nodejs/browse_thread/thread/9a67bb32706d9efc#
http://four.livejournal.com/979640.html
http://mail.gnome.org/archives/libsoup-list/2009-March/msg00015.html
2009-08-23 12:32:49 +02:00
Ryan
9c97b1db30 bump version 2009-08-22 13:07:31 +02:00
Ryan
a73998d6f4 bump version 2009-08-21 18:03:15 +02:00
Ryan
90ac9ab078 Remove connnection.fullClose() from documentation.
This function was removed in 368ea93bfe.
2009-08-19 17:46:44 +02:00
Ryan
7aaab320b3 API: tcp.Connection "disconnect" event renamed to "close".
More semantic, since the event will be emitted on connection error,
when the connection was ever established.
2009-08-14 12:51:46 +02:00
Ryan
95f9209966 Clarify some of the TCP API documentation. 2009-08-14 12:43:46 +02:00
Ryan
0f888ed6de bump version 2009-08-13 15:52:55 +02:00
Ryan
0638a3a3ab Add IncomingMessage.prototype.pause() and resume(). 2009-08-09 19:16:25 +02:00
Ryan
94e8721771 Add connection.readPause() and connection.readResume() 2009-08-09 19:12:12 +02:00
Ryan
7464d42310 bump version 2009-08-06 14:01:26 +02:00
Ryan
e10fbab00f bump version 2009-08-01 14:56:45 +02:00
Ryan
c745383b31 Add examples of reading a file to documentation. 2009-07-31 20:01:49 +02:00
Ryan
5373c6869a node.tcp.Server's backlog option is now an argument to listen() 2009-07-31 11:59:36 +02:00
Ryan
4db8bb9375 Simplify the DNS usage example. 2009-07-30 15:54:38 +02:00
Ryan
41d89f611f Add DNS API.
Missing functional tests. I'm not sure how to do tests because I don't want
to rely on the fact that users have an internet connection.
2009-07-28 12:36:41 +02:00
Ryan
77d407df28 bump version 2009-07-27 15:48:16 +02:00
Ryan
b1588e78d9 Fix utf8 scripts, add test. Thanks Urban. 2009-07-20 21:22:19 +02:00
Ryan
f99fbc61e1 Add 'close' event to tcp.Server 2009-07-13 16:38:55 +02:00
Ryan
996d5ef5f1 Add res.client to ClientResponse 2009-07-13 16:38:54 +02:00
Ryan
0640517a91 fix example on website 2009-06-30 15:56:52 +02:00
Ryan
813b53938b bump version 2009-06-30 15:18:05 +02:00
Ryan
7879e7fd25 small cleanups 2009-06-30 13:58:30 +02:00
Ryan
8047b912c0 Change 'new node.tcp.Connection' to 'node.tcp.createConnection' 2009-06-30 13:56:52 +02:00
Ryan
d56552dc66 Remove node.Process constructor from API 2009-06-30 13:46:35 +02:00
Ryan
a3d77ee4e7 Add new documentation (using asciidoc!) 2009-06-30 13:27:25 +02:00
Ryan
bd952ac61e Add some notes about extent of HTTP API 2009-06-27 19:06:29 +02:00
Ryan
b77e603e04 add irc channel to website 2009-06-27 18:43:46 +02:00
Ryan
be963d68af add more detail to req.uri documentation 2009-06-27 00:43:03 +02:00
Ryan
fbe0be19eb bump version 2009-06-24 16:43:37 +02:00
Ryan
b9f3ae23cf Fix some typos in the docs 2009-06-23 10:26:17 +02:00
Ryan
f17b76afa4 Fix up docs. 2009-06-21 23:27:36 +02:00
Ryan
da03a02a98 Add documentation for node.Process 2009-06-21 14:37:25 +02:00
Ryan
ec5f3dbae1 bump version 2009-06-18 23:22:31 +02:00
Ryan
2b557c467f Namespace trimming: remove node.constants 2009-06-18 14:58:17 +02:00
Ryan
27b268b8c1 Clean ups 2009-06-17 15:05:44 +02:00
Ryan
3b05cf260e Add "opening" readyState for the resolve period. 2009-06-16 15:50:52 +02:00
Ryan
f76c3dc3ca bump version 2009-06-13 14:13:42 +02:00
Ryan
916b9ca715 Add Request objects on the HTTP server can be interrupted. 2009-06-12 17:37:43 +02:00
Ryan
1ec9f821e1 fix typo 2009-06-12 15:23:36 +02:00
Ryan
4cfc982c77 bump version 2009-06-11 13:54:03 +02:00
Ryan
728af1faa8 add note about python versions 2009-06-11 13:40:25 +02:00
Ryan
f6a7fe2657 Implement onExit() hook for modules.
onExit() is similar to the onLoad() callback. onExit() is called on each
module just before the process exits. This can be used to check state in
unit tests, but not to perform I/O. The process will forcibly exit as soon
as all of the onExit callbacks are made.
2009-06-08 16:17:33 +02:00
Ryan
b6fe4aec50 Module system refactor
There is one major API change in the refactor: filename extensions are now
required when requiring or including modules.

Added extra test to test-module-loading.js.
2009-06-08 15:34:15 +02:00