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
Ryan
f76c3dc3ca
bump version
16 years ago
Ryan
916b9ca715
Add Request objects on the HTTP server can be interrupted.
16 years ago
Ryan
1ec9f821e1
fix typo
16 years ago
Ryan
4cfc982c77
bump version
16 years ago
Ryan
728af1faa8
add note about python versions
16 years ago
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.
16 years ago
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.
16 years ago
Ryan
887f056923
Do not assume transfer-encoding: chunked as default on requests.
If users do not send transfer-encoding or content-length headers, then I
will not add any additional. Content-Length: 0 is assumed if there aren't
other headers and chunked encoding is rare.
16 years ago
Ryan
5558bc4e6e
Add connection.remoteAddress for server-side node.tcp.Connections.
16 years ago
Ryan
5170823572
Documentation for connection.connect()
16 years ago
Urban Hafner
d04ef89758
Mention node_chat
16 years ago
Ryan
bee7ef90bd
Add link to chat room demo
16 years ago