Michael Thomas [Sun, 29 Apr 2012 18:40:36 +0000 (14:40 -0400)]
test: rebuild keys without asking for password
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.
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.
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.
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.
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.
Bert Belder [Sat, 28 Apr 2012 22:22:01 +0000 (00:22 +0200)]
uv: upgrade to
e2cae340a6
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
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
Bert Belder [Sat, 28 Apr 2012 21:36:47 +0000 (23:36 +0200)]
process_wrap: avoid leaking memory when throwing due to invalid arguments
Andreas Madsen [Sat, 28 Apr 2012 12:24:17 +0000 (14:24 +0200)]
doc: document the address object in the cluster listening event
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.
Bert Belder [Fri, 27 Apr 2012 20:13:00 +0000 (22:13 +0200)]
Child process: support the `gid` and `uid` options
Bert Belder [Fri, 27 Apr 2012 20:06:12 +0000 (22:06 +0200)]
Windows: turn off /Gm
Otherwise multicode compile doesn't work.
Bert Belder [Fri, 27 Apr 2012 20:00:44 +0000 (22:00 +0200)]
uv: upgrade to
d41cc9118d
Bert Belder [Fri, 27 Apr 2012 19:28:56 +0000 (21:28 +0200)]
uv: upgrade to
aea5db5da1
Ben Noordhuis [Fri, 27 Apr 2012 18:29:35 +0000 (20:29 +0200)]
bench: run GC and dump stats if --expose-gc is set
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.
isaacs [Fri, 27 Apr 2012 14:58:38 +0000 (07:58 -0700)]
Add customary 'fork me on github' banner to website
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.
Nathan Rajlich [Thu, 26 Apr 2012 03:10:50 +0000 (20:10 -0700)]
process: lint
Ben Noordhuis [Wed, 25 Apr 2012 11:10:31 +0000 (04:10 -0700)]
Remove unused local variable.
Kyle Robinson Young [Tue, 24 Apr 2012 21:04:39 +0000 (14:04 -0700)]
doc: update string_decoder stability index to 3
Ref #3140
Nathan Rajlich [Tue, 24 Apr 2012 08:32:33 +0000 (01:32 -0700)]
process: comment for consistency
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
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
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
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.
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.
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.
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.
Ben Noordhuis [Mon, 23 Apr 2012 13:58:32 +0000 (15:58 +0200)]
test: cluster: add worker death event test
Malte-Thorben Bruns [Sat, 21 Apr 2012 20:40:48 +0000 (22:40 +0200)]
build: support make install "DESTDIR=/path"
Nathan Rajlich [Sat, 21 Apr 2012 20:53:49 +0000 (13:53 -0700)]
repl: use Object.getPrototypeOf on functions for tab complete()
isaacs [Sat, 21 Apr 2012 17:32:03 +0000 (10:32 -0700)]
domain: Document explicit binding, and d.run()
Kyle Robinson Young [Sat, 21 Apr 2012 03:06:00 +0000 (20:06 -0700)]
doc: add args for rl.write and rl.prompt
Kyle Robinson Young [Fri, 20 Apr 2012 16:59:54 +0000 (09:59 -0700)]
readline: remove unused vars in _ttyWrite
isaacs [Fri, 20 Apr 2012 14:46:36 +0000 (07:46 -0700)]
doc: typo in child_process documentation
isaacs [Fri, 20 Apr 2012 14:42:57 +0000 (07:42 -0700)]
doc: typo in cluster documentation
Kyle Robinson Young [Fri, 20 Apr 2012 06:32:58 +0000 (23:32 -0700)]
doc: add string_decoder doc
Brian White [Fri, 20 Apr 2012 06:57:14 +0000 (02:57 -0400)]
docs: Remove duplicate socket.write() description
Ben Noordhuis [Thu, 19 Apr 2012 23:28:54 +0000 (01:28 +0200)]
v8: fix "pure virtual method called" runtime error
Fixes #2912.
Kyle Robinson Young [Wed, 18 Apr 2012 21:23:20 +0000 (14:23 -0700)]
readline: _normalWrite() doesn't take a key modifier arg
isaacs [Wed, 18 Apr 2012 02:24:28 +0000 (19:24 -0700)]
typo in node_http_parser
Kyle Robinson Young [Wed, 18 Apr 2012 19:37:54 +0000 (12:37 -0700)]
readline: change char to ch to avoid reserved word
Ben Noordhuis [Wed, 18 Apr 2012 19:55:36 +0000 (21:55 +0200)]
test: use the new net.listen(backlog=x) API
Erik Dubbelboer [Wed, 18 Apr 2012 13:56:14 +0000 (15:56 +0200)]
doc: improve dns module docs
Erik Dubbelboer [Wed, 18 Apr 2012 13:56:14 +0000 (15:56 +0200)]
dns: add more error codes
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.
Erik Dubbelboer [Wed, 18 Apr 2012 13:56:14 +0000 (15:56 +0200)]
net, http: add backlog parameter to .listen()
isaacs [Wed, 18 Apr 2012 19:25:32 +0000 (12:25 -0700)]
Merge remote-tracking branch 'ry/v0.6'
isaacs [Wed, 18 Apr 2012 19:24:41 +0000 (12:24 -0700)]
net.js: lint
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.
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
isaacs [Wed, 18 Apr 2012 18:17:29 +0000 (11:17 -0700)]
Now working on 0.7.9
isaacs [Wed, 18 Apr 2012 18:17:15 +0000 (11:17 -0700)]
Merge branch 'v0.7.8-release'
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)
isaacs [Wed, 18 Apr 2012 02:24:28 +0000 (19:24 -0700)]
typo in node_http_parser
isaacs [Wed, 18 Apr 2012 01:16:52 +0000 (18:16 -0700)]
Reapply patches floating on V8
isaacs [Wed, 18 Apr 2012 01:16:27 +0000 (18:16 -0700)]
Upgrade V8 to 3.9.24.9
isaacs [Wed, 18 Apr 2012 00:14:25 +0000 (17:14 -0700)]
Upgrade npm to 1.1.17
Josh W [Mon, 16 Apr 2012 19:03:30 +0000 (03:03 +0800)]
doc: make readline example filter shorter
Josh W [Tue, 10 Apr 2012 05:59:13 +0000 (13:59 +0800)]
doc: add some headers to make it more legible
isaacs [Tue, 17 Apr 2012 22:52:57 +0000 (15:52 -0700)]
lint
isaacs [Tue, 17 Apr 2012 22:45:48 +0000 (15:45 -0700)]
uv: Cherry-pick joyent/libuv@
3c41597
isaacs [Tue, 17 Apr 2012 22:30:22 +0000 (15:30 -0700)]
test: Minor change to message/undefined_reference_in_new_context
Dave Pacheco [Tue, 17 Apr 2012 20:50:09 +0000 (13:50 -0700)]
Fix 64-bit SmartOS build
isaacs [Tue, 17 Apr 2012 20:36:29 +0000 (13:36 -0700)]
Merge branch 'domains3'
isaacs [Thu, 12 Apr 2012 15:16:30 +0000 (08:16 -0700)]
Add Todo comments about domain-ifying crypto
isaacs [Tue, 10 Apr 2012 21:59:21 +0000 (14:59 -0700)]
Add switches to http_simple bench to use domains
isaacs [Fri, 13 Apr 2012 23:27:23 +0000 (16:27 -0700)]
Domain hooks in ReqWrap<T> and MakeCallback
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
isaacs [Thu, 12 Apr 2012 23:03:47 +0000 (16:03 -0700)]
MakeCallback: Consistent symbol usage
isaacs [Thu, 12 Apr 2012 05:29:36 +0000 (22:29 -0700)]
MakeCallback: Use in node_signal_watcher
isaacs [Thu, 12 Apr 2012 05:29:18 +0000 (22:29 -0700)]
MakeCallback: Use in node_io_watcher
isaacs [Thu, 12 Apr 2012 05:28:44 +0000 (22:28 -0700)]
MakeCallback: Use in node_crypto
isaacs [Sun, 8 Apr 2012 07:48:10 +0000 (00:48 -0700)]
MakeCallback: Use in node_file.cc
isaacs [Tue, 17 Apr 2012 04:27:12 +0000 (21:27 -0700)]
MakeCallback: abort() if not a function
isaacs [Fri, 13 Apr 2012 23:34:48 +0000 (16:34 -0700)]
MakeCallback: Return the callback return value
isaacs [Fri, 13 Apr 2012 23:33:09 +0000 (16:33 -0700)]
MakeCallback: Accept Function or Symbol argument
isaacs [Sat, 7 Apr 2012 02:23:16 +0000 (19:23 -0700)]
Report errors thrown from uncaughtException handers
Nathan Rajlich [Tue, 17 Apr 2012 18:49:31 +0000 (11:49 -0700)]
test: lowercase setRawMode() test case filename
Nathan Rajlich [Tue, 17 Apr 2012 18:44:54 +0000 (11:44 -0700)]
doc: update the `readline` docs for the "close" event 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.
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
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.
Nathan Rajlich [Tue, 17 Apr 2012 18:17:54 +0000 (11:17 -0700)]
doc: change `in` to `input` in the readline docs
Also compacting some long lines.
Kyle Robinson Young [Tue, 17 Apr 2012 05:15:51 +0000 (22:15 -0700)]
doc: add require.extensions to globals
Closes #3028
Kyle Robinson Young [Mon, 16 Apr 2012 21:52:44 +0000 (14:52 -0700)]
doc: add cache argument to fs.realpath()
domenic [Mon, 9 Apr 2012 05:46:55 +0000 (01:46 -0400)]
doc: note that `stream.pause` is advisory
ssuda [Sun, 8 Apr 2012 15:24:53 +0000 (20:54 +0530)]
Fixing ClientRequest setTimeout EventEmitter Leak
This will fix #3068
Zachary Scott [Mon, 16 Apr 2012 20:43:02 +0000 (16:43 -0400)]
docs: fix broken links in zlib docs
Zachary Scott [Sun, 8 Apr 2012 16:07:28 +0000 (12:07 -0400)]
docs: url.format uses host for hostname and port, not auth
Fixes #3062.
Zachary Scott [Sat, 7 Apr 2012 15:10:22 +0000 (11:10 -0400)]
docs: url.host doesn't include auth
Fixes #3062.
fukayatsu [Mon, 16 Apr 2012 18:37:32 +0000 (03:37 +0900)]
tls: remove duplicate line
Shigeki Ohtsu [Fri, 13 Apr 2012 07:45:38 +0000 (16:45 +0900)]
tcp: make getsockname() return address family as string
Ben Noordhuis [Mon, 16 Apr 2012 15:57:41 +0000 (17:57 +0200)]
test: don't make request until server is listening
Preemptively fixes simple/test-https-timeout on platforms where binding to an
interface is not an instantaneous action.
ssuda [Fri, 13 Apr 2012 23:35:28 +0000 (05:05 +0530)]
http, https: fix .setTimeout()
Fixes #3107.
lrn@chromium.org [Mon, 3 Oct 2011 10:31:01 +0000 (10:31 +0000)]
Fix bug in x64 RegExp detecting start of string.
Also add missing MIPS case in regexp tracer.
Fixes issues v8:1748 and v8:1746
BUG=v8:1748, v8:1746
TEST=mjsunit/regress/regress-1748.js
Review URL: http://codereview.chromium.org/
8116001
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@9504
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Dave Pacheco [Wed, 8 Feb 2012 00:50:05 +0000 (16:50 -0800)]
disable omit-frame-pointer on solaris systems