Ben Noordhuis [Fri, 11 May 2012 17:35:03 +0000 (19:35 +0200)]
bench: start a worker for each CPU
Ben Noordhuis [Tue, 6 Mar 2012 17:11:50 +0000 (18:11 +0100)]
bench: add http_simple_auto benchmark
Starts a server and benchmarks it with ab.
Marcel Laverdet [Wed, 11 Apr 2012 00:27:38 +0000 (19:27 -0500)]
vm: cleanup 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.
This is a backport of commit 7063575.
isaacs [Tue, 15 May 2012 17:21:57 +0000 (10:21 -0700)]
Now working on 0.6.19
isaacs [Tue, 15 May 2012 17:21:40 +0000 (10:21 -0700)]
Merge branch 'v0.6.18-release' into v0.6
isaacs [Mon, 14 May 2012 23:12:15 +0000 (16:12 -0700)]
2012.05.15 Version 0.6.18 (stable)
* windows: skip GetFileAttributes call when opening a file (Bert Belder)
* crypto: add PKCS12/PFX support (Sambasiva Suda)
* #3240: child_process: delete NODE_CHANNEL_FD from env in spawn (Ben Noordhuis)
* windows: add test for path.normalize with UNC paths (Bert Belder)
* windows: make path.normalize convert all slashes to backslashes (Bert Belder)
* fs: Automatically close FSWatcher on error (Bert Belder)
* #3258: fs.ReadStream.pause() emits duplicate data event (koichik)
* pipe_wrap: don't assert() on pipe accept errors (Ben Noordhuis)
* Better exception output for module load and process.nextTick (Felix Geisendörfer)
* zlib: fix error reporting (Ben Noordhuis)
* http: Don't destroy on timeout (isaacs)
* #3231: http: Don't try to emit error on a null'ed req object (isaacs)
* #3236: http: Refactor ClientRequest.onSocket (isaacs)
isaacs [Mon, 14 May 2012 23:14:12 +0000 (16:14 -0700)]
Escape leading # signs in 'make email.md'
isaacs [Tue, 15 May 2012 00:21:20 +0000 (17:21 -0700)]
Guard against emitting 'end' twice on http responses
isaacs [Mon, 14 May 2012 19:01:38 +0000 (12:01 -0700)]
Upgrade libuv to bc4126b
Ben Noordhuis [Mon, 14 May 2012 15:34:33 +0000 (17:34 +0200)]
test: add https + .pfx client/server test
ssuda [Sun, 13 May 2012 19:38:23 +0000 (01:08 +0530)]
crypto: add PKCS12/PFX support
Fixes #2845.
Ben Noordhuis [Mon, 14 May 2012 05:14:18 +0000 (07:14 +0200)]
node: delete NODE_CHANNEL_FD from env
Prevents accidental inheritance by child processes. If the child process is a
node process, it would try to set up a channel with the parent and consequently
never quit because the channel kept the event loop alive.
Fixes #3240.
Bert Belder [Sun, 13 May 2012 01:29:44 +0000 (03:29 +0200)]
Windows: add test for path.normalize with UNC paths
Bert Belder [Sun, 13 May 2012 01:18:09 +0000 (03:18 +0200)]
Windows: make path.normalize convert all slashes to backslashes
Closes #3066
Bert Belder [Sat, 12 May 2012 17:37:33 +0000 (19:37 +0200)]
Automatically close FSWatcher on error
Closes #3250
koichik [Sat, 12 May 2012 01:24:46 +0000 (10:24 +0900)]
fs: fix ReadStream.pause() emits duplicate data event
Fixes #3258.
isaacs [Fri, 11 May 2012 00:55:54 +0000 (17:55 -0700)]
500 is a magic number for the GC for some reason
isaacs [Fri, 11 May 2012 00:55:28 +0000 (17:55 -0700)]
Break up huge function in ClientRequest.onSocket
Ben Noordhuis [Fri, 11 May 2012 01:09:51 +0000 (03:09 +0200)]
build: fix cross-compiling
Take arch cflags in account when building libuv.
Shigeki Ohtsu [Fri, 11 May 2012 10:07:08 +0000 (19:07 +0900)]
doc: fix typo in buffer documentation
Fixes #3253.
vegorov@chromium.org [Wed, 12 Oct 2011 10:35:42 +0000 (10:35 +0000)]
Runtime_NotifyDeoptimized should search for function activation in all thread stacks.
R=fschneider@chromium.org
BUG=v8:1763
Review URL: http://codereview.chromium.org/8240004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@9588
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Philip Tellis [Wed, 9 May 2012 20:39:27 +0000 (16:39 -0400)]
doc: fs.ReadableStream does not have a destroySoon method
Ben Noordhuis [Wed, 9 May 2012 21:11:14 +0000 (23:11 +0200)]
pipe_wrap: don't assert() on pipe accept errors
Pass errors to the onconnection callback.
Felix Geisendörfer [Tue, 8 May 2012 20:02:28 +0000 (22:02 +0200)]
Fix exception output for module load exceptions
So instead of:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
You will now see:
path/to/foo.js:1
throw new Error('bar');
^
This is a sub-set of isaacs patch here:
https://github.com/joyent/node/issues/3235
The difference is that this patch purely adresses the exception output,
but does not try to make any behavior changes / improvements.
Felix Geisendörfer [Tue, 8 May 2012 14:07:14 +0000 (16:07 +0200)]
Fix process.nextTick throw call sites
This patch now reports the proper throw call site for exceptions
triggered within process.nextTick. So instead of this:
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
You will now see:
mydir/myscript.js:15
throw new Error('My Error');
^
From my testing this patch causes no performance regressions, but does
greatly simplify processing the nextTickQueue.
Ben Noordhuis [Mon, 7 May 2012 15:04:56 +0000 (17:04 +0200)]
zlib: fix error reporting
This commit is a back-port of the changes on the master branch.
Fixes #3230.
isaacs [Mon, 7 May 2012 21:19:16 +0000 (14:19 -0700)]
Don't destroy on timeout
isaacs [Mon, 7 May 2012 21:17:17 +0000 (14:17 -0700)]
Fix #3231. Don't try to emit error on a null'ed req object
Ben Noordhuis [Mon, 7 May 2012 20:49:10 +0000 (22:49 +0200)]
test: add failing HTTP client timeout test
See #3231.
isaacs [Sat, 5 May 2012 01:29:56 +0000 (18:29 -0700)]
test: No need for weak in 'make test'
isaacs [Fri, 4 May 2012 20:34:33 +0000 (13:34 -0700)]
Now working on 0.6.18
isaacs [Fri, 4 May 2012 20:34:08 +0000 (13:34 -0700)]
Merge branch 'v0.6.17-release' into v0.6
isaacs [Fri, 4 May 2012 18:21:08 +0000 (11:21 -0700)]
2012.05.04 Version 0.6.17 (stable)
* Upgrade npm to 1.1.21
* uv: Add support for EROFS errors (Ben Noordhuis, Maciej Małecki)
* uv: Add support for EIO and ENOSPC errors (Fedor Indutny)
* windows: Add support for EXDEV errors (Bert Belder)
* http: Fix client memory leaks (isaacs, Vincent Voyer)
* fs: fix file descriptor leak in sync functions (Ben Noordhuis)
* fs: fix ReadStream / WriteStream double close bug (Ben Noordhuis)
isaacs [Fri, 4 May 2012 19:51:37 +0000 (12:51 -0700)]
test: Run weak install with --unsafe-perm
This way it doesn't die when running as root.
isaacs [Fri, 4 May 2012 18:06:35 +0000 (11:06 -0700)]
Upgrade npm to 1.1.21
isaacs [Fri, 4 May 2012 18:00:39 +0000 (11:00 -0700)]
isaacs [Fri, 4 May 2012 17:57:33 +0000 (10:57 -0700)]
Update Authors
isaacs [Fri, 4 May 2012 17:54:24 +0000 (10:54 -0700)]
Merge branch 'http-memleak' into v0.6
isaacs [Fri, 4 May 2012 17:40:27 +0000 (10:40 -0700)]
http: Clean up parser usage
Move parsers.free(parser) to a single function, which also
nulls all of the various references we hang on them.
Also, move the parser.on* methods out of the closure, so that
there's one shared definition of each, instead of re-defining
for each parser in a spot where they can close over references
to other request-specific objects.
isaacs [Fri, 4 May 2012 17:32:42 +0000 (10:32 -0700)]
Clean up gc tests
This fixes the additional issues brought up in #3179.
ANDO Takahiro [Tue, 1 May 2012 02:41:29 +0000 (11:41 +0900)]
doc: fix callback argument of child_process.exec, execFile
Fixes #3196.
isaacs [Thu, 3 May 2012 17:39:16 +0000 (10:39 -0700)]
http: .once() usage in setTimeout
isaacs [Thu, 3 May 2012 17:16:25 +0000 (10:16 -0700)]
Tests for memory leaks
isaacs [Thu, 3 May 2012 17:20:20 +0000 (10:20 -0700)]
http leak: Null links from parser to req/res
vvo [Thu, 26 Apr 2012 23:02:10 +0000 (01:02 +0200)]
Fix #3179 HTTP memory leak using ClientRequest.
Ben Noordhuis [Wed, 2 May 2012 23:03:08 +0000 (01:03 +0200)]
fs: fix file descriptor leak in sync functions
Fixes #3202. This is a back-port of commit 4e290e4.
Ben Noordhuis [Wed, 2 May 2012 02:24:38 +0000 (04:24 +0200)]
fs: fix ReadStream / WriteStream double close bug
* Calling fs.ReadStream.destroy() or fs.WriteStream.destroy() twice would close
the file descriptor twice. That's bad because the file descriptor may have
been repurposed in the mean time.
* A bad value check in fs.ReadStream.prototype.destroy() would prevent a stream
created with fs.createReadStream({fd:0}) from getting closed.
isaacs [Wed, 2 May 2012 19:13:54 +0000 (12:13 -0700)]
http client: Destroy on timeout
isaacs [Tue, 1 May 2012 22:25:59 +0000 (15:25 -0700)]
http: Remove socket ondata/onend in parser cleanup
isaacs [Tue, 1 May 2012 21:26:18 +0000 (14:26 -0700)]
Null references to request object on socket errors.
Regarding #3199 and #3179 and issues seen in production.
Hopefully this fixes them.
isaacs [Tue, 1 May 2012 20:31:26 +0000 (13:31 -0700)]
Now working on 0.6.17
isaacs [Mon, 30 Apr 2012 20:15:40 +0000 (13:15 -0700)]
Merge branch 'v0.6.16-release' into v0.6
isaacs [Fri, 27 Apr 2012 21:33:15 +0000 (14:33 -0700)]
2012.04.30 Version 0.6.16 (stable)
* Upgrade V8 to 3.6.6.25
* Upgrade npm to 1.1.19
* Windows: add mappings for UV_ENOENT (Bert Belder)
* linux: add IN_MOVE_SELF to inotify event mask (Ben Noordhuis)
* unix: call pipe handle connection cb on accept() error (Ben Noordhuis)
* unix: handle EWOULDBLOCK (Ben Noordhuis)
* map EWOULDBLOCK to UV_EAGAIN (Ben Noordhuis)
* Map ENOMEM to UV_ENOMEM (isaacs)
* Child process: support the `gid` and `uid` options (Bert Belder)
* test: cluster: add worker death event test (Ben Noordhuis)
* typo in node_http_parser (isaacs)
* http_parser: Eat CRLF between requests, even on connection:close. (Ben Noordhuis)
* don't check return value of unsetenv (Ben Noordhuis)
isaacs [Mon, 30 Apr 2012 17:30:05 +0000 (10:30 -0700)]
Fix #3194 correct url documentation
isaacs [Mon, 30 Apr 2012 15:37:53 +0000 (08:37 -0700)]
Indentation fix
isaacs [Fri, 27 Apr 2012 22:01:31 +0000 (15:01 -0700)]
Upgrade npm to 1.1.18
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
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
isaacs [Fri, 27 Apr 2012 14:58:38 +0000 (07:58 -0700)]
Add customary 'fork me on github' banner to website
Ben Noordhuis [Mon, 23 Apr 2012 13:58:32 +0000 (15:58 +0200)]
test: cluster: add worker death event test
isaacs [Fri, 20 Apr 2012 14:46:36 +0000 (07:46 -0700)]
doc: typo in child_process documentation
Brian White [Fri, 20 Apr 2012 06:57:14 +0000 (02:57 -0400)]
docs: Remove duplicate socket.write() description
isaacs [Wed, 18 Apr 2012 02:24:28 +0000 (19:24 -0700)]
typo in node_http_parser
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.
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
isaacs [Thu, 2 Feb 2012 23:37:59 +0000 (15:37 -0800)]
Patches floating on v8
Bert Belder [Mon, 16 Apr 2012 15:27:16 +0000 (17:27 +0200)]
Upgrade V8 to 3.6.6.25
Ben Noordhuis [Sat, 31 Mar 2012 21:23:46 +0000 (23:23 +0200)]
node: don't check return value of unsetenv()
It returns void on some platforms, notably FreeBSD.
Ben Noordhuis [Sat, 14 Apr 2012 21:12:36 +0000 (23:12 +0200)]
deps: upgrade http_parser to joyent/http-parser@da91852
isaacs [Wed, 11 Apr 2012 01:29:25 +0000 (18:29 -0700)]
Fix #3089 Build changelog.html for website
isaacs [Wed, 11 Apr 2012 01:22:42 +0000 (18:22 -0700)]
Makefile: minor nit
isaacs [Mon, 9 Apr 2012 17:34:54 +0000 (10:34 -0700)]
Now working on v0.6.16
isaacs [Mon, 9 Apr 2012 17:34:32 +0000 (10:34 -0700)]
Merge branch 'v0.6.15-release' into v0.6
isaacs [Sat, 7 Apr 2012 23:59:54 +0000 (16:59 -0700)]
2012.04.09 Version 0.6.15 (stable)
* Update npm to 1.1.16
* Show licenses in binary installers.
* unix: add uv_fs_read64, uv_fs_write64 and uv_fs_ftruncate64 (Ben Noordhuis)
* add 64bit offset fs functions (Igor Zinkovsky)
* windows: don't report ENOTSOCK when attempting to bind an udp handle twice (Bert Belder)
* windows: backport pipe-connect-to-file fixes from master (Bert Belder)
* windows: never call fs event callbacks after closing the watcher (Bert Belder)
* fs.readFile: don't make the callback before the fd is closed (Bert Belder)
* windows: use 64bit offsets for uv_fs apis (Igor Zinkovsky)
* Fix #2061: segmentation fault on OS X due to stat size mismatch (Ben Noordhuis)
isaacs [Mon, 9 Apr 2012 15:39:13 +0000 (08:39 -0700)]
fs.WriteStream: Handle modifications to fs.open
If the fs.open method is modified via AOP-style extension, in between
the creation of an fs.WriteStream and the processing of its action
queue, then the test of whether or not the method === fs.open will fail,
because fs.open has been replaced.
The solution is to save a reference to fs.open on the stream itself when
the action is placed in the queue.
This fixes isaacs/node-graceful-fs#6.
isaacs [Sat, 7 Apr 2012 23:53:18 +0000 (16:53 -0700)]
fs.readFile: Emit 'close' if we don't expect a close later
This fixes a regression introduced by 40b7302
isaacs [Thu, 29 Mar 2012 23:01:27 +0000 (16:01 -0700)]
Make rules for release blog post and email message
isaacs [Sat, 7 Apr 2012 23:29:37 +0000 (16:29 -0700)]
website: Add October Sky JS and Node.js Hispano
isaacs [Sat, 7 Apr 2012 23:20:42 +0000 (16:20 -0700)]
Remove stray comment from LICENSE file
Bert Belder [Wed, 4 Apr 2012 16:06:33 +0000 (18:06 +0200)]
Windows: installer shows license agreement dialog
Bert Belder [Wed, 4 Apr 2012 16:06:00 +0000 (18:06 +0200)]
Windows: add build step that generates license.rtf from LICENSE
Ryan Dahl [Mon, 2 Apr 2012 22:14:52 +0000 (15:14 -0700)]
Mac installer shows license
ref #3056
Ryan Dahl [Mon, 2 Apr 2012 22:12:23 +0000 (15:12 -0700)]
Include text of licenses in LICENSE file
For easy inclusion in binary distributions. ref #3056
Ryan Dahl [Mon, 2 Apr 2012 21:36:23 +0000 (14:36 -0700)]
Fix links to libev and libeio licenses
isaacs [Fri, 6 Apr 2012 21:42:19 +0000 (14:42 -0700)]
Update npm to 1.1.16
Igor Zinkovsky [Fri, 6 Apr 2012 01:15:10 +0000 (18:15 -0700)]
enable test-fs-largefile.js test
Bert Belder [Fri, 6 Apr 2012 01:02:23 +0000 (03:02 +0200)]
Please the compiler
Bert Belder [Fri, 6 Apr 2012 00:54:33 +0000 (02:54 +0200)]
fs.readFile: don't make the callback before the fd is closed
On Windows it is not possible to unlink() the read file in the callback.
This fixes #3051. A test is included.
Igor Zinkovsky [Fri, 6 Apr 2012 00:10:39 +0000 (17:10 -0700)]
Igor Zinkovsky [Thu, 5 Apr 2012 23:03:11 +0000 (16:03 -0700)]
windows: use 64bit offsets for uv_fs apis
Ben Noordhuis [Mon, 2 Apr 2012 21:44:36 +0000 (23:44 +0200)]
build: define _DARWIN_USE_64_BIT_INODE=1 on OS X
Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
mismatches.
Fixes #2061.
Nathan Rajlich [Wed, 14 Mar 2012 01:31:04 +0000 (18:31 -0700)]
js2c: fix to support files other than ones ending with 2 char extensions
Previously this was basically hard-coded for *.js files, but now we
need to include the 'config.gypi' file in there as well.
isaacs [Sat, 31 Mar 2012 01:21:50 +0000 (18:21 -0700)]
website: Consistency in the industry logos
isaacs [Sat, 24 Mar 2012 08:39:39 +0000 (01:39 -0700)]
Fix #3001 website update 'latest' links on publish
isaacs [Fri, 23 Mar 2012 18:17:08 +0000 (11:17 -0700)]
Now working on v0.6.15