platform/upstream/nodejs.git
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

12 years agodomain: document and test dispose event
Andreas Madsen [Fri, 8 Jun 2012 18:24:52 +0000 (20:24 +0200)]
domain: document and test dispose event

12 years agodomain: run now return callback result
Andreas Madsen [Fri, 8 Jun 2012 18:06:10 +0000 (20:06 +0200)]
domain: run now return callback result

both domain.bind and domain.intercept act this way

12 years agodomain: dry decorate using util._extend
Andreas Madsen [Fri, 8 Jun 2012 17:59:35 +0000 (19:59 +0200)]
domain: dry decorate using util._extend

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 agov8: Floating patches
isaacs [Tue, 29 May 2012 22:09:31 +0000 (15:09 -0700)]
v8: Floating patches

12 years agoRoll V8 back to 3.9.24.31
isaacs [Sat, 9 Jun 2012 15:09:42 +0000 (08:09 -0700)]
Roll V8 back to 3.9.24.31

12 years agoFix #3379 prevent domain.intercept passing 1st arg to cb
Marc Harter [Wed, 6 Jun 2012 15:17:01 +0000 (10:17 -0500)]
Fix #3379 prevent domain.intercept passing 1st arg to cb

12 years agochild_process: expose UV_PROCESS_DETACHED as options.detached
Charlie McConnell [Fri, 1 Jun 2012 04:23:05 +0000 (21:23 -0700)]
child_process: expose UV_PROCESS_DETACHED as options.detached

12 years agoRevert "Unbreak the Windows build"
Bert Belder [Fri, 8 Jun 2012 18:46:34 +0000 (20:46 +0200)]
Revert "Unbreak the Windows build"

It is not needed for v8 3.10, and actually breaks the build.
This reverts commit bd33fea732fa74d23fc31855631eba14a03a0c49.

12 years agox64 target should always pass -m64
Robert Mustacchi [Thu, 7 Jun 2012 23:21:04 +0000 (23:21 +0000)]
x64 target should always pass -m64

12 years agov8: Don't use 'echo -n' in configure script
isaacs [Mon, 4 Jun 2012 18:10:31 +0000 (11:10 -0700)]
v8: Don't use 'echo -n' in configure script

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

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.

Conflicts:

deps/v8/build/common.gypi

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 agov8: Floating patches
isaacs [Tue, 29 May 2012 22:09:31 +0000 (15:09 -0700)]
v8: Floating patches

12 years agoRoll V8 back to 3.10.8.13
isaacs [Thu, 7 Jun 2012 18:45:30 +0000 (11:45 -0700)]
Roll V8 back to 3.10.8.13

12 years agochild_process: spawn().ref() and spawn().unref()
Fedor Indutny [Wed, 6 Jun 2012 17:19:14 +0000 (21:19 +0400)]
child_process: spawn().ref() and spawn().unref()

12 years agobuild: Prevent duplication of doc/api folder
isaacs [Wed, 6 Jun 2012 22:01:31 +0000 (15:01 -0700)]
build: Prevent duplication of doc/api folder

12 years agofs: make callbacks run in global context
Ben Noordhuis [Wed, 6 Jun 2012 19:33:29 +0000 (21:33 +0200)]
fs: make callbacks run in global context

Callbacks that were passed to the binding layer ran in the context of the
(internal) binding object. Make sure they run in the global context.

Before:

  fs.symlink('a', 'b', function() {
    console.log(this); // prints "{ oncomplete: [Function] }"
  });

After:

  fs.symlink('a', 'b', function() {
    console.log(this); // prints "{ <global object> }"
  });

12 years agofs: make fs.symlink() with no callback async
Ben Noordhuis [Wed, 6 Jun 2012 19:07:54 +0000 (21:07 +0200)]
fs: make fs.symlink() with no callback async

Fix a bug where fs.symlink('foo', 'bar') executed symlink(2) synchronously.

12 years agoadd NODE_EXTERN to node::Start
Joel Brandt [Wed, 6 Jun 2012 01:32:44 +0000 (18:32 -0700)]
add NODE_EXTERN to node::Start

12 years agodeps: upgrade libuv to 649ad50
Ben Noordhuis [Wed, 6 Jun 2012 03:21:07 +0000 (05:21 +0200)]
deps: upgrade libuv to 649ad50

12 years agoWarn about running npm in the repl
isaacs [Tue, 5 Jun 2012 19:02:37 +0000 (12:02 -0700)]
Warn about running npm in the repl

12 years agotest: make the node-weak install build agaist this repo
Nathan Rajlich [Sun, 27 May 2012 07:47:40 +0000 (00:47 -0700)]
test: make the node-weak install build agaist this repo

This prevents node-gyp from attempting to download dev header files from
nodejs.org. Instead, the files in this repo will be used to build the module.

12 years agodeps: upgrade libuv to c8c9fe1
Ben Noordhuis [Tue, 5 Jun 2012 13:45:46 +0000 (15:45 +0200)]
deps: upgrade libuv to c8c9fe1

12 years agoudp_wrap, stream_wrap: lazy init slab allocator
Ben Noordhuis [Tue, 5 Jun 2012 14:45:29 +0000 (16:45 +0200)]
udp_wrap, stream_wrap: lazy init slab allocator

Create slab allocator when binding is initialized.

Add an AtExit handler to destroy the slab before the VM shuts down, it can't be
disposed when V8 is dead and Valgrind will complain about memory leaks.

12 years agoslab_allocator: fix crash in dtor if V8 is dead
Ben Noordhuis [Tue, 5 Jun 2012 13:58:55 +0000 (15:58 +0200)]
slab_allocator: fix crash in dtor if V8 is dead

Don't try to dispose the persistent handles if the VM is already dead, it
triggers an assertion inside V8.

12 years agoslab_allocator: fix leak of Persistent handles
Shigeki Ohtsu [Tue, 5 Jun 2012 10:24:15 +0000 (19:24 +0900)]
slab_allocator: fix leak of Persistent handles

12 years agoUpgrade npm to 1.1.24
isaacs [Tue, 5 Jun 2012 00:32:46 +0000 (17:32 -0700)]
Upgrade npm to 1.1.24

12 years agobuild: Don't clobber symlinked npm
isaacs [Mon, 4 Jun 2012 18:21:42 +0000 (11:21 -0700)]
build: Don't clobber symlinked npm

12 years agowindows/msi: minor installer tweaks
Bert Belder [Mon, 4 Jun 2012 19:39:23 +0000 (21:39 +0200)]
windows/msi: minor installer tweaks

12 years agowindows/msi: add node.js prompt to startmenu
Jeroen Janssen [Mon, 4 Jun 2012 16:59:01 +0000 (18:59 +0200)]
windows/msi: add node.js prompt to startmenu

12 years agov8: Don't use 'echo -n' in configure script
isaacs [Mon, 4 Jun 2012 18:10:31 +0000 (11:10 -0700)]
v8: Don't use 'echo -n' in configure script

12 years agonet: rename flag FLAG_SHUTDOWNQUED
Ben Noordhuis [Mon, 4 Jun 2012 13:02:02 +0000 (15:02 +0200)]
net: rename flag FLAG_SHUTDOWNQUED

12 years agowindows/msi: fix adding node to PATH
Jeroen Janssen [Sun, 3 Jun 2012 09:03:49 +0000 (11:03 +0200)]
windows/msi: fix adding node to PATH

Closes #3366

12 years agoImprove child process stdio documentation
Bert Belder [Mon, 4 Jun 2012 12:04:15 +0000 (14:04 +0200)]
Improve child process stdio documentation

12 years agowindows/msi: add start menu links when installing
Jeroen Janssen [Sat, 2 Jun 2012 19:49:31 +0000 (21:49 +0200)]
windows/msi: add start menu links when installing

12 years agowindows/msi: cleanup WiX project files
Jeroen Janssen [Sat, 2 Jun 2012 16:36:20 +0000 (18:36 +0200)]
windows/msi: cleanup WiX project files

The current WiX project files do some manual processing and generation
which WiX supports doing out of the box. This patch will use the
HeatDirectory task to generate the npm.wxs file and use the auto GUID
generation. I also changed the msi filename generation to include the
version number to match the currently used name for released msi files.

Closes #3360

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

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 agotest: v8 stack trace messages changed slightly
isaacs [Tue, 29 May 2012 22:32:20 +0000 (15:32 -0700)]
test: v8 stack trace messages changed slightly

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 agov8: Floating patches
isaacs [Tue, 29 May 2012 22:09:31 +0000 (15:09 -0700)]
v8: Floating patches

12 years agoUpgrade v8 to 3.11.7
isaacs [Tue, 29 May 2012 22:05:24 +0000 (15:05 -0700)]
Upgrade v8 to 3.11.7

12 years agochild_process: new stdio API for .spawn() method
Fedor Indutny [Wed, 16 May 2012 16:04:24 +0000 (23:04 +0700)]
child_process: new stdio API for .spawn() method

12 years agohttp: don't lowercase http req header until later
Simon Sturmer [Fri, 1 Jun 2012 07:33:19 +0000 (17:33 +1000)]
http: don't lowercase http req header until later

Don't lowercase the request header until we're in the _addHeaderLine method,
makes it easier to intercept the raw request headers.

12 years agowindows: don't install x64 version into the 'program files (x86)' folder
Matt Gollob [Fri, 1 Jun 2012 02:44:10 +0000 (22:44 -0400)]
windows: don't install x64 version into the 'program files (x86)' folder

* Update nodemsi.sln and .wixproj to include support for x64 platform
  - Add ProgramFilesFolderId to the DefineConstants property for each
    configuration/platform's property group with the appropriate value
    (ProgramFilesFolder for x86 builds, ProgramFiles64Folder for x64
    builds)

* Update product.wxs:
  - update the Id value for the "Program Files" Directory element to
    use a preprocessor constant.
  - remove hard-coded platform from the Package element.  MSI platform
    will be automatically detected based on MSBuild's Platform property.
    (This was already supported in the Wix MSBuild targets, we just
    weren't taking advantage of it.)

*  Update vcbuild.bat to set MSBuild's Platform property appropriately,
   defaulting to x86 if not explicitly supplied by the user. Note that
   creating an x64 build requires that vcbuild.bat be run from a VS
   64-bit command prompt.

Closes #3312
Closes #3356

12 years agowindows: add icon to node.exe
Bert Belder [Sat, 2 Jun 2012 00:01:57 +0000 (02:01 +0200)]
windows: add icon to node.exe

The icon could definitely be nicer, patches welcome.
Credits to Nathan Rajlich for putting together this one.

12 years agochild_process: new stdio API for .spawn() method
Fedor Indutny [Wed, 16 May 2012 16:04:24 +0000 (23:04 +0700)]
child_process: new stdio API for .spawn() method

12 years agouv: upgrade to 87dbffbd
Bert Belder [Fri, 1 Jun 2012 16:07:22 +0000 (18:07 +0200)]
uv: upgrade to 87dbffbd

12 years agotest: update pummel/test-exec
Ben Noordhuis [Wed, 30 May 2012 23:46:53 +0000 (01:46 +0200)]
test: update pummel/test-exec

ChildProcess.prototype._internal is called ChildProcess.prototype._handle now.

12 years agoNow working on 0.7.10
isaacs [Tue, 29 May 2012 17:08:24 +0000 (10:08 -0700)]
Now working on 0.7.10

12 years agoMerge branch 'v0.7.9-release'
isaacs [Tue, 29 May 2012 17:07:44 +0000 (10:07 -0700)]
Merge branch 'v0.7.9-release'

12 years agodeps: upgrade libuv to 7556590
Fedor Indutny [Mon, 28 May 2012 19:52:34 +0000 (23:52 +0400)]
deps: upgrade libuv to 7556590

12 years agonet: fix 'close' event emit order
Ben Noordhuis [Tue, 29 May 2012 11:05:49 +0000 (13:05 +0200)]
net: fix 'close' event emit order

The server 'close' event was emitted before the last client 'close' event. Not
exactly fatal but potentially confusing.

Before this commit the order looked something like [client, server, client],
now it looks like [client, client, server].

See #3340 for more details.

12 years ago2012.05.28, Version 0.7.9 (unstable) v0.7.9
isaacs [Sat, 26 May 2012 05:20:21 +0000 (22:20 -0700)]
2012.05.28, Version 0.7.9 (unstable)

* Upgrade V8 to 3.11.1

* Upgrade npm to 1.1.23

* uv: rework reference counting scheme (Ben Noordhuis)

* uv: add interface for joining external event loops (Bert Belder)

* repl, readline: Handle Ctrl+Z and SIGCONT better (Nathan Rajlich)

* fs: 64bit offsets for fs calls (Igor Zinkovsky)

* fs: add sync open flags 'rs' and 'rs+' (Kevin Bowman)

* windows: enable creating directory junctions with fs.symlink (Igor Zinkovsky, Bert Belder)

* windows: fix fs.lstat to properly detect symlinks. (Igor Zinkovsky)

* Fix #3270 Escape url.parse delims (isaacs)

* http: make http.get() accept a URL (Adam Malcontenti-Wilson)

* Cleanup vm module memory leakage (Marcel Laverdet)

* Optimize writing strings with Socket.write (Bert Belder)

* add support for CESU-8 and UTF-16LE encodings (koichik)

* path: add path.sep to get the path separator. (Yi, EungJun)

* net, http: add backlog parameter to .listen() (Erik Dubbelboer)

* debugger: support mirroring Date objects (Fedor Indutny)

* addon: add AtExit() function (Ben Noordhuis)

* net: signal localAddress bind failure in connect (Brian Schroeder)

* util: handle non-string return value in .inspect() (Alex Kocharin)

12 years agoRevert "tests: kill process group on failure"
isaacs [Sun, 27 May 2012 15:32:31 +0000 (08:32 -0700)]
Revert "tests: kill process group on failure"

This reverts commit 0cebfc8ddb509fbf5f865bb660b73e96680b3f65.