Ryan Dahl
5506f99dfa
map charsWritten to fast buffer
14 years ago
Ryan Dahl
ececd92f62
Fix base64 write for buffers
14 years ago
Ryan Dahl
1f947f7b41
remove unnecessary casts
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
1cf538a60a
Work to get C++ fast buffers. incomplete
14 years ago
Ryan Dahl
2dda6be799
Fast Buffer safe constructor
14 years ago
Ryan Dahl
565d862f3c
Fix buffer binding
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
Felix Geisendörfer
ef54777fa5
Fix: uncaughtException was broken for main module
See: 635986e433
14 years ago
Ryan Dahl
17f3ffa633
Call Tick() after coming out of select()
Previously we would only call it before going into select(). This is needed
to fix test/simple/test-next-tick-ordering2.js.
14 years ago
isaacs
ba0c32e2e1
Fix issue #262 . Allow fs.realpath to traverse above the current working directory.
14 years ago
Ryan Dahl
9a6d2c35a1
V8 Cygwin patch
14 years ago
Ryan Dahl
8796ed2278
Upgrade V8 to 2.4.2
14 years ago
Tobie Langel
512016fd74
Test for ReadStream typo
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
Herbert Vojčík
71651bf8b2
Make test-global work with NODE_MODULE_CONTEXTS.
14 years ago
Herbert Vojčík
6789ab16d8
Modifying test-global to accomodate v8 inter-context 'global' protection.
14 years ago
Herbert Vojčík
2a03d5802b
Removing test-global-between-modules.
Using "global" to push data to require()d modules
not supported under NODE_MODULE_CONTEXTS=1.
14 years ago
Herbert Vojčík
8718fa54f6
Removed comment-out code.
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
Felix Geisendörfer
cf4b5fc52a
Test case showing a bug in nextTick ordering
nextTick should fire before setTimeout in this test, but it doesn't.
14 years ago
Ryan Dahl
1d0fb850d9
test-http-parser should not use private API
14 years ago
Ryan Dahl
4fe5e86a7e
Don't refer to private API in test-repl
14 years ago
Ryan Dahl
1be722a271
Special deepEquals for buffer
14 years ago
Ryan Dahl
3c00ec4e48
typo: forceClose -> destroy for WriteStreams
14 years ago
Benjamin Thomas
cda1a38426
Fix bug in process._tickCallback where callbacks can get abandoned.
Change process._tickCallback so that if a callback throws an error but
there are other callbacks after it, we indicate that
process._tickCallback needs to be ran again.
Currently, if a callback in process._tickCallback throws an error, and
that error is caught by an uncaughtException handler and
process.nextTick is never called again, then any other callbacks already
added to the nextTickQueue won't be called again.
Updated the next-tick-errors test to catch this scenario.
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
Ryan Dahl
7347fb3e2c
Make sure setInterval(cb, 0) loops infinitely
14 years ago
Ryan Dahl
5be6ab6cdb
Fix style
14 years ago
Ryan Dahl
a055153cda
Fix style in test/simple/test-dgram-unix.js
14 years ago
Ryan Dahl
f188b9d6d7
Remove timer from test/simple/test-dgram-unix.js
Test running already has a timeout mechanism.
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
Fedor Indutny
db23af05b0
Constants should be readOnly and DontDelete
14 years ago
Ryan Dahl
635986e433
Add failing uncaughtException test
FIXME
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
Benjamin Thomas
57642e2349
Fix process.nextTick so thrown errors don't confuse it.
If the function for a process.nextTick throws an error, then the
splice() never removes that function from the nextTickQueue array. This
makes sure the functions that have been run in _tickCallback get removed
regardless of errors.
Also add a test for this.
14 years ago
Ryan Dahl
4fdebab005
Safe constructor: net.Server, net.Stream
14 years ago
Ryan Dahl
f86ad1693f
Safe Constructor: Buffer
14 years ago