0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 07:27:22 +01:00
Commit Graph

596 Commits

Author SHA1 Message Date
Ryan
79ff085c4a Upgrade v8 to 1.3.3 2009-08-13 13:52:47 +02:00
Ryan
3b0408ec1c Sync evcom after refactor; fix binding issues 2009-08-13 13:47:16 +02:00
Ryan
4253baf4ab Sync evcom. 2009-08-10 12:54:57 +02:00
Ryan
ca0dda797a (evcom) SOL_SOCKET got renamed in socket,stream renaming
This was breaking the build on Macintosh.
2009-08-10 12:46:22 +02:00
Ryan
738d20f6f0 (evcom) Add fix for pausing against big buffers.
discussion:
http://groups.google.com/group/nodejs/browse_thread/thread/11a920da4d0ed21d
2009-08-10 12:32:54 +02:00
Ryan
0638a3a3ab Add IncomingMessage.prototype.pause() and resume(). 2009-08-09 19:16:25 +02:00
Ryan
94e8721771 Add connection.readPause() and connection.readResume() 2009-08-09 19:12:12 +02:00
Ryan
7d60998ee1 Upgrade evcom
Made API changes in evcom and had to make minor change src/net.cc to comply.
2009-08-09 18:42:06 +02:00
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.
2009-08-09 18:10:16 +02:00
Ryan
75fc21537a Bugfix: response.setBodyEncoding("ascii") not working.
This is same error that was fixed in 216fb3b9b2.

Reported by Felix Geisendörfer.
2009-08-09 18:04:10 +02:00
Ryan
65ec2d5db4 Fix http benchmark. Wasn't correctly dispatching. 2009-08-08 21:51:28 +02:00
Ryan
abaab2ce9b Add -m32 gcc flag to udns build.
This is a temporary fix until V8 supports 64bit systems natively.
2009-08-08 16:58:06 +02:00
Ryan
d8226af7f5 Upgrade http_parser to v0.2 2009-08-07 18:25:25 +02:00
Ryan
6ffe389c97 Add SHA1 hash values to ChangeLog and fix formating. 2009-08-07 15:45:11 +02:00
Ryan
78024fa689 Remove extra ev_timer_stop() in src/dns.cc 2009-08-07 14:10:40 +02:00
Ryan
0486c091e1 (evcom) Increase recv buffer from 4 bytes (!!!) to 8192 2009-08-06 15:08:07 +02:00
Ryan
7464d42310 bump version 2009-08-06 14:01:26 +02:00
Ryan
7946e98c1f Delete v8 file that was removed in 1.3.2 2009-08-06 13:59:09 +02:00
Ryan
8bb8b4b570 Upgrade v8 to 1.3.2 2009-08-06 13:36:45 +02:00
Ryan
b849d50288 Remove unused symbols. 2009-08-06 13:33:42 +02:00
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#
2009-08-06 13:29:24 +02:00
Ryan
9b3baf3d50 Bugfix: node.encodeUtf8 was broken. (Connor Dunn)
http://groups.google.com/group/nodejs/browse_thread/thread/5ad0660a0959d885#
2009-08-06 13:17:30 +02:00
Ryan
fb7dd02929 Add ranlib to udns Makefile
Thanks to Urban Hafner.
http://groups.google.com/group/nodejs/browse_thread/thread/25867dba9db11d8
2009-08-06 13:03:57 +02:00
Ryan
e111ccc014 Add Felix Geisendörfer's HTTP stress test.
Does not pass on Macintosh and FreeBSD.
2009-08-05 11:17:26 +02:00
Ryan
396ed96b2d Upgrade evcom - fix accepting too many connections issue 2009-08-04 14:51:41 +02:00
Ryan
2312ff4b23 Apply patch for V8 bug 414
http://groups.google.com/group/nodejs/browse_thread/thread/25867dba9db11d8
http://code.google.com/p/v8/issues/detail?id=414
http://codereview.chromium.org/159659
2009-08-04 12:05:59 +02:00
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.
2009-08-03 18:42:56 +02:00
Ryan
11df252cb9 Add simple command line switches 2009-08-03 18:21:34 +02:00
Ryan
1bf9be6b37 Add node.version 2009-08-03 17:51:35 +02:00
Ryan
e10fbab00f bump version 2009-08-01 14:56:45 +02:00
Ryan
207bd3c764 Add header to src/dns.cc to compile on FreeBSD. 2009-08-01 12:58:39 +02:00
Ryan
c745383b31 Add examples of reading a file to documentation. 2009-07-31 20:01:49 +02:00
Ryan
4f46c47773 node.fs.File was not passing args to promise callbacks.
Reported by Jacob Rus.
2009-07-31 19:48:19 +02:00
Ryan
9d3ed1bb92 Bugfix: negative integers in raw encoding stream.
Add test. Reported by Tim Caswell.
2009-07-31 19:16:08 +02:00
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.
2009-07-31 18:49:30 +02:00
Ryan
b27f8ba06d Default to chunked for client requests without C-Length.
Also add test. Reported by Felix Geisendörfer.
2009-07-31 18:34:27 +02:00
Ryan
2ebd692151 Upgrade V8 to 1.3.1 2009-07-31 14:36:48 +02:00
Ryan
5373c6869a node.tcp.Server's backlog option is now an argument to listen() 2009-07-31 11:59:36 +02:00
Ryan
4db8bb9375 Simplify the DNS usage example. 2009-07-30 15:54:38 +02:00
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.
2009-07-28 12:36:41 +02:00
Ryan
77d407df28 bump version 2009-07-27 15:48:16 +02:00
Ryan
d41197e02c Disable test-tcp-many-clients.js. It's broken on macintosh - don't want to fix right now. 2009-07-27 15:30:07 +02:00
Ryan
0fb0af3a6c Rename evnet to evcom. 2009-07-25 17:52:26 +02:00
Ryan
842eaf446d Move EventEmitter.prototype.emit() completely into C++.
This shows a healthy speed up.
2009-07-24 22:23:50 +02:00
Ryan
4aac515202 Remove unused 'using namespace std' lines. 2009-07-24 22:22:08 +02:00
Ryan
b3e828991b Remove unused symbols from http.cc. 2009-07-24 20:42:54 +02:00
Ryan
854538d094 Missing HandleScope in GetMethod(). Thanks Brian. 2009-07-24 20:20:01 +02:00
Ryan
d2222efc5e Add note to README about wiki page 2009-07-24 15:14:59 +02:00
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.
2009-07-24 15:11:18 +02:00
Ryan
78aaf8df67 Remove unused static object. 2009-07-24 01:15:21 +02:00