Ryan
31db4f1ed8
bump version
16 years ago
Ryan
00a03dfee2
Fix text on index.html
16 years ago
Ryan
ad9d683f9f
API: rename node.Process to node.ChildProcess
This is to avoid confusion with the global "process" object, especially for
the instances of node.Process.
16 years ago
Ryan
116f4dea05
lint
16 years ago
Ryan
723c7d9f7c
Replace onExit() with process.addListener("exit")
- Update documentation.
- Depreciation message for onExit().
16 years ago
Ryan
79f121044c
Synchronous module loading.
`include` and `require now` call `promise.wait` on their retrieval functions
making them synchronous. Introduce `include_async` and `require_async` to
do asynchronous retrievals.
`include_async` and `require_async` need testing and documentation.
Update documentation for include, require(). I am mostly removing
information about onLoad(). onLoad is to be depreciated.
16 years ago
Ryan
18d0511777
promise.block() renamed to promise.wait()
promise.wait() now returns the arguments of the "success" event. If there
was only a single argument, then it is returned. If there was more than
one, they are returned as an array. If there was an error, it is thrown.
See documentation.
16 years ago
Ryan
51addf19d8
Improve Promise documentation.
16 years ago
Ryan
8781b969e9
Modify website layout.
16 years ago
Ryan
db42ad959d
API: All EventEmitters emit "newListener" when listeners are added.
The "newListener" event will also be emitted for listeners to "newListener".
Maybe useful?
16 years ago
Ryan
b5a1585470
Restyle website/api.html. Now looks like the front page.
Made a few other little corrections too.
16 years ago
Ryan
19f182a39f
Experimental support for Promise.block()
16 years ago
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.
16 years ago
Ryan
17c6a67f15
Introduce node.stdio
Remove old stdout, stderr, stdin objects.
16 years ago
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
16 years ago
Ryan
9c97b1db30
bump version
16 years ago
Ryan
a73998d6f4
bump version
16 years ago
Ryan
90ac9ab078
Remove connnection.fullClose() from documentation.
This function was removed in 368ea93bfe
.
16 years ago
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.
16 years ago
Ryan
95f9209966
Clarify some of the TCP API documentation.
16 years ago
Ryan
0f888ed6de
bump version
16 years ago
Ryan
0638a3a3ab
Add IncomingMessage.prototype.pause() and resume().
16 years ago
Ryan
94e8721771
Add connection.readPause() and connection.readResume()
16 years ago
Ryan
7464d42310
bump version
16 years ago
Ryan
e10fbab00f
bump version
16 years ago
Ryan
c745383b31
Add examples of reading a file to documentation.
16 years ago
Ryan
5373c6869a
node.tcp.Server's backlog option is now an argument to listen()
16 years ago
Ryan
4db8bb9375
Simplify the DNS usage example.
16 years ago
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.
16 years ago
Ryan
77d407df28
bump version
16 years ago
Ryan
b1588e78d9
Fix utf8 scripts, add test. Thanks Urban.
16 years ago
Ryan
f99fbc61e1
Add 'close' event to tcp.Server
16 years ago
Ryan
996d5ef5f1
Add res.client to ClientResponse
16 years ago
Ryan
0640517a91
fix example on website
16 years ago
Ryan
813b53938b
bump version
16 years ago
Ryan
7879e7fd25
small cleanups
16 years ago
Ryan
8047b912c0
Change 'new node.tcp.Connection' to 'node.tcp.createConnection'
16 years ago
Ryan
d56552dc66
Remove node.Process constructor from API
16 years ago
Ryan
a3d77ee4e7
Add new documentation (using asciidoc!)
16 years ago
Ryan
bd952ac61e
Add some notes about extent of HTTP API
16 years ago
Ryan
b77e603e04
add irc channel to website
16 years ago
Ryan
be963d68af
add more detail to req.uri documentation
16 years ago
Ryan
fbe0be19eb
bump version
16 years ago
Ryan
b9f3ae23cf
Fix some typos in the docs
16 years ago
Ryan
f17b76afa4
Fix up docs.
16 years ago
Ryan
da03a02a98
Add documentation for node.Process
16 years ago
Ryan
ec5f3dbae1
bump version
16 years ago
Ryan
2b557c467f
Namespace trimming: remove node.constants
16 years ago
Ryan
27b268b8c1
Clean ups
16 years ago
Ryan
3b05cf260e
Add "opening" readyState for the resolve period.
16 years ago