platform/upstream/nodejs.git
12 years agoevents: cache `domain` module locally
Maciej Małecki [Sun, 17 Jun 2012 09:50:40 +0000 (11:50 +0200)]
events: cache `domain` module locally

It's faster than calling `require` every time we create an
`EventEmitter`.

12 years agonet: Prevent property access throws during close
Reid Burke [Sat, 16 Jun 2012 01:52:31 +0000 (20:52 -0500)]
net: Prevent property access throws during close

Fix #3455.

The remoteAddress and remotePort properties are
dynamically retrieved from _getpeername().

While _getpeername() checks if the _handle is
null, it is also possible for the tcp_wrapped
_handle.getpeername() to return null on error.

Such a condition happens when the remote closes
and one of these properties is accessed before
_handle is set to null.

12 years agonpm: Upgrade to 1.1.27
isaacs [Sun, 17 Jun 2012 19:04:35 +0000 (12:04 -0700)]
npm: Upgrade to 1.1.27

- severely enhanced 'npm init'
- upgraded node-gyp

12 years agotest: Don't reuse common.PORT in test-child-process-fork-net
isaacs [Sat, 16 Jun 2012 22:50:22 +0000 (22:50 +0000)]
test: Don't reuse common.PORT in test-child-process-fork-net

This fixes #3447

12 years agoMake listenFD just DTRT after warning
isaacs [Sat, 16 Jun 2012 21:23:17 +0000 (14:23 -0700)]
Make listenFD just DTRT after warning

12 years agoRevert "Check if a stream has a valid fd before read_start"
Bert Belder [Sat, 16 Jun 2012 18:14:21 +0000 (20:14 +0200)]
Revert "Check if a stream has a valid fd before read_start"

uv_stream_t.fd is a private field which exists only on unix.
This reverts commit 8d5c1201f24a6102d047bd7ec70f30da70a5ea64.

12 years agoRevert "DNS: Support NAPTR queries"
isaacs [Sat, 16 Jun 2012 18:02:49 +0000 (11:02 -0700)]
Revert "DNS: Support NAPTR queries"

This reverts commit 91bf18fcc5340262d0672dbebcc1a34bc4a8cd95.

12 years agoDNS: Support NAPTR queries
ssuda [Wed, 25 Apr 2012 14:39:52 +0000 (20:09 +0530)]
DNS: Support NAPTR queries

Adding support for NAPTR records
fixes #3170

12 years agoquerystring: improved speed and code cleanup
Felix Böhm [Wed, 16 May 2012 14:10:31 +0000 (17:10 +0300)]
querystring: improved speed and code cleanup

12 years agoFix #3448 Use listen callback in test-regress-GH-1697
isaacs [Sat, 16 Jun 2012 17:19:34 +0000 (10:19 -0700)]
Fix #3448 Use listen callback in test-regress-GH-1697

12 years agos/exit/close/ in test-child-process-stdout-flush, fixes #3449
Charlie McConnell [Sat, 16 Jun 2012 06:19:31 +0000 (23:19 -0700)]
s/exit/close/ in test-child-process-stdout-flush, fixes #3449

12 years agoAdd test-stdin-pause-resume-sync
isaacs [Sat, 16 Jun 2012 16:05:28 +0000 (09:05 -0700)]
Add test-stdin-pause-resume-sync

This is the last bit needed to Close #3346

12 years agoCheck if a stream has a valid fd before read_start
Karl Skomski [Fri, 15 Jun 2012 21:21:36 +0000 (23:21 +0200)]
Check if a stream has a valid fd before read_start

Closes #3118

12 years agoMakefile: Refuse to build release from unclean repo
isaacs [Sat, 16 Jun 2012 15:51:33 +0000 (08:51 -0700)]
Makefile: Refuse to build release from unclean repo

Root cause of an error during the 0.7.11 release

12 years agotest: skip test-http-full-response on ab errors
Charlie McConnell [Sat, 16 Jun 2012 01:58:27 +0000 (18:58 -0700)]
test: skip test-http-full-response on ab errors

If we get errors from ab or apr, skip the test and move on.

Fix #3451

12 years agoemail footer: Change Windows msi paths for x86 and x64
isaacs [Fri, 15 Jun 2012 19:50:37 +0000 (12:50 -0700)]
email footer: Change Windows msi paths for x86 and x64

12 years agoNow working on 0.7.12
isaacs [Fri, 15 Jun 2012 19:47:08 +0000 (12:47 -0700)]
Now working on 0.7.12

12 years agoMerge branch 'v0.7.11-release'
isaacs [Fri, 15 Jun 2012 19:46:55 +0000 (12:46 -0700)]
Merge branch 'v0.7.11-release'

12 years ago2012.06.15, Version 0.7.11 (unstable) v0.7.11
isaacs [Fri, 15 Jun 2012 19:10:43 +0000 (12:10 -0700)]
2012.06.15, Version 0.7.11 (unstable)

* V8: Upgrade to v3.11.10

* npm: Upgrade to 1.1.26

* doc: Improve cross-linking in API docs markdown (Ben Kelly)

* Fix #3425: removeAllListeners should delete array (Reid Burke)

* cluster: don't silently drop messages when the write queue gets big (Bert Belder)

* Add Buffer.concat method (isaacs)

* windows: make symlinks tolerant to forward slashes (Bert Belder)

* build: Add node.d and node.1 to installer (isaacs)

* cluster: rename worker.unqiueID to worker.id (Andreas Madsen)

* Windows: Enable ETW events on Windows for existing DTrace probes. (Igor Zinkovsky)

* test: bundle node-weak in test/gc so that it doesn't need to be downloaded (Nathan Rajlich)

* Make many tests pass on Windows (Bert Belder)

* Fix #3388 Support listening on file descriptors (isaacs)

* Fix #3407 Add os.tmpDir() (isaacs)

* Unbreak the snapshotted build on Windows (Bert Belder)

* Clean up child_process.kill throws (Bert Belder)

* crypto: make cipher/decipher accept buffer args (Ben Noordhuis)

12 years agoUpgrade npm to 1.1.26
isaacs [Fri, 15 Jun 2012 17:00:30 +0000 (10:00 -0700)]
Upgrade npm to 1.1.26

12 years agodomain: the EventEmitter constructor is now always called in nodecore
Andreas Madsen [Tue, 12 Jun 2012 19:53:08 +0000 (21:53 +0200)]
domain: the EventEmitter constructor is now always called in nodecore

12 years agodoc: Improve cross-linking in API docs markdown
Ben Kelly [Wed, 6 Jun 2012 19:05:18 +0000 (15:05 -0400)]
doc: Improve cross-linking in API docs markdown

Cross-link EventEmitter references in API docs to events.html

Fix broken cross-reference links with wrong anchor names in API docs.

12 years agozlib: use Buffer.concat()
isaacs [Fri, 15 Jun 2012 15:41:36 +0000 (08:41 -0700)]
zlib: use Buffer.concat()

12 years agotest-domain-implicit-fs: make it pass on windows
Bert Belder [Fri, 15 Jun 2012 16:32:59 +0000 (18:32 +0200)]
test-domain-implicit-fs: make it pass on windows

The error message is slightly different on windows. However there was no
need to verify the exact error message - there are assert()s that check
all the properties of the error object.

12 years agodoc: Include zlib constants
isaacs [Fri, 15 Jun 2012 05:17:39 +0000 (22:17 -0700)]
doc: Include zlib constants

12 years agoevent: Document the mutability of listeners()
isaacs [Fri, 15 Jun 2012 00:24:40 +0000 (17:24 -0700)]
event: Document the mutability of listeners()

12 years agoreadline: don't cache the "keypress" listeners
Nathan Rajlich [Thu, 14 Jun 2012 23:59:02 +0000 (16:59 -0700)]
readline: don't cache the "keypress" listeners

it's not safe to since `removeAllListeners()` will detach the returned
Array from the stream instance if that's ever called by the user.

12 years agoFix #3425: removeAllListeners should delete array
Reid Burke [Wed, 13 Jun 2012 17:25:43 +0000 (12:25 -0500)]
Fix #3425: removeAllListeners should delete array

When removeAllListeners is called, the listeners array
is deleted to maintain compatibility with v0.6.

Reverts "events: don't delete the listeners array"

This reverts commit 78dc13fbf97e2e3003e6f3baacdd5ff60e8de3f7.

Conflicts:

test/simple/test-event-emitter-remove-all-listeners.js

12 years agowindows: make symlinks tolerant to forward slashes
Bert Belder [Thu, 14 Jun 2012 23:37:24 +0000 (01:37 +0200)]
windows: make symlinks tolerant to forward slashes

Closes #3440

12 years agoFix test-fs-realpath on Windows
isaacs [Thu, 14 Jun 2012 19:58:59 +0000 (12:58 -0700)]
Fix test-fs-realpath on Windows

Also, in the process, fix a bug in fs.realpath on Windows.

If the user has permission to create symlinks, then use symlinks.  If
not, then skip over all the tests that cannot be run using Junctions
instead.

12 years agoFix Kraken regression due to optimistic monomorphic element transitions
danno@chromium.org [Thu, 14 Jun 2012 08:57:34 +0000 (08:57 +0000)]
Fix Kraken regression due to optimistic monomorphic element transitions

R=jkummerow@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10539141

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix assertion for map code cache of shared maps.
mstarzinger@chromium.org [Thu, 14 Jun 2012 13:54:23 +0000 (13:54 +0000)]
Fix assertion for map code cache of shared maps.

R=danno@chromium.org
TEST=mjsunit/compare-known-objects-slow

Review URL: https://chromiumcodereview.appspot.com/10548046

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agouv: upgrade to b1649b6f
Bert Belder [Thu, 14 Jun 2012 19:18:12 +0000 (21:18 +0200)]
uv: upgrade to b1649b6f

12 years agodoc: update v8-options in man page
isaacs [Thu, 14 Jun 2012 17:24:27 +0000 (10:24 -0700)]
doc: update v8-options in man page

12 years agobuild: Add node.d and node.1 to installer
isaacs [Thu, 14 Jun 2012 17:22:33 +0000 (10:22 -0700)]
build: Add node.d and node.1 to installer

12 years agov8: Replace 'echo -n' with 'echo' in build commands
isaacs [Thu, 14 Jun 2012 17:11:47 +0000 (10:11 -0700)]
v8: Replace 'echo -n' with 'echo' in build commands

12 years agouv: upgrade to 5d5688f2
Bert Belder [Thu, 14 Jun 2012 16:35:44 +0000 (18:35 +0200)]
uv: upgrade to 5d5688f2

12 years agolicense2rtf: collapse whitespace
Bert Belder [Thu, 14 Jun 2012 16:34:38 +0000 (18:34 +0200)]
license2rtf: collapse whitespace

12 years agocluster: rename worker.unqiueID to worker.id
Andreas Madsen [Wed, 30 May 2012 18:32:50 +0000 (20:32 +0200)]
cluster: rename worker.unqiueID to worker.id

12 years agoUpdate message test for new v8 behavior
isaacs [Thu, 14 Jun 2012 15:37:44 +0000 (08:37 -0700)]
Update message test for new v8 behavior

12 years agotest-bad-unicode: update to reflect V8 3.11 behavior
Bert Belder [Thu, 14 Jun 2012 14:06:53 +0000 (16:06 +0200)]
test-bad-unicode: update to reflect V8 3.11 behavior

12 years agoWindows: don't fire GC ETW events without ETW consumers
Igor Zinkovsky [Thu, 14 Jun 2012 08:33:56 +0000 (01:33 -0700)]
Windows: don't fire GC ETW events without ETW consumers

12 years agotest: use the debug build of node-weak when necessary
Nathan Rajlich [Thu, 14 Jun 2012 00:39:20 +0000 (17:39 -0700)]
test: use the debug build of node-weak when necessary

12 years agotest: add a .gitignore file to ignore weak's compiled "build" dir
Nathan Rajlich [Thu, 14 Jun 2012 00:32:53 +0000 (17:32 -0700)]
test: add a .gitignore file to ignore weak's compiled "build" dir

12 years agoLICENSE: add node-weak
Bert Belder [Thu, 14 Jun 2012 00:52:30 +0000 (02:52 +0200)]
LICENSE: add node-weak

12 years agoLICENSE: punctuation fixes
Bert Belder [Thu, 14 Jun 2012 00:50:25 +0000 (02:50 +0200)]
LICENSE: punctuation fixes

12 years agoRemove faster ticks for debug mode.
yangguo@chromium.org [Wed, 13 Jun 2012 14:07:50 +0000 (14:07 +0000)]
Remove faster ticks for debug mode.

This solves the problem that code runs very slow when the debugger is enabled.

BUG=v8:2179
TEST=

Review URL: https://chromiumcodereview.appspot.com/10544135

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoUnbreak the snapshotted build on Windows
Bert Belder [Sat, 2 Jun 2012 14:01:18 +0000 (16:01 +0200)]
Unbreak the snapshotted build on Windows

The v8 team apparently decided that all build products should go
into ./build/«type», and updated their common.gypi file to do so.
Unfortunately v8's common.gypi is only used for some targets. All
the other targets would still look in the old place to find their
their dependencies, which effectively broke the build.

In the long run it would be good for node to send all build
output to ./build too, on all platforms.

12 years agov8: fix postmortem debugging tools build
Fedor Indutny [Wed, 13 Jun 2012 13:47:28 +0000 (15:47 +0200)]
v8: fix postmortem debugging tools build

12 years agov8: reapply floating patches
Bert Belder [Wed, 13 Jun 2012 13:37:15 +0000 (15:37 +0200)]
v8: reapply floating patches

Note that 26f754d9 ('fix error handling in SendConnectMessage') is no
longer necessary; it was properly fixed upstream in V8 r11609.

12 years agoFix performance regression caused by r11202.
mstarzinger@chromium.org [Wed, 13 Jun 2012 11:58:18 +0000 (11:58 +0000)]
Fix performance regression caused by r11202.

R=erik.corry@gmail.com
BUG=v8:2156,v8:2034
TEST=mjsunit/regress/regress-2156,mjsunit/regress/regress-2034

Review URL: https://chromiumcodereview.appspot.com/10539131

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11800 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agov8: upgrade to v3.11.10
Bert Belder [Wed, 13 Jun 2012 13:34:45 +0000 (15:34 +0200)]
v8: upgrade to v3.11.10

12 years agoInherited FDs should not accidentally be inherited by child processes
Bert Belder [Wed, 13 Jun 2012 23:28:51 +0000 (01:28 +0200)]
Inherited FDs should not accidentally be inherited by child processes

This makes test-child-process-detached pass on Windows.

12 years agouv: upgrade to 4d7f1e18
Bert Belder [Wed, 13 Jun 2012 23:24:43 +0000 (01:24 +0200)]
uv: upgrade to 4d7f1e18

12 years agovcbuild.bat: add duplicate arg-ok label to work around cmd.exe bug
Bert Belder [Wed, 13 Jun 2012 22:55:45 +0000 (00:55 +0200)]
vcbuild.bat: add duplicate arg-ok label to work around cmd.exe bug

12 years agotest: bundle node-weak in test/gc so that it doesn't need to be downloaded
Nathan Rajlich [Wed, 13 Jun 2012 22:55:29 +0000 (00:55 +0200)]
test: bundle node-weak in test/gc so that it doesn't need to be downloaded

12 years agoWindows: Enable ETW events.
Igor Zinkovsky [Mon, 11 Jun 2012 23:23:17 +0000 (16:23 -0700)]
Windows: Enable ETW events.
This commit enables ETW events to be fired on Windows for existing
DTrace probes.  ETW instrumentation is enabled by default.  It
is possible to build node.exe without ETW instrumentation by
using --without-etw option with configure script.

12 years agotest-child-process-spawn-loop: make it pass on Windows.
Bert Belder [Wed, 13 Jun 2012 20:10:59 +0000 (22:10 +0200)]
test-child-process-spawn-loop: make it pass on Windows.

It wasn't waiting for the child process' stderr to close, so not an
assertion was made *before* all the data that the child process sent
was received by node.

12 years agoFix #3388 Support listening on file descriptors
isaacs [Tue, 12 Jun 2012 17:02:52 +0000 (10:02 -0700)]
Fix #3388 Support listening on file descriptors

This implements server.listen({ fd: <filedescriptor> }).  The fd should
refer to an underlying resource that is already bound and listening, and
causes the new server to also accept connections on it.

Not supported on Windows.  Raises ENOTSUP.

12 years agoMove resource files to src/res.
Bert Belder [Wed, 13 Jun 2012 15:40:50 +0000 (17:40 +0200)]
Move resource files to src/res.

tools/msvs/res is not an appropriate place.

12 years agoFix #3407 os.tmpDir()
isaacs [Wed, 13 Jun 2012 02:05:51 +0000 (19:05 -0700)]
Fix #3407 os.tmpDir()

12 years agotests: make all message tests pass on Windows
Bert Belder [Wed, 13 Jun 2012 01:02:53 +0000 (03:02 +0200)]
tests: make all message tests pass on Windows

12 years agotest-net-timeout: make it pass on Windows
Bert Belder [Wed, 13 Jun 2012 00:49:33 +0000 (02:49 +0200)]
test-net-timeout: make it pass on Windows

The test didn't take into account that some time might pass before
libuv makes close callbacks. This is now fixed.

12 years agouv: upgrade to 9f44b0e3
Bert Belder [Tue, 12 Jun 2012 23:35:51 +0000 (01:35 +0200)]
uv: upgrade to 9f44b0e3

12 years agotest-child-process-kill: make it pass on windows
Bert Belder [Tue, 12 Jun 2012 20:39:55 +0000 (22:39 +0200)]
test-child-process-kill: make it pass on windows

The test would fail if the child process writes anything to the stdout.
This doesn't happen on unix, since `cat` is spawned. However, on Windows
`cmd` is started, which *does* write stuff to it's stdout. This
meanlingless assert is now removed.

12 years agoFix child_process.kill oddities
Bert Belder [Tue, 12 Jun 2012 20:37:36 +0000 (22:37 +0200)]
Fix child_process.kill oddities

* When the process is already dead, but the `exit` signal wasn't raised
  yet, the ESRCH error should be ignored.

* When an invalid signal is specified, kill() should throw.

* Like process.kill(), child_process.kill() now preserves a `0` signal
  which can be used to check the liveliness of the child process.

* process.kill() and child_process.kill() will now return true if the
  signal was actually delivered, and false otherwise.

* When an `exec`-ed process is automatically killed because a time or
  buffer limit is exceeded, and the kill() fails, this error should be
  reported through the `exec` callback.

Fixes: #3409

12 years agotest-exec: make it work on Windows
Bert Belder [Tue, 12 Jun 2012 17:58:05 +0000 (19:58 +0200)]
test-exec: make it work on Windows

12 years agodoc: update crypto cipher/decipher docs
Ben Noordhuis [Tue, 12 Jun 2012 20:02:35 +0000 (22:02 +0200)]
doc: update crypto cipher/decipher docs

12 years agocrypto: make cipher/decipher accept buffer args
Ben Noordhuis [Tue, 12 Jun 2012 19:47:11 +0000 (21:47 +0200)]
crypto: make cipher/decipher accept buffer args

12 years agouv: upgrade to b7e150ee
Bert Belder [Tue, 12 Jun 2012 17:19:26 +0000 (19:19 +0200)]
uv: upgrade to b7e150ee

12 years agoRevert "uv: upgrade to b7e150ee"
Bert Belder [Tue, 12 Jun 2012 17:52:38 +0000 (19:52 +0200)]
Revert "uv: upgrade to b7e150ee"

Upgrade wasn't done correctly.
This reverts commit b615077bab71db73cf065d6162cae8d6cb84d8d2.

12 years agouv: upgrade to b7e150ee
Bert Belder [Tue, 12 Jun 2012 15:05:49 +0000 (17:05 +0200)]
uv: upgrade to b7e150ee

12 years agofs: fix infinite loop in fs.readFileSync()
Ben Noordhuis [Tue, 12 Jun 2012 14:04:56 +0000 (16:04 +0200)]
fs: fix infinite loop in fs.readFileSync()

Fix an infinite loop in the case where the file got truncated by a concurrent
writer while fs.readFileSync() was busy reading in the file.

12 years agofs: fix infinite loop in fs.readFile()
Ben Noordhuis [Tue, 12 Jun 2012 13:32:40 +0000 (15:32 +0200)]
fs: fix infinite loop in fs.readFile()

Fix an infinite loop in the case where the file got truncated by a concurrent
writer while fs.readFile() was busy reading in the file.

12 years agofs: fix fs.readFileSync to work on real empty file
Shigeki Ohtsu [Tue, 12 Jun 2012 07:01:03 +0000 (16:01 +0900)]
fs: fix fs.readFileSync to work on real empty file

12 years agofs: fix typo in fs.readFile of lying size=0 stat
Shigeki Ohtsu [Tue, 12 Jun 2012 06:01:34 +0000 (15:01 +0900)]
fs: fix typo in fs.readFile of lying size=0 stat

12 years agotest-net-connect-econnrefused: don't take forever to complete
Bert Belder [Tue, 12 Jun 2012 00:22:30 +0000 (02:22 +0200)]
test-net-connect-econnrefused: don't take forever to complete

12 years agotest-module-loading: convert backslashes to forward slashes
Bert Belder [Tue, 12 Jun 2012 00:04:44 +0000 (02:04 +0200)]
test-module-loading: convert backslashes to forward slashes

This makes the test pass on Windows.

12 years agotest-http-get-pipeline-problem: don't fail if there are stray files in the temp dir
Bert Belder [Mon, 11 Jun 2012 23:56:48 +0000 (01:56 +0200)]
test-http-get-pipeline-problem: don't fail if there are stray files in the temp dir

12 years agotest-net-write-slow: increase the socket timeout period
Bert Belder [Mon, 11 Jun 2012 23:40:04 +0000 (01:40 +0200)]
test-net-write-slow: increase the socket timeout period

In Windows the callbacks arrive in slightly different order. A bunch
of write operations complete immediately, and after that there is a
gap of a few hundred ms. This causes the timeout timer to fire, which
is not really warranted; the first few write operations just finished a
little quicker than expected.

12 years agofix fs.readFile with lying size=0 stat results
isaacs [Mon, 11 Jun 2012 21:49:31 +0000 (14:49 -0700)]
fix fs.readFile with lying size=0 stat results

12 years agoAdd Buffer.concat method
isaacs [Mon, 11 Jun 2012 22:24:38 +0000 (15:24 -0700)]
Add Buffer.concat method

We write out this loop a lot of places throughout node.
It clearly needs to be an API method.

12 years agocluster: don't silently drop messages when the write queue gets big
Bert Belder [Mon, 11 Jun 2012 21:46:17 +0000 (23:46 +0200)]
cluster: don't silently drop messages when the write queue gets big

12 years agov8: force inlining of v8::internal::DescriptorArray methods
Bert Belder [Mon, 11 Jun 2012 19:22:50 +0000 (21:22 +0200)]
v8: force inlining of v8::internal::DescriptorArray methods

12 years agoForce inlining CopyChars and String::Get.
yangguo@chromium.org [Tue, 8 May 2012 12:38:24 +0000 (12:38 +0000)]
Force inlining CopyChars and String::Get.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10332054

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agochild_process: fix test implementation for options.detached
Charlie McConnell [Fri, 1 Jun 2012 04:23:05 +0000 (21:23 -0700)]
child_process: fix test implementation for options.detached

12 years agoDo not gitignore npm's node_modules
isaacs [Mon, 11 Jun 2012 16:30:44 +0000 (09:30 -0700)]
Do not gitignore npm's node_modules

12 years agoRemove auto-unref
isaacs [Mon, 11 Jun 2012 16:07:42 +0000 (09:07 -0700)]
Remove auto-unref

cc: @AvianFlu @AndreasMadsen

12 years agoNow working on 0.7.11
isaacs [Mon, 11 Jun 2012 15:58:33 +0000 (08:58 -0700)]
Now working on 0.7.11

12 years agoMerge branch 'v0.7.10-release'
isaacs [Mon, 11 Jun 2012 15:57:32 +0000 (08:57 -0700)]
Merge branch 'v0.7.10-release'

12 years ago2012.06.11, Version 0.7.10 (unstable) v0.7.10
isaacs [Mon, 11 Jun 2012 04:25:41 +0000 (21:25 -0700)]
2012.06.11, Version 0.7.10 (unstable)

* Roll V8 back to 3.9.24.31

* build: x64 target should always pass -m64 (Robert Mustacchi)

* add NODE_EXTERN to node::Start (Joel Brandt)

* repl: Warn about running npm commands (isaacs)

* slab_allocator: fix crash in dtor if V8 is dead (Ben Noordhuis)

* slab_allocator: fix leak of Persistent handles (Shigeki Ohtsu)

* windows/msi: add node.js prompt to startmenu (Jeroen Janssen)

* windows/msi: fix adding node to PATH (Jeroen Janssen)

* windows/msi: add start menu links when installing (Jeroen Janssen)

* windows: don't install x64 version into the 'program files (x86)' folder (Matt Gollob)

* domain: Fix #3379 domain.intercept no longer passes error arg to cb (Marc Harter)

* fs: make callbacks run in global context (Ben Noordhuis)

* fs: enable fs.realpath on windows (isaacs)

* child_process: expose UV_PROCESS_DETACHED as options.detached (Charlie McConnell)

* child_process: new stdio API for .spawn() method (Fedor Indutny)

* child_process: spawn().ref() and spawn().unref() (Fedor Indutny)

* Upgrade npm to 1.1.25
- Enable npm link on windows
- Properly remove sh-shim on Windows
- Abstract out registry client and logger

12 years agoRemove dep symlinks from tarball
isaacs [Mon, 11 Jun 2012 15:18:30 +0000 (08:18 -0700)]
Remove dep symlinks from tarball

12 years agoprocess_wrap: set duplex flags when creating a pipe
Bert Belder [Mon, 11 Jun 2012 14:50:07 +0000 (16:50 +0200)]
process_wrap: set duplex flags when creating a pipe

12 years agolint
isaacs [Mon, 11 Jun 2012 14:48:02 +0000 (07:48 -0700)]
lint

12 years agoUpgrade npm to 1.1.25
isaacs [Mon, 11 Jun 2012 04:29:47 +0000 (21:29 -0700)]
Upgrade npm to 1.1.25

12 years agotest: add test for bad unicode sequences
Nuno Job [Sat, 9 Jun 2012 17:47:18 +0000 (18:47 +0100)]
test: add test for bad unicode sequences

This was a regression in 0.7.9.

12 years agoFix fs.realpath tests so that they actually run
isaacs [Sat, 9 Jun 2012 07:39:57 +0000 (00:39 -0700)]
Fix fs.realpath tests so that they actually run

12 years agoFix #3394 fs.realpath: Properly cache symlink targets
isaacs [Sat, 9 Jun 2012 07:33:25 +0000 (00:33 -0700)]
Fix #3394 fs.realpath: Properly cache symlink targets

12 years agoFix fs.realpath to work on Windows
isaacs [Fri, 8 Jun 2012 23:49:03 +0000 (16:49 -0700)]
Fix fs.realpath to work on Windows

1. Make the isRoot check valid
2. Don't cache results based on dev/ino, since those are alwasy 0 on
windows.

12 years agoExpose posix realpath on windows as well
isaacs [Fri, 8 Jun 2012 22:26:04 +0000 (15:26 -0700)]
Expose posix realpath on windows as well