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
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
13 years ago
koichik
389e2a07e6
util: Fix inspection for Error
Fixes #1634 .
13 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)
13 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
13 years ago
Fedor Indutny
db6526f962
[debugger] deep cloning (depth = 3)
13 years ago
Fedor Indutny
69fa7ef65d
[debugger] fix slow repl evals inside async callbacks
13 years ago
Fedor Indutny
79265fe389
[debugger] rename function, add it to ignore list
13 years ago
Fedor Indutny
5a3639985a
[debugger] print data from child process' stdout and stderr
13 years ago
Fedor Indutny
3dd573e858
[debugger] nicier output, clear line before writing
13 years ago
Fedor Indutny
03adceec62
[debugger] more informative break message (reverting back partially)
13 years ago
Bert Belder
b5db0767d5
net_uv: fix 'set is undefined' error
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
8d7aade663
[debugger] call silent resume in debugEval to prevent incorrect cursor position after repl autocompletion, small refactor in readline
13 years ago
Igor Zinkovsky
65e6ba9cce
Enable link, symlink, and readlink on windows
13 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
13 years ago
Fedor Indutny
46382a728a
[debugger] resume stdin at right time when running code remotely
13 years ago
Fedor Indutny
d36d5c34df
[debugger] revert to using getter
13 years ago
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
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
koichik
fdbfc9ceb7
net: Socket write encoding case sensitivity
Fixes #1586 .
14 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.
14 years ago
Nathan Rajlich
cf24f561a3
repl: don't eval twice when an Error is thrown
14 years ago
Maciej Małecki
8d70cc607c
Show warning when using lib/sys.js
14 years ago