Tobie Langel
5bbebf3593
Do not emit WriteStream's drain event before ws.write has been called.
2010-09-08 17:56:12 -07:00
Tobie Langel
0b9dab650e
Avoid closing a WriteStream before it has been opened.
2010-09-08 17:55:58 -07:00
Tobie Langel
a6659e7612
Avoid missing ref error in WriteStream.prototype.destroy().
2010-09-08 17:55:53 -07:00
Herbert Vojčík
727843eea1
Make test-global work with NODE_MODULE_CONTEXTS.
2010-09-08 17:55:44 -07:00
Herbert Vojčík
7e9a0173d7
Modifying test-global to accomodate v8 inter-context 'global' protection.
2010-09-08 17:55:38 -07:00
Herbert Vojčík
74b70c3cb1
Removing test-global-between-modules.
...
Using "global" to push data to require()d modules
not supported under NODE_MODULE_CONTEXTS=1.
2010-09-08 17:55:33 -07:00
Herbert Vojčík
d5deb4c4a3
Removed comment-out code.
2010-09-08 17:48:52 -07:00
Ryan Dahl
cc0164bc12
Increase ReadStream bufferSize to 64k
2010-09-08 17:48:45 -07:00
Trent Mick
ccd1304c5b
Ctrl+W support for the REPL
...
FWIW, command-line style (delete back to whitespace) would be:
leading = leading.replace(/\S+\s*$/, '');
2010-09-08 17:48:15 -07:00
Felix Geisendörfer
3d3d00d524
Test case showing a bug in nextTick ordering
...
nextTick should fire before setTimeout in this test, but it doesn't.
2010-09-08 17:48:02 -07:00
Ryan Dahl
dffa9e76a1
test-http-parser should not use private API
2010-09-08 17:47:36 -07:00
Ryan Dahl
90374797f0
Don't refer to private API in test-repl
2010-09-08 17:47:30 -07:00
Ryan Dahl
c1a4e10156
Special deepEquals for buffer
2010-09-08 17:47:23 -07:00
Ryan Dahl
b655ce5c08
typo: forceClose -> destroy for WriteStreams
2010-09-08 17:47:17 -07:00
Benjamin Thomas
b30b60717d
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.
2010-09-08 17:46:58 -07:00
isaacs
b2dfea0361
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.
2010-09-08 17:46:50 -07:00
Ryan Dahl
610743daee
Make sure setInterval(cb, 0) loops infinitely
2010-09-08 17:46:43 -07:00
Ryan Dahl
df891c36a4
Fix style
2010-09-08 17:46:36 -07:00
Ryan Dahl
f35a8298b1
Fix style in test/simple/test-dgram-unix.js
2010-09-08 17:46:30 -07:00
Ryan Dahl
294c455678
Remove timer from test/simple/test-dgram-unix.js
...
Test running already has a timeout mechanism.
2010-09-08 17:46:24 -07:00
Marco Rogers
14f16ec592
fix for fs.readFile to return string when encoding specified on zero length read
2010-09-08 17:45:26 -07:00
Marco Rogers
cdee88051d
Fixed async fs writes with length 0, it should fire the callback
2010-09-08 17:45:21 -07:00
Bradley Meck
b39b15d53f
Allow Strings for ports on net.Server.listen
2010-09-08 17:45:07 -07:00
Fedor Indutny
b895568800
Constants should be readOnly and DontDelete
2010-09-08 17:44:40 -07:00
Ryan Dahl
ead58b9a93
Add failing uncaughtException test
...
FIXME
2010-09-08 17:44:30 -07:00
Johan Euphrosine
c306fa241c
add readline support for meta-d
2010-09-08 17:44:13 -07:00
Benjamin Thomas
22f67f8585
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.
2010-09-08 17:43:47 -07:00
Ryan Dahl
416aa73946
Safe constructor: net.Server, net.Stream
2010-09-08 17:43:39 -07:00
Ryan Dahl
6a39a7ed83
Safe Constructor: Buffer
2010-09-08 17:43:32 -07:00
Ryan Dahl
ad960f4462
Safe constructors: http.Server and http.Client
2010-09-08 17:43:25 -07:00
Ryan Dahl
f78691e45c
Only check for execinfo lib in freebsd
...
OpenEmbedded doesn't like it when you look in /usr/lib
2010-09-08 17:43:17 -07:00
Johan Euphrosine
3d8137c582
add test for readline putty support
2010-09-08 17:42:59 -07:00
Brian
c14c445cb6
Fix home/end keys in repl for putty/xterm.
2010-09-08 17:42:47 -07:00
Russell Haering
b9ca8435f5
Modify fs.open to use accept a callback without a mode
2010-09-08 17:42:36 -07:00
Johan Euphrosine
baa24bd40e
add readline support for meta-f and meta-b
2010-09-08 17:42:23 -07:00
Johan Euphrosine
7a836ef813
add home/end support in rxvt and readline tests
2010-09-08 17:42:09 -07:00
Felix Geisendörfer
a2b9e02d83
Document WriteStream 'open' event
2010-09-08 17:41:59 -07:00
isaacs
3f7c791b13
Add testing items, and make npm lowercase
2010-09-08 17:40:59 -07:00
isaacs
53dac7c341
Missing 'var' in sys.inspect (Found by Oleg Slobodskoi)
2010-09-08 17:40:50 -07:00
Aria Stewart
c43ddf7acd
Fix doc.js so that it doesn't misnest menu items in the TOC
2010-09-08 17:40:41 -07:00
Johan Euphrosine
699fdfaa43
fix home/end on GNU/Linux
2010-09-08 17:40:35 -07:00
Johan Euphrosine
8d2e79451e
add tests for console.log arguments handling
2010-09-08 17:40:26 -07:00
Aria Stewart
760efc0758
s/HTTPS/SSL/ where appropriate
2010-09-08 17:39:55 -07:00
Ryan Dahl
1b1ad1d363
Improve appendix markdown
2010-09-08 17:39:38 -07:00
Ryan Dahl
c3eafdd3a4
Add appendix to docs
2010-09-08 17:39:28 -07:00
Ryan Dahl
7fc794a8ec
Fix default encoding in docs
2010-08-20 08:49:20 -07:00
Ryan Dahl
4fcbc1b64a
Update make website-upload
2010-08-20 02:00:37 -07:00
Ryan Dahl
9283e134e5
bump version
v0.2.0
2010-08-20 01:53:08 -07:00
Ryan Dahl
51ecba8da9
Add get/set methods to Buffer
2010-08-19 23:29:06 -07:00
Ryan Dahl
0c20c588af
Remove YAWS vs Apache benchmark
...
http://twitter.com/bascule/status/21626934378
2010-08-19 19:25:00 -07:00