Commit Graph

339 Commits (8cecc50b9db23ef4bc6de228707c6dab728b52ff)

Author SHA1 Message Date
Ryan Dahl d96c52694a Upgrade V8 to 2.1.4 2010-03-15 08:39:56 -07:00
Vanilla Hsu 116dfb8740 1: sync wscript with libeio.m4 2: try to enable macosx's sendfile. 2010-03-11 22:07:50 -08:00
Ryan Dahl ff2457754c Upgrade libeio 2010-03-11 14:31:51 -08:00
Ryan Dahl 70b2a44579 Remove -Werror from V8 2010-03-10 11:03:26 -08:00
Ryan Dahl 073947c150 Upgrade V8 to 2.1.3 2010-03-10 10:50:46 -08:00
Ryan Dahl 04999ef969 Remove -Werror from deps/v8/SConstruct
-_-
2010-03-08 18:04:59 -08:00
Ryan Dahl 74614c1bf1 Change libev/wscript for waf 1.5.14 2010-03-08 17:45:57 -08:00
Ryan Dahl c98b0799bf Upgrade V8 to 2.1.2.6 2010-03-08 09:33:11 -08:00
Ryan Dahl 0e844d3bcb tcp.Connection.prototype.write should return boolean 2010-03-02 21:16:17 -08:00
Ryan Dahl e165859c2e Fix coupling error on Solaris
Was getting a lot of

  push_pump read(): Resource temporarily unavailable

Apparently Solaris can return read() < 0 but errno == 0 to indicate a
EAGAIN?
2010-03-02 20:39:38 +00:00
Ryan Dahl e0ecf4f8f5 Remove -Werror on V8
Are they ever going to fix this?
2010-02-23 22:58:54 -08:00
Ryan Dahl b80bdda14e Upgrade V8 to 2.1.2 2010-02-23 17:52:50 -08:00
Ryan Dahl c5b149ab1e Add hack to get error event on socket timeout
See
http://groups.google.com/group/nodejs/browse_thread/thread/4898a1ed3b99dcf0
2010-02-23 13:05:15 -08:00
Ryan Dahl bcf163da27 Upgrade V8 to 2.1.1 2010-02-19 10:40:48 -08:00
Ryan Dahl fe85062046 Bugfix: blocked pumping in stdio coupling
This should fix the test in c05b5d8 by Mikeal Rogers.
2010-02-05 17:14:14 -08:00
Ryan Dahl c7cb4daa25 Upgrade V8 to 2.1.0 2010-02-03 09:07:02 -08:00
Ryan Dahl ce4204a069 Upgrade http-parser
Fixes, among other things, a header overflow attack.
2010-02-02 16:40:59 -08:00
Ryan Dahl 152d956deb Remove -Werror from V8 2010-01-20 09:39:03 -08:00
Ryan Dahl 0c1255453e Initial Solaris support 2010-01-19 16:51:27 -08:00
Ryan Dahl e60d653a58 Upgrade V8 to 2.0.6.1 2010-01-19 15:45:36 -08:00
Vanilla Hsu 6c5c808569 use SUN_LEN to calculate length of unix address @ FreeBSD. 2010-01-15 09:41:33 -08:00
Ryan Dahl c9e21435c0 Upgrade http-parser 2010-01-09 01:52:49 -08:00
Ryan Dahl 75e6c39733 Upgrade http-parser
Fixes \n problem that psanford <pms.mail@gmail.com> reported.
2010-01-07 18:36:28 -08:00
Ryan Dahl 3f39772834 libeio bugfix part 2
Reverts the change to deps/libeio/eio.c added in
04dd2d51be
It wasn't a bug, I was just using eio incorrectly.

See http://lists.schmorp.de/pipermail/libev/2010q1/000855.html
2010-01-05 21:09:02 -08:00
Ryan Dahl 04dd2d51be libeio bugfix: want_poll should be called if breaking on maxreq
Reported by shansen and hassox
http://github.com/ry/node/issues#issue/38

Will send upstream.
2010-01-04 23:26:58 -08:00
Ryan Dahl 933a37cd28 Upgrade libev to 3.9 2010-01-04 22:52:48 -08:00
Ryan Dahl af6c177b91 Upgrade libeio to latest CVS 2010-01-04 22:46:32 -08:00
Ryan Dahl 8fd46a34d6 Kill -Werror in V8 for GCC 4.4.1 users.
http://code.google.com/p/v8/issues/detail?id=413
2009-12-30 12:59:02 -08:00
Ryan Dahl fd73a3a398 Upgrade V8 to 2.0.5.4 2009-12-30 02:35:15 +01:00
Ryan Dahl a98afdfb2f Revert "Upgrade V8 to 2.0.5"
This reverts commit 20b945df70.

Broken on Hagen's Macintosh. Don't have time to investigate.
2009-12-19 01:04:19 +01:00
Ryan Dahl 22d1d3dbf7 Fix kqueue check (broke it in last commit) 2009-12-18 15:45:53 +01:00
Ryan Dahl fa667f718c Fix check for epoll_ctl(). Was broken on Linux 2009-12-18 15:36:25 +01:00
Rasmus Andersson 752da03eb0 detect nanosleep on OS X and do not look for functions in libraries we know dows not exist 2009-12-18 15:36:11 +01:00
Rasmus Andersson 87077e03cc fix kqueue feature detection on Mac OS X 10.6 2009-12-18 15:14:33 +01:00
Ryan Dahl 20b945df70 Upgrade V8 to 2.0.5 2009-12-18 15:05:04 +01:00
Ryan Dahl ee8530e0ee offload method look up to http-parser 2009-12-07 15:21:12 +01:00
Ryan Dahl c3e0a4bc7c Upgrade http-parser; supports webdav extension methods now 2009-12-06 23:58:16 +01:00
Ryan Dahl c8b6ef248e upgrade v8 to 2.0.3 2009-12-05 15:27:56 +01:00
Ryan Dahl 0cea946cb9 Fix v8 SConstruct for freebsd 2009-11-28 01:38:32 +01:00
Ryan Dahl 4129305b7c Upgrade v8 to 2.0.2 2009-11-27 22:53:39 +01:00
Ryan Dahl 8be6a89654 Upgrade http_parser (fixes bug reported by Felix) 2009-11-21 22:03:52 +01:00
Ryan Dahl 7719ce33db New http-parser
No longer based on Ragel, but hand-written.

Had to add HTTPConnection.resetParser() because the parser is stricter and
will error out when you try to give it a message after the previous had
"Connection: close". The HTTP client was doing that. Thus we reset the
parser manually after each new connection.
2009-11-21 16:27:02 +01:00
Ryan Dahl 728d8a37f4 Upgrade v8 to 2.0
(With just one change: remove -Werror)
2009-11-18 15:28:54 +01:00
Ryan Dahl 55f9fdd6b5 Upgrade libev to latest CVS 2009-11-17 12:41:19 +01:00
Ryan Dahl 2ca788e6e2 Add 'drain' event to tcp.Connection 2009-11-10 17:43:37 +01:00
Ryan Dahl 51c1526b6a Revert "Upgrade http parser, change node as needed."
Something is broken in how keep-alive is working. Reverting until I can fix
it.

This reverts commit b893859c34.
2009-11-06 12:44:20 +01:00
Ryan Dahl 6959a1d6d1 Upgrade v8 to 1.3.18 2009-10-29 16:11:05 +01:00
Ryan Dahl 50f45d14b4 Upgrade v8 to 1.3.17 2009-10-28 19:25:22 +01:00
Ryan Dahl c779647600 Link libev and libeio as a normal .o instead of as .a
Using WAF "staticlib" to compile libev tends to confuse it with a system
version. Thanks to mr.binary42 for helping debug.
2009-10-27 18:50:41 +01:00
Ryan Dahl cfe5876350 Add v8 patch to fix mac x64 build.
http://codereview.chromium.org/284012
2009-10-16 18:00:06 +02:00
Ryan Dahl 8e6d978bba Upgrade v8 to 1.3.16
and apply my V8 patch for debugging.
2009-10-16 14:30:27 +02:00
Ryan Dahl b893859c34 Upgrade http parser, change node as needed.
The latest version of http-parser is a bit more stringent EOF semantics.
2009-10-15 19:18:18 +02:00
Ryan Dahl 0283e68129 Upgrade http_parser, allows quotes in URI
http_parser needs to be upgraded to latest code. Currently running off the
v0.2 branch, which is missing the latest fixes.
2009-10-14 19:29:17 +02:00
Ryan Dahl 2060e32ec9 Kill -Werror in V8 for GCC 4.4.1 users.
http://code.google.com/p/v8/issues/detail?id=413
2009-10-09 14:21:41 +02:00
Ryan Dahl e742d077e0 Enable debugging.
Use the --debug command line flag to enable.

It appears that d8 sucks. Luckily it can be rewritten rather easily with the
repl and tcp client libraries.

Node's CL option parsing is getting rather unwieldy - needs refactor.
2009-10-09 13:26:23 +02:00
Ryan Dahl d03b67669c Upgrade v8 to 1.3.15 2009-10-07 16:02:34 +02:00
Ryan Dahl 1f31a7dbfe Upgrade v8 to 1.3.14 2009-10-07 11:53:45 +02:00
Ryan Dahl 13793aed20 Add Makefiles which were forgotten. 2009-10-03 22:48:44 +02:00
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