Ben Noordhuis
07804c7c9a
fs: don't segfault on deeply recursive stat()
Check that the calls to Integer::New() and Date::New() succeed and bail out if
they don't.
V8 returns an empty handle on stack overflow. Trying to set the empty handle as
a property on an object results in a NULL pointer dereference in release builds
and an assert in debug builds.
Fixes #4015 .
12 years ago
Bert Belder
b0d2795fe9
child process: fix processes with IPC channel don't emit 'close'
With this patch the IPC socket is no longer available in the
ChildProcess.stdio array. This shouldn't be very problematic, since
this socket was effectively non-functional; it would never emit any
events.
13 years ago
TJ Holowaychuk
ed7fb149a2
module: add filename to require() json errors
Otherwise it can be quite difficult to figure out which file is busted.
Closes #3580 .
13 years ago
isaacs
fce7c958ed
test: add deprecation fixture
13 years ago
Charlie McConnell
2eb181d28c
child_process: fix test implementation for options.detached
13 years ago
Charlie McConnell
4b021a3541
child_process: expose UV_PROCESS_DETACHED as options.detached
13 years ago
ssuda
fb7348ae06
crypto: add PKCS12/PFX support
Fixes #2845 .
13 years ago
Fedor Indutny
c3898f3c1f
debugger: support mirroring Date objects
* fixes #3203
13 years ago
Michael Thomas
4e4860579e
test: rebuild keys without asking for password
13 years ago
Ben Noordhuis
c56d1559fc
test: use the new net.listen(backlog=x) API
13 years ago
Lal Jérémy
ef046bf4f6
test: generate 1024-bit keys, pacify openssl 1.0.1
13 years ago
ssuda
9b672bcaa2
tls: parsing multiple values of a key in ssl certificate
Fixes #2864 .
13 years ago
Shigeki Ohtsu
59c3923672
process: show detailed error message in process.dlopen()
13 years ago
isaacs
d8c5ba2185
Change test fixture from symlink to regular file
The only test using this is test/simple/test-fs-chmod.js, and it was
treating a.js and a1.js as two separate files, resulting in a race
condition. (Interestingly enough, it was *not* using the symlink file to
test lchmod, which uses a different temp file.)
13 years ago
isaacs
92cb684e78
Change test fixture from symlink to regular file
The only test using this is test/simple/test-fs-chmod.js, and it was
treating a.js and a1.js as two separate files, resulting in a race
condition. (Interestingly enough, it was *not* using the symlink file to
test lchmod, which uses a different temp file.)
13 years ago
isaacs
0cdf85e28d
Lint all the JavaScripts.
13 years ago
Ben Noordhuis
81d18398a8
test: add --debug-brk regression test
13 years ago
isaacs
ff0f0aeb40
Fix #2507 Raise errors less agressively when destroying stdio streams
Also, if an error is already provided, then raise the provided
error, rather than throwing it with a less helpful 'stdout cannot
be closed' message.
This is important for properly handling EPIPEs.
13 years ago
Ben Noordhuis
70bc2e32af
test: new test, verify that we don't close and reuse fd 0
13 years ago
koichik
6392eba3f9
test: update an expired certificate
13 years ago
Bert Belder
232e8e19a1
Fix test-stdin-from-file
13 years ago
Ben Noordhuis
7defbd27ef
test: add DSA sign/verify crypto tests
13 years ago
Ben Noordhuis
9d3faf4f9a
crypto: add support for RSA public key signing/verification
13 years ago
Shigeki Ohtsu
e0f10ecfd9
debugger: correctly handle source with multi-byte characters
13 years ago
Fedor Indutny
b5d32d4a9e
debugger: do not request `continue` on connection
* Updated test
* Use `node debug file`, not `node debug -e "..."` in test
13 years ago
koichik
f53d092a2a
tls, https: add passphrase option
Fixes #1925 .
13 years ago
Igor Zinkovsky
0a5708c3e9
fix test-http-curl-chunk-problem.js and test-pipe-file-to-http.js on windows
13 years ago
Maciej Małecki
8f1ba251dd
test: #1899 - output in child process raises an exception
13 years ago
Ben Noordhuis
018e110cd1
test: replace .addListener() calls with .on()
13 years ago
isaacs
59a5262041
Fix #1882 zlib Update 'availOutBefore' value, and test
13 years ago
Ryan Dahl
ca4a0fce65
Remove test-child-process-channel.js
13 years ago
Ryan Dahl
12486a6437
Change API for sending handles
Does not support sending net.Server objects only raw TCPWrap objects.
13 years ago
Ryan Dahl
26c08a3f35
Do load balancing test in test-child-process-fork2.
13 years ago
Ryan Dahl
899358e797
Add test-child-process-fork2 and fixes to make it work
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Fedor Indutny
c26cf84a08
debugger: fix backtrace with no frames
Fixes #1768
13 years ago
Fedor Indutny
e406613ee5
test-debugger-repl improvements
13 years ago
Niclas Hoyer
b7e36f8584
added test case for foaf+ssl client certificate
14 years ago
koichik
6f60683802
tls: x509 certificate subject parsing fail
Fixes #1568 .
14 years ago
Bert Belder
c96ef84427
Revert "Make test-sync-fileread pass even when git cr/lf conversion is enabled"
We'll solve this problem with a .gitattributes file.
This reverts commit 27ef0b0903
.
14 years ago
Bert Belder
27ef0b0903
Make test-sync-fileread pass even when git cr/lf conversion is enabled
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
isaacs
703a1ffe52
Revert "AMD compatibility for node"
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
14 years ago
isaacs
7f0047c2d5
Close #1348 Remove require.paths
Module.globalPaths is still set to a read-only copy of the global
include paths pulled off of the NODE_PATH environment variable.
It's important to be able to inspect this, but modifying it no longer
has any effect.
14 years ago
isaacs
9b5098f509
Close #1281 Make require a public member of module
Reviewed by @felixge
14 years ago
Mathias Buus
39246f65df
Closes #1177 remove one node_modules optimization
to better support certain project structures.
14 years ago
Mark Cavage
88552c51ae
Support for signature verification with RSA/DSA public keys
Fixes #1166 .
14 years ago
isaacs
9967c369c9
AMD compatibility for node, with docs and tests
Closes #1173
Closes #1170
14 years ago
Ryan Dahl
9e26dab150
child_process.spawnNode
For making easy worker processes.
14 years ago
Ryan Dahl
296ff04cdc
Test to demonstrate #892
14 years ago