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('/')
14 years ago
Ryan Dahl
b8bfbdab48
Rename SlowBuffer in binding
14 years ago
Ryan Dahl
5bc4efe820
Remove blobs, simplify SlowBuffer
Implement SlowBuffer.prototype.slice in js
14 years ago
Ryan Dahl
ba2e4a2306
Simplify fast buffer constructor
14 years ago
Ryan Dahl
3e9f636b64
Improve long buffer test
14 years ago
Ryan Dahl
17ba821e60
defineProperty is slow, don't use it for fastbuffer
14 years ago
Ryan Dahl
d3fcd1c75a
Expose SlowBuffer
14 years ago
Ryan Dahl
8b4f1e05f9
Expose Buffer.poolSize
14 years ago
Ryan Dahl
5506f99dfa
map charsWritten to fast buffer
14 years ago
Ryan Dahl
7b772f3f68
More fast buffer work
14 years ago
Ryan Dahl
d5bdda74c1
fast buffer bounds checking in copy()
14 years ago
Tim-Smart
6ea99721f1
string.length !== Buffer.byteLength(string)
14 years ago
Ryan Dahl
2dda6be799
Fast Buffer safe constructor
14 years ago
Ryan Dahl
b87669cbf4
Fix fastbuffer style
Fix style
14 years ago
Tim-Smart
2b07c9fcae
Some silly fixes to buffer.js
14 years ago
Tim-Smart
746d487da8
FastBuffer implementation. API needs migration
14 years ago
isaacs
ba0c32e2e1
Fix issue #262 . Allow fs.realpath to traverse above the current working directory.
14 years ago
Ryan Dahl
0e501f4ec5
Fix style; undefined reference bug
14 years ago
Tobie Langel
ccf4afa256
Do not emit WriteStream's drain event before ws.write has been called.
14 years ago
Tobie Langel
f5e4047064
Avoid closing a WriteStream before it has been opened.
14 years ago
Tobie Langel
75f922c863
Avoid missing ref error in WriteStream.prototype.destroy().
14 years ago
Ryan Dahl
24ac87f543
Increase ReadStream bufferSize to 64k
14 years ago
Trent Mick
1d961a6630
add ANSI coloring option to sys.inspect and, by default, to the repl
14 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*$/, '');
14 years ago
Ryan Dahl
1be722a271
Special deepEquals for buffer
14 years ago
Ryan Dahl
3c00ec4e48
typo: forceClose -> destroy for WriteStreams
14 years ago
isaacs
0e311717b5
Treat "//some_path" as pathname rather than hostname by default.
Note that "//" is still a special indicator for the hostname, and this does
not change the parsing of mailto: and other "slashless" url schemes. It
does however remove some oddness in url.parse(req.url) which is the most
common use-case for the url.parse function.
14 years ago
Marco Rogers
af9aa93e0c
fix for fs.readFile to return string when encoding specified on zero length read
14 years ago
Marco Rogers
9c7c6e93e1
Fixed async fs writes with length 0, it should fire the callback
14 years ago
Bradley Meck
d5214b3627
Allow Strings for ports on net.Server.listen
14 years ago
Johan Euphrosine
e49be4768b
add readline support for meta-d
14 years ago
Russell Haering
37b6e10684
Pass an error to the sys.pump callback if one occurs
- Add test case for pumping from unreadable stream.
- Document the sys.pump error handling behavior
14 years ago
Ryan Dahl
4fdebab005
Safe constructor: net.Server, net.Stream
14 years ago
Ryan Dahl
44a287987e
Safe constructors: http.Server and http.Client
14 years ago
Brian
d9eb64928e
Fix home/end keys in repl for putty/xterm.
14 years ago
Russell Haering
6078c37be5
Modify fs.open to use accept a callback without a mode
14 years ago
Johan Euphrosine
748469c71c
add readline support for meta-f and meta-b
14 years ago
Johan Euphrosine
fd3e84499e
add home/end support in rxvt and readline tests
14 years ago
isaacs
e55c486801
Missing 'var' in sys.inspect (Found by Oleg Slobodskoi)
14 years ago
Johan Euphrosine
0e1e00e68b
fix home/end on GNU/Linux
14 years ago
Ryan Dahl
2982e75a0b
set-cookies header is an array of values. always
14 years ago
Ryan Dahl
51ecba8da9
Add get/set methods to Buffer
14 years ago
Trent Mick
293809b8b6
drop obsolete TODO comment
14 years ago
Trent Mick
1aeaf8d289
repl tab completion: insert common prefix of multiple completions
14 years ago
Trent Mick
5c1ffa165f
repl completion: completion for arguments to "require"
14 years ago
Trent Mick
2134982ea4
repl completion: comment/TODO cleanup, no functional change
14 years ago
Herbert Vojčík
5dc2b93311
Fix sys.inspect for regex in different context.
14 years ago
Marco Rogers
6744e59e46
detect 0 length fs writes with tests
14 years ago