summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-01bump versionv0.1.2Ryan4-2/+22
2009-08-01Add header to src/dns.cc to compile on FreeBSD.Ryan1-2/+3
2009-07-31Add examples of reading a file to documentation.Ryan1-0/+25
2009-07-31node.fs.File was not passing args to promise callbacks.Ryan2-4/+36
Reported by Jacob Rus.
2009-07-31Bugfix: negative integers in raw encoding stream.Ryan2-1/+48
Add test. Reported by Tim Caswell.
2009-07-31Hack to fix module line numbers in stack traces.Ryan1-6/+6
This code is going to be refactored with the introduction of the "process" object. This is just temporary.
2009-07-31Default to chunked for client requests without C-Length.Ryan2-18/+74
Also add test. Reported by Felix Geisendörfer.
2009-07-31Upgrade V8 to 1.3.1Ryan124-2392/+7951
2009-07-31node.tcp.Server's backlog option is now an argument to listen()Ryan3-25/+44
2009-07-30Simplify the DNS usage example.Ryan1-27/+23
2009-07-28Add DNS API.Ryan46-33/+9585
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-27bump versionv0.1.1Ryan4-2/+38
2009-07-27Disable test-tcp-many-clients.js. It's broken on macintosh - don't want to ↵Ryan1-0/+0
fix right now.
2009-07-25Rename evnet to evcom.Ryan12-306/+306
2009-07-24Move EventEmitter.prototype.emit() completely into C++.Ryan3-33/+55
This shows a healthy speed up.
2009-07-24Remove unused 'using namespace std' lines.Ryan2-2/+0
2009-07-24Remove unused symbols from http.cc.Ryan1-15/+0
2009-07-24Missing HandleScope in GetMethod(). Thanks Brian.Ryan1-15/+18
2009-07-24Add note to README about wiki pageRyan1-0/+3
2009-07-24Fix memory leak. It was only a missing HandleScope in Emit()!Ryan2-10/+20
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.
2009-07-24Remove unused static object.Ryan1-2/+0
2009-07-23Fix evnet_buf size calculation for V8::AdjustAmountOfExternalAllocatedMemory().Ryan1-1/+2
2009-07-23Clean up little errors in events.jsRyan1-2/+2
2009-07-23ObjectWrap: MakeWeak again after each Weak callback.Ryan1-8/+19
2009-07-20Fix utf8 scripts, add test. Thanks Urban.Ryan4-7/+21
2009-07-20remove the callback from node.cat, node.fs.catRyan2-4/+4
2009-07-20root_module should be a local variableRyan1-1/+1
2009-07-20Array.prototype.encodeUtf8 renamed to node.encodeUtf8(array)Ryan1-2/+2
2009-07-20Upgrade V8 to 1.2.14Ryan153-4631/+11061
2009-07-20Upgrade libev to 3.7Ryan16-208/+994
2009-07-20Attach connections on Macintosh too.Ryan1-1/+2
2009-07-16Move node.inherit, node.path, node.cat to new file: util.jsRyan5-73/+72
2009-07-16Fix 'make test-debug'Ryan1-1/+1
2009-07-16Add IsNearDeath assertion to ObjectWrap destructorRyan1-0/+1
2009-07-16small clean ups to http.jsRyan2-47/+17
2009-07-15Upgrade evnet.Ryan1-3/+3
2009-07-15Better error output for socket errors. Temporary.Ryan1-1/+3
2009-07-15Bugfix: Server-side clients not attached between creation and on_connect.Ryan3-1/+71
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.
2009-07-15Remove unused variable from ~ConnectionRyan1-1/+0
2009-07-15Upgrade evnet to fix close() bug. Add test for bug.Ryan2-0/+93
evnet wasn't properly closing sockets if they didn't have data to write.
2009-07-14large http.js refactorRyan2-282/+262
2009-07-14http: Add IncomingMessage as abstract base class of ServerReq ClientResRyan1-36/+66
2009-07-14upgrade http_parserRyan3-12/+21
2009-07-13Replace some printf() in src/net with assertsRyan2-7/+3
2009-07-13Add 'close' event to tcp.ServerRyan3-1/+27
2009-07-13Add benchmark scripts.Ryan5-1/+96
To use the benchmarks: node benchmarks/run.js or: make benchmark The numbers reported are the elapsed milliseconds the script took to complete. Currently only benching HTTP code and timers.
2009-07-13Use assert() for Unwrap checks instead of JS error.Ryan1-8/+8
2009-07-13Bugfix: Sockets not properly reattached if reconnected during disconnect event.Ryan6-20/+37
The problem was that Connection::on_close was calling Detach() directly after executing the "disconnect" event. Since we had a boolean attach count, this was leaving sockets detached even if they had reattached in during the event. * Added many asserts in http.cc and net.cc to ensure that sockets are connected when they should be. * Changed ObjectWrap to use a reference count instead of boolean attached_ value. * Fixed similar bug in Timer.
2009-07-13add bug to TODORyan1-0/+5
2009-07-13Add res.client to ClientResponseRyan2-3/+8