Ryan Dahl
9bcfc0745c
Revert "Implement os.isWindows"
This reverts commit 9e31e0837e
.
Use process.platform == 'win32'
14 years ago
Ryan Dahl
860e7a7a5f
debugger: don't hang on ^d and ^c
14 years ago
Ryan Dahl
4fa712c48f
debugger: error out without script
TODO:
debug> run script.js
14 years ago
Ryan Dahl
53f29d86c0
debugger: add uncaughtException handler to kill child
14 years ago
Ryan Dahl
0fa3f2febd
debugger: Correctly eval arrays and numbers
14 years ago
Ryan Dahl
533797a607
debugger: full scope evals
14 years ago
Ryan Dahl
d87ab5450b
debugger: Better backtraces
14 years ago
Ryan Dahl
7df8a05129
debugger: primative object inspection
14 years ago
Ryan Dahl
cb71a7dab3
debugger: take help message from commands
14 years ago
Ryan Dahl
29f48d48e5
A few more list clean ups
14 years ago
Ryan Dahl
09994438e5
Expose link-list from timers.js; add tests
14 years ago
Ryan Dahl
4e1e6a2d15
debugger: Don't break on handle === 0
14 years ago
Ryan Dahl
5f5201db2f
Fix test-net-connect-buffer
Change to end() behavior in 33c339 was breaking it. end() should wait for
connection before dumping. Changed test-net-connect-timeout to use destroy()
instead.
14 years ago
Ryan Dahl
5f795efd4e
net: Timeouts should work before DNS resolution
14 years ago
Ryan Dahl
33c33949b2
Add test for connection timeouts
Also make socket.end() destroy connection if still trying to connect.
Previously was ignoring.
14 years ago
Ryan Dahl
72589b60ad
debugger: Only display basename of scripts
14 years ago
Ryan Dahl
1b63bd16ed
tab completion for commands in debugger
14 years ago
Ryan Dahl
86160a8807
NODE_DEBUG=timer instead of bitflags
14 years ago
Ryan Dahl
82e9da9fb7
Allow one extra ms in timer diff
Fixes sporadic test-next-tick-ordering.js failures
14 years ago
isaacs
6f5d95de6d
child_process: Add gid/uid flags to spawn config
This is mostly working, but not completely ideal for two reasons.
1. Rather than emitting an error on the ChildProcess object when the
setgid/setuid fails, it is simply printing the error to stderr and
exiting. The same happens with the cwd, so that's not completely
terrible.
2. I don't have a good test for this. It fails with an EPERM if you try
to change the uid or gid as a non-root user.
14 years ago
Ryan Dahl
b9cfd9527a
getWindowSize/setWindowSize
14 years ago
Ryan Dahl
63bd237892
typo setuid -> setsid
14 years ago
Ryan Dahl
1f38046b51
tty.open() returns stream instead of slaveFD
Also is run in its own session.
14 years ago
Ryan Dahl
202dd8387f
Add setsid option to child_process
14 years ago
Ryan Dahl
9da75f39d9
Print error when EventEmitters get too many listeners
14 years ago
Ryan Dahl
e1f4b3f009
debugger: implement 'list'
14 years ago
Ryan Dahl
5580907c58
debugger: fix 'scripts' command
path.split() no longer available
14 years ago
Ryan Dahl
2e76cd382f
TLS: Forward errors to cleartext
But only after control has been inverted.
14 years ago
Ryan Dahl
5a05992155
Lint
14 years ago
Bert Belder
1ac133ea6f
Replace string magic + path.join by path.resolve
Because path.resolve is more elegant and windows-safe.
14 years ago
Bert Belder
dea2331377
Rework fs.realpath, primordal windows compatibility
14 years ago
Bert Belder
7c731ec9dd
Path.resolve, path module windows compatibility
Removes path.normalizeArray() and path.split()
14 years ago
Ryan Dahl
b6dafc1a47
Allow for two streams in REPL
Towards windows compatibility.
14 years ago
Ryan Dahl
b62152bc84
Rename net.Stream to net.Socket
14 years ago
Bert Belder
af15b4e45a
Remove path module dependency from url module
Now the path module can be adapted to support windows paths without breaking
the url module. It also allows the undocumented keepBlanks flag to be
removed from path.join and path.normalizeArray.
14 years ago
Bert Belder
9ddfcfecca
Remove keepBlanks flag from path functions
14 years ago
Bert Belder
9e31e0837e
Implement os.isWindows
14 years ago
Ryan Dahl
cda4d56bcf
Implement WriteStream.destroySoon
14 years ago
Ryan Dahl
bc1d758408
net.js: Check that readWatcher exists before pause, resume
14 years ago
Ryan Dahl
2957382991
Implement new stream method, destroySoon
Still missing on fs.WriteStream
14 years ago
Ryan Dahl
73f4ec51fd
hack for ending https connections
14 years ago
Ryan Dahl
94f8368cf9
First pass at new https server
14 years ago
Ryan Dahl
e4dd5cd6fd
NODE_DEBUG uses strings instead of bitflags
14 years ago
Ryan Dahl
d040f1d19d
debugger: use correct handle handle
14 years ago
Ryan Dahl
282cce1ea5
debugger: don't display whole path of scripts
14 years ago
Ryan Dahl
feb77eab65
Fix REPL for named functions
add some tests.
14 years ago
Ryan Dahl
c82fe30ca1
repl.js style
14 years ago
Ryan Dahl
00974df3e5
Allow for evaling statements in REPL too
14 years ago
Ryan Dahl
b45698e676
Improve how REPL commands are evaled
Before:
> {a: 1}
1
> (function() {
... // foo
... return 1;
... })();
...
Now:
> {a: 1}
{ a : 1 }
> (function() {
... // foo
... return 1;
... })();
1
>
14 years ago
Ryan Dahl
8f5f213a6f
Revert "Add optional filters to stream.pipe()"
This reverts commit 24aded078f
.
14 years ago