Ryan
368ea93bfe
Upgrade evcom - fix API issues.
15 years ago
Ryan
b590a45849
Return the EventEmitter from addListener for chaining.
http://groups.google.com/group/nodejs/browse_thread/thread/13708eacedb40b36
15 years ago
Abe Fettig
53b3d6be35
Bugfix: stdin fd (0) being ignored by node.File.
In the case of stdin options.fd is 0, which is considered false, therefore fd
gets set to null intead of 0.
http://groups.google.com/group/nodejs/msg/80849f6aa0b0eaa0
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
0f888ed6de
bump version
15 years ago
Ryan
af40ae6b8f
Remove debugging messages in HTTP client
15 years ago
Ryan
3b0408ec1c
Sync evcom after refactor; fix binding issues
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
7d60998ee1
Upgrade evcom
Made API changes in evcom and had to make minor change src/net.cc to comply.
15 years ago
Ryan
ed8c43d2f3
Bugfix: Negative ints in HTTP's on_body and node.fs.read()
Similar to the error fixed in
9d3ed1bb92
.
Reported by Felix Geisendörfer.
15 years ago
Ryan
75fc21537a
Bugfix: response.setBodyEncoding("ascii") not working.
This is same error that was fixed in 216fb3b9b2
.
Reported by Felix Geisendörfer.
15 years ago
Ryan
78024fa689
Remove extra ev_timer_stop() in src/dns.cc
15 years ago
Ryan
7464d42310
bump version
15 years ago
Ryan
b849d50288
Remove unused symbols.
15 years ago
Ryan
216fb3b9b2
Bugfix: node.http.ServerRequest.setBodyEncoding('ascii') not working
Pointed out by Felix Geisendörfer.
http://groups.google.com/group/nodejs/browse_thread/thread/d061fe62eba6d3b3#
15 years ago
Ryan
9b3baf3d50
Bugfix: node.encodeUtf8 was broken. (Connor Dunn)
http://groups.google.com/group/nodejs/browse_thread/thread/5ad0660a0959d885#
15 years ago
Ryan
396ed96b2d
Upgrade evcom - fix accepting too many connections issue
15 years ago
Ryan
6acac912dd
Initial support for shebang.
There are some issues with loading modules from shebang-executed scripts
that will still need to be addressed, but this works for simple single
script situations.
15 years ago
Ryan
11df252cb9
Add simple command line switches
15 years ago
Ryan
1bf9be6b37
Add node.version
15 years ago
Ryan
207bd3c764
Add header to src/dns.cc to compile on FreeBSD.
15 years ago
Ryan
4f46c47773
node.fs.File was not passing args to promise callbacks.
Reported by Jacob Rus.
15 years ago
Ryan
9d3ed1bb92
Bugfix: negative integers in raw encoding stream.
Add test. Reported by Tim Caswell.
15 years ago
Ryan
e25afc35bd
Hack to fix module line numbers in stack traces.
This code is going to be refactored with the introduction of the "process"
object. This is just temporary.
15 years ago
Ryan
b27f8ba06d
Default to chunked for client requests without C-Length.
Also add test. Reported by Felix Geisendörfer.
15 years ago
Ryan
5373c6869a
node.tcp.Server's backlog option is now an argument to listen()
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
0fb0af3a6c
Rename evnet to evcom.
15 years ago
Ryan
842eaf446d
Move EventEmitter.prototype.emit() completely into C++.
This shows a healthy speed up.
15 years ago
Ryan
4aac515202
Remove unused 'using namespace std' lines.
15 years ago
Ryan
b3e828991b
Remove unused symbols from http.cc.
15 years ago
Ryan
854538d094
Missing HandleScope in GetMethod(). Thanks Brian.
15 years ago
Ryan
50c0d16208
Fix memory leak. It was only a missing HandleScope in Emit()!
This change also tries to optimize Emit by looping through the listeners in
C++. The javascript version of this function is still there and being used,
but only by javascript code. Not an ideal solution - there should only be
one implementation - however for now it seems to help.
This doesn't solve all of the memory leaks that we're experiencing, there
seems to be another subtle problem.
15 years ago
Ryan
78aaf8df67
Remove unused static object.
15 years ago
Ryan
646829262f
Fix evnet_buf size calculation for V8::AdjustAmountOfExternalAllocatedMemory().
15 years ago
Ryan
dd1750f573
Clean up little errors in events.js
15 years ago
Ryan
0462b5d1ec
ObjectWrap: MakeWeak again after each Weak callback.
15 years ago
Ryan
b1588e78d9
Fix utf8 scripts, add test. Thanks Urban.
16 years ago
Ryan
e8a5d3d311
remove the callback from node.cat, node.fs.cat
16 years ago
Ryan
b07dc31e1b
root_module should be a local variable
16 years ago
Ryan
2a695a9721
Array.prototype.encodeUtf8 renamed to node.encodeUtf8(array)
16 years ago
Ryan
e7bbda0b7f
Attach connections on Macintosh too.
16 years ago
Ryan
eb10553634
Move node.inherit, node.path, node.cat to new file: util.js
16 years ago
Ryan
edbae656d6
Add IsNearDeath assertion to ObjectWrap destructor
16 years ago
Ryan
56c785ceae
small clean ups to http.js
16 years ago
Ryan
0292dea847
Better error output for socket errors. Temporary.
16 years ago
Ryan
1b6bbc619d
Bugfix: Server-side clients not attached between creation and on_connect.
Solution is to manually add Attach() to OnConnection.
For client side it seems there is no Detach() being called after NS
resolution? Otherwise I would have removed it. That was another bug.
Note: We don't want to modify evnet's behavior to have on_connect called
directly when the socket is accepted. evnet needs to support SSL, and
on_connect is supposed to signal that the SSL connection is established. The
point here is that being "connected" and being "attached" to the event loop
are two different things. SSL stuff may be transmitted when a socket is not
"connected" but it must always be attached.
16 years ago
Ryan
fc02221393
Remove unused variable from ~Connection
16 years ago
Ryan
ef09b2c65d
large http.js refactor
16 years ago