Fedor Indutny
57388d8b2e
[repl] add error handling for async scope fetching
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
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
Ryan Dahl
caaa59c559
Wrap uv_pipe_open, implement net.Stream(fd);
Fixes simple/test-child-process-ipc on unix.
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 .
14 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
Thomas Shinnick
e4ebeb630e
fs: minor corrections from examining stream read positioning
Fix minor typos, one small refactor, and change emit() in a constructor
to a throw
14 years ago
koichik
389e2a07e6
util: Fix inspection for Error
Fixes #1634 .
14 years ago
Fedor Indutny
df480e0357
fix syntax error handling for 'throw ...', fix return value assertion
13 years ago
Fedor Indutny
fe4b0f40d6
[debugger] fixed piping from stdout of child process, fixed eval in debug repl (when not on breakpoint)
14 years ago
Fedor Indutny
54520981a4
[debugger] implemented setBreakpoint, etc
Lift prototype methods not only as accessors, but as properties too.
this.print() supports javascript objects inspection
this.error() implemented, don't throw error at callbacks and commands
Fixed list() invokation, when script is not on a breakpoint
Removed obsolete process.nextTick from `step` commands
14 years ago
Fedor Indutny
db6526f962
[debugger] deep cloning (depth = 3)
14 years ago
Fedor Indutny
69fa7ef65d
[debugger] fix slow repl evals inside async callbacks
14 years ago
Fedor Indutny
79265fe389
[debugger] rename function, add it to ignore list
14 years ago
Fedor Indutny
5a3639985a
[debugger] print data from child process' stdout and stderr
14 years ago
Fedor Indutny
3dd573e858
[debugger] nicier output, clear line before writing
14 years ago
Fedor Indutny
03adceec62
[debugger] more informative break message (reverting back partially)
14 years ago
Bert Belder
b5db0767d5
net_uv: fix 'set is undefined' error
14 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
14 years ago
Fedor Indutny
8d7aade663
[debugger] call silent resume in debugEval to prevent incorrect cursor position after repl autocompletion, small refactor in readline
14 years ago
Igor Zinkovsky
65e6ba9cce
Enable link, symlink, and readlink on windows
14 years ago
Fedor Indutny
01349bbd70
[debugger] added synonyms for run, cont, next, step, out, shorten breakpoint message and do not output explicit debug> on breaks
14 years ago
Fedor Indutny
46382a728a
[debugger] resume stdin at right time when running code remotely
14 years ago
Fedor Indutny
d36d5c34df
[debugger] revert to using getter
14 years ago
Fedor Indutny
199f90b138
[debugger] fix messages
14 years ago
Fedor Indutny
22eb2d5084
[debugger] pause stdin on debugEval
14 years ago
Fedor Indutny
3b593c9ec5
[debugger] handle lookup error, no more need to handle SyntaxErrors
14 years ago
Fedor Indutny
e13ed4a8d0
[repl, readline] refactor async completion and execution
14 years ago
Fedor Indutny
2c2397d333
[debugger] simulate getters
14 years ago
Fedor Indutny
00343a9af0
[debugger] display message on repl(), do not display warnings on Ctrl+C
14 years ago
Fedor Indutny
77eb8eabe2
[debugger] use newly added `eval` argument for REPLServer
14 years ago
Fedor Indutny
0d4dc3a8b5
[repl] let self.eval be configurable on REPLServer initialization
14 years ago
Fedor Indutny
f549f2bf1d
[debugger] Fix help message
14 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).
14 years ago
Fedor Indutny
e01635eb9b
[debugger] port all commands
14 years ago
Fedor Indutny
eab65e214e
[repl] Async global completion
14 years ago
Fedor Indutny
134ab61131
[debugger] two repls, initial
14 years ago
Fedor Indutny
71a9aefa0f
[readline, repl] Fix completion grouping, fix parens eval results
handling
14 years ago
Fedor Indutny
42b8b77d9f
[repl, readline] async interface
Add async completion and execution interface for repl and readline
14 years ago
Fedor Indutny
bd69afbc83
[debugger] readline => repl
Started porting to high-level javascript API and repl.
14 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
98b64422bb
util: Divide inspect() into some subroutines
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
d0552949b9
url: add plus sign to protocol pattern
14 years ago
Bert Belder
8153a21613
Improve path parsing on windows
Closes #650
14 years ago
Bert Belder
b5d58f11cb
dgram-uv: black hole incoming messages after closing
Fixes test/simple/test-dgram-pingpong.js on windows
14 years ago
Bert Belder
e20d0c1cd0
net-uv: correctly set socket.remoteAddress and -port
closes #1345
14 years ago