platform/upstream/nodejs.git
12 years agodocs: remove server.pause
Fedor Indutny [Tue, 21 Feb 2012 14:42:15 +0000 (20:42 +0600)]
docs: remove server.pause

This functionality was removed when libuv landed in node. It is useless
and can be easily implemented in user-land.

12 years agobuffer: support decoding of URL-safe base64
Ben Noordhuis [Tue, 21 Feb 2012 12:57:38 +0000 (13:57 +0100)]
buffer: support decoding of URL-safe base64

12 years agodocs: remove setSecure() from net module docs
Andreas Madsen [Sat, 18 Feb 2012 17:26:28 +0000 (18:26 +0100)]
docs: remove setSecure() from net module docs

socket.setSecure() was removed in v0.3 and there are no deprecated warning in
code it should be removed from the documentation in 0.7

12 years agocrypto: add function getDiffieHellman()
Tomasz Buchert [Sun, 22 Jan 2012 18:24:37 +0000 (19:24 +0100)]
crypto: add function getDiffieHellman()

Returns a well known, predefined RFC group.

12 years agobuild: better host_arch() definition in configure
Nathan Rajlich [Mon, 20 Feb 2012 20:27:07 +0000 (12:27 -0800)]
build: better host_arch() definition in configure

On one of my OS X Lion machines, it always reports i386, even though 64-bit
is supported. This lookup better matches how WAF determines the host arch,
which was correctly getting 64-bit even on this screwy machine.

12 years agotls http https: don't pollute user's `options` object
Maciej Małecki [Mon, 20 Feb 2012 19:32:10 +0000 (20:32 +0100)]
tls http https: don't pollute user's `options` object

12 years agoutil: add `util._extend` for extending objects
Maciej Małecki [Mon, 20 Feb 2012 17:59:56 +0000 (18:59 +0100)]
util: add `util._extend` for extending objects

There were 2 duplicates with such functionality in `cluster` and
`child_process` modules which were replaced by this function.

12 years agocore: ignore too many arguments, don't assert
Andreas Madsen [Mon, 20 Feb 2012 18:55:37 +0000 (19:55 +0100)]
core: ignore too many arguments, don't assert

12 years agotest: update HTTP basic auth test
Ben Noordhuis [Mon, 20 Feb 2012 16:24:13 +0000 (17:24 +0100)]
test: update HTTP basic auth test

Verify that URL-encoded entities are properly encoded into the Authorization
header.

12 years agourl: decode url entities in auth section
Ben Noordhuis [Fri, 17 Feb 2012 17:08:48 +0000 (18:08 +0100)]
url: decode url entities in auth section

Fixes #2736.

12 years agotests: kill process group on failure
Fedor Indutny [Mon, 20 Feb 2012 16:03:14 +0000 (22:03 +0600)]
tests: kill process group on failure

Test suite is often leaving `stray` processes on failure. They are
harmless, but may cause future test runs fail because those `stray`
processes are occupying `common.PORT` or due to some other reasons.

Killing whole process group on test suite failure should help in such
cases.

12 years agohttp: support PURGE request method
Ben Noordhuis [Fri, 17 Feb 2012 22:45:50 +0000 (23:45 +0100)]
http: support PURGE request method

12 years agohttp_parser: upgrade to 62110ef
Ben Noordhuis [Mon, 20 Feb 2012 15:12:33 +0000 (16:12 +0100)]
http_parser: upgrade to 62110ef

12 years agostartup: use `path.resolve` instead of `path.join(cwd, ...)`
Maciej Małecki [Sun, 19 Feb 2012 20:16:50 +0000 (21:16 +0100)]
startup: use `path.resolve` instead of `path.join(cwd, ...)`

12 years agostartup: move `EventEmitter` closer to the lookup
Maciej Małecki [Sat, 18 Feb 2012 15:45:22 +0000 (16:45 +0100)]
startup: move `EventEmitter` closer to the lookup

This makes startup faster by ~0.2 ms on my computer.

12 years agostartup: use `.hasOwnProperty` instead of `in`
Maciej Małecki [Sat, 18 Feb 2012 15:32:06 +0000 (16:32 +0100)]
startup: use `.hasOwnProperty` instead of `in`

Benchmarks show that `.hasOwnProperty` is faster than `in` in V8. It
makes startup ~0.5 ms faster on my computer.

12 years agorepl: add automatic loading of built-in libs
Brandon Benvie [Sun, 25 Dec 2011 04:39:57 +0000 (23:39 -0500)]
repl: add automatic loading of built-in libs

12 years agoutil: fix typo in lib/util.js
Luke Gallagher [Sat, 18 Feb 2012 05:28:13 +0000 (16:28 +1100)]
util: fix typo in lib/util.js

12 years agotest: don't let debugger listen on common.PORT
Ben Noordhuis [Mon, 20 Feb 2012 12:24:21 +0000 (13:24 +0100)]
test: don't let debugger listen on common.PORT

simple/test-debugger-repl-utf8 has a tendency to fail and leave behind a stray
process that listens on common.PORT, making later tests fail with EADDRINUSE.

12 years agotest: include common.js in all tests
Ben Noordhuis [Mon, 20 Feb 2012 12:22:12 +0000 (13:22 +0100)]
test: include common.js in all tests

12 years agobuild: map i686 to ia32
Nathan Rajlich [Sat, 18 Feb 2012 20:06:31 +0000 (12:06 -0800)]
build: map i686 to ia32

12 years agobuild: use proper `-arch` for target_arch on OS X
Nathan Rajlich [Sat, 18 Feb 2012 20:03:47 +0000 (12:03 -0800)]
build: use proper `-arch` for target_arch on OS X

12 years agobuild: test `uname -m` first, then `uname -p`
Nathan Rajlich [Sat, 18 Feb 2012 20:02:53 +0000 (12:02 -0800)]
build: test `uname -m` first, then `uname -p`

Prevent false i386 on 64-bit OS X.

12 years agogyp: update to r1214
Ben Noordhuis [Mon, 20 Feb 2012 10:47:03 +0000 (11:47 +0100)]
gyp: update to r1214

12 years agotest: fix test-tls-over-http-tunnel with v0.7
koichik [Sat, 18 Feb 2012 09:13:17 +0000 (18:13 +0900)]
test: fix test-tls-over-http-tunnel with v0.7

12 years agoIssue #2762. Add callback to close function.
Mikeal Rogers [Thu, 16 Feb 2012 19:52:47 +0000 (11:52 -0800)]
Issue #2762. Add callback to close function.

12 years agojslint src/ and lib/ on 'make test'
isaacs [Sun, 19 Feb 2012 00:04:10 +0000 (16:04 -0800)]
jslint src/ and lib/ on 'make test'

12 years agoLint all the JavaScripts.
isaacs [Sat, 18 Feb 2012 23:01:35 +0000 (15:01 -0800)]
Lint all the JavaScripts.

12 years agoMerge remote-tracking branch 'ry/v0.6' into v0.6-merge
isaacs [Sat, 18 Feb 2012 17:46:58 +0000 (09:46 -0800)]
Merge remote-tracking branch 'ry/v0.6' into v0.6-merge

Conflicts:
AUTHORS
ChangeLog
Makefile
doc/about/index.html
doc/api/tls.markdown
doc/community/index.html
doc/index.html
doc/logos/index.html
doc/template.html
lib/http.js
lib/tls.js
src/node_version.h
src/platform_win32.cc
test/simple/test-tls-connect-given-socket.js

12 years agodocs: fix quotation style in the webserver example
Paul Vorbach [Sat, 18 Feb 2012 00:40:26 +0000 (01:40 +0100)]
docs: fix quotation style in the webserver example

Replace " by '

12 years agobuild: remove 'config.mk' during `make distclean`
Nathan Rajlich [Fri, 17 Feb 2012 20:41:39 +0000 (12:41 -0800)]
build: remove 'config.mk' during `make distclean`

12 years agobuild: disable -fomit-frame-pointer on solaris
Dave Pacheco [Wed, 8 Feb 2012 01:21:51 +0000 (17:21 -0800)]
build: disable -fomit-frame-pointer on solaris

This "optimization" cripples debuggability and has dubious performance value,
so we want to disable it at least on SmartOS.

12 years agodocs: fix tls markdown
Ben Noordhuis [Fri, 17 Feb 2012 22:58:42 +0000 (23:58 +0100)]
docs: fix tls markdown

12 years agoMerge branch 'v0.6.11-release' into v0.6
isaacs [Fri, 17 Feb 2012 21:35:52 +0000 (13:35 -0800)]
Merge branch 'v0.6.11-release' into v0.6

12 years agoNow working on 0.6.12
isaacs [Fri, 17 Feb 2012 21:33:58 +0000 (13:33 -0800)]
Now working on 0.6.12

12 years ago2012.02.17 Version 0.6.11 (stable) v0.6.11
isaacs [Fri, 17 Feb 2012 00:04:34 +0000 (16:04 -0800)]
2012.02.17 Version 0.6.11 (stable)

* http: allow multiple WebSocket RFC6455 headers (Einar Otto Stangvik)

* http: allow multiple WWW-Authenticate headers (Ben Noordhuis)

* windows: support unicode argv and environment variables (Bert Belder)

* tls: mitigate session renegotiation attacks (Ben Noordhuis)

* tcp, pipe: don't assert on uv_accept() errors (Ben Noordhuis)

* tls: Allow establishing secure connection on the existing socket (koichik)

* dgram: handle close of dgram socket before DNS lookup completes (Seth Fitzsimmons)

* windows: Support half-duplex pipes (Igor Zinkovsky)

* build: disable omit-frame-pointer on solaris systems (Dave Pacheco)

* debugger: fix --debug-brk (Ben Noordhuis)

* net: fix large file downloads failing (koichik)

* fs: fix ReadStream failure to read from existing fd (Christopher Jeffrey)

* net: destroy socket on DNS error (Stefan Rusu)

* dtrace: add missing translator (Dave Pacheco)

* unix: don't flush tty on switch to raw mode (Ben Noordhuis)

* windows: reset brightness when reverting to default text color (Bert Belder)

* npm: update to 1.1.1
  - Update which, fstream, mkdirp, request, and rimraf
  - Fix #2123 Set path properly for lifecycle scripts on windows
  - Mark the root as seen, so we don't recurse into it. Fixes #1838. (Martin Cooper)

12 years agoRevert "cluster: propagate bind errors"
isaacs [Fri, 17 Feb 2012 18:10:02 +0000 (10:10 -0800)]
Revert "cluster: propagate bind errors"

This reverts commit 30e462e91937ced3847af3fe9c393ebd32294b68.

12 years agoFix #2770 Compile the OS X pkg as ia32
isaacs [Fri, 17 Feb 2012 18:08:40 +0000 (10:08 -0800)]
Fix #2770 Compile the OS X pkg as ia32

12 years agodebugger: rename `process.debug_port` to `process.debugPort`
Maciej Małecki [Fri, 17 Feb 2012 18:35:05 +0000 (19:35 +0100)]
debugger: rename `process.debug_port` to `process.debugPort`

We should comply to to camelCase naming convention.

12 years agorepl: remove double calls where possible
Fedor Indutny [Fri, 17 Feb 2012 18:18:11 +0000 (00:18 +0600)]
repl: remove double calls where possible

Repl is doing double evaluation of code: wrapped in parens and without
them. That's needed to allow users typing multiline chunks of code by
handling syntax errors on repl side. However if function declaration is
wrapped in parens (`(function a() {})`) calling it will be impossible,
so we're evaluating functions twice. That works fine for declaration,
but if entered code chunk returns function - it should not be called
twice.

fix #2773

12 years agodocs: remove unused javascript includes
Shannen Saez [Thu, 16 Feb 2012 06:47:23 +0000 (17:47 +1100)]
docs: remove unused javascript includes

12 years agodocs: add lang="en" and remove redundant types
Shannen Saez [Thu, 16 Feb 2012 06:38:05 +0000 (17:38 +1100)]
docs: add lang="en" and remove redundant types

12 years agorepl: make tab completion work on non-objects
Nathan Rajlich [Fri, 17 Feb 2012 00:33:40 +0000 (16:33 -0800)]
repl: make tab completion work on non-objects

12 years agoUpgrade uv to 86ebe48660e
isaacs [Thu, 16 Feb 2012 22:52:03 +0000 (14:52 -0800)]
Upgrade uv to 86ebe48660e

12 years agocluster: propagate bind errors
Ben Noordhuis [Fri, 10 Feb 2012 19:26:56 +0000 (20:26 +0100)]
cluster: propagate bind errors

This commit fixes a bug where the cluster module failed to propagate EADDRINUSE
errors.

When a worker starts a (net, http) server, it requests the listen socket from
its master who then creates and binds the socket.

Now, OS X and Windows don't always signal EADDRINUSE from bind() but instead
defer the error until a later syscall. libuv mimics this behaviour to provide
consistent behaviour across platforms but that means the worker could end up
with a socket that is not actually bound to the requested addresss.

That's why the worker now checks if the socket is bound, raising EADDRINUSE if
that's not the case.

Fixes #2721.

12 years agoAdd WebSocket RFC6455 multiheader fields to the http parser.
einaros [Thu, 16 Feb 2012 09:42:13 +0000 (10:42 +0100)]
Add WebSocket RFC6455 multiheader fields to the http parser.

12 years agohttp: allow multiple WWW-Authenticate headers
Ben Noordhuis [Tue, 14 Feb 2012 23:20:54 +0000 (00:20 +0100)]
http: allow multiple WWW-Authenticate headers

12 years agoMake win32 ansi api usage explicit
Bert Belder [Thu, 16 Feb 2012 21:19:48 +0000 (22:19 +0100)]
Make win32 ansi api usage explicit

Use widechar versions in a couple of places.
Don't use C-style cast in C++ code.

12 years agoWindows: another attempt to support unicode argv
Bert Belder [Thu, 16 Feb 2012 19:20:07 +0000 (20:20 +0100)]
Windows: another attempt to support unicode argv

12 years agoRevert "Windows: support non-ansi command line arguments"
Bert Belder [Thu, 16 Feb 2012 19:05:18 +0000 (20:05 +0100)]
Revert "Windows: support non-ansi command line arguments"

CommandLineToArgvW doesn't behave exactly the same as the crt, which makes it useless.
This reverts commit ef032cbe85b46584304c665b539b4f7561c4c26c.

12 years agotls: mitigate session renegotiation attacks
Ben Noordhuis [Wed, 15 Feb 2012 18:26:43 +0000 (19:26 +0100)]
tls: mitigate session renegotiation attacks

The TLS protocol allows (and sometimes requires) clients to renegotiate the
session. However, renegotiation requires a disproportional amount of server-side
resources, particularly CPU time, which makes it a potential vector for
denial-of-service attacks.

To mitigate this issue, we keep track of and limit the number of renegotiation
requests over time, emitting an error if the threshold is exceeded.

12 years agodocs: removed unnecessary STARTTLS section
koichik [Thu, 16 Feb 2012 17:02:02 +0000 (02:02 +0900)]
docs: removed unnecessary STARTTLS section

12 years agoReadline proposal and bugfixes. Related: #2737 #2756
Colton Baker [Wed, 15 Feb 2012 14:08:26 +0000 (09:08 -0500)]
Readline proposal and bugfixes. Related: #2737 #2756

- Removed extra newline from .question(); Users can input a
  newline if it they require it.
- Removed .close() due to it only emulating closing, causing a bug where
  readline is left open to trigger events such as .on('line', ...').
- Removed ._attemptClose()
- .pause() now triggers event .on('pause', ...)
- .resume() now triggers event .on('resume', ...)
- CTRL-C (SIGINT) in readline will now default to .pause() if no SIGINT event
  is present.
- CTRL-D (delete right) will also default to .pause() if there is nothing to
  delete (signaling the end of the file).
- Added new event `SIGTSTP`
- Added new event `SIGCONT`
- Added `resume` to `write` to resume the stream if paused.
- Docs updated.
- Updated repl.js

12 years agoprocess: remove old notices about removed methods
Maciej Małecki [Thu, 16 Feb 2012 03:21:16 +0000 (04:21 +0100)]
process: remove old notices about removed methods

These methods were removed a long time ago. Keeping these notices here
makes no sense anymore.

Also, removing this part of code slightly speeds up the startup.

12 years agoWindows: get rid of process._cwdForDrive()
Bert Belder [Wed, 15 Feb 2012 22:50:04 +0000 (23:50 +0100)]
Windows: get rid of process._cwdForDrive()

12 years agoWindows: use unicode environment
Bert Belder [Wed, 15 Feb 2012 22:34:18 +0000 (23:34 +0100)]
Windows: use unicode environment

12 years agoDefault to static linking CRT on Windows.
Nathan Rajlich [Wed, 15 Feb 2012 19:50:51 +0000 (11:50 -0800)]
Default to static linking CRT on Windows.

12 years agoGenerate Date headers on responses when not already present.
Mark Nottingham [Tue, 14 Feb 2012 20:38:24 +0000 (07:38 +1100)]
Generate Date headers on responses when not already present.

12 years agoMerge branch 'v0.7.4-release'
isaacs [Wed, 15 Feb 2012 19:37:48 +0000 (11:37 -0800)]
Merge branch 'v0.7.4-release'

12 years agoNow working on 0.7.5
isaacs [Wed, 15 Feb 2012 19:37:34 +0000 (11:37 -0800)]
Now working on 0.7.5

12 years agohttp: allow multiple WWW-Authenticate headers
Ben Noordhuis [Tue, 14 Feb 2012 23:20:54 +0000 (00:20 +0100)]
http: allow multiple WWW-Authenticate headers

12 years agotcp, pipe: don't assert on uv_accept() errors
Ben Noordhuis [Wed, 15 Feb 2012 15:45:02 +0000 (16:45 +0100)]
tcp, pipe: don't assert on uv_accept() errors

It's possible for a new connection to be closed in the window between the
accept() syscall and the call to uv_accept(). Deal with it and move on, don't
assert.

12 years ago2012.02.14, Version 0.7.4 (unstable) v0.7.4
isaacs [Tue, 14 Feb 2012 22:31:00 +0000 (14:31 -0800)]
2012.02.14, Version 0.7.4 (unstable)

* Upgrade V8 to 3.9.5

* Upgrade npm to 1.1.1

* build: Detect host_arch better (Karl Skomski)

* debugger: export `debug_port` to `process` (Fedor Indutny)

* api docs: CSS bug fixes (isaacs)

* build: use -fPIC for native addons on UNIX (Nathan Rajlich)

* Re-add top-level v8::Locker (Marcel Laverdet)

* Move images out of the dist tarballs (isaacs)

* libuv: Remove uv_export and uv_import (Ben Noordhuis)

* build: Support x64 build on Windows (Igor Zinkovsky)

12 years agorobots.txt
isaacs [Tue, 14 Feb 2012 22:34:37 +0000 (14:34 -0800)]
robots.txt

12 years agoadd tls-over-http-tunnel test
Igor Zinkovsky [Tue, 14 Feb 2012 08:03:13 +0000 (00:03 -0800)]
add tls-over-http-tunnel test

12 years agotls: Allow establishing secure connection on the existing socket
koichik [Mon, 9 Jan 2012 01:28:49 +0000 (02:28 +0100)]
tls: Allow establishing secure connection on the existing socket

12 years agodgram: handle close of dgram socket before DNS lookup completes
Seth Fitzsimmons [Tue, 14 Feb 2012 03:30:09 +0000 (19:30 -0800)]
dgram: handle close of dgram socket before DNS lookup completes

12 years agodoc: Wrap API doc content in div#apicontent
isaacs [Mon, 13 Feb 2012 23:06:55 +0000 (15:06 -0800)]
doc: Wrap API doc content in div#apicontent

12 years agocss: Restrict li fix to #apicontent only.
isaacs [Sat, 11 Feb 2012 08:16:40 +0000 (00:16 -0800)]
css: Restrict li fix to #apicontent only.

12 years agodocs: Move images out of the dist tarball
isaacs [Mon, 13 Feb 2012 22:47:50 +0000 (14:47 -0800)]
docs: Move images out of the dist tarball

This puts all images in doc/images/ and references them via
http://nodejs.org/images/.

Any complaints about copyright usage etc. can thus be node/joyent's
problem, rather than the problem of a downstream distribution channel.

12 years agoFix linker error on some gcc version on osx
Fedor Indutny [Mon, 13 Feb 2012 20:36:08 +0000 (02:36 +0600)]
Fix linker error on some gcc version on osx

* See: http://codereview.chromium.org/9382033/

12 years agoWindows: support non-ansi command line arguments
Bert Belder [Mon, 13 Feb 2012 19:55:29 +0000 (20:55 +0100)]
Windows: support non-ansi command line arguments

12 years agoUpgrade uv to 1d942e2a
isaacs [Mon, 13 Feb 2012 19:10:12 +0000 (11:10 -0800)]
Upgrade uv to 1d942e2a

12 years agoPatches floating on V8
isaacs [Mon, 13 Feb 2012 18:11:28 +0000 (10:11 -0800)]
Patches floating on V8

Only SConstruct and build/common.gypi at this point.  All
others are accepted upstream, which greatly simplifies things.

12 years agoUpgrade V8 to 3.9.5
isaacs [Mon, 13 Feb 2012 18:04:53 +0000 (10:04 -0800)]
Upgrade V8 to 3.9.5

12 years agobuild: detect host_arch better
Karl Skomski [Mon, 13 Feb 2012 13:28:43 +0000 (14:28 +0100)]
build: detect host_arch better

12 years agoAdd libuv test that was omitted in last libuv upgrade
Bert Belder [Sun, 12 Feb 2012 20:07:31 +0000 (21:07 +0100)]
Add libuv test that was omitted in last libuv upgrade

12 years agoFix vcbuild.bat, print error when an unrecognized option is encountered
Bert Belder [Sun, 12 Feb 2012 20:04:03 +0000 (21:04 +0100)]
Fix vcbuild.bat, print error when an unrecognized option is encountered

12 years agodebugger: export `debug_port` to `process`
Fedor Indutny [Sun, 12 Feb 2012 15:53:43 +0000 (21:53 +0600)]
debugger: export `debug_port` to `process`

`process.debug_port` is useful for changing debugger port in runtime,
before starting it (via SIGUSR1).

Using `--port=` argument for debugger repl, tests will run debugger
server on a `common.PORT` (as it usually does for any other servers).

`process._debugEnd()` stops debugger and its server.

* debugger: implemented process._debugEnd(), `node debug --port=5858 app.js`
* test: start debugger repl on common.PORT
* fixes #2613
* fixes #2614

12 years agoMerge remote-tracking branch 'origin/v0.6'
Ben Noordhuis [Sun, 12 Feb 2012 15:12:26 +0000 (16:12 +0100)]
Merge remote-tracking branch 'origin/v0.6'

Conflicts:
common.gypi

12 years agouv: upgrade to 4e1f2b1
Ben Noordhuis [Sun, 12 Feb 2012 15:12:04 +0000 (16:12 +0100)]
uv: upgrade to 4e1f2b1

12 years agotest: fix timing sensitivity in test-net-write-slow
koichik [Sat, 11 Feb 2012 17:05:30 +0000 (02:05 +0900)]
test: fix timing sensitivity in test-net-write-slow

12 years agodocs: update net.Server.address() documentation
Ben Noordhuis [Sat, 11 Feb 2012 13:24:15 +0000 (14:24 +0100)]
docs: update net.Server.address() documentation

12 years agoapidoc css: Footer li's should be sans-serif
isaacs [Sat, 11 Feb 2012 04:55:21 +0000 (20:55 -0800)]
apidoc css: Footer li's should be sans-serif

12 years agoFix #2690 css: Set font size in apidoc LIs to match Ps
isaacs [Sat, 11 Feb 2012 03:38:13 +0000 (19:38 -0800)]
Fix #2690 css: Set font size in apidoc LIs to match Ps

12 years agoset readable/writable for pipes
Igor Zinkovsky [Fri, 10 Feb 2012 09:35:35 +0000 (01:35 -0800)]
set readable/writable for pipes

12 years agoupgrade uv to f9be43a564
Igor Zinkovsky [Fri, 10 Feb 2012 19:27:12 +0000 (11:27 -0800)]
upgrade uv to f9be43a564

12 years agodocs: clarify http 'data' callback
Ben Noordhuis [Fri, 10 Feb 2012 17:51:31 +0000 (18:51 +0100)]
docs: clarify http 'data' callback

Fixes #2733.

12 years agodocs: document tls/crypto `ciphers` option
Ben Noordhuis [Thu, 9 Feb 2012 16:14:39 +0000 (17:14 +0100)]
docs: document tls/crypto `ciphers` option

Hitherto undocumented option that lets the user select the list of ciphers to
use or exclude in a SSL/TLS session.

12 years agobuild: use -fPIC for native addons on UNIX
Nathan Rajlich [Thu, 9 Feb 2012 03:47:31 +0000 (19:47 -0800)]
build: use -fPIC for native addons on UNIX

No -fPIC on 32 bits Linux but do enable for the other UNIX flavors.

12 years agotest: add cluster 'bind twice' test
Ben Noordhuis [Thu, 9 Feb 2012 05:22:50 +0000 (06:22 +0100)]
test: add cluster 'bind twice' test

This test starts two clustered HTTP servers on the same port. It expects the
first cluster to succeed and the second cluster to fail with EADDRINUSE.

12 years agonpm: update to 1.1.1
isaacs [Wed, 8 Feb 2012 20:36:20 +0000 (12:36 -0800)]
npm: update to 1.1.1

12 years agochild_process: stop .disconnect() call if channel is diconnected
Andreas Madsen [Tue, 7 Feb 2012 20:10:11 +0000 (21:10 +0100)]
child_process: stop .disconnect() call if channel is diconnected

12 years agodisable omit-frame-pointer on solaris systems
Dave Pacheco [Wed, 8 Feb 2012 00:50:05 +0000 (16:50 -0800)]
disable omit-frame-pointer on solaris systems

12 years agoMakefile: Don't use ** in globs
isaacs [Wed, 8 Feb 2012 17:59:31 +0000 (09:59 -0800)]
Makefile: Don't use ** in globs

Many shells don't have GLOBSTAR turned on by default.  This is
why uv and v8 so often don't get cleaned out properly.

12 years agoRe-add top-level v8::Locker
Marcel Laverdet [Wed, 8 Feb 2012 00:10:22 +0000 (18:10 -0600)]
Re-add top-level v8::Locker

11d1eca9 added a v8 locker to ease development of 3rd party threading
extensions but it created a condition which would cause node to exit
uncleanly while in debug mode; it was reverted in 7543c38d.

The problem here is that the Locker was being disposed after V8 was torn
down. Adding some scoping fixes that.

12 years agoNow working on 0.7.4
isaacs [Wed, 8 Feb 2012 00:44:57 +0000 (16:44 -0800)]
Now working on 0.7.4

12 years ago2012.02.07, Version 0.7.3 (unstable) v0.7.3
isaacs [Tue, 7 Feb 2012 23:42:33 +0000 (15:42 -0800)]
2012.02.07, Version 0.7.3 (unstable)

* Upgrade V8 to 3.9.2

* Revert support for isolates. (Ben Noordhuis)

* cluster: Cleanup docs, event handling, and process.disconnect (Andreas Madsen)

* gyp_addon: link with node.lib on Windows (Nathan Rajlich)

* http: fix case where http-parser is freed twice (koichik)

* Windows: disable RTTI and exceptions (Bert Belder)

12 years agoCheck the version before building tarball
isaacs [Tue, 7 Feb 2012 23:41:21 +0000 (15:41 -0800)]
Check the version before building tarball

I keep forgetting to do this.  It's such a stupid thing.

12 years agotest: add --debug-brk regression test
Ben Noordhuis [Tue, 7 Feb 2012 22:42:38 +0000 (23:42 +0100)]
test: add --debug-brk regression test