Fedor Indutny
199f90b138
[debugger] fix messages
13 years ago
Fedor Indutny
22eb2d5084
[debugger] pause stdin on debugEval
13 years ago
Fedor Indutny
3b593c9ec5
[debugger] handle lookup error, no more need to handle SyntaxErrors
13 years ago
Fedor Indutny
e13ed4a8d0
[repl, readline] refactor async completion and execution
13 years ago
Fedor Indutny
2c2397d333
[debugger] simulate getters
13 years ago
Fedor Indutny
00343a9af0
[debugger] display message on repl(), do not display warnings on Ctrl+C
13 years ago
Fedor Indutny
77eb8eabe2
[debugger] use newly added `eval` argument for REPLServer
13 years ago
Fedor Indutny
0d4dc3a8b5
[repl] let self.eval be configurable on REPLServer initialization
13 years ago
Fedor Indutny
f549f2bf1d
[debugger] Fix help message
13 years ago
Fedor Indutny
3b2577b4fe
[debugger] restructurize code, eval control repl asynchronously
Move commands closer to each other, use .debugEval and .controlEval for
controlling repl output (no more incorrect 'debug>' prints).
13 years ago
Fedor Indutny
e01635eb9b
[debugger] port all commands
13 years ago
Fedor Indutny
eab65e214e
[repl] Async global completion
13 years ago
Fedor Indutny
134ab61131
[debugger] two repls, initial
13 years ago
Fedor Indutny
71a9aefa0f
[readline, repl] Fix completion grouping, fix parens eval results
handling
13 years ago
Fedor Indutny
42b8b77d9f
[repl, readline] async interface
Add async completion and execution interface for repl and readline
13 years ago
Fedor Indutny
bd69afbc83
[debugger] readline => repl
Started porting to high-level javascript API and repl.
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
13 years ago
Ben Noordhuis
bb3a1d5b67
http: set .code='ECONNRESET' on socket hang up errors
Fixes #1672 .
13 years ago
koichik
6139459d45
util: Fix inspection for sparse array
Fixes #1651 .
13 years ago
koichik
98b64422bb
util: Divide inspect() into some subroutines
13 years ago
koichik
526c54c979
buffer: write() should always set _charsWritten.
Fixes #1633 .
13 years ago
Sean Cunningham
eb99083d0b
tls: add client-side session resumption support
13 years ago
Maciej Małecki
d0552949b9
url: add plus sign to protocol pattern
13 years ago
Bert Belder
8153a21613
Improve path parsing on windows
Closes #650
13 years ago
Bert Belder
b5d58f11cb
dgram-uv: black hole incoming messages after closing
Fixes test/simple/test-dgram-pingpong.js on windows
13 years ago
Bert Belder
e20d0c1cd0
net-uv: correctly set socket.remoteAddress and -port
closes #1345
13 years ago
Nathan Rajlich
44574bc39b
util: improve util.isDate() function
The old implementation was fragile. i.e. node-time is an example of a user-land
module that exports an extended Date object (with a few added functions on it's
own Date object's prototype). In that case, the old check fails.
13 years ago
Nathan Rajlich
cf24f561a3
repl: don't eval twice when an Error is thrown
13 years ago
Maciej Małecki
8d70cc607c
Show warning when using lib/sys.js
13 years ago
koichik
6f60683802
tls: x509 certificate subject parsing fail
Fixes #1568 .
13 years ago
Mikeal Rogers
7c87e092fb
Sockets should never be attached to a ClientRequest before nextTick().
This way the API for interacting directly with the socket object is
consistent before and after the Agent pool is exhausted.
Fixes #1601 .
13 years ago
Peter Lyons
a4eee3d28f
http: remove 'headers sent?' check in OutgoingMessage.getHeader()
Fixes #752 .
13 years ago
Ryan Dahl
16b3f2c3ff
Fix dns_uv.lookup order
13 years ago
Ryan Dahl
2876141c42
dns_uv: add localhost hack for windows
13 years ago
Ben Noordhuis
bba432f00e
dgram: add socket.fd compatibility hack to dgram_uv.js
13 years ago
Ben Noordhuis
cbd4033619
dgram: integrate libuv UDP support
13 years ago
Nathan Rajlich
8ec31a3362
Use Object.getPrototypeOf() on the object in the REPL tab-completion.
Some people use __proto__ to augment an Object's prototype after it's been created.
This patch helps make the "new" prototype properties visible if necessary.
This is also more consistent with the while logic below.
13 years ago
Ryan Dahl
ea156359e9
net_legacy: Fix throw typo
Thanks Tobi
13 years ago
koichik
485d5b5dff
dns: Force the DNS module to invoke callbacks asynchronously.
Fixes #1164 .
13 years ago
Ryan Dahl
e3413f08fd
net_uv: throw when people construct net.Socket(fd)
Easier to catch compatibility errors.
13 years ago
Ryan Dahl
c4454d2efc
net_uv: Don't error on ECONNRESET
Fixes #1571 .
13 years ago
Ryan Dahl
cf2e68d960
net_uv: handle read errors
13 years ago
Mikeal Rogers
103990b640
Fixes #1531
13 years ago
Ben Noordhuis
8e8f36f958
Fix #1546 some more. Remove expensive debug call.
13 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 .
13 years ago
Mikeal Rogers
584ae7b084
Remove http.cat. fixes #1447
13 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.
13 years ago
Thomas Shinnick
a5d90c435c
path.js: correct three harmless .length typos
lib/path.js routines normalizeArray() and resolve() have for loops that
count down from end of an array. The loop indexes are initialized using
"array.length" rather than "array.length-1". The initial array element
accessed is always beyond the end of array and the value is 'undefined'.
Strangely, code exists that acts to ignore undefined values so that the
typos are unnoticeable.
Existing tests emit no errors either before or after changing to "length-1".
Tests _do_ start failing at "length-2". (Actually it is node that starts
to fail at "length-2" - that's a valid enough test...)
13 years ago
Glen Low
04122ad2d3
crypto: PBKDF2 function from OpenSSL
13 years ago
Brian White
b7c23ac3f5
Incorporate endianness into buffer.read* function names instead of passing in a boolean flag
13 years ago