Skip to content

v0.6.18 対応.#71

Merged
meso merged 28 commits into
nodejsjp:japanese-v0.6from
koichik:japanese-v0.6
May 16, 2012
Merged

v0.6.18 対応.#71
meso merged 28 commits into
nodejsjp:japanese-v0.6from
koichik:japanese-v0.6

Conversation

@koichik

@koichik koichik commented May 16, 2012

Copy link
Copy Markdown

No description provided.

isaacs and others added 28 commits May 4, 2012 13:34
This commit is a back-port of the changes on the master branch.

Fixes nodejs#3230.
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.
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:

nodejs#3235

The difference is that this patch purely adresses the exception output,
but does not try to make any behavior changes / improvements.
Pass errors to the onconnection callback.
…l 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
Take arch cflags in account when building libuv.
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 nodejs#3240.
* windows: skip GetFileAttributes call when opening a file (Bert Belder)

* crypto: add PKCS12/PFX support (Sambasiva Suda)

* nodejs#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)

* nodejs#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)

* nodejs#3231: http: Don't try to emit error on a null'ed req object (isaacs)

* nodejs#3236: http: Refactor ClientRequest.onSocket (isaacs)
Merge branch 'v0.6' into japanese-v0.6

Conflicts:
	doc/api/buffer.markdown
	doc/api/crypto.markdown
	doc/api/stream.markdown
	doc/api/tls.markdown
meso added a commit that referenced this pull request May 16, 2012
@meso meso merged commit ac0c83c into nodejsjp:japanese-v0.6 May 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants