Ryan Dahl
c1ae6ea2f2
Add TTYWrap
13 years ago
isaacs
d104bfd5a6
zlib: Fix test so that it's not trivially passing, then pass it.
Regression from the refactor to move more things into JS.
13 years ago
isaacs
5b8e1dabbc
Initial pass at zlib bindings
14 years ago
Ryan Dahl
cde81a6675
Revert "Add regression test for issue 1697"
Causing many test failures due to lingering process
This reverts commit 8b754a9e02
.
13 years ago
Bert Belder
8b754a9e02
Add regression test for issue 1697
13 years ago
Ryan Dahl
2d0b1ed7ad
Upgrade libuv to 2640aae
Add test for bug fixed in joyent/libuv@2640aae1
13 years ago
Ryan Dahl
b281171030
Support legacy API: process.stdout.fd
13 years ago
Ryan Dahl
5cb1fd2e32
net.Socket(fd) should start readable and writable
13 years ago
Ryan Dahl
8c87250816
Do not load readline from util.inspect
This causes all modules using console.log() to load readline which seems
unnecessary.
13 years ago
Ryan Dahl
0928f0f290
Fix test-module-load-list
and lazy load modules for process.stdout
This probably breaks test-module-load-list on windows, but it hopefully is
an easy fix to replace "_posix" bindings with "_win32".
13 years ago
Ryan Dahl
0aad61e802
Use net_uv instead of net_legacy for stdio
Also temporary hack to prevent process.stdout from keeping event loop alive
by calling uv_unref on process.stdout initialization.
13 years ago
isaacs
190abcac9d
mkdir EEXIST test
Fixed on uv 3c00d87b4239a6b8358e2085f806170c3eca10cf
13 years ago
Thomas Shinnick
7dc2c492e9
fs: unguarded fs.watchFile cache statWatchers checking fixed
Use hasOwnProperty to check filepath cache; previous code could fail if
a filepath duplicated a chained property name.
Fixes #1637 .
13 years ago
Thomas Shinnick
e58c036c27
fs: add positioned file writing feature to fs.WriteStream
Patterned on same feature in ReadStream; a small bit of new code added
plus two refactorings of previous code; added two test files.
Fixes #1645 .
13 years ago
koichik
389e2a07e6
util: Fix inspection for Error
Fixes #1634 .
14 years ago
Bert Belder
10e7c52a70
win: make test-cli-eval.js pass
13 years ago
Fedor Indutny
8c2c7bb8a9
vm context with accessors
fixes #1673
14 years ago
Igor Zinkovsky
79ce48d3f0
fix for test-fs-chmod
13 years ago
Igor Zinkovsky
85357abba1
fix test-fs-chmod test
13 years ago
Ryan Dahl
26834b0524
Revert "vm context with accessors"
This reverts commit 4527de8cba
.
Causes segfault in test/message/undefined_reference_in_new_context.js
13 years ago
Fedor Indutny
4527de8cba
vm context with accessors
true copy of sandbox properties
catch sealed errors, pass global's prototype to CloneObject
Fixes #1673
14 years ago
Ben Noordhuis
bb3a1d5b67
http: set .code='ECONNRESET' on socket hang up errors
Fixes #1672 .
14 years ago
koichik
6139459d45
util: Fix inspection for sparse array
Fixes #1651 .
14 years ago
koichik
526c54c979
buffer: write() should always set _charsWritten.
Fixes #1633 .
14 years ago
Sean Cunningham
eb99083d0b
tls: add client-side session resumption support
14 years ago
Maciej Małecki
fb93ab4125
test: test for correct parsing of URLs with plus character in protocol
14 years ago
Bert Belder
8153a21613
Improve path parsing on windows
Closes #650
14 years ago
Ben Noordhuis
2d9ab49239
file: fix errno propagation in sync fs calls
Include libuv fs error code in the JS exception.
Fixes #1657 .
14 years ago
Bert Belder
e20d0c1cd0
net-uv: correctly set socket.remoteAddress and -port
closes #1345
14 years ago
koichik
28a908471d
crypto: Fix BIO's usage.
Fixes #1612 .
Fixes #1296 .
14 years ago
Niclas Hoyer
b7e36f8584
added test case for foaf+ssl client certificate
14 years ago
Nathan Rajlich
cafcc7e67a
test: add test case for util.isDate() behavior
14 years ago
koichik
6f60683802
tls: x509 certificate subject parsing fail
Fixes #1568 .
14 years ago
Peter Lyons
d2defa3012
test: test for issue #752
14 years ago
koichik
43cdbec3be
test: simple/test-tls-client-abort fails on SunOS
Fixes #1583 .
14 years ago
Ben Noordhuis
accc34c50f
test: fix simple/test-eval
Test expects output of console.error(process.argv) to be spread out
over several lines but if /path/to/node is short, it stays on a single line.
14 years ago
Ryan Dahl
52a40e0fd5
Add process.features.debug; fixes simple/test-executable-path.js
14 years ago
Ryan Dahl
4e1d6fca8e
Mark tests which are broken in libuv
14 years ago
Ryan Dahl
a7300c8297
WAF builds in out/ instead of build/
14 years ago
Ryan Dahl
879eb16280
Have WAF variants match GYP configuration names
14 years ago
koichik
485d5b5dff
dns: Force the DNS module to invoke callbacks asynchronously.
Fixes #1164 .
14 years ago
Maciej Małecki
94963ab39a
Add failing test for https2 compatibility
Issue #1531
14 years ago
Ryan Dahl
f5db3f1f85
Fix #1563 . overflow in ChildProcess custom_fd.
14 years ago
koichik
4cf931db17
http: improve compatibility of legacy API
In http1, legacy http.Client shares one connection with multiple requests.
But in http2, it uses concurrent connections.
With --use-http1, test/simple/test-http-legacy.js passes.
However, it fails without --use-http1 (use http2).
This improves compatibility of legacy http.Client API between http1 and http2.
Fixes #1530 .
14 years ago
koichik
8293bb8a32
test: refactored http test.
Many http tests had used legacy http.Client.
This refactored it to use modern API.
Fixes #1528 .
14 years ago
Antranig Basman
c05936ca13
vm: fix incorrect dispatch of vm.runInContext for argument "filename"
Adds test case and documentation for vm.runInContext and vm.createContext.
Fixes #1140 .
14 years ago
Mikeal Rogers
584ae7b084
Remove http.cat. fixes #1447
14 years ago
Nathan Rajlich
54b409d650
util: isRegExp() should not call toString() on its argument
An overloaded toString() method may have side effects
so don't call it for a simple type check.
14 years ago
Thomas Shinnick
59b815b097
test: add typed arrays to known globals list
14 years ago
Glen Low
04122ad2d3
crypto: PBKDF2 function from OpenSSL
14 years ago