Ryan Dahl
041c983290
Merge branch 'v0.4'
...
Conflicts:
deps/libev/wscript
doc/api/modules.markdown
2011-07-14 15:52:08 -07:00
Elijah Insua
b722aaa8c5
Close #1303 Stream.pipe returns the destination
...
Squashed:
* Simple change to make Stream.pipe(destination) return the destination Stream
* Test: ensure Stream.pipe(destination) returns the destination Stream
* updated Stream.pipe() documentation to reflect that it now returns the
destination stream
2011-07-14 14:25:49 -07:00
isaacs
9b5098f509
Close #1281 Make require a public member of module
...
Reviewed by @felixge
2011-07-14 14:25:49 -07:00
Henry Rawas
876712a074
test-tcp-wrap dont assume port 80 priveleged'
2011-07-14 14:18:47 -07:00
koichik
8caf7fdb05
Add tests for #1085 and #1304
...
Fixes #1327 .
2011-07-15 01:58:43 +09:00
koichik
a3e3ad40b1
Fix fs can't handle large file on 64bit platform
...
fs.read() and fs.write() can't handle more than 2GB files on 64bit platform.
Also fs.truncate() can't handle more than 4GB files.
Fixes #1199 .
Fixes #1094 .
2011-07-14 02:52:54 +09:00
koichik
5208abe723
Fix Buffer drops last null character in UTF-8
...
Reproduce:
$ node
> buf = new Buffer('\0')
<Buffer >
> buf.length
0
> buf = new Buffer(1)
<Buffer 28>
> buf.write('\0')
0
Fixes #394 .
Fixes #1210 .
2011-07-14 02:21:56 +09:00
koichik
5f97c9a005
Improvements AssertionError message
...
Fixes #217 .
2011-07-14 02:08:24 +09:00
Henry Rawas
9057d3f17e
fix isip test
2011-07-12 22:42:09 +02:00
koichik
8faf941109
Fixes #1267 .
...
Error message of JSON.parse() was changed.
2011-07-08 17:18:31 -07:00
Henry Rawas
1018e7d23f
isIP test
2011-07-08 10:36:16 -07:00
Henry Rawas
b6f6a1ca11
ipv6 node
2011-07-07 15:51:55 -07:00
Ben Noordhuis
b62ecdc5bb
Revert 3e2a2a7. Always send a HTTP/1.1 status line to the client.
2011-07-07 23:54:13 +02:00
Ben Noordhuis
3e8667d829
Revert 8dc8773. Always send a HTTP/1.1 status line to the client.
2011-07-07 23:49:31 +02:00
Jeremy Selier
2a848fa727
Close #1149 IDNA and Punycode support in url.parse
...
Using @bnoordhuis's punycode lib.
Close #1174 also
2011-07-06 13:17:50 -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
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
Bert Belder
72e18d7f19
dns_uv: match the old api better, fix tests
2011-07-05 21:17:17 +02: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
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
Ben Noordhuis
3e2a2a76fd
Test cases for #1234 : don't send HTTP/1.1 responses to HTTP/1.0 clients.
2011-07-05 01:41:37 +02:00
Ben Noordhuis
c6846565cf
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:38:07 +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
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
Bert Belder
858f23094e
Bindings for libuv-integrated c-ares
2011-07-05 00:17:20 +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
koichik
c60cdcda4e
Fix net.Socket.connect argument parsing
...
Fixes #1251 .
2011-07-05 00:52:16 +09: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
Ryan Dahl
6d8b43c366
http: Fix agent id creation
...
Unbreaks test-regress-GH-877.js
2011-07-03 11:05:14 -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
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
20996dbc2b
Revert "Add support for file descriptor type detection."
...
This reverts commit 911cbd0cef .
This patch is broken on Linux and I don't want to think about the
functionality during the Windows port. We can reconsider it after v0.6.
2011-06-29 15:25:11 +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
8cb5338f35
Fix test-tcp-wrap-listen
2011-06-28 13:56:02 +02:00
Henry Rawas
47a5d93256
Fix test-net-pingpong.js on windows
2011-06-28 13:52:36 +02:00
koichik
6c121edc60
Fix mismatch createConnection and Socket.connect
...
net.createConnection() is wrapper for net.Socket.connect(),
but There is mismatch between them.
net.createConnection(port, [host])
net.Socket.connect(port, [host], [callback])
Fixes #1208 .
2011-06-28 13:36:45 +02:00
Ben Noordhuis
c626f8bd8f
Test case for issue #1218 : uncatchable exception on TLS connection error.
2011-06-27 13:18:31 +02:00
koichik
d6ec8f668e
Fix -e/--eval can't load module from node_modules
...
With -e or --eval, require() can load module using relative path.
node -e 'require("./foo")'
But it can't load module from node_modules directory.
node -e 'require("foo")'
Fixes #1196 .
2011-06-20 13:47:27 +02:00
Ben Noordhuis
5c38163787
Fixes #1197 . Fix failing os.getNetworkInterfaces() test in test-os.js
2011-06-20 13:31:14 +02:00
Ryan Dahl
52b517c6ab
Revert "Add --cov code coverage option"
...
This can be done in user space. EG https://github.com/cloudkick/whiskey
This reverts commit da9b3340eb .
This reverts commit b4ff36a41b .
Conflicts:
src/node.cc
2011-06-17 14:03:05 +02:00
Ryan Dahl
9696c27c45
tcp_wrap: implement shutdown
2011-06-16 16:08:17 +02:00
Ryan Dahl
97296e405c
tcp_wrap: add writeQueueSize
2011-06-16 15:49:44 +02:00
Ryan Dahl
ddc989333d
tcp_wrap: implement socket.connect()
2011-06-16 15:33:47 +02:00