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
Sami Samhuri
e5a47c8ce1
use util.inspect to format objects and arrays printed to the console
14 years ago
Daniel C
ca8cc71bd0
EventEmitter.prototype.once should "return this;"
14 years ago
Ryan Dahl
af6662d5e5
debugger: Prompt before quitting
14 years ago
Ryan Dahl
7b9a2f29b4
debugger: Don't prompt until child is killed
14 years ago
Ryan Dahl
aea568b04a
Fix some errors in debugger tests
14 years ago
Ryan Dahl
294bcb33e6
debugger: Fix some parser issues
Wouldn't handle events if it got backed up.
14 years ago
Ryan Dahl
62e0ca05a6
debugger: Disable/Enable raw mode for child
14 years ago
Ryan Dahl
0946474b5c
debugger: Clean ups, bug fixes
14 years ago
Ryan Dahl
866201bd74
debugger: add 'kill' command
14 years ago
Ryan Dahl
a3c4e17c2a
debugger: repeat command functionality
14 years ago
Ryan Dahl
074af67dd3
debugger: don't display node's internal scripts
14 years ago
Ryan Dahl
d4859a55bc
Wrap up debugger in one class
just for better readablity
14 years ago
Ryan Dahl
109f845e49
debugger: style
14 years ago
Ryan Dahl
9244a64b59
debugger: Print error if executing command that requires being connected
14 years ago
Ryan Dahl
481329ee7c
debugger: clean up
14 years ago
Ryan Dahl
f484cbf4c7
Debugger: better maintance of script list
14 years ago
Ryan Dahl
bb400d5697
debugger: Work towards interactive restart
14 years ago
Ryan Dahl
e33d0de129
debugger: Clean up child
14 years ago
Ryan Dahl
90e55c3357
Rather have the debugger be parent process
14 years ago