Commit Graph

631 Commits (03077db45de5590a1f5651ec86abc70e4fd8a1d4)

Author SHA1 Message Date
Ben Noordhuis 61dfe5d2a9 Revert dcf6955: Fix V8 mingw32 build
Patch has been merged upstream in V8 3.4.6.

Fixes #1351.
2011-07-16 14:51:45 +02:00
Ryan Dahl 5709643289 Merge branch 'V8-3.4' 2011-07-15 17:47:37 -07:00
Ryan Dahl ef1be160d6 Upgrade V8 to 3.4.12.1 2011-07-15 17:47:20 -07:00
vegorov@chromium.org 17bff6082a Correctly propagate toolchain setting in SConstruct.
Patch by Bert Belder.

Review URL: http://codereview.chromium.org/7309014

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@8555 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-07-16 00:40:32 +02:00
vegorov@chromium.org 442c5c95ad MinGW32: define STRUNCATE and change strncpy_s implementation to follow specification.
This fixes the debug build for MinGW32

Patch by Bert Belder.

Review URL: http://codereview.chromium.org/7308007

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@8552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-07-16 00:38:34 +02:00
Bert Belder 1c2dd454db libuv: stop g++ from complaining about anonymous struct usage 2011-07-16 00:31:47 +02:00
Ryan Dahl 130be31cff Upgrade libuv to 1be48f12a0
and bindings for new req interface
2011-07-15 13:41:44 -07:00
Shigeki Ohtsu 3c733c57b7 ev: define HAVE_SYNC_FILE_RANGE if kernel >= 2.6.17 *and* glibc version >= 2.6 2011-07-15 15:41:28 +02:00
Ryan Dahl 041c983290 Merge branch 'v0.4'
Conflicts:
	deps/libev/wscript
	doc/api/modules.markdown
2011-07-14 15:52:08 -07:00
Ryan Dahl 7a782164b9 Upgrade libuv to f5ff8694 2011-07-14 14:29:24 -07:00
Henry Rawas dcf6955c10 Fix V8 mingw32 build
Reported to V8
http://code.google.com/p/v8/issues/detail?id=1508
2011-07-08 18:21:29 -07:00
Igor Zinkovsky a58b6439de Statically link in dependencies for node.exe 2011-07-08 17:44:58 -07:00
Ryan Dahl e5564a3f29 Upgrade V8 to 3.4.10 2011-07-08 16:40:11 -07:00
Ryan Dahl 8a9fdedc9e complete libuv upgrade. sorry 2011-07-07 11:32:12 -07:00
Ryan Dahl a2f2aa97ad Upgrade libuv to 9518ab65949257384bf7e407d8502a6437fdda4b 2011-07-07 08:56:48 -07:00
Ryan Dahl 073fbea0f5 Bring back execScript
Undoing
http://codereview.chromium.org/7060008
https://groups.google.com/forum/#!topic/v8-dev/JTRHrPHFBts
2011-07-06 16:55:50 -07:00
Ryan Dahl 08a334fa45 Upgrade libuv to 0bf38570e8c7837bd830388f7b57f138aebb3395 2011-07-06 12:13:45 -07:00
Bert Belder a845bf74ae Libuv: add cygwin support
Fails a few tests
2011-07-06 02:50:50 +02:00
Ryan Dahl 149562555c Downgrade V8 to 3.1.8.25
There are serious performance regressions both in V8 and our own legacy
networking stack. Until we correct our own problems we are going back to the
old V8.
2011-07-05 14:51:29 -07:00
Ryan Dahl 32a0752d49 Merge branch 'V8-3.4' 2011-07-05 11:42:20 -07:00
Ryan Dahl 6054dcc130 Upgrade V8 to 3.4.9 2011-07-05 11:41:56 -07:00
Bert Belder c953ecfb9e Fix v8 mingw build 2011-07-05 00:04:58 +02:00
Brett Kiefer 220e2281e4 Fix issue 915 (Failed to find kqueue on FreeBSD) with the relevant portion of a patch submitted to node.js dev (http://groups.google.com/group/nodejs-dev/browse_thread/thread/3aaf7fe2ca390fdc) by Davie Siegel. The issue is that event.h requires types.h on FreeBSD. This rearranges some of the logic but looks like it should still be valid for Darwin. 2011-07-04 09:27:15 -07:00
Ryan Dahl 70a8927a93 Upgrade libuv to ba1c38f to fix mingw build 2011-07-01 10:59:42 -07:00
Robert Mustacchi 2cfab04037 Fix solaris build (http://codereview.chromium.org/7282034/) 2011-07-01 09:51:43 -07:00
Ryan Dahl 17ac0316d0 Complete libuv upgrade 2011-07-01 09:38:47 -07:00
Ryan Dahl 412e413edc Upgrade libuv 2011-07-01 09:30:44 -07:00
Henry Rawas 2e1af6df49 Fix V8 mingw32 build
Reported to V8
http://code.google.com/p/v8/issues/detail?id=1508
2011-06-29 20:51:30 +02:00
Ryan Dahl 1cb7b67ac3 Upgrade libuv to 8fd916d6ddc9c7fd0e3e8e668efbc2d782e8e742 2011-06-29 19:35:17 +02:00
Ryan Dahl 33af2720f2 Upgrade V8 to 3.4.8 2011-06-29 17:26:51 +02:00
Ryan Dahl 23b8931b62 Merge branch 'v0.4'
Conflicts:
	src/node.js
	src/node_version.h
2011-06-29 14:50:03 +02:00
Ryan Dahl 1e7769dfa3 Merge branch 'v8-3.1' into v0.4 2011-06-29 12:49:37 +02:00
Ryan Dahl 61553ccdda Upgrade V8 to 3.1.8.25 2011-06-29 12:49:17 +02:00
Ryan Dahl f657d58fe1 Upgrade libuv to f9b9bb44bd6e2b74729b5d1ff481adf4213e9a0b 2011-06-28 13:37:03 +02:00
Ben Noordhuis c95da949ec Prevent "undefined symbol: ev_rt_now" link errors in third-party modules.
Fixes #1181.
2011-06-23 00:35:35 +02:00
Ryan Dahl 95b409c578 Upgrade libuv.
Also remove c-ares since it's included in libuv now.

libuv version b7b7df090ca285e53eb51bf518c4e5064876596
2011-06-17 19:53:19 +02:00
Ryan Dahl 623f513071 Upgrade libuv 2011-06-10 18:17:44 +02:00
Ryan Dahl 7a5977b5d6 Upgrade libuv to e58a1abff02d7bacf89a56de9050e27690a97bc5 2011-06-07 18:59:44 +02:00
Ryan Dahl b6a742d76f Merge branch 'v0.4' 2011-06-03 16:37:56 +02:00
Ryan Dahl 4956e3c0a2 Upgrade http-parser to eee60127c0df551be085cc8e7983e36d7700d885 2011-06-03 14:12:14 +02:00
Ryan Dahl d3426789d2 Upgrade libuv to d91b5012bd32b60f1a0f35241f7ac45c147f0c8a 2011-05-23 15:25:21 -07:00
Ryan Dahl 2c79f13634 Upgrade libuv to 40f0ad6d364cff76adaf1c7f182b1dc939f36617 2011-05-22 13:08:31 -07:00
Ryan Dahl 860cb906a6 Merge branch 'v0.4'
Conflicts:
	src/node_version.h
2011-05-22 13:02:06 -07:00
Ryan Dahl 80b0225b98 Merge branch 'v8-3.1' into v0.4 2011-05-20 19:25:30 -07:00
Ryan Dahl cee4ce39a9 Upgrade V8 to 3.1.8.16 2011-05-20 19:24:37 -07:00
Ryan Dahl 73ea01cd64 Revert "Upgrade libuv to 9c2dd6bea970b2376696aba070bdfc2873843cfb"
This reverts commit 4b60e87afe.

Event loop ref count broken.
2011-05-19 17:50:13 -07:00
Ryan Dahl 4b60e87afe Upgrade libuv to 9c2dd6bea970b2376696aba070bdfc2873843cfb 2011-05-19 10:37:51 -07:00
Ryan Dahl efca334be2 Integrate libuv into build system 2011-05-13 00:54:00 -07:00
Ryan Dahl 8d88c00b77 Merge branch 'v8-3.1' into v0.4 2011-04-30 11:38:55 -07:00
Ryan Dahl eb57d1b9b1 Upgrade V8 to 3.1.8.14 2011-04-30 11:38:25 -07:00
Ryan Dahl 6b5a7033bb Merge branch 'v8-3.1' into v0.4 2011-04-11 16:08:10 -07:00
Ryan Dahl 0b1920b202 Upgrade v8 to 3.1.8.10 2011-04-11 16:07:54 -07:00
Ryan Dahl ad861e1354 Merge branch 'v8-3.1' into v0.4 2011-03-31 10:07:59 -07:00
Ryan Dahl 6631983dd1 Upgrade V8 to 3.1.8.8 2011-03-31 10:07:48 -07:00
Ryan Dahl cbcb7fb019 Merge branch 'v8-3.1' into v0.4 2011-03-25 12:02:51 -07:00
Ryan Dahl c8ee19a618 Upgrade V8 to 3.1.8.5 2011-03-25 12:02:38 -07:00
Ryan Dahl 5b161b09a3 Merge branch 'v8-3.1' into v0.4 2011-03-18 14:24:37 -07:00
Ryan Dahl 53dc74e12f Upgrade V8 to 3.1.8.3 2011-03-18 14:22:52 -07:00
Ryan Dahl 975d020286 Fix gcc version checking for aliasing features 2011-03-18 10:01:45 -07:00
Ryan Dahl 12c02b378d Use pthread_kill for V8/Solaris sampling 2011-03-11 03:08:42 +00:00
Ryan Dahl 6802c90d1f Sample correct registers on Solaris
http://codereview.chromium.org/6676019/
2011-03-11 03:06:43 +00:00
Ryan Dahl e14aa64591 Fix V8 runtime profiler for solaris 2011-03-10 12:48:49 -08:00
Bert Belder b3884c574b Autodetect no-strict-aliasing, propagate toolchain option to SCons
BUG=v8:884
2011-03-02 21:06:17 -08:00
Ryan Dahl 14475c77a6 Upgrade V8 to 3.1.8 2011-03-02 21:04:37 -08:00
Ryan Dahl 5f95d9a75d Remove -Werror from V8 2011-02-28 12:58:15 -08:00
Bert Belder 4a34692903 Autodetect no-strict-aliasing, propagate toolchain option to SCons
BUG=v8:884
2011-02-28 11:30:07 -08:00
Ryan Dahl 6442cbef20 Upgrade V8 to 3.1.7 2011-02-28 11:29:33 -08:00
Aria Stewart fd713e1dc7 libeio and http_parser build with PIC code
Fix building as a shared library

Closes GH-708.
2011-02-24 16:19:43 -08:00
Bert Belder df15472d34 Autodetect no-strict-aliasing, propagate toolchain option to SCons
BUG=v8:884
2011-02-24 13:47:14 -08:00
Ryan Dahl e33e7d1a37 Upgrade V8 to 3.1.6 2011-02-24 13:14:59 -08:00
Bert Belder 874321298b Make libev work on MinGW again 2011-02-17 10:47:04 -08:00
Bert Belder a5e67ad9e7 Autodetect no-strict-aliasing, propagate toolchain option to SCons
BUG=v8:884
2011-02-17 10:46:38 -08:00
Ryan Dahl 470ebe249f Upgrade libev to 4.4 2011-02-16 12:07:58 -08:00
Bert Belder b1664daeb9 V8 Cygwin support 2011-02-16 12:04:44 -08:00
Ryan Dahl 550f73ae3e Upgrade V8 to 3.1.5 2011-02-16 10:38:49 -08:00
Bert Belder a293f90db4 Improve V8 support for Cygwin
Should re-enable crankshaft; can build w/ snapshot again.
2011-02-15 12:29:59 -08:00
Ryan Dahl c6712ced20 Add newline to platform-cygwin.cc 2011-02-14 09:36:28 -08:00
Bert Belder 583f2e5999 Follow-up fix for v8 cygwin build 2011-02-09 21:55:59 -08:00
Bert Belder fd013d17a2 V8 cygwin support 2011-02-09 19:13:31 -08:00
Bert Belder 35e32225d1 Workaround for V8 bug 884
See http://code.google.com/p/v8/issues/detail?id=884
2011-02-09 14:53:15 -08:00
Ryan Dahl a0702b54d1 Upgrade V8 to 3.1.2 2011-02-09 10:24:26 -08:00
Ryan Dahl e42c74e141 Upgrade http-parser 2011-02-04 18:03:26 -08:00
Bert Belder 8ee9c53c77 Fix problem with libev/select on windows.
Patch by Marc Lehmann.
This fix should be included in the next libev release.
2011-02-03 14:05:51 -08:00
Bert Belder d8d627e2d4 Revert "Workaround for libev handle caching bug on windows"
This reverts commit 25d0e38048.
2011-02-03 14:05:40 -08:00
Ryan Dahl ee092f62ca Upgrade V8 to 3.1.1 2011-02-02 11:44:25 -08:00
Bert Belder 9526fef626 Workaround for V8 bug 884
See http://code.google.com/p/v8/issues/detail?id=884
2011-01-31 13:26:46 -08:00
Ryan Dahl 0634e3a8bc Upgrade V8 to 3.1.0 2011-01-31 13:19:50 -08:00
Bert Belder 88947dc4f0 Workaround for V8 bug 884
See http://code.google.com/p/v8/issues/detail?id=884
2011-01-28 12:53:09 -08:00
Ryan Dahl 7eaa956bae Upgrade V8 to 3.0.12 2011-01-28 01:57:00 -08:00
Ryan Dahl 4c5e570706 Upgrade V8 to 3.0.10 2011-01-24 20:55:18 -08:00
Bert Belder 25d0e38048 Workaround for libev handle caching bug on windows
The windows socket api uses handles, not fds. Libev caches the handle
associated with an fd, and uses this handle when updating the (also cached)
handle set that goes into select(). When an fd is closed and subsequently
re-used before the event loop returns to libev, libev fails to detect
properly that the handle changed. And even if it does, the cached handle of
the closed socket is overwritten by the new handle, so by the time libev
tries to update the select fdset it has forgotten which handle to remove
from it. This is solved by a simple hook ev_fd_closed that makes it clear
its caches before the fd is re-used.
2011-01-24 10:34:18 -08:00
kmillikin@chromium.org 7c2869046e Fix an assertion failure in the full code generator.
We hit an assertion failure when we tried to record the AST ID of
the (shared) .arguments variable proxy more than once.  This was hit
when we had multiple calls to the same parameter in a function that
used the arguments object.  The fix is to not visit the subexpressions
of the (shared) property access expression.

BUG=1060

Review URL: http://codereview.chromium.org/6368007

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@6404 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-01-20 01:39:32 +01:00
Bert Belder a61066ea1b Workaround for V8 bug 884
See http://code.google.com/p/v8/issues/detail?id=884
2011-01-19 11:06:49 -08:00
Ryan Dahl b8f006ef72 Upgrade V8 to 3.0.9 2011-01-19 11:06:13 -08:00
Bert Belder b70f8aec84 Workaround for V8 bug 884
See http://code.google.com/p/v8/issues/detail?id=884
2011-01-18 04:49:42 +01:00
Bert Belder 595509bb4c Fix v8 build on windows
reported to v8 in http://codereview.chromium.org/6056006/
2011-01-17 12:28:48 -08:00
Ryan Dahl cf2e4f44af Upgrade V8 to 3.0.8 2011-01-17 11:32:56 -08:00
Ryan Dahl fc634cd92c Upgrade c-ares to 1.7.4 2011-01-11 18:19:22 -08:00
Bert Belder b9540c28e9 Libev windows fixes 2011-01-11 14:48:07 -08:00
Ryan Dahl 464f5d4e13 Merge branch 'vanilla-libeio'
Conflicts:
	deps/libeio/config.h.in
2011-01-11 14:13:06 -08:00
Ryan Dahl b8d63c10cd Upgrade libeio 2011-01-11 14:09:17 -08:00
Ryan Dahl b7419dfaad Upgrade libev to 4.3 2011-01-11 08:47:18 -08:00
Bert Belder 33118df8f9 Merge remote branch 'origin/master'
Conflicts:
	src/node_net.cc
	src/node_os.cc
2011-01-02 22:57:32 +01:00
Ryan Dahl 1a894b39b3 Upgrade V8 to 3.0.4 2010-12-21 10:24:08 -08:00
Bert Belder 2d8ab90613 Revert "Performance-killing bug workaround for V8 on mingw"
This reverts commit 9a9edb0e8e.
2010-12-20 23:52:38 +01:00
Bert Belder 4a2cb07808 Fix whitespace errors introduced by porting efforts 2010-12-20 23:51:25 +01:00
Bert Belder 967b7b0d8c Libeio should use correct stat/fstat as well 2010-12-20 23:51:15 +01:00
Bert Belder b0f048e970 Remove stray file 2010-12-20 23:51:13 +01:00
Bert Belder 9a9edb0e8e Performance-killing bug workaround for V8 on mingw
When V8 on mingw generates a _compiled_ call stub for an external api callback, it fucks up the stack.
It doesn't set the stack pointers properly. Could be due to subtly different calling conventions?
This patch disables the simple_api_call optimization. It hurts performance.
2010-12-20 23:51:08 +01:00
Bert Belder 62af617f84 Dynamically link with pthreads-w32
Adds some explanation what would need to be done to link pthreads statically
2010-12-20 23:50:26 +01:00
Bert Belder 2463dbb3fd Fix v8 build on mingw32 2010-12-20 23:49:56 +01:00
Ryan Dahl 7d425a0a16 Upgrade V8 to 3.0.3 2010-12-17 09:47:55 -08:00
Brian White 9eaf2329e7 Fix compilation on OpenBSD and FreeBSD
While it compiles fine on FreeBSD, at least on amd64 node dies with:
"CALL_AND_RETRY_0 allocation failed - process out of memory"
2010-12-17 09:06:31 -08:00
Ryan Dahl d0beac70f4 Revert "Simplify next tick logic by looping around ev_loop"
This reverts commit 241ea7e595.

Fixes GH-511: https://github.com/ry/node/issues/issue/511
2010-12-16 18:41:13 -08:00
Ryan Dahl 2dc17e93ee Add oprofile patch to repo 2010-12-16 14:25:02 -08:00
Ryan Dahl 02aae22397 Add solaris patch file 2010-12-16 14:22:50 -08:00
Ryan Dahl c9d3a81db0 Patch V8 to compile on solaris 2010-12-16 14:05:13 -08:00
Ryan Dahl c6406f9e57 Apply V8 r5951 to fix Mac build
From f3973972b727df480697443871d780596aba0201 Mon Sep 17 00:00:00 2001
From: erik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Date: Wed, 8 Dec 2010 16:23:25 +0000
Subject: [PATCH] Speed up quoting of JSON strings by allocating a string that is big enough
 and then trimming it when the length is known.  This way we only have to
 traverse the input once.
 Review URL: http://codereview.chromium.org/5556012
2010-12-16 12:10:54 -08:00
Ryan Dahl ea700a8851 Upgrade V8 to 3.0.2 2010-12-16 11:52:08 -08:00
Ryan Dahl 7d73779446 Make oprofile work 2010-12-13 22:12:46 -08:00
Ryan Dahl 1d78159e8f Upgrade V8 to 3.0.1 2010-12-13 22:12:14 -08:00
Ryan Dahl 32e8692b06 Apply V8 r5951 to fix Mac build
From f3973972b727df480697443871d780596aba0201 Mon Sep 17 00:00:00 2001
From: erik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Date: Wed, 8 Dec 2010 16:23:25 +0000
Subject: [PATCH] Speed up quoting of JSON strings by allocating a string that is big enough
 and then trimming it when the length is known.  This way we only have to
 traverse the input once.
 Review URL: http://codereview.chromium.org/5556012
2010-12-10 11:22:12 -08:00
Ryan Dahl c30f113712 Upgrade V8 to 3.0.0 2010-12-07 13:56:11 -08:00
Tom Hughes e681abe5cb cmake: solaris fixes. 2010-12-02 10:36:10 -08:00
Ryan Dahl 7286b79521 Upgrade V8 to 2.5.9.1 2010-11-30 11:37:43 -08:00
Bert Belder fa94d55f87 win: C-ares build config for win32 2010-11-29 23:48:58 -08:00
Bert Belder 4a329af418 win: Waf doesn't detect sys/select.h on mingw, but its there for sure 2010-11-29 23:48:34 -08:00
Bert Belder 4c16dd7c5c win: Make libev use send instead of write for sockets
It looks like MINGW doesn't like to write() to sockets.
If wrong, revert this patch
2010-11-29 23:47:48 -08:00
Bert Belder 4476ce04dc win: Export eio__pread and eio__pwrite so node_file can use it 2010-11-29 23:46:46 -08:00
Bert Belder d1d4695474 win: Fix wscript for libeio on windows 2010-11-29 23:46:40 -08:00
Bert Belder 5a36d1b86f win: Make libeio build on windows 2010-11-29 23:46:35 -08:00
Ryan Dahl 73318fa09d Upgrade V8 to 2.5.8 2010-11-24 01:03:06 -08:00
Daniel Gröber ea29cb4e46 cmake cleanup
* Removed useless include_directories
 * Print ssl library path in build summary
 * ExternalProject also exists on 2.8.0
 * include pummel tests when testing with ctest
 * Moved tests.cmake to test/CMakeList.txt
 * Removed inconsistent, unnecessary condition in else
2010-11-23 23:33:19 -06:00
Tom Hughes 446beebd79 Add cmake build support.
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net) and Daniel Gröber
(darklord@darkboxed.org).
2010-11-22 13:32:49 -08:00
Ryan Dahl d695486185 Upgrade http-parser 2010-11-21 21:39:14 -08:00
Ben Noordhuis b64791c7e4 Fix c-ares bug: reply to a CNAME query
doesn't contain addresses, causing ares_parse_a_reply() to bail out with
ARES_ENODATA.
2010-11-21 20:54:53 -08:00
Jorge Chamorro Bieling 6aa92d5289 Apple's threaded write()s bug
fixes test/simple/test-fs-sir-writes-alot.js on mac
2010-11-21 20:44:48 -08:00
Ryan Dahl cbdcc1d5f3 Upgrade V8 to 2.5.7 2010-11-19 10:49:09 -08:00
Ryan Dahl 241ea7e595 Simplify next tick logic by looping around ev_loop
This is also in preparation for the writev patch, which needs to dump
remaining data after ev_loop ends.
2010-11-17 13:22:11 -08:00
Ryan Dahl 03fa258df7 Revert "Upgrade V8 to 2.5.6"
This reverts commit 564a48643b.

Breaks cygwin
2010-11-16 19:14:14 -08:00
Bert Belder e129630e9e Fix V8 build on Cygwin 2010-11-13 14:38:25 -08:00
Rasmus Andersson e5a0fbe500 Added support for cross compilation and also fixed DEST_CPU to represent the canonical symbols dictated by v8 2010-11-13 14:29:59 -08:00
Ryan Dahl 564a48643b Upgrade V8 to 2.5.6 2010-11-11 22:42:06 -08:00
Ryan Dahl d23643051e Upgrade http-parser again 2010-11-10 22:12:47 -08:00
Ryan Dahl 8285f12864 Upgrade http-parser 2010-11-09 15:02:18 -08:00
Ryan Dahl 97c9745063 Back to WAF
Too much instability right now. Hopefully we can revisit autoconf soon.
2010-11-01 16:51:20 -07:00
Ryan Dahl ea78d995e0 Upgrade V8 to 2.5.3 2010-11-01 14:10:35 -07:00
Ryan Dahl 268bcbde7c Upgrade V8 to 2.5.2 2010-10-30 11:13:37 -07:00
Rasmus Andersson 899fffa395 Build system improvements: (cross compilation, libnode, etc)
- utilizing autoconf configure.guess to output canonical $target_{cpu,vendor,os}
- normalizing $target_cpu --> $arch according to v8 naming scheme
- normalizing $target_os --> $platform according to v8 naming scheme
- renamed c-ares platform-arch directories to represent v8 canonical names
- new targets in Makefile: libnode-{static,dynamic}[-debug]
- scons is symbolized as SCONS in Makefile for portability/flexibility.
- LINKFLAGS inherith from LDFLAGS ("magic" variable exported by autoconf and configure).
- When building on OS X, CFLAGS and LDFLAGS will contain appropriate -arch flag, set up by configure (instead of the Makefile).
- libv8.a make targets cleaned up with unison libv8_flags set of flags.
- the clean make target now cleans up libraries (libv8, libnode, etc).
- added config.guess, config.sub and install-sh (utilized by autoconf/configure)
2010-10-27 17:15:32 -07:00
Ryan Dahl 15594eaf87 Replace WAF with make/autoconf 2010-10-24 18:39:36 -07:00
Ryan Dahl 174a3a9a08 Upgrade libev to 4.00 2010-10-21 15:38:32 -07:00
Ryan Dahl 3b861db31d Upgrade V8 to 2.5.1 2010-10-21 15:22:38 -07:00
Ryan Dahl 1b2f6f9e29 Upgrade V8 to 2.5.0 2010-10-18 17:13:30 -07:00
Ryan Dahl ccf2a04ea2 Install ev.h and eio.h 2010-10-17 22:57:40 -07:00
Nathan Rajlich 9b1ff070e6 Upgrade http-parser with a fix for spaces in headers 2010-10-13 02:47:10 -07:00
Ryan Dahl 634c4bf0b0 Add missing v8 file... 2010-10-09 00:56:37 -07:00
Ryan Dahl f7a9eea0d4 Add config.h for cygwin for libev and libeio 2010-10-09 00:56:16 -07:00
Ryan Dahl 5986a582d9 #define HAVE_FDATASYNC 0 for darwin; 10.5 is missing it 2010-10-05 15:25:33 -07:00
Ryan Dahl 7fca101338 Upgrade V8 to 2.4.8 2010-10-05 15:25:07 -07:00
Ryan Dahl 48d7a1edc1 libev, libeio config.h files don't depend on arch 2010-10-02 15:07:54 -07:00
David Siegel 3faa3b56f3 libev libeio: added freebsd-x86 config headers 2010-10-02 06:44:55 -07:00
Ryan Dahl 29cc78f824 Simpler libev and libeio config 2010-10-02 06:44:55 -07:00
Ryan Dahl c9627e0a0d Upgrade V8 to 2.4.7 2010-10-01 14:19:11 -07:00
Ryan Dahl 3a64c22cc1 Disable a few more libev features 2010-09-28 03:11:33 -07:00
Ryan Dahl 4df999f85f Revert "Upgrade V8 to 2.4.5"
This reverts commit e227441248.

Build fails on mac
2010-09-22 19:20:06 -07:00
Ryan Dahl e227441248 Upgrade V8 to 2.4.5 2010-09-22 10:21:15 -07:00
Ryan Dahl 431e43009c Upgrade V8 to 2.4.4 2010-09-16 21:33:32 -07:00
Ryan Dahl 61448bfc4e Upgrade libeio 2010-09-13 15:40:20 -07:00
Ryan Dahl 9a6d2c35a1 V8 Cygwin patch 2010-09-08 17:16:18 -07:00
Ryan Dahl 8796ed2278 Upgrade V8 to 2.4.2 2010-09-08 17:14:42 -07:00
Ryan Dahl 0906f945be Fix V8 build for old gcc
also sent upstream: http://codereview.chromium.org/3130033/show
2010-08-18 22:50:16 -07:00
Ryan Dahl 91757fa840 Upgrade V8 to 2.3.8 2010-08-17 08:37:25 -07:00
Ryan Dahl 4bbab14346 Revert "Upgrade V8 to 2.3.7"
This reverts commit 083ee0f8b7.

V8 build broken on cygwin:
  ./deps/v8/src/handles.h:62: instantiated from `T*
  v8::internal::Handle<T>::operator->() const [with T = v8::internal::Code]'
  ./deps/v8/src/accessors.cc:396: instantiated from here
  ./deps/v8/src/handles-inl.h:50:
  error: call of overloaded `BitCast(v8::internal::Code** const&)' is
  ambiguous
  ./deps/v8/src/utils.h:732: note: candidates are: Dest
  v8::internal::BitCast(const Source&) [with Dest = v8::internal::Code**,
  Source = v8::internal::Code**]
  ./deps/v8/src/utils.h:743:
  note:                 Dest v8::internal::BitCast(Source* const&) [with Dest
  = v8::internal::Code**, Source = v8::internal::Code*]
  scons: *** [obj/release/accessors.o] Error 1
2010-08-13 07:43:53 -07:00
Ryan Dahl 083ee0f8b7 Upgrade V8 to 2.3.7 2010-08-12 10:11:03 -07:00
Ryan Dahl 883b3e2873 Remove -Werror from v8 SConstruct 2010-08-11 00:23:12 -07:00
Ryan Dahl a5be730906 Upgrade V8 to 2.3.6 2010-08-10 09:17:11 -07:00
Ryan Dahl 81f5ed5c65 Upgrade V8 to 2.3.5 2010-08-04 11:46:42 -07:00
Ryan Dahl a6bc68a83b Upgrade V8 to 2.3.4 2010-08-03 10:33:16 -07:00
Ryan Dahl e59b3f0eb3 Upgrade http-parser for clang compat 2010-07-31 14:32:59 -07:00
Ryan Dahl b2a2bb736b [v8] Remove global.print from v8natives.js (fixes issue 791)
Review URL: http://codereview.chromium.org/3045016
2010-07-30 12:20:32 -07:00
Ryan Dahl 23cf556c6c Upgrade http-parser
support for
- long messages
- spaces in header fields
2010-07-26 15:02:20 -07:00
Ryan Dahl 552cf28260 Upgrade V8 to 2.3.3 2010-07-26 14:26:42 -07:00
Ryan Dahl cb97cdb256 Remove Werror from SConstruct 2010-07-21 12:43:19 -07:00
Ryan Dahl e4eeaa7fbc Upgrade V8 to 2.3.2 2010-07-21 12:31:46 -07:00
Ryan Dahl 11a784d6da Upgrade http-parser 2010-07-17 01:22:16 -07:00
Ryan Dahl dcd41ca864 Upgrade V8 to 2.3.0 2010-07-15 18:52:48 -07:00
Ryan Dahl 8e2530c320 Upgrade V8 to 2.2.24 2010-07-14 11:16:20 -07:00
Ryan Dahl b1901cd5a5 hack fix to v8 2.2.23 2010-07-07 20:10:01 +02:00
Ryan Dahl facb904c5d Upgrade V8 to 2.2.23 2010-07-07 19:47:38 +02:00
Ryan Dahl 2072925f12 Upgrade V8 to 2.2.21 2010-07-03 08:37:05 +02:00
Ryan Dahl 5a25338ac0 Upgrade V8 to 2.2.20 2010-06-28 08:47:01 -07:00
Ryan Dahl 8825c74e7a Upgrade http-parser 2010-06-23 21:10:13 -07:00
Ryan Dahl 2c0d91be6c Upgrade V8 to 2.2.19 2010-06-23 20:32:06 -07:00
Ryan Dahl 1c6671aa67 Upgrade V8 to 2.2.18 2010-06-16 11:46:01 -07:00
Ryan Dahl bc76624ec7 Upgrade V8 to 2.2.17 2010-06-15 14:52:00 -07:00
Ryan Dahl 9c85357846 Upgrade C-Ares to 1.7.3 2010-06-11 12:48:58 -07:00
Raffaele Sena b3b81d67ff Port to cygwin 2010-06-09 15:08:46 -07:00
Ryan Dahl cd232a9cce Upgrade V8 to 2.2.16 2010-06-09 10:09:37 -07:00
Ryan Dahl 0bb47b6c97 Upgrade V8 to 2.2.15 2010-06-09 00:52:06 -07:00
Ryan Dahl 9be6c501ec Upgrade http-parser 2010-06-06 17:41:03 -07:00
Ryan Dahl 0055dd133d Apply fix for V8 bug 728 2010-06-03 18:50:44 -07:00
Ryan Dahl f86a214357 Upgrade to V8 2.2.13 2010-05-31 11:52:20 -07:00
Brian White 72262060db Added support for OpenBSD 32-bit for c-ares 2010-05-27 14:02:16 -07:00
Ryan Dahl 31854c7990 Fix Solaris V8 build
Patch submitted to V8: http://codereview.chromium.org/2282003/show
2010-05-26 18:05:44 -07:00
Ryan Dahl 4b216d266a Remove -Werror from V8 SConstruct 2010-05-26 10:48:20 -07:00
Ryan Dahl d4345e1ff8 Upgrade V8 to 2.2.12 2010-05-26 10:15:43 -07:00
Ryan Dahl 2fca40e44f Upgrade http-parser 2010-05-25 19:25:35 -07:00
Brian White ab5c0dd63e Port to OpenBSD 2010-05-23 17:08:57 -07:00
Ryan Dahl 0f143f6c23 Upgrade libeio 2010-05-23 17:02:35 -07:00
Ryan Dahl 2b34363d03 Upgrade V8 to 2.2.11 2010-05-21 09:41:50 -07:00
Ryan Dahl ac3a2d899a Changes to work on Solaris 10 2010-05-14 16:38:17 -07:00
Ryan Dahl 35dd0fb271 Patch v8 build for solaris
Submitted this patch to V8
http://codereview.chromium.org/1990010/show
2010-05-10 16:28:02 -07:00
Ryan Dahl 615d890622 Upgrade V8 to 2.2.9 2010-05-10 09:58:20 -07:00
Ryan Dahl 6aab6ebe61 Upgrade V8 to 2.2.8 2010-05-06 09:59:35 -07:00
Jonathan Knezek 874b80bd6a Added c-ares headers for linux-arm 2010-05-05 22:33:53 -07:00
Ryan Dahl f919216446 Upgrade http-parser, fixes issue 77
http://github.com/ry/node/issues#issue/77
2010-04-28 23:28:52 -07:00
Ryan Dahl 3b75f5070d Upgrade V8 to 2.2.6 2010-04-28 10:46:26 -07:00
Felix Geisendörfer 203561208e Remove coupling dep 2010-04-27 18:17:30 -07:00
Ryan Dahl 24931f8405 Upgrade V8 to 2.2.5 2010-04-27 00:31:47 -07:00
Jérémy Lal 14d1ab5a3e Apply unreleased upstream patch to support parse_mx_reply. 2010-04-26 15:09:03 -07:00
Ryan Dahl c72967d335 Remove http_old tcp_old 2010-04-23 17:19:29 -07:00
Ryan Dahl e72b7b8002 Upgrade V8 to 2.2.4.2 2010-04-23 12:05:36 -07:00
Ryan Dahl 41ef1717e0 Upgrade V8 to 2.2.3.1 2010-04-14 10:34:27 -07:00
Ryan Dahl af49187e57 Upgrade http-parser 2010-04-14 03:22:38 -07:00
Ryan Dahl d923c94a0c Remove udns 2010-04-07 18:25:37 -07:00
Ryan Dahl f56ff0de92 Add darwin-x86, linux-x86_64 c-ares headers 2010-04-07 13:39:11 -07:00
Ryan Dahl 9ea8c9f2b0 Clean up c-ares platform includes, add support for a few more 2010-04-07 13:34:40 -07:00
Vanilla Hsu 067f4086b6 add c-ares' freebsd support. 2010-04-07 09:36:35 -07:00
Ryan Dahl e9a116fe02 Include c-ares in deps/ 2010-04-07 01:17:49 -07:00
Ryan Dahl 38041fcaa0 Try out Flatten API
Speeds up WriteUtf8 significantly when dealing with strings made by the
concatenation of many others.
2010-04-06 16:15:09 -07:00
Ryan Dahl cd577d503d Upgrade V8 to 2.2.0.3 2010-04-04 18:07:32 -07:00
Ryan Dahl 4279725d79 Fix thread flags on Solaris
Also on other platforms use -pthread for compiling commands not just
linking because I noticed in the gcc(1) man page

  -pthread
      Adds support for multithreading with the pthreads library. This
      option sets flags for both the preprocessor and linker.

Removing the errno check in deps/coupling because it was a hack
(e165859c2e) added to fix stdio problems.
Without adding -threads, errno is not thread local, and coupling was not
correctly checking the errno. It appears -mt does nothing to gcc/solaris.
2010-03-31 13:44:36 -07:00
Ryan Dahl d52f63d9b2 fix whitespcae in deps/coupling 2010-03-31 11:27:57 -07:00
Ryan Dahl 52b295400d Revert "Upgrade V8 to 2.2.0"
Experiencing strange errors on all platforms due to this commit. EG
http://buildbot.nodejs.org:8010/builders/Linux%20AMD64/builds/107/steps/shell_2/logs/stdio

This reverts commit 40ea061c30.
2010-03-29 16:42:39 -07:00
Ryan Dahl 40ea061c30 Upgrade V8 to 2.2.0 2010-03-29 01:04:53 -07:00
Ryan Dahl 6ecdeada49 Remove -Werror on V8 -_- 2010-03-26 09:58:21 -07:00
Ryan Dahl 6192b8659a Upgrade V8 to 2.1.10 2010-03-26 09:09:40 -07:00
Ryan Dahl a49bf8622f Finish V8 update 2010-03-25 15:01:59 -07:00
Ryan Dahl 48f5f77713 Update to V8 2.1.9.1 2010-03-25 09:53:58 -07:00
Ryan Dahl b35d72df76 Upgrade V8 to 2.1.7 2010-03-23 15:19:32 -07:00
Ryan Dahl 54d4efd44b Upgrade http-parser
Now at version 6f72c780f0a237a775150a9963bcdf5299685cde
2010-03-22 09:00:43 -07:00
Ryan Dahl 2d7e86ef58 Upgrade V8 to 2.1.5 2010-03-17 15:52:57 -07:00
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