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

12 years agoupgrade npm to 1.1.23
isaacs [Sun, 27 May 2012 05:36:04 +0000 (22:36 -0700)]
upgrade npm to 1.1.23

This also upgrades node-gyp to 0.4.3

12 years agodeps: cherry-pick libuv commit 4690204
Ben Noordhuis [Mon, 28 May 2012 22:06:36 +0000 (22:06 +0000)]
deps: cherry-pick libuv commit 4690204

libuv cannot be upgraded right now (API change in upstream libuv) but this
commit fixes a segmentation fault on SunOS systems, hence the cherry-pick.

12 years agohttp: fix duplicated variable declaration
Shigeki Ohtsu [Mon, 28 May 2012 06:36:04 +0000 (15:36 +0900)]
http: fix duplicated variable declaration

12 years agostream: don't call `cleanup` twice on `end` and `close`
Maciej Małecki [Sun, 27 May 2012 21:29:00 +0000 (23:29 +0200)]
stream: don't call `cleanup` twice on `end` and `close`

12 years agodeps: upgrade libuv to 2ec0986
Ben Noordhuis [Sun, 27 May 2012 22:32:16 +0000 (00:32 +0200)]
deps: upgrade libuv to 2ec0986

12 years agofs: no end emit after createReadStream.pause()
Andreas Madsen [Sat, 26 May 2012 13:28:35 +0000 (15:28 +0200)]
fs: no end emit after createReadStream.pause()

In case a fd option is given to fs.createReadStream a read will instantly
happen. But in the edge case where fd point to an empty file and .pause()
was executed instantly, the end event would emit since no async wait was
between fs.createReadStream and the file read there emits end.

12 years agodoc: add npm search to appendix
Jeroen Janssen [Sat, 26 May 2012 10:36:05 +0000 (12:36 +0200)]
doc: add npm search to appendix

Fixes #3327.

12 years agodoc: updated JavaScript casing where relevant
Jeroen Janssen [Sat, 26 May 2012 10:25:44 +0000 (12:25 +0200)]
doc: updated JavaScript casing where relevant

Fixes #3326.

12 years agodeps: upgrade libuv to 28766dc
Ben Noordhuis [Fri, 25 May 2012 12:02:35 +0000 (14:02 +0200)]
deps: upgrade libuv to 28766dc

12 years agoUpgrade uv to 604802a
isaacs [Thu, 24 May 2012 21:26:32 +0000 (14:26 -0700)]
Upgrade uv to 604802a

12 years agoremove NODE_USE_64BIT_UV_FS_API
Igor Zinkovsky [Thu, 24 May 2012 18:49:51 +0000 (11:49 -0700)]
remove NODE_USE_64BIT_UV_FS_API

12 years agodoc: update possible values for process.platform
Jeroen Janssen [Thu, 24 May 2012 16:36:20 +0000 (18:36 +0200)]
doc: update possible values for process.platform

12 years agotest: update addons .gitignore
Ben Noordhuis [Thu, 24 May 2012 12:07:09 +0000 (14:07 +0200)]
test: update addons .gitignore

12 years agowindows: enable creating directory junctions with fs.symlink
Igor Zinkovsky [Tue, 22 May 2012 23:02:10 +0000 (16:02 -0700)]
windows: enable creating directory junctions with fs.symlink

12 years agodoc: add punycode.js documentation
Mathias Bynens [Mon, 21 May 2012 14:51:09 +0000 (16:51 +0200)]
doc: add punycode.js documentation

12 years agodoc: process get/setuid and get/setgid are POSIX only
Jeroen Janssen [Mon, 21 May 2012 22:07:11 +0000 (00:07 +0200)]
doc: process get/setuid and get/setgid are POSIX only

Fixes #3302

12 years agodeps: upgrade libuv to 5b9c451
Ben Noordhuis [Wed, 23 May 2012 02:01:19 +0000 (04:01 +0200)]
deps: upgrade libuv to 5b9c451

12 years agoupdate uv to 2df831723fad25d2d97b824b2e52c65082af2723
Igor Zinkovsky [Tue, 22 May 2012 23:49:19 +0000 (16:49 -0700)]
update uv to 2df831723fad25d2d97b824b2e52c65082af2723

12 years agoremove race from test-child-process-fork-exec-argv test
Igor Zinkovsky [Tue, 22 May 2012 20:55:47 +0000 (13:55 -0700)]
remove race from test-child-process-fork-exec-argv test

12 years agotest: fix bad comment
Ben Noordhuis [Fri, 18 May 2012 00:02:57 +0000 (02:02 +0200)]
test: fix bad comment

12 years agotest: fix simple/test-process-active-wraps
Ben Noordhuis [Mon, 21 May 2012 16:00:25 +0000 (18:00 +0200)]
test: fix simple/test-process-active-wraps

Said test relies a great deal on internals and implementation details (I should
know, I wrote it). Patch it up to work with libuv's new refcounting scheme.

12 years agodeps: upgrade libuv to a478847
Ben Noordhuis [Thu, 17 May 2012 05:13:29 +0000 (07:13 +0200)]
deps: upgrade libuv to a478847

The event loop's reference counting scheme in this version of libuv has changed.
Update the libuv bindings to reflect that fact.

12 years agorepl: preserve the cursor when redisplaying the prompt on SIGCONT
Nathan Rajlich [Mon, 21 May 2012 22:46:57 +0000 (19:46 -0300)]
repl: preserve the cursor when redisplaying the prompt on SIGCONT

Otherwise the cursor position was being reset to 0, even when there was
already part of a line, which was strange.

Part of #3295.

12 years agoreadline: explicitly disable and re-enable "raw mode" on Ctrl+Z
Nathan Rajlich [Mon, 21 May 2012 22:43:26 +0000 (19:43 -0300)]
readline: explicitly disable and re-enable "raw mode" on Ctrl+Z

Fixes #3295.

12 years agoreadline: move the "setRawMode" logic into a private function
Nathan Rajlich [Mon, 21 May 2012 22:41:56 +0000 (19:41 -0300)]
readline: move the "setRawMode" logic into a private function

12 years agoMake UNWRAP macro generic.
Oleg Efimov [Mon, 21 May 2012 17:09:40 +0000 (21:09 +0400)]
Make UNWRAP macro generic.

12 years agocluster: remove NODE_UNIQUE_ID from env on startup
Andreas Madsen [Sun, 20 May 2012 13:57:24 +0000 (15:57 +0200)]
cluster: remove NODE_UNIQUE_ID from env on startup

In case a worker would spawn a new subprocess with process.env, NODE_UNIQUE_ID
would have been a part of the env. Making the new subprocess believe it is a
worker, this would result in some confusion if the subprocess where to listen to
a port, since the server handle request would then be relayed to the worker.

This patch removes the NODE_UNIQUE_ID flag from process.env on startup so any
subprocess spawned by a worker is a normal process with no cluster stuff.

12 years agoCheck for tabs in source line in DisplayExceptionLine
Oleg Efimov [Mon, 21 May 2012 15:27:15 +0000 (19:27 +0400)]
Check for tabs in source line in DisplayExceptionLine

Fix for joyent/node#3280

12 years agotest: add http 'data after timeout' test
Ben Noordhuis [Sun, 20 May 2012 22:31:28 +0000 (00:31 +0200)]
test: add http 'data after timeout' test

See #3234. TDB if this is or is not the desired behavior.

12 years agotest: wait for 'close' event for stdout
isaacs [Sun, 20 May 2012 12:40:10 +0000 (09:40 -0300)]
test: wait for 'close' event for stdout

At the 'exit' event, it is sometimes not done writing to stdout.

12 years agotest: root can connect to chmod'd pipes
isaacs [Sun, 20 May 2012 03:42:07 +0000 (00:42 -0300)]
test: root can connect to chmod'd pipes

12 years agotest: Solaris is not as granular with rename fs watch events
isaacs [Sun, 20 May 2012 03:17:18 +0000 (00:17 -0300)]
test: Solaris is not as granular with rename fs watch events

12 years agofs.watch should not require a listener arguments
Andreas Madsen [Sat, 19 May 2012 21:05:43 +0000 (23:05 +0200)]
fs.watch should not require a listener arguments

Since fs.watch returns an event emitter where the change event is exactly
the same as the listener callback, the argument should be required

12 years agodoc: improve fs.open() docs
Ben Noordhuis [Thu, 17 May 2012 04:18:25 +0000 (06:18 +0200)]
doc: improve fs.open() docs

12 years agodoc: document fs 'rs+' open mode
Kevin Bowman [Wed, 16 May 2012 03:24:05 +0000 (04:24 +0100)]
doc: document fs 'rs+' open mode

12 years agoFaster fs.readFile and fs.readFileSync
isaacs [Wed, 16 May 2012 00:35:42 +0000 (17:35 -0700)]
Faster fs.readFile and fs.readFileSync

12 years agobenchmark for fs.readfile
isaacs [Wed, 16 May 2012 00:02:39 +0000 (17:02 -0700)]
benchmark for fs.readfile

12 years agoRevert "Fix #3242 Actually deprecate 'binary' buffer encoding"
isaacs [Wed, 16 May 2012 23:32:37 +0000 (16:32 -0700)]
Revert "Fix #3242 Actually deprecate 'binary' buffer encoding"

This reverts commit 5979f096d1b702ca2ba95664a0bbc8210109775b.

Related:
- #3279
- #3278

12 years agoFix #3270 Escape url.parse delims
isaacs [Wed, 16 May 2012 02:06:15 +0000 (19:06 -0700)]
Fix #3270 Escape url.parse delims

Rather than omitting them.

12 years agobuild: Set strict_aliasing on SunOS always
isaacs [Wed, 16 May 2012 21:49:51 +0000 (14:49 -0700)]
build: Set strict_aliasing on SunOS always

A build failure was introduced on c9676c9147e088171e60b1977ac239ded4f327df
in SmartOS systems.  This makes it build properly.

12 years agoRevert "test: stack overflow output"
isaacs [Wed, 16 May 2012 21:44:15 +0000 (14:44 -0700)]
Revert "test: stack overflow output"

This reverts commit f8519e10b823f576ddd0efa76ab425f0598b1223.

Recent update to V8 fixes the problem where it incorrectly reports the
line number as 0 for thrown RangeErrors.

12 years agov8: s/echo -n/echo/. Not all sh's are bash.
isaacs [Wed, 16 May 2012 17:15:25 +0000 (10:15 -0700)]
v8: s/echo -n/echo/. Not all sh's are bash.

12 years agoPatches floating on V8
isaacs [Wed, 16 May 2012 15:50:24 +0000 (08:50 -0700)]
Patches floating on V8

12 years agoUpgrade V8 to 3.11.1
isaacs [Wed, 16 May 2012 02:53:16 +0000 (19:53 -0700)]
Upgrade V8 to 3.11.1

12 years agohttp: make http.get() accept a URL
Adam Malcontenti-Wilson [Wed, 16 May 2012 14:27:34 +0000 (16:27 +0200)]
http: make http.get() accept a URL

http.get() now accepts either a URL (as a string) or an options object.

12 years agodoc: clarify stream 'close' event
Ben Noordhuis [Wed, 16 May 2012 14:08:18 +0000 (16:08 +0200)]
doc: clarify stream 'close' event

12 years agolint
isaacs [Wed, 16 May 2012 00:37:23 +0000 (17:37 -0700)]
lint

12 years agofs: add sync open flags 'rs' and 'rs+'
Kevin Bowman [Tue, 15 May 2012 22:10:25 +0000 (00:10 +0200)]
fs: add sync open flags 'rs' and 'rs+'

12 years agoMerge branch 'master' into v0.6-merge
isaacs [Tue, 15 May 2012 21:21:22 +0000 (14:21 -0700)]
Merge branch 'master' into v0.6-merge

Conflicts:
src/node.cc

12 years agoRe-apply http fixes from v0.6 branch properly
isaacs [Tue, 15 May 2012 21:19:46 +0000 (14:19 -0700)]
Re-apply http fixes from v0.6 branch properly

12 years agobuild: improve c compiler detection
Sadique Ali [Tue, 1 May 2012 10:33:36 +0000 (16:03 +0530)]
build: improve c compiler detection

12 years agohttp: fix client request.end() EPIPE race
Ben Noordhuis [Tue, 15 May 2012 20:05:33 +0000 (22:05 +0200)]
http: fix client request.end() EPIPE race

request.end() would sometimes try to write a zero-length buffer to the socket.
Don't do that, it triggers an unnecessary EPIPE when the other end has closed
the connection.

Fixes #3257.

12 years agotest: stack overflow output
isaacs [Tue, 15 May 2012 20:03:56 +0000 (13:03 -0700)]
test: stack overflow output

12 years agolint
isaacs [Tue, 15 May 2012 20:03:43 +0000 (13:03 -0700)]
lint

12 years agonode: make _getActiveHandles() return user objects
Ben Noordhuis [Tue, 15 May 2012 15:24:06 +0000 (17:24 +0200)]
node: make _getActiveHandles() return user objects

Before this commit, process._getActiveHandles() returned a list of internal
handles. Now, it returns the user objects that handles are attached to.

For example, a tcp_wrap handle will now return its parent net.Socket object.

It works for all handle types except timers because timer handles are shared
across multiple user objects.

12 years agotest: verify that connect reqs are cleaned up
Ben Noordhuis [Sun, 29 Apr 2012 22:58:15 +0000 (00:58 +0200)]
test: verify that connect reqs are cleaned up

12 years agoprocess: add _getActiveHandles(), _getActiveRequests()
Ben Noordhuis [Sat, 28 Apr 2012 16:45:10 +0000 (18:45 +0200)]
process: add _getActiveHandles(), _getActiveRequests()

* process._getActiveHandles() returns a list containing all active handles
  (timers, sockets, etc.) that have not been unref'd.

* process._getActiveRequests() returns a list of active requests (in-flight
  actions like connecting to a remote host, writing data to a socket, etc.).

12 years agoreq_wrap: share process_symbol, domain_symbol
Ben Noordhuis [Fri, 27 Apr 2012 16:58:30 +0000 (18:58 +0200)]
req_wrap: share process_symbol, domain_symbol

Share persistent strings process_symbol and domain_symbol across compilation
units. Avoids redefinition errors when src/node.cc includes src/req_wrap.h.

12 years agoMerge remote-tracking branch 'ry/v0.6' into v0.6-merge
isaacs [Tue, 15 May 2012 18:37:34 +0000 (11:37 -0700)]
Merge remote-tracking branch 'ry/v0.6' into v0.6-merge

Conflicts:
ChangeLog
deps/uv/include/uv-private/uv-unix.h
deps/uv/src/unix/core.c
deps/uv/src/unix/sunos.c
deps/v8/src/runtime.cc
doc/api/crypto.markdown
lib/http.js
src/node_version.h
test/gc/test-http-client-timeout.js
wscript

12 years agoGuard against emitting 'end' twice on http responses
isaacs [Tue, 15 May 2012 00:21:20 +0000 (17:21 -0700)]
Guard against emitting 'end' twice on http responses

Conflicts:

lib/http.js

12 years agoBreak up huge function in ClientRequest.onSocket
isaacs [Fri, 11 May 2012 00:55:28 +0000 (17:55 -0700)]
Break up huge function in ClientRequest.onSocket

Conflicts:

lib/http.js

12 years agoNow working on 0.6.19
isaacs [Tue, 15 May 2012 17:21:57 +0000 (10:21 -0700)]
Now working on 0.6.19

12 years agoMerge branch 'v0.6.18-release' into v0.6
isaacs [Tue, 15 May 2012 17:21:40 +0000 (10:21 -0700)]
Merge branch 'v0.6.18-release' into v0.6

12 years agochild_process: hook up handle wrap to owning object
Ben Noordhuis [Fri, 27 Apr 2012 14:54:28 +0000 (16:54 +0200)]
child_process: hook up handle wrap to owning object

12 years agochild_process: rename field _internal to _handle
Ben Noordhuis [Fri, 27 Apr 2012 14:52:06 +0000 (16:52 +0200)]
child_process: rename field _internal to _handle

Consistent with how other classes that are built around HandleWraps call it.

12 years agonet: hook up handle wrap to owning object
Ben Noordhuis [Fri, 27 Apr 2012 02:42:10 +0000 (04:42 +0200)]
net: hook up handle wrap to owning object

12 years agofs: hook up handle wrap to owning object
Ben Noordhuis [Fri, 27 Apr 2012 02:39:05 +0000 (04:39 +0200)]
fs: hook up handle wrap to owning object

12 years agodgram: hook up handle wrap to owning object
Ben Noordhuis [Fri, 27 Apr 2012 02:37:27 +0000 (04:37 +0200)]
dgram: hook up handle wrap to owning object

12 years ago2012.05.15 Version 0.6.18 (stable) v0.6.18
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)

12 years agoEscape leading # signs in 'make email.md'
isaacs [Mon, 14 May 2012 23:14:12 +0000 (16:14 -0700)]
Escape leading # signs in 'make email.md'

12 years agoGuard against emitting 'end' twice on http responses
isaacs [Tue, 15 May 2012 00:21:20 +0000 (17:21 -0700)]
Guard against emitting 'end' twice on http responses

12 years agoUpgrade libuv to bc4126b
isaacs [Mon, 14 May 2012 19:01:38 +0000 (12:01 -0700)]
Upgrade libuv to bc4126b

12 years agotest: add https + .pfx client/server test
Ben Noordhuis [Mon, 14 May 2012 15:34:33 +0000 (17:34 +0200)]
test: add https + .pfx client/server test

12 years agocrypto: add PKCS12/PFX support
ssuda [Sun, 13 May 2012 19:38:23 +0000 (01:08 +0530)]
crypto: add PKCS12/PFX support

Fixes #2845.

12 years agochild_process: allow sending a net Socket and Server object using child.send
Andreas Madsen [Thu, 12 Apr 2012 07:23:07 +0000 (09:23 +0200)]
child_process: allow sending a net Socket and Server object using child.send

child_process.fork() support sending native hander object, this patch add support for sending
net.Server and net.Socket object by converting the object to a native handle object and back
to a useful object again.

Note when sending a Socket there was emitted by a net Server object, the server.connections
property becomes null, because it is no longer possible to known when it is destroyed.