Bert Belder
4475b76535
Readline: use symbolic key names instead of ascii control codes
14 years ago
Bert Belder
8c9b2d1066
Readline: use tty methods instead of control sequences
14 years ago
Bert Belder
0b5bf70bff
Use tty.ReadStream and tty.WriteStream for stdio when appropriate
14 years ago
Bert Belder
87d898929f
Implement tty.ReadStream and tty.WriteStream
14 years ago
Alexis Sellier
66b418d6f3
make 'readyState' available to CryptoStream
14 years ago
Ryan Dahl
2f6cb66009
Add setEncoding to CryptoStream
14 years ago
Ryan Dahl
4d0416caf6
Add setNoDelay to cryptostream
14 years ago
Ryan Dahl
b22b5e341b
listen/bind errors should close net.Server
14 years ago
Ryan Dahl
2ec4cd5525
factor linklist code into own file
14 years ago
Bert Belder
6ad629895d
Make child_process.kill always work on windows
14 years ago
Bert Belder
0eb4c2157d
Define winsock error numbers
14 years ago
Bert Belder
dc99aa0c8c
Windows: implement missing stdio methods
14 years ago
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