Ryan Dahl
c9e27b11c5
Unify ErrnoException creation
15 years ago
Ryan Dahl
b0d1d6c2b9
Reset stdin, stdout fd flags on exit
In vim, lauching node as a child process would mess up the screen. This was
because Node was changing the flags on STDIN_FILENO and STDOUT_FILENO
(particularly adding O_NONBLOCK) but those flags leaked into the parent
process.
15 years ago
Ryan Dahl
fdf46a65c9
Use streams for stdout and stdin
15 years ago
Ryan Dahl
3eaaaffadb
Ignore EAGAIN in stderr dumps.
(Going out of the way to be sync)
15 years ago
Ryan Dahl
88b9359284
Fix stderr flushing problem
15 years ago
Ryan Dahl
ae1fc497bb
Fix stdout flush issue
http://github.com/ry/node/issues#issue/53
15 years ago
Ryan Dahl
a5df0f6a65
Prefix all source files with node_
15 years ago
Ryan Dahl
12c2ea05ca
Bugfix: 'data' event for stdio should emit a string
Was emitting a single element array where array[0] was the input.
15 years ago
Ryan
efb2b703a6
Remove compiler warning with extra assert.
16 years ago
Ryan
393caeb4c9
Add Exception::Error where missing.
16 years ago
Ryan
8890070b88
Introduce "raws" encoding. Raw String.
This allows you to have binary data imported into your application via
strings instead of arrays of numbers! This needs testing before release.
16 years ago
Ryan
21a1b045f5
Byte stream to V8 decoding and encoding.
This does not (should not) change behavior. Pulls those two functions
(encode/decode) out into node.cc.
16 years ago
Ryan
17c6a67f15
Introduce node.stdio
Remove old stdout, stderr, stdin objects.
16 years ago