Trent Mick [Sat, 4 Sep 2010 04:25:35 +0000 (21:25 -0700)]
add ANSI coloring option to sys.inspect and, by default, to the repl
Trent Mick [Sat, 4 Sep 2010 04:53:53 +0000 (21:53 -0700)]
Ctrl+W support for the REPL
FWIW, command-line style (delete back to whitespace) would be:
leading = leading.replace(/\S+\s*$/, '');
Felix Geisendörfer [Wed, 8 Sep 2010 05:34:21 +0000 (07:34 +0200)]
Test case showing a bug in nextTick ordering
nextTick should fire before setTimeout in this test, but it doesn't.
Ryan Dahl [Mon, 6 Sep 2010 19:18:46 +0000 (12:18 -0700)]
test-http-parser should not use private API
Ryan Dahl [Mon, 6 Sep 2010 19:12:36 +0000 (12:12 -0700)]
Don't refer to private API in test-repl
Ryan Dahl [Tue, 7 Sep 2010 23:28:49 +0000 (16:28 -0700)]
Special deepEquals for buffer
Ryan Dahl [Sun, 5 Sep 2010 09:27:02 +0000 (02:27 -0700)]
typo: forceClose -> destroy for WriteStreams
Benjamin Thomas [Wed, 1 Sep 2010 11:01:38 +0000 (05:01 -0600)]
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.
isaacs [Wed, 1 Sep 2010 00:59:50 +0000 (17:59 -0700)]
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.
Ryan Dahl [Tue, 31 Aug 2010 23:45:17 +0000 (16:45 -0700)]
Make sure setInterval(cb, 0) loops infinitely
Ryan Dahl [Mon, 30 Aug 2010 23:35:58 +0000 (16:35 -0700)]
Fix style
Ryan Dahl [Mon, 30 Aug 2010 21:17:27 +0000 (14:17 -0700)]
Fix style in test/simple/test-dgram-unix.js
Ryan Dahl [Mon, 30 Aug 2010 21:15:28 +0000 (14:15 -0700)]
Remove timer from test/simple/test-dgram-unix.js
Test running already has a timeout mechanism.
Marco Rogers [Wed, 25 Aug 2010 04:36:08 +0000 (00:36 -0400)]
fix for fs.readFile to return string when encoding specified on zero length read
Marco Rogers [Wed, 25 Aug 2010 03:46:37 +0000 (23:46 -0400)]
Fixed async fs writes with length 0, it should fire the callback
Bradley Meck [Mon, 30 Aug 2010 20:26:53 +0000 (13:26 -0700)]
Allow Strings for ports on net.Server.listen
Fedor Indutny [Mon, 30 Aug 2010 09:04:31 +0000 (16:04 +0700)]
Constants should be readOnly and DontDelete
Ryan Dahl [Mon, 30 Aug 2010 19:02:01 +0000 (12:02 -0700)]
Add failing uncaughtException test
FIXME
Johan Euphrosine [Wed, 25 Aug 2010 08:18:24 +0000 (10:18 +0200)]
add readline support for meta-d
Russell Haering [Mon, 23 Aug 2010 20:12:57 +0000 (13:12 -0700)]
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
Benjamin Thomas [Fri, 27 Aug 2010 08:50:12 +0000 (02:50 -0600)]
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.
Ryan Dahl [Fri, 27 Aug 2010 22:38:46 +0000 (15:38 -0700)]
Safe constructor: net.Server, net.Stream
Ryan Dahl [Fri, 27 Aug 2010 22:23:39 +0000 (15:23 -0700)]
Safe Constructor: Buffer
Ryan Dahl [Fri, 27 Aug 2010 20:58:52 +0000 (13:58 -0700)]
Safe constructors: http.Server and http.Client
Ryan Dahl [Fri, 27 Aug 2010 13:20:18 +0000 (06:20 -0700)]
Only check for execinfo lib in freebsd
OpenEmbedded doesn't like it when you look in /usr/lib
Johan Euphrosine [Mon, 23 Aug 2010 17:21:27 +0000 (19:21 +0200)]
add test for readline putty support
Brian [Mon, 23 Aug 2010 12:15:16 +0000 (08:15 -0400)]
Fix home/end keys in repl for putty/xterm.
Russell Haering [Mon, 23 Aug 2010 06:55:22 +0000 (23:55 -0700)]
Modify fs.open to use accept a callback without a mode
Johan Euphrosine [Sun, 22 Aug 2010 05:50:40 +0000 (07:50 +0200)]
add readline support for meta-f and meta-b
Johan Euphrosine [Sun, 22 Aug 2010 03:55:34 +0000 (05:55 +0200)]
add home/end support in rxvt and readline tests
Felix Geisendörfer [Mon, 23 Aug 2010 08:26:19 +0000 (10:26 +0200)]
Document WriteStream 'open' event
isaacs [Mon, 23 Aug 2010 03:18:25 +0000 (20:18 -0700)]
Add testing items, and make npm lowercase
isaacs [Sun, 22 Aug 2010 20:37:08 +0000 (13:37 -0700)]
Missing 'var' in sys.inspect (Found by Oleg Slobodskoi)
Aria Stewart [Sun, 22 Aug 2010 05:36:33 +0000 (23:36 -0600)]
Fix doc.js so that it doesn't misnest menu items in the TOC
Johan Euphrosine [Fri, 20 Aug 2010 11:16:42 +0000 (13:16 +0200)]
fix home/end on GNU/Linux
Johan Euphrosine [Tue, 17 Aug 2010 17:07:45 +0000 (19:07 +0200)]
add tests for console.log arguments handling
Aria Stewart [Sat, 21 Aug 2010 21:26:42 +0000 (15:26 -0600)]
s/HTTPS/SSL/ where appropriate
Ryan Dahl [Sat, 21 Aug 2010 23:34:38 +0000 (16:34 -0700)]
set-cookies header is an array of values. always
Ryan Dahl [Sat, 21 Aug 2010 08:19:39 +0000 (01:19 -0700)]
Improve appendix markdown
Ryan Dahl [Sat, 21 Aug 2010 07:30:18 +0000 (00:30 -0700)]
Add appendix to docs
Ryan Dahl [Fri, 20 Aug 2010 15:49:20 +0000 (08:49 -0700)]
Fix default encoding in docs
Ryan Dahl [Fri, 20 Aug 2010 09:00:37 +0000 (02:00 -0700)]
Update make website-upload
Ryan Dahl [Fri, 20 Aug 2010 08:52:58 +0000 (01:52 -0700)]
bump version
Ryan Dahl [Fri, 20 Aug 2010 06:29:06 +0000 (23:29 -0700)]
Add get/set methods to Buffer
Ryan Dahl [Fri, 20 Aug 2010 02:24:45 +0000 (19:24 -0700)]
Remove YAWS vs Apache benchmark
http://twitter.com/bascule/status/
21626934378
Tim Caswell [Fri, 20 Aug 2010 01:58:28 +0000 (18:58 -0700)]
Make process.nextTick worlds faster for large queues.
Ryan Dahl [Fri, 20 Aug 2010 01:49:27 +0000 (18:49 -0700)]
Fix race conditions in test-dgram-multicast.js
Ryan Dahl [Thu, 19 Aug 2010 08:40:28 +0000 (01:40 -0700)]
Add buffer_creation benchmark
Trent Mick [Wed, 18 Aug 2010 04:04:56 +0000 (21:04 -0700)]
drop obsolete TODO comment
Trent Mick [Tue, 17 Aug 2010 23:53:27 +0000 (16:53 -0700)]
repl tab completion: insert common prefix of multiple completions
Trent Mick [Tue, 17 Aug 2010 15:39:54 +0000 (08:39 -0700)]
repl completion: completion for arguments to "require"
Trent Mick [Thu, 12 Aug 2010 16:50:12 +0000 (09:50 -0700)]
repl completion: comment/TODO cleanup, no functional change
Herbert Vojčík [Wed, 18 Aug 2010 23:37:45 +0000 (01:37 +0200)]
Making "root" available in both context and non-context mode.
Ryan Dahl [Thu, 19 Aug 2010 05:50:12 +0000 (22:50 -0700)]
Fix V8 build for old gcc
also sent upstream: http://codereview.chromium.org/3130033/show
Herbert Vojčík [Tue, 17 Aug 2010 20:59:14 +0000 (22:59 +0200)]
Fix undefined_reference_in_new_context test for own-context module loader.
Ryan Dahl [Wed, 18 Aug 2010 20:16:32 +0000 (13:16 -0700)]
Fix process.platform
Herbert Vojčík [Wed, 18 Aug 2010 15:47:36 +0000 (17:47 +0200)]
Tests for behaviour of 'global'.
Herbert Vojčík [Tue, 17 Aug 2010 20:49:43 +0000 (22:49 +0200)]
Fix sys.inspect for regex in different context.
Herbert Vojčík [Tue, 17 Aug 2010 20:19:19 +0000 (22:19 +0200)]
Fix registerExtension for NODE_MODULE_CONTEXTS
Fix of registerExtension-produced non-string module loading with own
context. Plus finishing touches to the test.
Ryan Dahl [Tue, 17 Aug 2010 18:24:10 +0000 (11:24 -0700)]
Add process.versions
Ryan Dahl [Tue, 17 Aug 2010 15:43:26 +0000 (08:43 -0700)]
Add Paul Querna's io benchmarks
Herbert Vojčík [Tue, 17 Aug 2010 15:21:43 +0000 (17:21 +0200)]
More changes to tests so they really work under context module loader.
Plus, getting rid of test/common.js defining things in global.
Herbert Vojčík [Tue, 17 Aug 2010 13:38:57 +0000 (15:38 +0200)]
Typo in comment.
Ryan Dahl [Tue, 17 Aug 2010 15:37:25 +0000 (08:37 -0700)]
Upgrade V8 to 2.3.8
Ryan Dahl [Tue, 17 Aug 2010 15:16:43 +0000 (08:16 -0700)]
Add TODO
Ryan Dahl [Tue, 17 Aug 2010 15:15:46 +0000 (08:15 -0700)]
Simplify loading events.js
Herbert Vojčík [Tue, 17 Aug 2010 10:59:36 +0000 (12:59 +0200)]
Fix of 'sys.common.debug' calls in tests.
Marco Rogers [Tue, 17 Aug 2010 04:10:49 +0000 (00:10 -0400)]
detect 0 length fs writes with tests
Herbert Vojčík [Mon, 16 Aug 2010 21:15:00 +0000 (23:15 +0200)]
Get away uint/int comparision warning.
Ryan Dahl [Sun, 15 Aug 2010 21:27:05 +0000 (14:27 -0700)]
Add --without-snapshot configure option
Ryan Dahl [Sun, 15 Aug 2010 21:01:44 +0000 (14:01 -0700)]
Implement net.Server.maxConnections
Simplify EMFILE behavior.
Illarionov Oleg [Sun, 18 Jul 2010 08:52:09 +0000 (12:52 +0400)]
Fix OpenSSL 100% CPU usage on error
Herbert Vojčík [Sun, 15 Aug 2010 17:23:50 +0000 (19:23 +0200)]
Refactor of resolveModulePath to make it clearer.
Herbert Vojčík [Sun, 15 Aug 2010 00:48:06 +0000 (02:48 +0200)]
Clean up findModulePath
Separating "what to traverse" from "how to traverse and what to do with it "
in findModulePath. It may also fix one not-yet-found bug (absolute ids
weren't loaded when dirs.length = 0).
Herbert Vojčík [Sat, 14 Aug 2010 23:13:54 +0000 (01:13 +0200)]
Using Array.isArray for Array testing in findModulePath.
Ryan Dahl [Sat, 14 Aug 2010 21:23:09 +0000 (14:23 -0700)]
Remove TODO item
Vanilla Hsu [Sat, 14 Aug 2010 04:49:54 +0000 (12:49 +0800)]
Add freebsd's process.title support.
Ryan Dahl [Fri, 13 Aug 2010 15:06:31 +0000 (08:06 -0700)]
bump version
Ryan Dahl [Fri, 13 Aug 2010 15:54:40 +0000 (11:54 -0400)]
Fix tests
Ryan Dahl [Fri, 13 Aug 2010 15:13:54 +0000 (08:13 -0700)]
Remove platform specific asserts
Ryan Dahl [Fri, 13 Aug 2010 14:43:53 +0000 (07:43 -0700)]
Revert "Upgrade V8 to 2.3.7"
This reverts commit
083ee0f8b7a8d98d51bf2debf47d68117f13087f.
V8 build broken on cygwin:
./deps/v8/src/handles.h:62: instantiated from `T*
v8::internal::Handle<T>::operator->() const [with T = v8::internal::Code]'
./deps/v8/src/accessors.cc:396: instantiated from here
./deps/v8/src/handles-inl.h:50:
error: call of overloaded `BitCast(v8::internal::Code** const&)' is
ambiguous
./deps/v8/src/utils.h:732: note: candidates are: Dest
v8::internal::BitCast(const Source&) [with Dest = v8::internal::Code**,
Source = v8::internal::Code**]
./deps/v8/src/utils.h:743:
note: Dest v8::internal::BitCast(Source* const&) [with Dest
= v8::internal::Code**, Source = v8::internal::Code*]
scons: *** [obj/release/accessors.o] Error 1
Bert Belder [Fri, 13 Aug 2010 03:23:41 +0000 (05:23 +0200)]
One more test with a race condition fixed
Bert Belder [Fri, 13 Aug 2010 01:45:51 +0000 (03:45 +0200)]
Implement process.title for cygwin
Rasmus Andersson [Thu, 12 Aug 2010 16:51:23 +0000 (18:51 +0200)]
added dns.getHostByAddr() -- resolve an external IP address to hostname(s)
Rasmus Andersson [Wed, 11 Aug 2010 23:00:02 +0000 (01:00 +0200)]
added read and write support for process.title Darwin
This will only manipulate the OS X-level process name, not the title shown
in e.g. ps.
Ryan Dahl [Thu, 12 Aug 2010 17:11:03 +0000 (10:11 -0700)]
Upgrade V8 to 2.3.7
Ryan Dahl [Thu, 12 Aug 2010 17:06:52 +0000 (10:06 -0700)]
Don't throw on HEAD requests
Trent Mick [Thu, 12 Aug 2010 06:14:12 +0000 (23:14 -0700)]
repl completion: multi-column display of completions
Rasmus Andersson [Wed, 11 Aug 2010 21:03:56 +0000 (23:03 +0200)]
Added support for multiple listeners to DNS multicast datagrams.
Some platforms require SO_REUSEPORT to be set for the socket.
Bert Belder [Wed, 11 Aug 2010 23:38:42 +0000 (01:38 +0200)]
Fix http and net tests failing due to race condition
Plus some minor cosmetic corrections
Trent Mick [Mon, 9 Aug 2010 09:18:32 +0000 (02:18 -0700)]
First pass at tab-completion in the REPL
Ryan Dahl [Wed, 11 Aug 2010 19:44:35 +0000 (12:44 -0700)]
Implement process.title for linux
Ryan Dahl [Fri, 18 Jun 2010 07:26:49 +0000 (00:26 -0700)]
Stub out process.title
Fedor Indutny [Wed, 11 Aug 2010 16:27:41 +0000 (23:27 +0700)]
Cygwin: process.execPath fix
Ryan Dahl [Wed, 11 Aug 2010 07:23:12 +0000 (00:23 -0700)]
Remove -Werror from v8 SConstruct
Rasmus Andersson [Mon, 9 Aug 2010 00:53:55 +0000 (02:53 +0200)]
[dgram] only look up hostname for the requested address family
- [lib/dns.js] dns.lookup takes a new optional argument "family" which
should be the integer 4, 6, dns.AF_INET or dns.AF_INET6. Passing a
non-false "family" argument makes c-ares explicitly look up addresses for
the specified family.
- [test/simple/test-c-ares.js] test explicit address family lookups
Ryan Dahl [Wed, 11 Aug 2010 00:37:30 +0000 (17:37 -0700)]
Fix race conditions in tests
Ryan Dahl [Tue, 10 Aug 2010 21:47:40 +0000 (14:47 -0700)]
Close fd on readFile(emptyfile)
Ryan Dahl [Tue, 10 Aug 2010 16:17:11 +0000 (09:17 -0700)]
Upgrade V8 to 2.3.6
Ryan Dahl [Tue, 10 Aug 2010 04:23:52 +0000 (21:23 -0700)]
uppercase request methods