Michael Carter
8ea6adcae6
Feature: add node.cwd() to access the current working directory.
15 years ago
Ryan
7beea2cd5f
Upgrade evcom; Add setTimeout method to node.tcp.Connection
The default timeout is 60 seconds, but it can now be changed.
evcom upgrade includes fixes to force_close.
15 years ago
Ryan
31db4f1ed8
bump version
15 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.
15 years ago
Ryan
116f4dea05
lint
15 years ago
Ryan
723c7d9f7c
Replace onExit() with process.addListener("exit")
- Update documentation.
- Depreciation message for onExit().
15 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.
15 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.
15 years ago
Ryan
51addf19d8
Improve Promise documentation.
15 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?
15 years ago
Ryan
b5a1585470
Restyle website/api.html. Now looks like the front page.
Made a few other little corrections too.
15 years ago
Ryan
19f182a39f
Experimental support for Promise.block()
15 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.
15 years ago
Ryan
17c6a67f15
Introduce node.stdio
Remove old stdout, stderr, stdin objects.
15 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
15 years ago
Ryan
9c97b1db30
bump version
15 years ago
Ryan
a73998d6f4
bump version
15 years ago
Ryan
90ac9ab078
Remove connnection.fullClose() from documentation.
This function was removed in 368ea93bfe
.
15 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.
15 years ago
Ryan
95f9209966
Clarify some of the TCP API documentation.
15 years ago
Ryan
0f888ed6de
bump version
15 years ago
Ryan
0638a3a3ab
Add IncomingMessage.prototype.pause() and resume().
15 years ago
Ryan
94e8721771
Add connection.readPause() and connection.readResume()
15 years ago
Ryan
7464d42310
bump version
15 years ago
Ryan
e10fbab00f
bump version
15 years ago
Ryan
c745383b31
Add examples of reading a file to documentation.
15 years ago
Ryan
5373c6869a
node.tcp.Server's backlog option is now an argument to listen()
15 years ago
Ryan
4db8bb9375
Simplify the DNS usage example.
15 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.
15 years ago
Ryan
77d407df28
bump version
15 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
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