platform/upstream/nodejs.git
12 years agotest: add a child domain explicitly
Yoshihiro Kikuchi [Tue, 1 May 2012 02:32:20 +0000 (11:32 +0900)]
test: add a child domain explicitly

12 years agoReturn after emitting error in tty.js
isaacs [Tue, 1 May 2012 22:51:29 +0000 (15:51 -0700)]
Return after emitting error in tty.js

12 years agoprocess: ensure that "exit" doesn't get emitted twice on a natural exit
Nathan Rajlich [Tue, 1 May 2012 20:53:30 +0000 (13:53 -0700)]
process: ensure that "exit" doesn't get emitted twice on a natural exit

Fixes "test/simple/test-process-exit.js".

12 years agovm: accept only object as arg of .createContext()
Fedor Indutny [Tue, 1 May 2012 18:59:59 +0000 (01:59 +0700)]
vm: accept only object as arg of .createContext()

Converting strings and others to objects is very slow and essentially
wrong.

12 years agopath: add path.sep to get the path separator.
Yi, EungJun [Mon, 2 Apr 2012 16:31:21 +0000 (01:31 +0900)]
path: add path.sep to get the path separator.

12 years agodoc: correct return value of string-based fs.readSync
Kyle Robinson Young [Sat, 21 Apr 2012 05:58:15 +0000 (22:58 -0700)]
doc: correct return value of string-based fs.readSync

Closes #2330

12 years agoudp: slightly optimize address family property
Ben Noordhuis [Tue, 1 May 2012 12:55:51 +0000 (14:55 +0200)]
udp: slightly optimize address family property

12 years agoudp: make variable names consistent
Ben Noordhuis [Tue, 1 May 2012 12:52:00 +0000 (14:52 +0200)]
udp: make variable names consistent

12 years agoudp: make getsockname() return address family name
Shigeki Ohtsu [Tue, 1 May 2012 00:49:19 +0000 (09:49 +0900)]
udp: make getsockname() return address family name

12 years agotty: emit "error" instead of throwing when getWindowSize() fails
Nathan Rajlich [Tue, 1 May 2012 01:51:20 +0000 (18:51 -0700)]
tty: emit "error" instead of throwing when getWindowSize() fails

12 years agodoc: add Cloud9 links to docs
Garen Torikian [Fri, 23 Mar 2012 02:03:18 +0000 (03:03 +0100)]
doc: add Cloud9 links to docs

12 years agodoc: add args to console methods
Kyle Robinson Young [Sat, 21 Apr 2012 17:55:14 +0000 (10:55 -0700)]
doc: add args to console methods

12 years agodoc: typo fixes
Kyle Robinson Young [Fri, 30 Mar 2012 06:17:41 +0000 (23:17 -0700)]
doc: typo fixes

12 years agotty: throw an Error when getWindowSize() fails
Nathan Rajlich [Mon, 30 Apr 2012 23:18:37 +0000 (16:18 -0700)]
tty: throw an Error when getWindowSize() fails

12 years agotest: rebuild keys without asking for password
Michael Thomas [Sun, 29 Apr 2012 18:40:36 +0000 (14:40 -0400)]
test: rebuild keys without asking for password

12 years agodeps: remove libuv sanity check
Ben Noordhuis [Mon, 30 Apr 2012 22:55:43 +0000 (00:55 +0200)]
deps: remove libuv sanity check

Remove reference count check. Unbreaks test suite. This needs to be addressed.

12 years agodeps: back-port openssl patch
Ben Noordhuis [Mon, 30 Apr 2012 22:36:40 +0000 (00:36 +0200)]
deps: back-port openssl patch

Check for potentially exploitable overflows in asn1_d2i_read_bio
BUF_mem_grow and BUF_mem_grow_clean. Refuse attempts to shrink buffer
in CRYPTO_realloc_clean.

Taken from OpenSSL CVS. Addresses CVE-2012-2110.

12 years agoprocess: ensure that the "exit" event always has "code" given
Nathan Rajlich [Mon, 30 Apr 2012 01:53:41 +0000 (18:53 -0700)]
process: ensure that the "exit" event always has "code" given

Upon "normal" exiting of Node (i.e. the event loop completes naturally),
the "code" parameter was not being passed to the "exit" event listeners.

Be consistent. Tests included.

12 years agoconsole: throw when no such label exists in `console.timeEnd`
Maciej Małecki [Sun, 29 Apr 2012 13:17:16 +0000 (15:17 +0200)]
console: throw when no such label exists in `console.timeEnd`

Test included.

12 years agoprocess_wrap: don't use uv_spawn2
Bert Belder [Sat, 28 Apr 2012 22:24:51 +0000 (00:24 +0200)]
process_wrap: don't use uv_spawn2

It was a temporary thing for the 0.6 branch only.

12 years agouv: upgrade to e2cae340a6
Bert Belder [Sat, 28 Apr 2012 22:22:01 +0000 (00:22 +0200)]
uv: upgrade to e2cae340a6

12 years agoMerge branch 'v0.6'
Bert Belder [Sat, 28 Apr 2012 22:17:23 +0000 (00:17 +0200)]
Merge branch 'v0.6'

Conflicts:
deps/uv/include/uv-private/uv-unix.h
deps/uv/include/uv-private/uv-win.h
deps/uv/src/uv-common.c
deps/uv/src/win/fs.c
src/process_wrap.cc

12 years agoprocess: don't use strdup()
ssuda [Tue, 20 Mar 2012 15:39:49 +0000 (21:09 +0530)]
process: don't use strdup()

file and cwd can be directly used from Utf8Value.

Conflicts:

src/process_wrap.cc

12 years agoprocess_wrap: avoid leaking memory when throwing due to invalid arguments
Bert Belder [Sat, 28 Apr 2012 21:36:47 +0000 (23:36 +0200)]
process_wrap: avoid leaking memory when throwing due to invalid arguments

12 years agodoc: document the address object in the cluster listening event
Andreas Madsen [Sat, 28 Apr 2012 12:24:17 +0000 (14:24 +0200)]
doc: document the address object in the cluster listening event

12 years agobench: add continuous stress test
Ben Noordhuis [Fri, 27 Apr 2012 21:10:35 +0000 (23:10 +0200)]
bench: add continuous stress test

Useful in tracking down or at least demonstrating memory leaks.

12 years agoChild process: support the `gid` and `uid` options
Bert Belder [Fri, 27 Apr 2012 20:13:00 +0000 (22:13 +0200)]
Child process: support the `gid` and `uid` options

12 years agoWindows: turn off /Gm
Bert Belder [Fri, 27 Apr 2012 20:06:12 +0000 (22:06 +0200)]
Windows: turn off /Gm

Otherwise multicode compile doesn't work.

12 years agouv: upgrade to d41cc9118d
Bert Belder [Fri, 27 Apr 2012 20:00:44 +0000 (22:00 +0200)]
uv: upgrade to d41cc9118d

12 years agouv: upgrade to aea5db5da1
Bert Belder [Fri, 27 Apr 2012 19:28:56 +0000 (21:28 +0200)]
uv: upgrade to aea5db5da1

12 years agobench: run GC and dump stats if --expose-gc is set
Ben Noordhuis [Fri, 27 Apr 2012 18:29:35 +0000 (20:29 +0200)]
bench: run GC and dump stats if --expose-gc is set

12 years agoCleanup vm module memory leakage
Marcel Laverdet [Wed, 11 Apr 2012 00:27:38 +0000 (19:27 -0500)]
Cleanup vm module memory leakage

There are some paths here that led to dangling contexts. By being
smarter with handle management we can get rid of all the cleanup code
and fix those issues.

12 years agoAdd customary 'fork me on github' banner to website
isaacs [Fri, 27 Apr 2012 14:58:38 +0000 (07:58 -0700)]
Add customary 'fork me on github' banner to website

12 years agorepl: make tab completion read up the prototype of "global"
Nathan Rajlich [Thu, 26 Apr 2012 03:08:30 +0000 (20:08 -0700)]
repl: make tab completion read up the prototype of "global"

For example, there's a global "toString()" function, so the REPL's
tab completion should pick that up.

12 years agoprocess: lint
Nathan Rajlich [Thu, 26 Apr 2012 03:10:50 +0000 (20:10 -0700)]
process: lint

12 years agoRemove unused local variable.
Ben Noordhuis [Wed, 25 Apr 2012 11:10:31 +0000 (04:10 -0700)]
Remove unused local variable.

12 years agodoc: update string_decoder stability index to 3
Kyle Robinson Young [Tue, 24 Apr 2012 21:04:39 +0000 (14:04 -0700)]
doc: update string_decoder stability index to 3

Ref #3140

12 years agoprocess: comment for consistency
Nathan Rajlich [Tue, 24 Apr 2012 08:32:33 +0000 (01:32 -0700)]
process: comment for consistency

12 years agoprocess: set _print_eval even when --eval is not passed
Nathan Rajlich [Tue, 24 Apr 2012 08:24:13 +0000 (01:24 -0700)]
process: set _print_eval even when --eval is not passed

This is for scripts being fed from stdin:

  $ echo "{ foo: 'bar' }" | node -p

12 years agoprocess: make --eval and reading scripts from stdin act the same
Nathan Rajlich [Tue, 24 Apr 2012 08:34:17 +0000 (01:34 -0700)]
process: make --eval and reading scripts from stdin act the same

Reusing the same logic for both places for the behavior is consistent.

For example:

  $ ./node -p -e "'Hello World'"
  Hello World

  $ echo "'Hello World'" | ./node -p
  Hello World

12 years agodoc: util: add args to format and methods error, puts, print
Kyle Robinson Young [Mon, 23 Apr 2012 17:03:36 +0000 (10:03 -0700)]
doc: util: add args to format and methods error, puts, print

12 years agov8: posix: try to send() whole buffer
Ben Noordhuis [Tue, 24 Apr 2012 02:01:28 +0000 (04:01 +0200)]
v8: posix: try to send() whole buffer

Retry the send() syscall after a partial write.

12 years agov8: posix: handle EINTR in socket functions
Ben Noordhuis [Tue, 24 Apr 2012 01:45:30 +0000 (03:45 +0200)]
v8: posix: handle EINTR in socket functions

The socket functions did not handle EINTR (syscall interrupted by signal) which
tripped up the debug agent.

12 years agov8: debug: fix error handling in SendConnectMessage()
Ben Noordhuis [Tue, 24 Apr 2012 01:41:49 +0000 (03:41 +0200)]
v8: debug: fix error handling in SendConnectMessage()

The old error handling code checked if the return value of Socket::Send() != 0,
which is wrong because Socket::Send() can write less bytes than requested or
return -1 on error.

12 years agodoc: add deprecated function http.createClient()
Kyle Robinson Young [Mon, 23 Apr 2012 04:37:37 +0000 (21:37 -0700)]
doc: add deprecated function http.createClient()

Appears in a lot of old code and core tests. Documented to show it
is deprecated.

Closes #1613.

12 years agotest: cluster: add worker death event test
Ben Noordhuis [Mon, 23 Apr 2012 13:58:32 +0000 (15:58 +0200)]
test: cluster: add worker death event test

12 years agobuild: support make install "DESTDIR=/path"
Malte-Thorben Bruns [Sat, 21 Apr 2012 20:40:48 +0000 (22:40 +0200)]
build: support make install "DESTDIR=/path"

12 years agorepl: use Object.getPrototypeOf on functions for tab complete()
Nathan Rajlich [Sat, 21 Apr 2012 20:53:49 +0000 (13:53 -0700)]
repl: use Object.getPrototypeOf on functions for tab complete()

12 years agodomain: Document explicit binding, and d.run()
isaacs [Sat, 21 Apr 2012 17:32:03 +0000 (10:32 -0700)]
domain: Document explicit binding, and d.run()

12 years agodoc: add args for rl.write and rl.prompt
Kyle Robinson Young [Sat, 21 Apr 2012 03:06:00 +0000 (20:06 -0700)]
doc: add args for rl.write and rl.prompt

12 years agoreadline: remove unused vars in _ttyWrite
Kyle Robinson Young [Fri, 20 Apr 2012 16:59:54 +0000 (09:59 -0700)]
readline: remove unused vars in _ttyWrite

12 years agodoc: typo in child_process documentation
isaacs [Fri, 20 Apr 2012 14:46:36 +0000 (07:46 -0700)]
doc: typo in child_process documentation

12 years agodoc: typo in cluster documentation
isaacs [Fri, 20 Apr 2012 14:42:57 +0000 (07:42 -0700)]
doc: typo in cluster documentation

12 years agodoc: add string_decoder doc
Kyle Robinson Young [Fri, 20 Apr 2012 06:32:58 +0000 (23:32 -0700)]
doc: add string_decoder doc

12 years agodocs: Remove duplicate socket.write() description
Brian White [Fri, 20 Apr 2012 06:57:14 +0000 (02:57 -0400)]
docs: Remove duplicate socket.write() description

12 years agov8: fix "pure virtual method called" runtime error
Ben Noordhuis [Thu, 19 Apr 2012 23:28:54 +0000 (01:28 +0200)]
v8: fix "pure virtual method called" runtime error

Fixes #2912.

12 years agoreadline: _normalWrite() doesn't take a key modifier arg
Kyle Robinson Young [Wed, 18 Apr 2012 21:23:20 +0000 (14:23 -0700)]
readline: _normalWrite() doesn't take a key modifier arg

12 years agotypo in node_http_parser
isaacs [Wed, 18 Apr 2012 02:24:28 +0000 (19:24 -0700)]
typo in node_http_parser

12 years agoreadline: change char to ch to avoid reserved word
Kyle Robinson Young [Wed, 18 Apr 2012 19:37:54 +0000 (12:37 -0700)]
readline: change char to ch to avoid reserved word

12 years agotest: use the new net.listen(backlog=x) API
Ben Noordhuis [Wed, 18 Apr 2012 19:55:36 +0000 (21:55 +0200)]
test: use the new net.listen(backlog=x) API

12 years agodoc: improve dns module docs
Erik Dubbelboer [Wed, 18 Apr 2012 13:56:14 +0000 (15:56 +0200)]
doc: improve dns module docs

12 years agodns: add more error codes
Erik Dubbelboer [Wed, 18 Apr 2012 13:56:14 +0000 (15:56 +0200)]
dns: add more error codes

12 years agoFix test/ jslint failures (by not linting tests)
isaacs [Wed, 18 Apr 2012 19:41:08 +0000 (12:41 -0700)]
Fix test/ jslint failures (by not linting tests)

In practice, it's not important to lint tests.  We lint src/
and lib/, which is where we're more prone to make mistakes that
affect real-world situations in subtle ways, and where more
changes are made that ought to be kept in a consistent style.

Tests are a mess anyways, and no one cares.

12 years agonet, http: add backlog parameter to .listen()
Erik Dubbelboer [Wed, 18 Apr 2012 13:56:14 +0000 (15:56 +0200)]
net, http: add backlog parameter to .listen()

12 years agoMerge remote-tracking branch 'ry/v0.6'
isaacs [Wed, 18 Apr 2012 19:25:32 +0000 (12:25 -0700)]
Merge remote-tracking branch 'ry/v0.6'

12 years agonet.js: lint
isaacs [Wed, 18 Apr 2012 19:24:41 +0000 (12:24 -0700)]
net.js: lint

12 years agodeps: fix v8 build error
Dane Springmeyer [Wed, 18 Apr 2012 17:32:02 +0000 (10:32 -0700)]
deps: fix v8 build error

Pull in build error fix from http://code.google.com/p/v8/source/detail?r=9505
Missed in 5d69bbfbd.

12 years agoMerge remote-tracking branch 'ry/v0.6' into master
isaacs [Wed, 18 Apr 2012 18:57:54 +0000 (11:57 -0700)]
Merge remote-tracking branch 'ry/v0.6' into master

Conflicts:
AUTHORS
ChangeLog
LICENSE
Makefile
deps/http_parser/test.c
deps/npm/AUTHORS
deps/npm/html/api/bin.html
deps/npm/html/api/bugs.html
deps/npm/html/api/commands.html
deps/npm/html/api/config.html
deps/npm/html/api/deprecate.html
deps/npm/html/api/docs.html
deps/npm/html/api/edit.html
deps/npm/html/api/explore.html
deps/npm/html/api/help-search.html
deps/npm/html/api/init.html
deps/npm/html/api/install.html
deps/npm/html/api/link.html
deps/npm/html/api/load.html
deps/npm/html/api/ls.html
deps/npm/html/api/npm.html
deps/npm/html/api/outdated.html
deps/npm/html/api/owner.html
deps/npm/html/api/pack.html
deps/npm/html/api/prefix.html
deps/npm/html/api/prune.html
deps/npm/html/api/publish.html
deps/npm/html/api/rebuild.html
deps/npm/html/api/restart.html
deps/npm/html/api/root.html
deps/npm/html/api/run-script.html
deps/npm/html/api/search.html
deps/npm/html/api/shrinkwrap.html
deps/npm/html/api/start.html
deps/npm/html/api/stop.html
deps/npm/html/api/submodule.html
deps/npm/html/api/tag.html
deps/npm/html/api/test.html
deps/npm/html/api/uninstall.html
deps/npm/html/api/unpublish.html
deps/npm/html/api/update.html
deps/npm/html/api/version.html
deps/npm/html/api/view.html
deps/npm/html/api/whoami.html
deps/npm/html/doc/README.html
deps/npm/html/doc/adduser.html
deps/npm/html/doc/bin.html
deps/npm/html/doc/bugs.html
deps/npm/html/doc/build.html
deps/npm/html/doc/bundle.html
deps/npm/html/doc/cache.html
deps/npm/html/doc/changelog.html
deps/npm/html/doc/coding-style.html
deps/npm/html/doc/completion.html
deps/npm/html/doc/config.html
deps/npm/html/doc/deprecate.html
deps/npm/html/doc/developers.html
deps/npm/html/doc/disputes.html
deps/npm/html/doc/docs.html
deps/npm/html/doc/edit.html
deps/npm/html/doc/explore.html
deps/npm/html/doc/faq.html
deps/npm/html/doc/folders.html
deps/npm/html/doc/help-search.html
deps/npm/html/doc/help.html
deps/npm/html/doc/index.html
deps/npm/html/doc/init.html
deps/npm/html/doc/install.html
deps/npm/html/doc/json.html
deps/npm/html/doc/link.html
deps/npm/html/doc/list.html
deps/npm/html/doc/npm.html
deps/npm/html/doc/outdated.html
deps/npm/html/doc/owner.html
deps/npm/html/doc/pack.html
deps/npm/html/doc/prefix.html
deps/npm/html/doc/prune.html
deps/npm/html/doc/publish.html
deps/npm/html/doc/rebuild.html
deps/npm/html/doc/registry.html
deps/npm/html/doc/removing-npm.html
deps/npm/html/doc/restart.html
deps/npm/html/doc/root.html
deps/npm/html/doc/run-script.html
deps/npm/html/doc/scripts.html
deps/npm/html/doc/search.html
deps/npm/html/doc/semver.html
deps/npm/html/doc/shrinkwrap.html
deps/npm/html/doc/star.html
deps/npm/html/doc/start.html
deps/npm/html/doc/stop.html
deps/npm/html/doc/submodule.html
deps/npm/html/doc/tag.html
deps/npm/html/doc/test.html
deps/npm/html/doc/uninstall.html
deps/npm/html/doc/unpublish.html
deps/npm/html/doc/update.html
deps/npm/html/doc/version.html
deps/npm/html/doc/view.html
deps/npm/html/doc/whoami.html
deps/npm/lib/npm.js
deps/npm/man/man1/npm.1
deps/npm/man/man3/npm.3
deps/npm/node_modules/fstream-npm/fstream-npm.js
deps/npm/node_modules/fstream-npm/node_modules/fstream-ignore/package.json
deps/npm/node_modules/fstream-npm/package.json
deps/npm/node_modules/node-gyp/LICENSE
deps/npm/node_modules/node-gyp/lib/build.js
deps/npm/node_modules/node-gyp/lib/install.js
deps/npm/node_modules/node-gyp/node_modules/ansi/package.json
deps/npm/node_modules/node-gyp/node_modules/glob/package.json
deps/npm/node_modules/node-gyp/package.json
deps/npm/package.json
deps/uv/test/test-fs.c
deps/v8/src/regexp-macro-assembler-tracer.cc
deps/v8/src/version.cc
src/node_version.h
src/platform_sunos.cc
test/simple/test-net-write-after-close.js
wscript

12 years agoNow working on 0.7.9
isaacs [Wed, 18 Apr 2012 18:17:29 +0000 (11:17 -0700)]
Now working on 0.7.9

12 years agoMerge branch 'v0.7.8-release'
isaacs [Wed, 18 Apr 2012 18:17:15 +0000 (11:17 -0700)]
Merge branch 'v0.7.8-release'

12 years ago2012.04.18, Version 0.7.8, (unstable) v0.7.8
isaacs [Wed, 18 Apr 2012 00:17:44 +0000 (17:17 -0700)]
2012.04.18, Version 0.7.8, (unstable)

* Upgrade V8 to 3.9.24.9

* Upgrade OpenSSL to 1.0.0f

* Upgrade npm to 1.1.18

* Show licenses in Binary installers

* Domains (isaacs)

* readline: rename "end" to "close" (Nathan Rajlich)

* tcp: make getsockname() return address family as string (Shigeki Ohtsu)

* http, https: fix .setTimeout() (ssuda)

* os: add cross platform EOL character (Mustansir Golawala)

* typed arrays: unexport SizeOfArrayElementForType() (Aaron Jacobs)

* net: honor 'enable' flag in .setNoDelay() (Ben Noordhuis)

* child_process: emit error when .kill fails (Andreas Madsen)

* gyp: fix 'argument list too long' build error (Ben Noordhuis)

* fs.WriteStream: Handle modifications to fs.open (isaacs)

* repl, readline: Handle newlines better (Nathan Rajlich, Nathan Friedly)

* build: target OSX 10.5 when building on darwin (Nathan Rajlich)

* Fix #3052 Handle errors properly in zlib (isaacs)

* build: add support for DTrace and postmortem (Dave Pacheco)

* core: add reusable Slab allocator (Ben Noordhuis)

12 years agotypo in node_http_parser
isaacs [Wed, 18 Apr 2012 02:24:28 +0000 (19:24 -0700)]
typo in node_http_parser

12 years agoReapply patches floating on V8
isaacs [Wed, 18 Apr 2012 01:16:52 +0000 (18:16 -0700)]
Reapply patches floating on V8

12 years agoUpgrade V8 to 3.9.24.9
isaacs [Wed, 18 Apr 2012 01:16:27 +0000 (18:16 -0700)]
Upgrade V8 to 3.9.24.9

12 years agoUpgrade npm to 1.1.17
isaacs [Wed, 18 Apr 2012 00:14:25 +0000 (17:14 -0700)]
Upgrade npm to 1.1.17

12 years agodoc: make readline example filter shorter
Josh W [Mon, 16 Apr 2012 19:03:30 +0000 (03:03 +0800)]
doc: make readline example filter shorter

12 years agodoc: add some headers to make it more legible
Josh W [Tue, 10 Apr 2012 05:59:13 +0000 (13:59 +0800)]
doc: add some headers to make it more legible

12 years agolint
isaacs [Tue, 17 Apr 2012 22:52:57 +0000 (15:52 -0700)]
lint

12 years agouv: Cherry-pick joyent/libuv@3c41597
isaacs [Tue, 17 Apr 2012 22:45:48 +0000 (15:45 -0700)]
uv: Cherry-pick joyent/libuv@3c41597

12 years agotest: Minor change to message/undefined_reference_in_new_context
isaacs [Tue, 17 Apr 2012 22:30:22 +0000 (15:30 -0700)]
test: Minor change to message/undefined_reference_in_new_context

12 years agoFix 64-bit SmartOS build
Dave Pacheco [Tue, 17 Apr 2012 20:50:09 +0000 (13:50 -0700)]
Fix 64-bit SmartOS build

12 years agoMerge branch 'domains3'
isaacs [Tue, 17 Apr 2012 20:36:29 +0000 (13:36 -0700)]
Merge branch 'domains3'

12 years agoAdd Todo comments about domain-ifying crypto
isaacs [Thu, 12 Apr 2012 15:16:30 +0000 (08:16 -0700)]
Add Todo comments about domain-ifying crypto

12 years agoAdd switches to http_simple bench to use domains
isaacs [Tue, 10 Apr 2012 21:59:21 +0000 (14:59 -0700)]
Add switches to http_simple bench to use domains

12 years agoDomain hooks in ReqWrap<T> and MakeCallback
isaacs [Fri, 13 Apr 2012 23:27:23 +0000 (16:27 -0700)]
Domain hooks in ReqWrap<T> and MakeCallback

12 years agoDomain feature
isaacs [Fri, 6 Apr 2012 23:26:18 +0000 (16:26 -0700)]
Domain feature

This is a squashed commit of the main work done on the domains-wip branch.

The original commit messages are preserved for posterity:

* Implicitly add EventEmitters to active domain
* Implicitly add timers to active domain
* domain: add members, remove ctor cb
* Don't hijack bound callbacks for Domain error events
* Add dispose method
* Add domain.remove(ee) method
* A test of multiple domains in process at once
* Put the active domain on the process object
* Only intercept error arg if explicitly requested
* Typo
* Don't auto-add new domains to the current domain

    While an automatic parent/child relationship is sort of neat,
    and leads to some nice error-bubbling characteristics, it also
    results in keeping a reference to every EE and timer created,
    unless domains are explicitly disposed of.

* Explicitly adding one domain to another is still fine, of course.
* Don't allow circular domain->domain memberships
* Disposing of a domain removes it from its parent
* Domain disposal turns functions into no-ops
* More documentation of domains
* More thorough dispose() semantics
* An example using domains in an HTTP server
* Don't handle errors on a disposed domain
* Need to push, even if the same domain is entered multiple times
* Array.push is too slow for the EE Ctor
* lint domain
* domain: docs
* Also call abort and destroySoon to clean up event emitters
* domain: Wrap destroy methods in a try/catch
* Attach tick callbacks to active domain
* domain: Only implicitly bind timers, not explicitly
* domain: Don't fire timers when disposed.
* domain: Simplify naming so that MakeCallback works on Timers
* Add setInterval and nextTick to domain test
* domain: Make stack private

12 years agoMakeCallback: Consistent symbol usage
isaacs [Thu, 12 Apr 2012 23:03:47 +0000 (16:03 -0700)]
MakeCallback: Consistent symbol usage

12 years agoMakeCallback: Use in node_signal_watcher
isaacs [Thu, 12 Apr 2012 05:29:36 +0000 (22:29 -0700)]
MakeCallback: Use in node_signal_watcher

12 years agoMakeCallback: Use in node_io_watcher
isaacs [Thu, 12 Apr 2012 05:29:18 +0000 (22:29 -0700)]
MakeCallback: Use in node_io_watcher

12 years agoMakeCallback: Use in node_crypto
isaacs [Thu, 12 Apr 2012 05:28:44 +0000 (22:28 -0700)]
MakeCallback: Use in node_crypto

12 years agoMakeCallback: Use in node_file.cc
isaacs [Sun, 8 Apr 2012 07:48:10 +0000 (00:48 -0700)]
MakeCallback: Use in node_file.cc

12 years agoMakeCallback: abort() if not a function
isaacs [Tue, 17 Apr 2012 04:27:12 +0000 (21:27 -0700)]
MakeCallback: abort() if not a function

12 years agoMakeCallback: Return the callback return value
isaacs [Fri, 13 Apr 2012 23:34:48 +0000 (16:34 -0700)]
MakeCallback: Return the callback return value

12 years agoMakeCallback: Accept Function or Symbol argument
isaacs [Fri, 13 Apr 2012 23:33:09 +0000 (16:33 -0700)]
MakeCallback: Accept Function or Symbol argument

12 years agoReport errors thrown from uncaughtException handers
isaacs [Sat, 7 Apr 2012 02:23:16 +0000 (19:23 -0700)]
Report errors thrown from uncaughtException handers

12 years agotest: lowercase setRawMode() test case filename
Nathan Rajlich [Tue, 17 Apr 2012 18:49:31 +0000 (11:49 -0700)]
test: lowercase setRawMode() test case filename

12 years agodoc: update the `readline` docs for the "close" event behavior
Nathan Rajlich [Tue, 17 Apr 2012 18:44:54 +0000 (11:44 -0700)]
doc: update the `readline` docs for the "close" event behavior

12 years agorepl: update the `repl` for the new `readline` behavior
Nathan Rajlich [Tue, 17 Apr 2012 18:35:11 +0000 (11:35 -0700)]
repl: update the `repl` for the new `readline` behavior

This fixes the failing REPL tests.

12 years agotest: check for multiple "emit" calls in repl-end-emits-exit.js
Nathan Rajlich [Tue, 17 Apr 2012 18:34:37 +0000 (11:34 -0700)]
test: check for multiple "emit" calls in repl-end-emits-exit.js

12 years agoreadline: re-add the Interface#close() method; rename "end" to "close"
Nathan Rajlich [Tue, 17 Apr 2012 18:31:07 +0000 (11:31 -0700)]
readline: re-add the Interface#close() method; rename "end" to "close"

The idea here is to reduce the number of times that `setRawMode()` is called
on the `input` stream, since it is expensive, and simply pause()/resume()
should not call it.

So now `setRawMode()` only gets called at the beginning of the Interface
instance, and then when `Interface#close()` is called.

Test case included.