koichik
d439c092c2
Improve util.format() compatibility with browser.
Fixes #1434 .
14 years ago
Ryan Dahl
43d7cfca18
gyp: fix test runner
14 years ago
Bert Belder
9e8d812ce9
Make test-child-process-exec-env work on windows
14 years ago
Ben Noordhuis
30d20cf405
Revert commits 12c8b27
and 88f416a
, fixed properly in 2fe4558
.
14 years ago
Ben Noordhuis
ac722bbed6
module: strip byte order marker when loading *.js and *.json files
BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.
Fixes #1440 .
14 years ago
Ben Noordhuis
f9cfd70946
test: fix bad test in test-cli-eval.js
The test checked that stdout was empty. Forgetting to escape brackets
in the argument to --eval made that true on UNIX systems: the error
was written to stderr.
Props to Peter Bright for reporting the issue.
14 years ago
Ben Noordhuis
12c8b27e24
test: fix exec-after-fork race in test/simple/test-child-process-kill.js
14 years ago
Mikeal Rogers
48dcb905f6
Update tests for http2.
14 years ago
Bert Belder
70bf121f21
Partial fix for test-child-process.cwd on windows
14 years ago
Ryan Dahl
2908f323e1
win: fix test-child-process-exec-cwd
14 years ago
Ryan Dahl
a44748b3d7
win2k3: fix test-child-process-env
14 years ago
Ryan Dahl
99c15e5661
child_process_uv: don't attempt to pass test-child-process-deprecated-api
14 years ago
Igor Zinkovsky
925b467a4e
fix test-child-process-env on windows
14 years ago
Ryan Dahl
1710bea355
Add a few more asserts to test/simple/test-child-process-stdin.js
14 years ago
Ryan Dahl
c48b2a98d8
windows: Fix test-module-load-list
14 years ago
Ryan Dahl
19a62589b2
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
14 years ago
Ryan Dahl
7772f21b60
initial pass at lib/child_process_uv.js
14 years ago
koichik
d3d8f1b972
Add %% escape to util.format()
Fixes #1273 .
14 years ago
Ryan Dahl
f01b241057
add wrapper for uv_spawn
process.binding('process_wrap')
14 years ago
Ben Noordhuis
874260b40f
util: add sprintf-like format() function
Fixes #1407 .
14 years ago
Fedor Indutny
9010f5fbab
Add support for TLS SNI
Fixes #1411
14 years ago
isaacs
703a1ffe52
Revert "AMD compatibility for node"
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
14 years ago
koichik
62aaf56d1b
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
14 years ago
koichik
8b3ba47f88
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
14 years ago
Ryan Dahl
799c7bdcb6
Fix test-module-load-list for use-uv
14 years ago
Ryan Dahl
8527f00c3c
Lazy load a few modules
14 years ago
Ryan Dahl
ea9ee1fb7e
Add process.moduleLoadList for better startup transparency
14 years ago
SAWADA Tadashi
d3a84bea7b
Fix crypto encryption/decryption with Base64.
Fixes #738 .
Fixes #1205 .
14 years ago
Felix Geisendörfer
1b3ebc32d7
Fix test-net-stream.js
I broke this in 09ee293
.
14 years ago
Felix Geisendörfer
09ee29318f
Emit 'close' after all connections have closed
Fixes #1383
14 years ago
Ben Noordhuis
df3a8fcb62
cli: don't print result of --eval
Fixes #572 .
14 years ago
Alexander Uvarov
14b75a126f
Add Socket::bytesRead, Socket::bytesWritten
14 years ago
Stefan Bühler
db993956d6
Fix crypto hmac to accept binary keys + add test cases from rfc 2202 and 4231
Fixes #324 .
Fixes #1027 .
Instead of converting buffers to strings and back again to char array
directly use the buffer data in hmac_init (same as in hmac_update).
14 years ago
koichik
50e147bd03
Add an optional length argument to Buffer.write()
Fixes #243 .
Fixes #1361 .
14 years ago
Daniel Pihlström
fa829b0fd3
convert nonbuffer data to string in fs.writeFile/Sync
Fixes #657 .
14 years ago
SAWADA Tadashi
e357acc55b
Fix crypto encryption/decryption with Base64.
Fixes #738 .
Fixes #1205 .
14 years ago
Ben Noordhuis
984dc057e3
net_uv: throw if Server.prototype.close() is called twice
Follows net_legacy behaviour.
14 years ago
Ben Noordhuis
345df289eb
test: test pipe API with raw net.Stream() object
Test case for #1379 .
14 years ago
Ben Noordhuis
4b77626add
test: make test-http-unix-socket use common.PIPE
Don't unlink the socket, that's the responsibility of libuv and/or node.
14 years ago
Ben Noordhuis
725fcf5587
test: add test-net-pingpong to `make test-uv` list
14 years ago
Bert Belder
3de406cc58
Add tests for process.nextTick bugs on windows
These are supposed to pass w/ libuv, so add them to the test-uv tests.
14 years ago
Trent Mick
bbf7e8ed5e
http: fix setting ServerResponse.statusCode in writeHead
Fixes #1374 .
14 years ago
Trent Mick
a8f96d3314
http: fix setting ServerResponse.statusCode in writeHead
Fixes #1374 .
14 years ago
Yoshihiro Kikuchi
d3d776f978
test: added test/simple/test-fs-watch-file.js
14 years ago
Ben Noordhuis
0c396c05fd
test: beef up checks in test-http-unix-socket.js, add to `make test-uv`
14 years ago
isaacs
588d885e81
Close #1357 Load json files with require()
Signed off by everybody.
14 years ago
Ben Noordhuis
1b0e054737
url: throw descriptive error if url argument to parse() is not a string
Fixes #568 .
14 years ago
isaacs
ddfc6b78cc
Close #1360 url: Allow _ in hostnames.
14 years ago
isaacs
dcecfc5f1b
Close #1360 url: Allow _ in hostnames.
14 years ago
Reid Burke
973153d1cc
Properly respond to HEAD during end(body) hot path
During write(), _hasBody is checked to make sure a body
is allowed -- this is now also checked during end(body)
when write() isn't used.
Concise final chunk for HEAD req's res.end(data).
Instead of simply clearing data, check _hasBody
earlier to avoid sending cruft when chunkedEncoding
is used.
Fixes #1291 .
14 years ago