isaacs
4d0456f827
Don't use stat in fs.readFile[Sync]
Original patch c/o Evan Larkin <evan.larkin.iit@gmail.com>
14 years ago
Tj Holowaychuk
893ebe7230
Fixed fs.ReadStream() start: 0 bug
14 years ago
Mikeal Rogers
cc1d61cbb3
HTTP: close connection on connection:close header.
rnewson found a good bug in keep-alive. we were only using the request
headers we send to enable/disable keep-alive but when the server sends
Connection: close we need to close down the connection regardless.
I wrote up a patch the Robert verified makes all his test client code work
now and I also added a new unittest for it.
14 years ago
Jorge Chamorro Bieling
fc334b3a97
sys.js: --needless Object.keys() --needless .map() in a single patch
14 years ago
Jorge Chamorro Bieling
8e246acd0e
sys.js: sys.inspect: show function names
14 years ago
Ryan Dahl
db73c71280
Pass correct message in HTTP client upgrade
Simplify and correct test.
Fix by Fedor Indutny.
14 years ago
Ryan Dahl
01b3418e2e
Move IOWatcher and Timer to process.binding
14 years ago
Ryan Dahl
31f8fa222e
Add require('constants')
14 years ago
Ryan Dahl
6eca948ca2
Move constants out of process object
14 years ago
Ryan Dahl
d2de8ba400
^c to get out of '...' in REPL
14 years ago
Ryan Dahl
42eb5a6898
Simplify REPL
14 years ago
Ryan Dahl
bbbcd1fee0
Safe constructors for fs.ReadStream and fs.WriteStream
14 years ago
Paul Querna
c8f9728de7
Move dns.isIP to net.isIP
Add tests and docs.
14 years ago
Ryan Dahl
251d03197f
Remove deprecation warnings in net module
14 years ago
Ryan Dahl
a63fd0fe56
Remove deprecation warnings in http module
14 years ago
Ryan Dahl
f08985c193
Handle writeStream errors in sys.pump
14 years ago
Herbert Vojčík
3e0a8f3ad8
Common subexpression in emit.
14 years ago
Sam Stephenson
6560ab9073
Send multiple header lines in ServerResponse#writeHead when header values are arrays
14 years ago
Ryan Dahl
6bdc42cee7
shorten some lines in events.js
14 years ago
Ryan Dahl
ae8f8e7258
Optimize emit for two arguments
14 years ago
Ryan Dahl
77fc61d539
Default value for second arg of Buffer#slice
14 years ago
Mark Nottingham
4fe3007a1a
Support for outgoing HTTP trailing headers
15 years ago
isaacs
686d9f9cc6
Bug in realpath with symlinks to absolute folder paths which have children.
Found by Cliffano Subagio
http://groups.google.com/group/nodejs/browse_thread/thread/f46f093938265ac0/387e14da08c7dd7b ?
14 years ago
Peter Griess
422d3c93bc
Get rid of PHP/Rails style parameter munging.
- Handle only the most basic of query string parsing and construction.
Leave the rest (e.g. Rails/PHP behaviors) to modules higher up the
stack, like Express.
14 years ago
Ryan Dahl
2d09ef8541
Fix style in readline
14 years ago
Ryan Dahl
0ef8a86af2
Add SIGWINCH handler for readline
14 years ago
Ryan Dahl
3a9570386a
Fix fs.realpathSync('/')
15 years ago
Ryan Dahl
b8bfbdab48
Rename SlowBuffer in binding
15 years ago
Ryan Dahl
5bc4efe820
Remove blobs, simplify SlowBuffer
Implement SlowBuffer.prototype.slice in js
15 years ago
Ryan Dahl
ba2e4a2306
Simplify fast buffer constructor
15 years ago
Ryan Dahl
3e9f636b64
Improve long buffer test
15 years ago
Ryan Dahl
17ba821e60
defineProperty is slow, don't use it for fastbuffer
15 years ago
Ryan Dahl
d3fcd1c75a
Expose SlowBuffer
15 years ago
Ryan Dahl
8b4f1e05f9
Expose Buffer.poolSize
15 years ago
Ryan Dahl
5506f99dfa
map charsWritten to fast buffer
15 years ago
Ryan Dahl
7b772f3f68
More fast buffer work
15 years ago
Ryan Dahl
d5bdda74c1
fast buffer bounds checking in copy()
15 years ago
Tim-Smart
6ea99721f1
string.length !== Buffer.byteLength(string)
15 years ago
Ryan Dahl
2dda6be799
Fast Buffer safe constructor
15 years ago
Ryan Dahl
b87669cbf4
Fix fastbuffer style
Fix style
15 years ago
Tim-Smart
2b07c9fcae
Some silly fixes to buffer.js
15 years ago
Tim-Smart
746d487da8
FastBuffer implementation. API needs migration
15 years ago
isaacs
ba0c32e2e1
Fix issue #262 . Allow fs.realpath to traverse above the current working directory.
15 years ago
Ryan Dahl
0e501f4ec5
Fix style; undefined reference bug
15 years ago
Tobie Langel
ccf4afa256
Do not emit WriteStream's drain event before ws.write has been called.
15 years ago
Tobie Langel
f5e4047064
Avoid closing a WriteStream before it has been opened.
15 years ago
Tobie Langel
75f922c863
Avoid missing ref error in WriteStream.prototype.destroy().
15 years ago
Ryan Dahl
24ac87f543
Increase ReadStream bufferSize to 64k
15 years ago
Trent Mick
1d961a6630
add ANSI coloring option to sys.inspect and, by default, to the repl
15 years ago
Trent Mick
5330fea954
Ctrl+W support for the REPL
FWIW, command-line style (delete back to whitespace) would be:
leading = leading.replace(/\S+\s*$/, '');
15 years ago