platform/upstream/nodejs.git
12 years agocluster: use process.disconnect method
Andreas Madsen [Wed, 1 Feb 2012 16:23:25 +0000 (17:23 +0100)]
cluster: use process.disconnect method

After adding a .disconect method and connected flag in child_process
we should no longer use the process._channel object.

12 years agocluster: simplify process event handling
Andreas Madsen [Wed, 1 Feb 2012 16:16:15 +0000 (17:16 +0100)]
cluster: simplify process event handling

This simplify the internalMessage and exit event handling
And simply relay message and error event to the worker object
Note that the error event was not relayed before

12 years agogyp_addon: link with node.lib on Windows
Nathan Rajlich [Fri, 6 Jan 2012 23:48:23 +0000 (15:48 -0800)]
gyp_addon: link with node.lib on Windows

Closes GH-2685

12 years agohttp: fix http-parser is freed twice
koichik [Mon, 6 Feb 2012 17:24:50 +0000 (02:24 +0900)]
http: fix http-parser is freed twice

after response to CONNECT/Upgrade request.

Fixes #2704.

12 years agotest: remove deprecated isolates test
Ben Noordhuis [Mon, 6 Feb 2012 16:47:09 +0000 (17:47 +0100)]
test: remove deprecated isolates test

12 years agoWindows: disable RTTI and exceptions
Bert Belder [Mon, 6 Feb 2012 14:37:37 +0000 (15:37 +0100)]
Windows: disable RTTI and exceptions

12 years agoRevert support for isolates.
Ben Noordhuis [Fri, 3 Feb 2012 15:32:00 +0000 (16:32 +0100)]
Revert support for isolates.

It was decided that the performance benefits that isolates offer (faster spin-up
times for worker processes, faster inter-worker communication, possibly a lower
memory footprint) are not actual bottlenecks for most people and do not outweigh
the potential stability issues and intrusive changes to the code base that
first-class support for isolates requires.

Hence, this commit backs out all isolates-related changes.

Good bye, isolates. We hardly knew ye.

12 years agoRevert "Process symlinked shared library as .node"
Ben Noordhuis [Wed, 1 Feb 2012 21:25:55 +0000 (22:25 +0100)]
Revert "Process symlinked shared library as .node"

This reverts commit 7e0bf7d57de318f45a097e05644efa49beb65209.

It's possible to make GYP generate an XCode project that produces a .node file,
hence this commit is no longer needed.

12 years agoworking on 0.7.3 now
isaacs [Wed, 1 Feb 2012 21:05:04 +0000 (13:05 -0800)]
working on 0.7.3 now

12 years ago2012.02.01, Version 0.7.2 (unstable) v0.7.2
isaacs [Wed, 1 Feb 2012 02:43:23 +0000 (18:43 -0800)]
2012.02.01, Version 0.7.2 (unstable)

* Update V8 to 3.8.9

* Support for sharing streams across Isolates (Igor Zinkovsky)

* #2636 - Fix case where http_parsers are freed too early (koichik)

* url: Support for IPv6 addresses in URLs (Łukasz Walukiewicz)

* child_process: Add disconnect() method to child processes (Andreas Madsen)

* fs: add O_EXCL support, exclusive open file (Ben Noordhuis)

* fs: more specific error messages (Tj Holowaychuk)

* tty: emit 'unknown' key event if key sequence not found (Dan VerWeire, Nathan Rajlich)

* build: compile release build too if BUILDTYPE=Debug (Ben Noordhuis)

* module: fix --debug-brk on symlinked scripts (Fedor Indutny)

* zlib: fix `Failed to set dictionary` issue (Fedor Indutny)

* waf: predict target arch for OS X (Fedor Indutny)

12 years agoUpdate v8 to 3.8.9
isaacs [Wed, 1 Feb 2012 02:35:04 +0000 (18:35 -0800)]
Update v8 to 3.8.9

12 years agoMerge remote-tracking branch 'ry/master' into merge-v0.6
isaacs [Wed, 1 Feb 2012 02:22:10 +0000 (18:22 -0800)]
Merge remote-tracking branch 'ry/master' into merge-v0.6

12 years agoMerge remote-tracking branch 'ry/v0.6' into master
isaacs [Wed, 1 Feb 2012 02:18:00 +0000 (18:18 -0800)]
Merge remote-tracking branch 'ry/v0.6' into master

Conflicts:
ChangeLog
deps/uv/src/unix/udp.c
deps/uv/src/win/fs.c
deps/uv/src/win/udp.c
deps/uv/test/test-fs.c
doc/index.html
doc/logos/index.html
doc/template.html
src/node_version.h

12 years agoProcess symlinked shared library as .node
Paddy Byers [Tue, 22 Nov 2011 23:49:18 +0000 (23:49 +0000)]
Process symlinked shared library as .node

12 years agoTidy _resolveFilename
Paddy Byers [Tue, 22 Nov 2011 23:46:01 +0000 (23:46 +0000)]
Tidy _resolveFilename

12 years agosupport for sharing streams accross isolates
Igor Zinkovsky [Fri, 20 Jan 2012 00:52:23 +0000 (16:52 -0800)]
support for sharing streams accross isolates

12 years agotest: dgram-{broadcast,multicast}-multi-process : prevent false failures
Dan VerWeire [Mon, 30 Jan 2012 15:04:20 +0000 (10:04 -0500)]
test: dgram-{broadcast,multicast}-multi-process : prevent false failures

* check exit code of child processes
* wait 1000 ms to exit the child process
* prefix log messages with [PARENT] or [CHILD] to help debugging
* kill all child processes before exiting

Conflicts:

test/simple/test-dgram-multicast-multi-process.js

12 years agochild_process: do not disconnect on exit emit
Andreas Madsen [Tue, 31 Jan 2012 16:14:42 +0000 (17:14 +0100)]
child_process: do not disconnect on exit emit

When using isolate the .fork would break because it had
no .disconnect method. This remove the exit handler there
would call .disconnect since it was not required.
It also change .disconnect to throw if the channel is closed,
this was not possible before because .disconnect would be called
twice.

12 years agouv: upgrade to 3eb94e9
Bert Belder [Tue, 31 Jan 2012 16:41:46 +0000 (17:41 +0100)]
uv: upgrade to 3eb94e9

12 years agoSmall test-dgram-multicast-multi-process fixes
Bert Belder [Tue, 31 Jan 2012 15:46:14 +0000 (16:46 +0100)]
Small test-dgram-multicast-multi-process fixes

Somehow windows doesn't want to bind to 224.0.0.1. Let's test with a multicast
address that has no special meaning.

12 years agobuild: don't set -mmacosx-version-min
Ben Noordhuis [Thu, 19 Jan 2012 15:18:37 +0000 (16:18 +0100)]
build: don't set -mmacosx-version-min

It sets __MAC_OS_X_VERSION_MIN_REQUIRED__, which is what we use for feature
detection.

12 years agoTest for ChildProcess.disconnect()
Andreas Madsen [Tue, 31 Jan 2012 13:46:23 +0000 (14:46 +0100)]
Test for ChildProcess.disconnect()

12 years agofs: add O_EXCL support, exclusive open file
Ben Noordhuis [Tue, 31 Jan 2012 00:36:57 +0000 (01:36 +0100)]
fs: add O_EXCL support, exclusive open file

12 years agofs, test: add file open mode tests
Ben Noordhuis [Mon, 30 Jan 2012 23:54:40 +0000 (00:54 +0100)]
fs, test: add file open mode tests

12 years agourl: Support for IPv6 addresses in URLs.
Łukasz Walukiewicz [Wed, 25 Jan 2012 23:12:00 +0000 (00:12 +0100)]
url: Support for IPv6 addresses in URLs.

Fixes #1138, #2610.

12 years agomore specific fs error messages
Tj Holowaychuk [Tue, 31 Jan 2012 00:41:32 +0000 (16:41 -0800)]
more specific fs error messages

12 years agoupgrade uv to 812e410772
Igor Zinkovsky [Mon, 30 Jan 2012 23:57:08 +0000 (15:57 -0800)]
upgrade uv to 812e410772

12 years agoadd node::SetMethod and node::SetPrototypeMethod
Roman Shtylman [Mon, 30 Jan 2012 16:58:08 +0000 (11:58 -0500)]
add node::SetMethod and node::SetPrototypeMethod

defines cannot be used if the callback is a templated and has
multiple template arguments. The comma separating the arguments
breaks the preprocessor argument handling. Using a templated function
is clearer and more idiomatic in c++.

12 years agoAdd disconnect method to forked child processes
Andreas Madsen [Mon, 30 Jan 2012 15:35:05 +0000 (16:35 +0100)]
Add disconnect method to forked child processes

This disconnect method allows the child to exit gracefully.
This also adds a disconnect event and connect property.

12 years agohttp: fix free http-parser too early
koichik [Mon, 30 Jan 2012 15:16:01 +0000 (00:16 +0900)]
http: fix free http-parser too early

when the status code is 100 (Continue).

Fixes #2636.

12 years agotimers: add v0.4 compatibility hack
Ben Noordhuis [Sun, 29 Jan 2012 22:30:13 +0000 (23:30 +0100)]
timers: add v0.4 compatibility hack

If a timer callback throws and the user's uncaughtException handler ignores the
exception, other timers that expire on the current tick should still run.

If #2582 goes through, this hack should be removed.

Fixes #2631.

12 years agocore: make .deprecate() warn only once
Brandon Benvie [Mon, 30 Jan 2012 07:41:40 +0000 (02:41 -0500)]
core: make .deprecate() warn only once

12 years agocore: add `NativeModule.prototype.deprecate`
Brandon Benvie [Sun, 29 Jan 2012 04:13:42 +0000 (23:13 -0500)]
core: add `NativeModule.prototype.deprecate`

Formalize and cleanup handling of deprecated core methods.

12 years agoChange removed process methods to be non-enumerable.
Brandon Benvie [Sun, 29 Jan 2012 04:39:38 +0000 (23:39 -0500)]
Change removed process methods to be non-enumerable.

12 years agotty: emit 'unknown' key event if key sequence not found
Dan VerWeire [Fri, 27 Jan 2012 23:49:07 +0000 (18:49 -0500)]
tty: emit 'unknown' key event if key sequence not found

Add key.code and key.sequence -mad props go out to @TooTallNate

12 years agoCorrect spelling of Ben Noordhuis
isaacs [Sat, 28 Jan 2012 01:07:43 +0000 (17:07 -0800)]
Correct spelling of Ben Noordhuis

12 years agoNow working on 0.6.10
isaacs [Sat, 28 Jan 2012 00:54:40 +0000 (16:54 -0800)]
Now working on 0.6.10

12 years ago2012.01.27, Version 0.6.9 (stable) v0.6.9
isaacs [Fri, 27 Jan 2012 21:33:01 +0000 (13:33 -0800)]
2012.01.27, Version 0.6.9 (stable)

* dgram: Bring back missing functionality for Unix (Dan VerWeire, Roman Shtylman, Ben Noordnuis)
  - Note: Windows UDP support not yet complete.

* http: Fix parser memory leak (koichik)

* zlib: Fix #2365 crashes on invalid input (Nicolas LaCasse)

* module: fix --debug-brk on symlinked scripts (Fedor Indutny)

* Documentation Restyling (Matthew Fitzsimmons)

* Update npm to 1.1.0-3 (isaacs)

* Windows: fix regression in stat() calls to C:\ (Bert Belder)

12 years agouv: upgrade to 332b72e
Ben Noordhuis [Sat, 28 Jan 2012 00:30:46 +0000 (01:30 +0100)]
uv: upgrade to 332b72e

12 years agouv: upgrade to 16124bb
Ben Noordhuis [Fri, 27 Jan 2012 23:17:01 +0000 (00:17 +0100)]
uv: upgrade to 16124bb

12 years agostdout ending test message correction
isaacs [Fri, 27 Jan 2012 21:42:08 +0000 (13:42 -0800)]
stdout ending test message correction

12 years agouv: upgrade to 3de0411
Ben Noordhuis [Fri, 27 Jan 2012 21:25:04 +0000 (22:25 +0100)]
uv: upgrade to 3de0411

12 years agouv: upgrade to 3f1bad2
Ben Noordhuis [Fri, 27 Jan 2012 21:16:47 +0000 (22:16 +0100)]
uv: upgrade to 3f1bad2

12 years agoProperly update npm to 1.1.0-3
isaacs [Fri, 27 Jan 2012 21:12:07 +0000 (13:12 -0800)]
Properly update npm to 1.1.0-3

Thanks @mscdex for spotting this.

12 years agowaf: predict target arch for OSX
Fedor Indutny [Fri, 27 Jan 2012 14:23:32 +0000 (20:23 +0600)]
waf: predict target arch for OSX

12 years agoFix #2507 Raise errors less agressively when destroying stdio streams
isaacs [Fri, 27 Jan 2012 01:14:16 +0000 (17:14 -0800)]
Fix #2507 Raise errors less agressively when destroying stdio streams

Also, if an error is already provided, then raise the provided
error, rather than throwing it with a less helpful 'stdout cannot
be closed' message.

This is important for properly handling EPIPEs.

12 years agotest: handle unhandled dgram scenarios
Dan VerWeire [Wed, 25 Jan 2012 17:46:45 +0000 (12:46 -0500)]
test: handle unhandled dgram scenarios

- watch for the death of child processes and fail the test if they all die
- use setTimeout to fail the test if responses are not received and processed in 5000ms

12 years agoUpdate npm to 1.1.0-3
isaacs [Thu, 26 Jan 2012 20:25:51 +0000 (12:25 -0800)]
Update npm to 1.1.0-3

12 years agouv: upgrade to 9c76d0d
Ben Noordhuis [Thu, 26 Jan 2012 23:53:37 +0000 (00:53 +0100)]
uv: upgrade to 9c76d0d

12 years agobuild: compile release build too if BUILDTYPE=Debug
Ben Noordhuis [Thu, 26 Jan 2012 22:45:16 +0000 (23:45 +0100)]
build: compile release build too if BUILDTYPE=Debug

It's backwards compatible with the old waf build system. If you want to compile
just the debug build, run `make -C out BUILDTYPE=Debug` instead.

Fixes #2615.

12 years agozlib: fix `Failed to set dictionary` issue
Fedor Indutny [Wed, 25 Jan 2012 17:35:35 +0000 (23:35 +0600)]
zlib: fix `Failed to set dictionary` issue

12 years agomodule: fix --debug-brk on symlinked scripts
Fedor Indutny [Tue, 24 Jan 2012 16:45:34 +0000 (22:45 +0600)]
module: fix --debug-brk on symlinked scripts

* fixes #1519

12 years agomodule: fix --debug-brk on symlinked scripts
Fedor Indutny [Tue, 24 Jan 2012 16:45:34 +0000 (22:45 +0600)]
module: fix --debug-brk on symlinked scripts

* fixes #1519

12 years agonet, tls, http: remove socket.ondrain
Ben Noordhuis [Tue, 24 Jan 2012 14:49:32 +0000 (15:49 +0100)]
net, tls, http: remove socket.ondrain

Replace the ondrain hack with a regular 'drain' listener. Speeds up the
bytes/1024 http benchmark by about 1.2%.

12 years agoMerge branch 'v0.7.1-release'
isaacs [Tue, 24 Jan 2012 08:11:59 +0000 (00:11 -0800)]
Merge branch 'v0.7.1-release'

12 years agohttp: fix test-http-should-keepalive.js is fail
koichik [Tue, 24 Jan 2012 04:57:20 +0000 (13:57 +0900)]
http: fix test-http-should-keepalive.js is fail

3df7c90 was removed when conflict was resolved.

12 years agoNow working on 0.7.2
isaacs [Tue, 24 Jan 2012 01:27:08 +0000 (17:27 -0800)]
Now working on 0.7.2

12 years ago2012.01.23, Version 0.7.1 (unstable) v0.7.1
isaacs [Mon, 23 Jan 2012 23:55:15 +0000 (15:55 -0800)]
2012.01.23, Version 0.7.1 (unstable)

* Update V8 to 3.8.8

* Install node-waf by default (Fedor Indutny)

* crypto: Add ability to turn off PKCS padding (Ingmar Runge)

* v8: implement VirtualMemory class on SunOS (Ben Noordhuis)

* Add cluster.setupMaster (Andreas Madsen)

* move `path.exists*` to `fs.exists*` (Maciej Małecki)

* typed arrays: set class name (Ben Noordhuis)

* libuv bug fixes (Igor Zinkovsky, Ben Noordhuis, Dan VerWeire)

12 years agoUpgrade V8 to 3.8.8
isaacs [Tue, 24 Jan 2012 00:16:42 +0000 (16:16 -0800)]
Upgrade V8 to 3.8.8

12 years agoudp: 'interface' is reserved word on windows.
isaacs [Mon, 23 Jan 2012 23:44:53 +0000 (15:44 -0800)]
udp: 'interface' is reserved word on windows.

12 years agodgram: bring back setTTL()
Ben Noordhuis [Mon, 23 Jan 2012 22:52:08 +0000 (23:52 +0100)]
dgram: bring back setTTL()

12 years agodgram: bring back setMulticastLoopback()
Ben Noordhuis [Mon, 23 Jan 2012 22:38:25 +0000 (23:38 +0100)]
dgram: bring back setMulticastLoopback()

12 years agouv: upgrade to b88bc43
Ben Noordhuis [Mon, 23 Jan 2012 21:39:49 +0000 (22:39 +0100)]
uv: upgrade to b88bc43

12 years agotest: fix typos in error messages
Ben Noordhuis [Mon, 23 Jan 2012 21:38:22 +0000 (22:38 +0100)]
test: fix typos in error messages

12 years agotest: join multicast group *after* binding
Ben Noordhuis [Mon, 23 Jan 2012 21:39:07 +0000 (22:39 +0100)]
test: join multicast group *after* binding

12 years agotest: remove erroneous dropMembership() call
Ben Noordhuis [Mon, 23 Jan 2012 23:04:45 +0000 (00:04 +0100)]
test: remove erroneous dropMembership() call

The socket is not part of any multicast group. Bug wasn't visible until 6999fb3.

12 years agodgram: make addMembership() and dropMembership() conform to v0.4 API
Ben Noordhuis [Mon, 23 Jan 2012 20:36:48 +0000 (21:36 +0100)]
dgram: make addMembership() and dropMembership() conform to v0.4 API

- throw on error, don't return an error code

12 years agodgram: make setBroadcast() conform to v0.4 API
Ben Noordhuis [Mon, 23 Jan 2012 20:28:30 +0000 (21:28 +0100)]
dgram: make setBroadcast() conform to v0.4 API

- don't return a value

12 years agodgram: make setMulticastTTL() conform to v0.4 API
Ben Noordhuis [Mon, 23 Jan 2012 20:09:56 +0000 (21:09 +0100)]
dgram: make setMulticastTTL() conform to v0.4 API

- throw if the ttl argument is not a number
- return the ttl argument (not particulary useful but it's what v0.4 did)

Note that the 0 < ttl < 256 check has *not* been reinstated. On Linux, -1 is a
valid argument to setsockopt(IPPROTO_IP, IP_TTL).

12 years agodoc: trademark link must be absolute
isaacs [Mon, 23 Jan 2012 21:53:11 +0000 (13:53 -0800)]
doc: trademark link must be absolute

12 years agodoc: Remove default border around logo for MSIE
isaacs [Mon, 23 Jan 2012 21:50:31 +0000 (13:50 -0800)]
doc: Remove default border around logo for MSIE

12 years agodoc: Pixel-nudging
isaacs [Mon, 23 Jan 2012 10:12:20 +0000 (02:12 -0800)]
doc: Pixel-nudging

12 years agodoc: Add images to makefile
isaacs [Mon, 23 Jan 2012 10:07:59 +0000 (02:07 -0800)]
doc: Add images to makefile

12 years agodoctool: correct improperly nested ul/li handling
isaacs [Mon, 23 Jan 2012 10:07:15 +0000 (02:07 -0800)]
doctool: correct improperly nested ul/li handling

12 years agoAdd images to doc_assets
isaacs [Sun, 22 Jan 2012 22:06:17 +0000 (14:06 -0800)]
Add images to doc_assets

12 years agoNodejs.org design refresh.
Matthew Fitzsimmons [Sun, 22 Jan 2012 04:02:16 +0000 (21:02 -0700)]
Nodejs.org design refresh.

12 years agoMerge branch 'v0.6'
Fedor Indutny [Mon, 23 Jan 2012 18:30:28 +0000 (00:30 +0600)]
Merge branch 'v0.6'

Conflicts:
ChangeLog
doc/template.html
lib/cluster.js
lib/http.js
lib/tls.js
src/node.h
src/node_version.h
test/simple/test-cluster-kill-workers.js

12 years agouv: upgrade to 1cca230
Ben Noordhuis [Mon, 23 Jan 2012 12:35:36 +0000 (13:35 +0100)]
uv: upgrade to 1cca230

12 years agofix windows build
Igor Zinkovsky [Mon, 23 Jan 2012 09:30:56 +0000 (01:30 -0800)]
fix windows build

12 years agoupgrade libuv to edbabe6f83
Igor Zinkovsky [Mon, 23 Jan 2012 09:34:05 +0000 (01:34 -0800)]
upgrade libuv to edbabe6f83

12 years agoversion: bump `NODE_PATCH_VERSION`
Maciej Małecki [Sun, 22 Jan 2012 19:46:52 +0000 (20:46 +0100)]
version: bump `NODE_PATCH_VERSION`

Patch version hasn't been bumped correctly in
72cbb7492cb5956c8265b415bd6ff473b7b89f35.

12 years agocrypto: silence unused variable warning
Ben Noordhuis [Sun, 22 Jan 2012 17:19:10 +0000 (18:19 +0100)]
crypto: silence unused variable warning

`retry` is not used if SSL_PRINT_DEBUG is not defined.

12 years agotest: fix test/simple/test-net-server-max-connections.js is racey
koichik [Sun, 22 Jan 2012 14:23:04 +0000 (23:23 +0900)]
test: fix test/simple/test-net-server-max-connections.js is racey

Fixes #1333.

12 years agotest: for #2109
koichik [Sun, 22 Jan 2012 08:35:28 +0000 (17:35 +0900)]
test: for #2109

12 years agoutil: use getOwnPropertyDescripter
Brandon Benvie [Mon, 14 Nov 2011 20:42:14 +0000 (15:42 -0500)]
util: use getOwnPropertyDescripter

Change formatProperty in util.js to use Object.getOwnPropertyDescriptor
instead of __lookup[GS]etter__.

Use the cached value from the descriptor to reduce number of property
lookups from 3 to 1.

Fallback to standard lookup if the descriptor is empty. This doesn't
ever happen with normal JS objects (this function is called only when
the key exists) but apparently does with Node's custom ENV interface.

Fixes: #2109.

12 years agohttp: keep-alive should default with HTTP/1.1 server
koichik [Sun, 22 Jan 2012 05:55:41 +0000 (14:55 +0900)]
http: keep-alive should default with HTTP/1.1 server

As RFC 2616 says we should, assume that servers will provide a persistent
connection by default.

> A significant difference between HTTP/1.1 and earlier versions of
> HTTP is that persistent connections are the default behavior of any
> HTTP connection. That is, unless otherwise indicated, the client
> SHOULD assume that the server will maintain a persistent connection,
> even after error responses from the server.

> HTTP/1.1 applications that do not support persistent connections MUST
> include the "close" connection option in every message.

Fixes #2436.

12 years agoonly ref non-default isolate loops
Igor Zinkovsky [Sat, 21 Jan 2012 22:35:25 +0000 (14:35 -0800)]
only ref non-default isolate loops

12 years agopath fs: move `path.exists*` to `fs.exists*`
Maciej Małecki [Sat, 21 Jan 2012 01:37:57 +0000 (02:37 +0100)]
path fs: move `path.exists*` to `fs.exists*`

`path.exists*` functions show a deprecation warning and call functions
from `fs`. They should be removed later.

test: fix references to `path.exists*` in tests

test fs: add test for `fs.exists` and `fs.existsSync`

doc: reflect moving `path.exists*` to `fs`

12 years agohttp: fix deprecation warning module ID
Ben Noordhuis [Sat, 21 Jan 2012 13:31:20 +0000 (14:31 +0100)]
http: fix deprecation warning module ID

Mea culpa, I told @mmalecki wrong

12 years agodgram: reintroduce setMulticastTTL()
Dan VerWeire [Tue, 22 Nov 2011 21:04:40 +0000 (16:04 -0500)]
dgram: reintroduce setMulticastTTL()

Removed during the early stages of node 0.5 refactoring to libuv.

12 years agodgram: reintroduce setBroadcast()
Dan VerWeire [Thu, 27 Oct 2011 14:48:38 +0000 (10:48 -0400)]
dgram: reintroduce setBroadcast()

Removed during the early stages of node 0.5 refactoring to libuv.

12 years agodgram: reintroduce addMembership() and dropMembership()
Roman Shtylman [Wed, 12 Oct 2011 17:55:15 +0000 (13:55 -0400)]
dgram: reintroduce addMembership() and dropMembership()

Removed during the early stages of node 0.5 refactoring to libuv.

12 years agouv: upgrade to 497b1ec
Ben Noordhuis [Sat, 21 Jan 2012 02:13:58 +0000 (03:13 +0100)]
uv: upgrade to 497b1ec

12 years agoref isolate loop
Igor Zinkovsky [Fri, 20 Jan 2012 02:56:23 +0000 (18:56 -0800)]
ref isolate loop

12 years agohttp: reduce creating http-parser instances
koichik [Fri, 20 Jan 2012 12:54:34 +0000 (21:54 +0900)]
http: reduce creating http-parser instances

Fixes #2577.

12 years agoFix #2365 zlib crashing on invalid input
Nicolas LaCasse [Fri, 20 Jan 2012 14:36:28 +0000 (15:36 +0100)]
Fix #2365 zlib crashing on invalid input

Fix zlib crashes on error due to improper use of removeListener
in the error handler

12 years agoAdd cluster.setupMaster
Andreas Madsen [Thu, 5 Jan 2012 19:09:43 +0000 (20:09 +0100)]
Add cluster.setupMaster

Fixes #2470

12 years agoAdd missing ChangeLog item re: fs.stat improvement
isaacs [Fri, 20 Jan 2012 05:15:12 +0000 (21:15 -0800)]
Add missing ChangeLog item re: fs.stat improvement

This was a very significant improvement that should have been called out
explicitly.

I added 'review all libuv changes' to my build checklist.  It won't
happen again.  Sorry, @igorzi.

12 years agobuild: disable NDEBUG in release builds for now
Ben Noordhuis [Fri, 20 Jan 2012 15:00:25 +0000 (16:00 +0100)]
build: disable NDEBUG in release builds for now

assert() sanity checks are a good thing.

12 years agofs, handle_wrap: use Loop(), not uv_default_loop()
Ben Noordhuis [Fri, 20 Jan 2012 14:55:38 +0000 (15:55 +0100)]
fs, handle_wrap: use Loop(), not uv_default_loop()

Using the default loop will fail in unexpected and interesting ways when
isolates are used.