0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
Commit Graph

231 Commits

Author SHA1 Message Date
Jeremy Lal
5e7a8dc75e Fixes for libeio wscript on Debian.
- Link libeio to pthread.
- Add -D_GNU_SOURCE to libeio wscript.
2009-09-27 10:55:18 +02:00
Ryan Dahl
45ea62a0f6 Changes to compile on Andrew Miller's very old machine 2009-09-26 15:11:31 +02:00
Ryan Dahl
0eb8d880f8 Remove -Werror on v8, for compiling on GCC 4.4 2009-09-25 08:40:47 +02:00
Ryan Dahl
e0ec0036ca Add connection.setNoDelay() to disable Nagle algorithm. 2009-09-23 15:36:34 +02:00
Ryan Dahl
2df13c7310 Upgrade v8 to 1.3.13 2009-09-23 14:49:51 +02:00
Ryan Dahl
ab530bb211 Upgrade v8 to 1.3.11 2009-09-17 16:16:41 +02:00
Jeff Smick
bc6f381c98 Use "platform.architecture()" to find the proper architecture.
In Snow Leopard "platform.machine()" returns "i386" while
"platform.architecture()" returns ('64bit',''). Using information from both
we can determine the proper architecture

This reverts commit ea29e137b5 re-enabling the
64bit build on Macintosh.
2009-09-12 14:22:57 +02:00
Ryan
fcff66bf29 Upgrade v8 to 1.3.10 2009-09-09 22:01:54 +02:00
Ryan
ea29e137b5 Hack for compiling on Snow Leopard.
I don't have access to this OS to fix the issue properly, so for the moment
I'm reverting back to 32bit build on Darwin. We changed to native 64bit in
8ddf930901.

Thanks to Johan Dahlberg and Tim Caswell for reporting and debugging this.
2009-09-05 14:40:12 +02:00
Ryan
2097b9d2e5 Upgrade evcom - disable EPIPE error output. 2009-09-04 11:46:56 +02:00
Ryan
1df6d61208 Upgrade libeio, increase xthread stacksize to 64kb.
64kb seems to be the magic number for getaddrinfo() to work on Macintosh.
2009-09-03 15:59:48 +02:00
Ryan
8ddf930901 Build natively on x64.
Had to add some waf hackery to override V8's architecture choice. They
probably have a reason for defaulting still to IA32, but all tests are
passing for me, and it makes it easier on users-and I think chrome is using
x64 builds too. So let's go for it!
2009-09-02 20:19:52 +02:00
Ryan
97ce138621 Upgrade V8 to 1.3.9 2009-09-02 11:13:46 +02:00
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.
2009-08-31 18:26:50 +02:00
Ryan
2b6d72431b First attempt at node.dlopen
Compiled first working 'hello world' module with this config
2009-08-27 16:08:40 +02:00
Ryan
b5b65ddcd7 Upgrade v8 to 1.3.7 2009-08-25 13:47:18 +02:00
Ryan
b0a362a727 Fix coupling problems on OSX 2009-08-25 13:33:19 +02:00
Ryan
aa664c8040 Add close() to coupling pump. Wasn't getting EOF. 2009-08-25 12:56:54 +02:00
Ryan
17c6a67f15 Introduce node.stdio
Remove old stdout, stderr, stdin objects.
2009-08-24 21:20:26 +02:00
Ryan
a8813fcdf5 evcom upgrade - ignore sigpipe. remove error output. 2009-08-22 12:04:45 +02:00
Ryan
ed3602dddc Sync evcom 2009-08-21 14:53:58 +02:00
Ryan
048a1b8b9e Upgrade v8 to 1.3.6 2009-08-21 13:13:04 +02:00
Ryan
368ea93bfe Upgrade evcom - fix API issues. 2009-08-19 17:41:32 +02:00
Ryan
0cec74d03d Upgrade v8 to 1.3.5 2009-08-19 16:37:15 +02:00
Ryan
b41ea5289e Upgrade libev to 3.8 2009-08-13 15:07:37 +02:00
Ryan
9dc621f83a Upgrade v8 to 1.3.4 2009-08-13 15:06:34 +02:00
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
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
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
0486c091e1 (evcom) Increase recv buffer from 4 bytes (!!!) to 8192 2009-08-06 15:08:07 +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
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
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
2ebd692151 Upgrade V8 to 1.3.1 2009-07-31 14:36:48 +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
0fb0af3a6c Rename evnet to evcom. 2009-07-25 17:52:26 +02:00
Ryan
88e9a5f122 Upgrade V8 to 1.2.14 2009-07-20 13:18:42 +02:00
Ryan
f4dfbe37a3 Upgrade libev to 3.7 2009-07-20 13:01:40 +02:00
Ryan
8b819d8546 Upgrade evnet. 2009-07-15 17:52:38 +02:00
Ryan
5e2a6f8c46 Upgrade evnet to fix close() bug. Add test for bug.
evnet wasn't properly closing sockets if they didn't have data to write.
2009-07-15 07:54:08 +02:00
Ryan
116069fab3 upgrade http_parser 2009-07-14 00:00:07 +02:00
Ryan
c5ab0d5a80 Upgrade liboi, which is now called evnet. 2009-07-13 16:38:25 +02:00
Ryan
e763efdadf Upgrade v8 to 1.2.10 and libev to 3.6 2009-06-29 10:55:05 +02:00
Ryan
cc67d8efc7 Fix bug waf problem with HAVE_CLOCK_SYSCALL 2009-06-22 18:28:48 +02:00
Ryan
115c4942db Create tools directory
Users will need to "make distclean" to recompile from scratch since I've
moved a lot of the core build tools around.
2009-06-22 13:08:32 +02:00
Ryan
84f9178e66 upgrade v8 to 1.2.8 2009-06-17 18:15:28 +02:00
Ryan
fd83e1d7d8 Upgrade http parser 2009-06-12 17:27:44 +02:00
Ryan
4624906e2a upgrade http_parser 2009-06-10 18:56:37 +02:00
Ryan
00868b9565 upgrade liboi 2009-06-10 15:24:28 +02:00
Ryan
4bd63d35fb Upgrade http_parser - protects against buffer overflows now 2009-06-09 15:18:12 +02:00
Ryan
696f024557 Upgrade to v8 1.2.7 2009-06-08 18:34:06 +02:00
Ryan
a3627c06f8 Change to build on FreeBSD
The v8/SConstruct change has been give to the v8 people.
http://codereview.chromium.org/113897
2009-05-27 16:29:55 +02:00
Ryan
562db19d32 Add includes for freebsd compatibility 2009-05-27 01:35:54 +02:00
Ryan
69ab87ca53 Fix crash in oi_socket; add ready state reader to Connection objects. 2009-05-18 13:38:15 +02:00
Ryan
3a41367c40 Upgrade v8 to version 1.2.3. 2009-05-12 00:12:56 +02:00
Ryan
43531093a3 don't die on EPIPE 2009-05-07 16:32:36 +02:00
Ryan
ae7c6314ca Various fixes to make the web server not give off so many errors. 2009-05-05 19:39:08 +02:00
Ryan
cfd61622ae Reference counting. Network bugs.
Connections were being garbage collected while they were still in progress
since the object would leave scope. This commit adds ObjectWrap::Attach()
and ObjectWrap::Detach() to tell v8 that an object is currently on the event
loop and will be needed in the future.

Other changes to oi_socket.c and net.cc are to fix bugs encountered while
running the HTTP server.
2009-05-05 18:15:59 +02:00
Ryan
30450388d6 update oi_socket - modify node code to match 2009-05-05 12:52:18 +02:00
Ryan
5a071ad72f Begin refactor of http.cc. Remove libebb add http_parser.
And most of http.cc was deleted.
2009-05-03 14:09:16 +02:00
Ryan
90fc8d3622 Update liboi. Use EV_MULTIPLICITY=0.
This might need to be changed in the future if ev is needed in thread pools
or extension libraries. However for now it makes sense to just use a single
loop.
2009-04-28 22:37:03 +02:00
Ryan
8e7bbf26e2 get 'make install' working 2009-04-23 19:26:56 +02:00
Ryan
29b528c980 fix the waf configure --debug options. seems to work now. 2009-04-23 17:29:31 +02:00
Ryan
a4593e3ebd WAF: fix the debug variant.
problem is they both build by default. need a way to disable the debug variant.
2009-04-23 13:18:38 +02:00
Ryan
c62b124082 add scons local for v8. check for librt in wscript 2009-04-22 19:55:08 +02:00
Ryan
40c0f755c9 import full versions of dependency libraries! 2009-04-22 19:35:47 +02:00
Ryan
a93cf50307 BROKEN COMMIT: removing git submodules 2009-04-22 18:17:56 +02:00
Ryan
7703ad5153 update eio. add EIO_STACKSIZE define for getaddrinfo problem 2009-04-22 17:19:08 +02:00
Ryan
822d7fa27e add framework for tcp server. change eio stacksize to 16kb. 2009-04-22 10:29:45 +02:00
Ryan
1542fc6a0b add async dns for Socket 2009-04-21 23:13:13 +02:00
Ryan
1a126ed11c use the WAF build system 2009-04-04 14:50:15 +02:00
Ryan
c518373838 add dependencies: libeio, libev, v8 2009-04-03 13:43:03 +02:00
Ryan
cc1a61c1e7 request.respond works 2009-02-22 17:46:11 +01:00
Ryan
9d7895c567 add dependencies 2009-02-16 01:02:00 +01:00