Ryan Dahl
d1eba2b18b
Revert "Fixes #1260 "
...
Due to downgrade of V8.
This reverts commit 3e2abd12d3 .
2011-07-05 16:49:13 -07:00
Ryan Dahl
8b2f5af2a0
Revert "Fixes #1267."
...
Revert due to V8 downgrade.
This reverts commit 04c9169892 .
2011-07-05 16:40:13 -07:00
Ryan Dahl
64a06c5ffd
Revert "Error argument for http.ServerRequest 'close'"
...
Too slow.
This reverts commit e7ac6d8fcd .
2011-07-05 15:48:31 -07: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
Ben Noordhuis
f087206067
Verify that the argument passed to vm.runInContext() is a context object.
...
Fixes #558 .
2011-07-05 23:39:13 +02:00
Ben Noordhuis
b74d119b34
Parse the command line before initializing V8.
...
Doing it the other way around means that V8 won't pick
up command line switches like `--prof`.
Props to Joshua Kehn for reporting the issue and Jeff Fifield
for pointing out the cause.
Fixes #900 .
Fixes #1217 .
2011-07-05 13:25:27 -07:00
Bert Belder
72e18d7f19
dns_uv: match the old api better, fix tests
2011-07-05 21:17:17 +02:00
Ryan Dahl
c0d3f1f485
uv: exception.code isntead of exception.errno
2011-07-05 12:08:17 -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
Ryan Dahl
9c77169112
make test-process-uptime fail less often
2011-07-05 11:26:21 -07:00
Ryan Dahl
ede1acc1ed
Revert "Remove 'connect' event from server side sockets"
...
Fixes #1276
This reverts commit f0a440d886 .
2011-07-05 10:56:15 -07:00
Ryan Dahl
e8542b6220
Fix internet testcase config
2011-07-05 10:31:37 -07:00
Ryan Dahl
d964b4c5aa
net_uv: enable another test case in test-net-pingpong
2011-07-05 10:08:35 -07:00
Alex Xu
f1b7c42524
Typo: stout -> stdout
...
Closes #874
2011-07-05 02:42:56 +02:00
Bert Belder
4062a42aae
Avoid assertion failure closing tty stdin on windows
2011-07-05 02:33:13 +02:00
avz
0c3a7c075e
Fix wrong error handling at Open() after open(2) in sync mode
2011-07-05 02:05:37 +02:00
Ben Noordhuis
1e6b72e8cb
Test case for issue #1228 : errno masked in fs.openSync().
2011-07-05 02:05:09 +02:00
Bert Belder
1e29fe65c3
Fix make test-internet
2011-07-05 01:53:01 +02:00
Bert Belder
1037f5c113
Fix bug in timers_uv timeout recomputation
...
Closes #1209
2011-07-05 01:31:23 +02:00
Ben Noordhuis
222f85fdf4
Test cases for #1234 : don't send HTTP/1.1 responses to HTTP/1.0 clients.
2011-07-05 01:13:57 +02:00
Ben Noordhuis
8dc87731c7
Don't send a HTTP/1.1 status line to HTTP/1.0 clients.
...
Fixes #1234 .
2011-07-05 01:13:57 +02:00
Ben Noordhuis
092fc42fbf
Clean up temporary file on exit.
...
Unbreaks test/simple/test-http-get-pipeline-problem.js,
it assumed a fixed number of files in the tmp directory.
2011-07-05 01:13:57 +02:00
Ryan Dahl
24a671a8aa
legacy c-ares binding should use legacy timer
2011-07-04 15:56:56 -07:00
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
2011-07-05 00:17:20 +02:00
Bert Belder
c953ecfb9e
Fix v8 mingw build
2011-07-05 00:04:58 +02:00
Bert Belder
3b16a89b3a
Fix net_uv.isIPv4/6 bug
2011-07-05 00:04:57 +02:00
Adam Luikart
7f30f13543
Update POSIX splitPathRe to allow control chars. Fixes #1230 .
...
Use [\s\S] instead of . to match any char, including newlines.
2011-07-04 22:50:27 +02:00
koichik
04c9169892
Fixes #1267 .
...
Error message of JSON.parse() was changed.
2011-07-05 04:15:51 +09:00
Niklas Fiekas
a3e5da07b4
Removed/Fixed TODO DRY
2011-07-04 21:15:00 +02:00
Ryan Dahl
38f3bf6610
net_uv: add isIP
...
Issue #1270 : Doesn't completely pass test/simple/test-net-isip.js yet.
2011-07-04 11:33:29 -07:00
Joe Shaw
f6fa20fd55
Fix a misnamed argument; multicastAddress -> multicastInterface. Closes #1237 .
2011-07-04 19:40:24 +02:00
Jörn Horstmann
ff50310cc5
Fixed a typo in a comment: "realpatch" -> "realpath"
2011-07-04 19:40:23 +02:00
Ben Noordhuis
20d7c47d6e
Document that path.join() and path.resolve() ignore non-string arguments.
...
Fixes #514 .
2011-07-04 19:40:20 +02:00
Mariano Iglesias
02ebcd8e26
Adding missing v8 namespace to NODE_PSYMBOL
2011-07-04 19:40:19 +02:00
koichik
c60cdcda4e
Fix net.Socket.connect argument parsing
...
Fixes #1251 .
2011-07-05 00:52:16 +09:00
Ben Noordhuis
bd0baf2338
Check that PR_SET_NAME is defined.
...
Avoids breaking the build with older (pre-2006) linux kernels.
Raises a JS exception if the script tries to assign to `process.title`.
Fixes #840 .
2011-07-04 17:23:14 +02:00
Ben Noordhuis
8e0d788842
Test for #402 : writing base64 at position > 0 should not mangle the result.
...
This is a regression test, the bug itself was fixed in v0.3.x.
2011-07-04 17:07:50 +02:00
Ben Noordhuis
d6188bdd27
Document behaviour of the encoding parameter of fs.writeFile().
...
Fixes #401 .
2011-07-04 16:26:46 +02:00
koichik
bcf3c7d31c
Fix doctool uses RegExp object as a Function
...
RegExp object is no longer Function.
http://code.google.com/p/v8/issues/detail?id=617
Fixes #1262 .
2011-07-04 22:52:44 +09:00
koichik
3e2abd12d3
Fixes #1260
...
RegExp object is no longer Function.
http://code.google.com/p/v8/issues/detail?id=617
2011-07-03 12:19:44 -07:00
Ryan Dahl
6d8b43c366
http: Fix agent id creation
...
Unbreaks test-regress-GH-877.js
2011-07-03 11:05:14 -07:00
Ryan Dahl
44d30f2d65
Fix require with --eval
...
Caused by bad merging of d6ec8f
Fixes #1261 .
2011-07-03 10:49:20 -07:00
Ryan Dahl
69d20f5352
use_uv: Correct readyState on connecting
2011-07-02 00:18:36 -07:00
Ryan Dahl
a1e8fcc5ae
Merge branch 'v0.4'
2011-07-01 20:32:41 -07:00
Ryan Dahl
5a2155dc71
Set process.useUV also on env NODE_USE_UV=1
2011-07-01 19:30:26 -07:00
Henry Rawas
56ec4e4f3c
net_uv: fix test-net-connect-timeout.js test
2011-07-01 17:53:48 -07:00
Ryan Dahl
efca5456b8
Fixes #877 . Don't wait for socket pool to establish connections.
...
Thanks to Yann Biancheri for putting together an initial test.
2011-07-01 15:49:42 -07:00
Ryan Dahl
f78f654131
Revert "debugger: don't allow users to input non-valid commands"
...
breaks 'print' command
This reverts commit 37d529f818 .
2011-07-01 15:38:53 -07:00
Ryan Dahl
70a8927a93
Upgrade libuv to ba1c38f to fix mingw build
2011-07-01 10:59:42 -07:00