platform/upstream/nodejs.git
12 years agobuild: remove --shared-cares configure switch
Ben Noordhuis [Fri, 2 Mar 2012 15:24:34 +0000 (16:24 +0100)]
build: remove --shared-cares configure switch

c-ares is a) bundled with libuv now, and b) contains out-of-tree patches. It no
longer makes sense to link against a shared library.

Fixes #2117.

12 years agoupdate libuv to 702f905f73
Igor Zinkovsky [Thu, 1 Mar 2012 22:40:04 +0000 (14:40 -0800)]
update libuv to 702f905f73

12 years agoupdate libuv to 6bbccf1fe0
Igor Zinkovsky [Thu, 1 Mar 2012 22:12:19 +0000 (14:12 -0800)]
update libuv to 6bbccf1fe0

12 years agofix test-net-pipe-connect-errors for windows
Igor Zinkovsky [Thu, 1 Mar 2012 21:49:23 +0000 (13:49 -0800)]
fix test-net-pipe-connect-errors for windows

12 years agotest: fix typo in test-child-process-stdout-flush
Vincent Ollivier [Tue, 28 Feb 2012 19:19:50 +0000 (20:19 +0100)]
test: fix typo in test-child-process-stdout-flush

12 years agouv: upgrade to 0459097
Ben Noordhuis [Wed, 29 Feb 2012 15:16:13 +0000 (16:16 +0100)]
uv: upgrade to 0459097

12 years agoRevert "test-fs-watch: Add faster failure, and link to #2813"
Ben Noordhuis [Wed, 29 Feb 2012 13:26:04 +0000 (14:26 +0100)]
Revert "test-fs-watch: Add faster failure, and link to #2813"

This reverts commit 9a6f936c8a62c1a6edad3bda0faa8d8112b7cf92.

12 years agotls: add `honorCipherOrder` option to tls.createServer()
Blake Miner [Fri, 10 Feb 2012 05:58:58 +0000 (00:58 -0500)]
tls: add `honorCipherOrder` option to tls.createServer()

Documented how to mitigate BEAST attacks.

12 years agochild_process: remove dummy "setsid" option setting
Joshua Holbrook [Sun, 26 Feb 2012 19:38:36 +0000 (11:38 -0800)]
child_process: remove dummy "setsid" option setting

12 years agouv: upgrade to 2f886c8
Ben Noordhuis [Tue, 28 Feb 2012 17:11:48 +0000 (18:11 +0100)]
uv: upgrade to 2f886c8

12 years agobuild: fix the help output of vcbuild.bat
Shigeki Ohtsu [Tue, 28 Feb 2012 16:09:24 +0000 (01:09 +0900)]
build: fix the help output of vcbuild.bat

12 years agonet: fix race write() before and after connect()
koichik [Sun, 26 Feb 2012 19:13:08 +0000 (04:13 +0900)]
net: fix race write() before and after connect()

Fixes #2827.

12 years agoWrap NodeScript binding class in JavaScript layer
isaacs [Tue, 28 Feb 2012 01:19:12 +0000 (17:19 -0800)]
Wrap NodeScript binding class in JavaScript layer

This makes it easy to prevent errors where Script methods
are called on non-script objects, resulting in Assertion failures.

12 years agoUpdate argv0 test to verify correct behavior
isaacs [Tue, 28 Feb 2012 00:41:30 +0000 (16:41 -0800)]
Update argv0 test to verify correct behavior

12 years ago[ISSUE #2554 #2567] throw if fs args for 'start' or 'end' are strings
AJ ONeal [Sat, 18 Feb 2012 01:53:57 +0000 (18:53 -0700)]
[ISSUE #2554 #2567] throw if fs args for 'start' or 'end' are strings

12 years agobuild: build addons into the "build" dir instead of "out"
Nathan Rajlich [Mon, 27 Feb 2012 21:54:30 +0000 (13:54 -0800)]
build: build addons into the "build" dir instead of "out"

This matches the old node-waf system. Having two different dirs for this stuff
is dumb.

12 years agopunycode: Update to v1.0.0
Mathias Bynens [Fri, 24 Feb 2012 15:05:10 +0000 (16:05 +0100)]
punycode: Update to v1.0.0

12 years agoRemove -Wall from v8 build
isaacs [Mon, 27 Feb 2012 21:55:23 +0000 (13:55 -0800)]
Remove -Wall from v8 build

12 years agov8: Remove OutputDirectory from build/common.gypi
isaacs [Mon, 6 Feb 2012 23:22:52 +0000 (15:22 -0800)]
v8: Remove OutputDirectory from build/common.gypi

12 years agoUpgrade v8 to 3.9.11
isaacs [Mon, 27 Feb 2012 21:43:31 +0000 (13:43 -0800)]
Upgrade v8 to 3.9.11

12 years agov8: Remove OutputDirectory from build/common.gypi
isaacs [Mon, 6 Feb 2012 23:22:52 +0000 (15:22 -0800)]
v8: Remove OutputDirectory from build/common.gypi

12 years agoUpdate v8 to 3.9.9
isaacs [Fri, 24 Feb 2012 00:35:46 +0000 (16:35 -0800)]
Update v8 to 3.9.9

12 years agoFix #2830 for the old gcc bug on SmartOS
Shigeki Ohtsu [Mon, 27 Feb 2012 11:32:13 +0000 (20:32 +0900)]
Fix #2830 for the old gcc bug on SmartOS

12 years agoMerge branch 'json-api-docs'
isaacs [Mon, 27 Feb 2012 20:00:27 +0000 (12:00 -0800)]
Merge branch 'json-api-docs'

12 years agoHandle miscs better
isaacs [Mon, 27 Feb 2012 19:44:36 +0000 (11:44 -0800)]
Handle miscs better

12 years agoDebugger should be a misc, not 'concept'
isaacs [Mon, 27 Feb 2012 19:44:30 +0000 (11:44 -0800)]
Debugger should be a misc, not 'concept'

12 years ago'Events' is a module, not an event named 's'
isaacs [Mon, 27 Feb 2012 19:37:26 +0000 (11:37 -0800)]
'Events' is a module, not an event named 's'

12 years agos/streams/stream/
isaacs [Mon, 27 Feb 2012 19:18:10 +0000 (11:18 -0800)]
s/streams/stream/

12 years agos/buffers/buffer/
isaacs [Mon, 27 Feb 2012 19:12:35 +0000 (11:12 -0800)]
s/buffers/buffer/

12 years agodoc refactor: zlib
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: zlib

12 years agodoc refactor: vm
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: vm

12 years agodoc refactor: util
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: util

12 years agodoc refactor: url
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: url

12 years agodoc refactor: tty
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: tty

12 years agodoc refactor: tls
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: tls

12 years agodoc refactor: timers
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: timers

12 years agodoc refactor: synopsis
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: synopsis

12 years agodoc refactor: streams
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: streams

12 years agodoc refactor: stdio
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: stdio

12 years agodoc refactor: repl
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: repl

12 years agodoc refactor: readline
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: readline

12 years agodoc refactor: querystring
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: querystring

12 years agodoc refactor: process
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: process

12 years agodoc refactor: path
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: path

12 years agodoc refactor: os
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: os

12 years agodoc refactor: net
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: net

12 years agodoc refactor: modules
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: modules

12 years agodoc refactor: https
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: https

12 years agodoc refactor: http
isaacs [Mon, 27 Feb 2012 19:09:33 +0000 (11:09 -0800)]
doc refactor: http

12 years agodoc refactor: globals
isaacs [Mon, 27 Feb 2012 19:09:33 +0000 (11:09 -0800)]
doc refactor: globals

12 years agodoc refactor: fs
isaacs [Mon, 27 Feb 2012 19:09:33 +0000 (11:09 -0800)]
doc refactor: fs

12 years agodoc refactor: events
isaacs [Mon, 27 Feb 2012 19:09:33 +0000 (11:09 -0800)]
doc refactor: events

12 years agodoc refactor: dns
isaacs [Mon, 27 Feb 2012 19:08:41 +0000 (11:08 -0800)]
doc refactor: dns

12 years agodoc refactor: dgram
isaacs [Mon, 27 Feb 2012 19:08:27 +0000 (11:08 -0800)]
doc refactor: dgram

12 years agodoc refactor: debugger
isaacs [Mon, 27 Feb 2012 19:08:17 +0000 (11:08 -0800)]
doc refactor: debugger

12 years agodoc refactor: crypto
isaacs [Mon, 27 Feb 2012 19:08:02 +0000 (11:08 -0800)]
doc refactor: crypto

12 years agodoc refactor: cluster
isaacs [Mon, 27 Feb 2012 19:07:49 +0000 (11:07 -0800)]
doc refactor: cluster

12 years agodoc refactor: buffers
isaacs [Mon, 27 Feb 2012 19:07:25 +0000 (11:07 -0800)]
doc refactor: buffers

12 years agodoc refactor: assert
isaacs [Mon, 27 Feb 2012 19:07:12 +0000 (11:07 -0800)]
doc refactor: assert

12 years agodoc refactor: appendix_1
isaacs [Mon, 27 Feb 2012 19:06:55 +0000 (11:06 -0800)]
doc refactor: appendix_1

12 years agodoc refactor: addons
isaacs [Mon, 27 Feb 2012 19:06:31 +0000 (11:06 -0800)]
doc refactor: addons

12 years agoAdd 'about these docs' section
isaacs [Mon, 27 Feb 2012 19:06:14 +0000 (11:06 -0800)]
Add 'about these docs' section

12 years agos/child_processes/child_process/
isaacs [Mon, 27 Feb 2012 19:04:08 +0000 (11:04 -0800)]
s/child_processes/child_process/

12 years agoRemove empty sections
isaacs [Mon, 27 Feb 2012 19:02:07 +0000 (11:02 -0800)]
Remove empty sections

12 years agoIncrease contrast of links, decrease contrast of bullets
isaacs [Mon, 27 Feb 2012 19:01:53 +0000 (11:01 -0800)]
Increase contrast of links, decrease contrast of bullets

12 years agoUpdate styles to reflect changed api doc html structure
isaacs [Mon, 27 Feb 2012 19:01:33 +0000 (11:01 -0800)]
Update styles to reflect changed api doc html structure

12 years agoUpdate template to use new token style
isaacs [Mon, 27 Feb 2012 18:59:51 +0000 (10:59 -0800)]
Update template to use new token style

12 years agoUse new doc generation tool
isaacs [Mon, 27 Feb 2012 18:59:35 +0000 (10:59 -0800)]
Use new doc generation tool

12 years agoNew documentation generation tool
isaacs [Mon, 27 Feb 2012 18:59:01 +0000 (10:59 -0800)]
New documentation generation tool

12 years agodocs: fix http.ClientRequest.write() documentation
Ben Noordhuis [Mon, 27 Feb 2012 02:57:19 +0000 (03:57 +0100)]
docs: fix http.ClientRequest.write() documentation

'an array of integers' == very, very deprecated

12 years agoUse NODE_MODULE in the hello-world addon example.
Nathan Rajlich [Sat, 25 Feb 2012 19:18:45 +0000 (11:18 -0800)]
Use NODE_MODULE in the hello-world addon example.

Fixes Windows throwing "unknown error" when trying to require the .node file.

12 years agoaddon: write gyp generated files to the 'out' dir
Nathan Rajlich [Sun, 26 Feb 2012 21:23:42 +0000 (13:23 -0800)]
addon: write gyp generated files to the 'out' dir

12 years agobuild: support shared zlib
T.C. Hollingsworth [Sun, 26 Feb 2012 23:02:21 +0000 (16:02 -0700)]
build: support shared zlib

12 years agobuild: use -pthreads (not -pthread) on Solaris
Nathan Rajlich [Sun, 26 Feb 2012 02:51:30 +0000 (18:51 -0800)]
build: use -pthreads (not -pthread) on Solaris

12 years agobuild: use else instead of node_shared_v8==false
T.C. Hollingsworth [Fri, 24 Feb 2012 16:37:16 +0000 (09:37 -0700)]
build: use else instead of node_shared_v8==false

12 years agodocs: add ciphers option to https.request()
koichik [Sat, 25 Feb 2012 14:17:05 +0000 (23:17 +0900)]
docs: add ciphers option to https.request()

12 years agodocs: remove duplicate option of tls.connect()
koichik [Sat, 25 Feb 2012 14:07:30 +0000 (23:07 +0900)]
docs: remove duplicate option of tls.connect()

12 years ago`newListener` emits correct fn when using `once`
Roly Fentanes [Fri, 24 Feb 2012 21:28:46 +0000 (14:28 -0700)]
`newListener` emits correct fn when using `once`

Fixes #2826.

12 years agoUpdate npm to 1.1.2
isaacs [Sat, 25 Feb 2012 02:51:22 +0000 (18:51 -0800)]
Update npm to 1.1.2

12 years agoRevert "startup: use `path.resolve` instead of `path.join(cwd, ...)`"
Maciej Małecki [Fri, 24 Feb 2012 02:18:32 +0000 (03:18 +0100)]
Revert "startup: use `path.resolve` instead of `path.join(cwd, ...)`"

This reverts commit b0c15412270f32e00c268c578f07a1ed032323f5.

Reverted commit introduced a regression causing `process.argv[0]` to be
invalid in node processes spawned from `PATH` (without explicit path to
executable file - for example when using global node installation).

Instead of finding a correct path to the executable, `process.cwd()`
would be prepended to `process.argv[0]`.

12 years agotest: test for `process.argv[0]` correctness
Maciej Małecki [Fri, 24 Feb 2012 02:07:26 +0000 (03:07 +0100)]
test: test for `process.argv[0]` correctness

joyent/node@b0c15412270f32e00c268c578f07a1ed032323f5 introduced a
regression causing `process.argv[0]` to be invalid in node processes
spawned from `PATH` (without explicit path to executable file - for
example when using global node installation).

Instead of finding a correct path to the executable, `process.cwd()`
would be prepended to `process.argv[0]`.

12 years agoDefault node_shared_v8 to false.
Nathan Rajlich [Thu, 23 Feb 2012 22:32:24 +0000 (14:32 -0800)]
Default node_shared_v8 to false.

Fixes #2818.

12 years agoRevert "Revert "build: support shared V8 properly""
isaacs [Thu, 23 Feb 2012 22:52:18 +0000 (14:52 -0800)]
Revert "Revert "build: support shared V8 properly""

This reverts commit a9130222bd36ac2c5dd7ae560f02bb99569749a7.

12 years agoNow working on 0.7.6
isaacs [Thu, 23 Feb 2012 22:41:29 +0000 (14:41 -0800)]
Now working on 0.7.6

12 years agoMerge branch 'v0.7.5-release'
isaacs [Thu, 23 Feb 2012 22:39:58 +0000 (14:39 -0800)]
Merge branch 'v0.7.5-release'

12 years ago2012.02.23, Version 0.7.5 (unstable) v0.7.5
isaacs [Thu, 23 Feb 2012 00:48:25 +0000 (16:48 -0800)]
2012.02.23, Version 0.7.5 (unstable)

* startup speed improvements (Maciej Małecki)

* crypto: add function getDiffieHellman() (Tomasz Buchert)

* buffer: support decoding of URL-safe base64 (Ben Noordhuis)

* Make QueryString.parse() even faster (Brian White)

* url: decode url entities in auth section (Ben Noordhuis)

* http: support PURGE request method (Ben Noordhuis)

* http: Generate Date headers on responses (Mark Nottingham)

* Fix #2762: Add callback to close function. (Mikeal Rogers)

* dgram: fix out-of-bound memory read (Ben Noordhuis)

* repl: add automatic loading of built-in libs (Brandon Benvie)

* repl: remove double calls where possible (Fedor Indutny)

* Readline improvements. Related: #2737 #2756 (Colton Baker)

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

* build: arch detection improvements (Nathan Rajlich)

* build: Make a fat binary for the OS X `make pkg`. (Nathan Rajlich)

* jslint src/ and lib/ on 'make test' (isaacs)

12 years agoRevert "build: support shared V8 properly"
isaacs [Thu, 23 Feb 2012 22:11:28 +0000 (14:11 -0800)]
Revert "build: support shared V8 properly"

This reverts commit 3d1b67064085ef486a69c2fc69d195dc35f4f50c.

Breaks build on windows.
https://gist.github.com/1895279

12 years agobuild: change default BUILDTYPE of vcbuild.bat
Shigeki Ohtsu [Thu, 23 Feb 2012 12:25:20 +0000 (21:25 +0900)]
build: change default BUILDTYPE of vcbuild.bat

From Debug to Release.

12 years agobuild: change default BUILDTYPE of gyp to Release
Shigeki Ohtsu [Thu, 23 Feb 2012 11:57:40 +0000 (20:57 +0900)]
build: change default BUILDTYPE of gyp to Release

12 years agobuild: fix the case where config.gypi doesn't exist
Shigeki Ohtsu [Wed, 18 Jan 2012 10:18:13 +0000 (19:18 +0900)]
build: fix the case where config.gypi doesn't exist

12 years agobuild: make default_configuration consistent with BUILDTYPE
Shigeki Ohtsu [Wed, 18 Jan 2012 09:37:02 +0000 (18:37 +0900)]
build: make default_configuration consistent with BUILDTYPE

12 years agoRemove unused variables.
Ben Noordhuis [Thu, 23 Feb 2012 12:11:07 +0000 (04:11 -0800)]
Remove unused variables.

12 years agodoc: refer to modules doc rather than src/node.js
isaacs [Thu, 23 Feb 2012 08:18:17 +0000 (00:18 -0800)]
doc: refer to modules doc rather than src/node.js

12 years agolint, missed in QS speed merge
isaacs [Thu, 23 Feb 2012 01:04:07 +0000 (17:04 -0800)]
lint, missed in QS speed merge

12 years agoAdd new authors
isaacs [Thu, 23 Feb 2012 00:09:42 +0000 (16:09 -0800)]
Add new authors

12 years agotest-fs-watch: Add faster failure, and link to #2813
isaacs [Thu, 23 Feb 2012 04:57:01 +0000 (20:57 -0800)]
test-fs-watch: Add faster failure, and link to #2813

12 years agoChange test fixture from symlink to regular file
isaacs [Thu, 23 Feb 2012 04:19:12 +0000 (20:19 -0800)]
Change test fixture from symlink to regular file

The only test using this is test/simple/test-fs-chmod.js, and it was
treating a.js and a1.js as two separate files, resulting in a race
condition.  (Interestingly enough, it was *not* using the symlink file to
test lchmod, which uses a different temp file.)

12 years agodgram: defer send error to next tick
Ben Noordhuis [Thu, 23 Feb 2012 00:52:45 +0000 (01:52 +0100)]
dgram: defer send error to next tick

12 years agodgram: fix out-of-bound memory read
Ben Noordhuis [Thu, 23 Feb 2012 00:51:27 +0000 (01:51 +0100)]
dgram: fix out-of-bound memory read

12 years agoreadline: ^Z (SIGSTP) handling
Colton Baker [Fri, 17 Feb 2012 13:53:24 +0000 (08:53 -0500)]
readline: ^Z (SIGSTP) handling

Bugfix and update.

- Fixed bug where Node's REPL wouldn't continue when returning from ^Z
  (SIGTSTP)
- Removed old readline callback

Readline API update with docs.

- ^Z (SIGTSTP) is now bypassed on Windows systems.
- SIGCONT is now bypassed on Windows systems.
- Docs updated to reflect above.