platform/upstream/nodejs.git
12 years agoUpgrade V8 to 3.8.0
Ryan Dahl [Wed, 14 Dec 2011 23:02:32 +0000 (15:02 -0800)]
Upgrade V8 to 3.8.0

12 years agoImplement make install
Fedor Indutny [Wed, 14 Dec 2011 13:00:10 +0000 (19:00 +0600)]
Implement make install

Fixes #2331, #2197, #2283

12 years agobuild: update 'make install' warning message
Ben Noordhuis [Wed, 14 Dec 2011 01:49:34 +0000 (02:49 +0100)]
build: update 'make install' warning message

12 years agofix windows build
Igor Zinkovsky [Sat, 10 Dec 2011 00:46:21 +0000 (16:46 -0800)]
fix windows build

12 years agoMove lock back to node_crypto.cc
Ryan Dahl [Thu, 8 Dec 2011 23:58:29 +0000 (15:58 -0800)]
Move lock back to node_crypto.cc

12 years agoRemove wscript
Ryan Dahl [Thu, 8 Dec 2011 23:10:26 +0000 (15:10 -0800)]
Remove wscript

12 years agoMove a few more global vars into struct
Ryan Dahl [Thu, 8 Dec 2011 23:09:47 +0000 (15:09 -0800)]
Move a few more global vars into struct

12 years agomove global vars from platfrom, node_signal_watcher to struct
Ryan Dahl [Thu, 8 Dec 2011 02:03:18 +0000 (18:03 -0800)]
move global vars from platfrom, node_signal_watcher to struct

12 years agoMove node_buffer.cc globals to struct
Ryan Dahl [Thu, 8 Dec 2011 00:01:46 +0000 (16:01 -0800)]
Move node_buffer.cc globals to struct

12 years agomove global vars for node_file.cc, node_zlib.cc, and node_crypto.cc
Ryan Dahl [Wed, 7 Dec 2011 23:44:33 +0000 (15:44 -0800)]
move global vars for node_file.cc, node_zlib.cc, and node_crypto.cc

12 years agoMove node_http_parser.cc global vars into node_vars.h
Ryan Dahl [Wed, 7 Dec 2011 21:31:55 +0000 (13:31 -0800)]
Move node_http_parser.cc global vars into node_vars.h

12 years agotls: enable rejectUnauthorized option to client
koichik [Wed, 7 Dec 2011 13:47:06 +0000 (22:47 +0900)]
tls: enable rejectUnauthorized option to client

Fiexes #2247.

12 years agoBegin moving static vars into struct for isolates.
Ryan Dahl [Wed, 7 Dec 2011 01:06:36 +0000 (17:06 -0800)]
Begin moving static vars into struct for isolates.

Only node.cc, stream_wrap.cc, and tcp_wrap.cc have been done. The rest still
need work.

12 years agoMerge remote branch 'origin/v0.6'
Ryan Dahl [Wed, 7 Dec 2011 01:04:51 +0000 (17:04 -0800)]
Merge remote branch 'origin/v0.6'

12 years agoDeshadow, denamespace variables in node.cc
Ryan Dahl [Wed, 7 Dec 2011 01:00:33 +0000 (17:00 -0800)]
Deshadow, denamespace variables in node.cc

Prep for isolates.

12 years agotest: add missing copyright headers
Ben Noordhuis [Tue, 6 Dec 2011 20:59:25 +0000 (21:59 +0100)]
test: add missing copyright headers

12 years agotest: new test, verify that we don't close and reuse fd 0
Ben Noordhuis [Tue, 6 Dec 2011 20:53:52 +0000 (21:53 +0100)]
test: new test, verify that we don't close and reuse fd 0

12 years agoRemove unused variable.
Ben Noordhuis [Tue, 6 Dec 2011 20:47:30 +0000 (21:47 +0100)]
Remove unused variable.

The file descriptor arg to child_process._forkChild() is not used any more.
Remove it, avoids future confusion.

12 years agouv: upgrade to 0db3274
Ben Noordhuis [Tue, 6 Dec 2011 17:09:43 +0000 (18:09 +0100)]
uv: upgrade to 0db3274

12 years agoMerge remote branch 'origin/v0.6'
Ryan Dahl [Tue, 6 Dec 2011 19:50:54 +0000 (11:50 -0800)]
Merge remote branch 'origin/v0.6'

Conflicts:
deps/v8/src/debug.cc
deps/v8/src/version.cc
src/node_version.h

12 years agoApply #2257 fix for Pipe streams as well as TTYs
isaacs [Tue, 6 Dec 2011 01:52:22 +0000 (17:52 -0800)]
Apply #2257 fix for Pipe streams as well as TTYs

12 years ago[zlib] added dictionary support
Fedor Indutny [Fri, 2 Dec 2011 07:53:56 +0000 (11:53 +0400)]
[zlib] added dictionary support

12 years agodoc: add Travis CI build status image
Maciej Małecki [Sun, 4 Dec 2011 00:58:49 +0000 (01:58 +0100)]
doc: add Travis CI build status image

12 years agotest: add `.travis.yml` for testing on Travis CI
Maciej Małecki [Sun, 4 Dec 2011 00:23:59 +0000 (01:23 +0100)]
test: add `.travis.yml` for testing on Travis CI

As discussed with @isaacs, build reports will be sent to #libuv IRC
channel. E-mail notifications are turned off so that Travis doesn't
bother committers about failures in forks.

12 years agoFix #2257 pause/resume semantics for stdin
isaacs [Mon, 5 Dec 2011 23:36:45 +0000 (15:36 -0800)]
Fix #2257 pause/resume semantics for stdin

This makes it so that the stdin TTY-wrap stream gets ref'ed on
.resume() and unref'ed on .pause()

The semantics of the names "pause" and "resume" are a bit weird, but the
important thing is that this corrects an API change from 0.4 -> 0.6
which made it impossible to read from stdin multiple times, without
knowing when it might end up being closed.  If no one has it open, this
lets the process die naturally.

LGTM'd by @ry

12 years agoUpgrade V8 to 3.7.12
Ryan Dahl [Tue, 6 Dec 2011 00:29:01 +0000 (16:29 -0800)]
Upgrade V8 to 3.7.12

12 years agoDisable test-setproctitle on darwin
Ryan Dahl [Tue, 6 Dec 2011 00:25:20 +0000 (16:25 -0800)]
Disable test-setproctitle on darwin

12 years agos/NPM/npm/
isaacs [Fri, 2 Dec 2011 02:19:17 +0000 (18:19 -0800)]
s/NPM/npm/

http://npmjs.org/doc/faq.html#If-npm-is-an-acronym-why-is-it-never-capitalized

12 years agoprocess: fix stack overflow when recursively calling process.exit()
Ben Noordhuis [Mon, 5 Dec 2011 21:42:05 +0000 (22:42 +0100)]
process: fix stack overflow when recursively calling process.exit()

12 years agoAdd analytics tracking to docs
Ryan Dahl [Mon, 5 Dec 2011 19:17:57 +0000 (11:17 -0800)]
Add analytics tracking to docs

12 years agocli: fix output of --help
Ben Noordhuis [Mon, 5 Dec 2011 07:42:11 +0000 (08:42 +0100)]
cli: fix output of --help

12 years agotest: create test file in temp dir
Ben Noordhuis [Mon, 5 Dec 2011 05:37:18 +0000 (06:37 +0100)]
test: create test file in temp dir

12 years agouv: upgrade to 34e95d1
Ben Noordhuis [Sun, 4 Dec 2011 12:22:21 +0000 (13:22 +0100)]
uv: upgrade to 34e95d1

12 years agoNow working on Node v0.6.6
Ryan Dahl [Sun, 4 Dec 2011 08:59:16 +0000 (00:59 -0800)]
Now working on Node v0.6.6

12 years agoBump version to v0.6.5 v0.6.5
Ryan Dahl [Sun, 4 Dec 2011 07:18:35 +0000 (23:18 -0800)]
Bump version to v0.6.5

12 years agoRemove superfluous 'new'
Ryan Dahl [Sun, 4 Dec 2011 08:09:02 +0000 (00:09 -0800)]
Remove superfluous 'new'

12 years agoUpgrade V8 to 3.6.6.11
Ryan Dahl [Sun, 4 Dec 2011 07:30:56 +0000 (23:30 -0800)]
Upgrade V8 to 3.6.6.11

12 years agogyp: upgrade to r1103
Ben Noordhuis [Sat, 3 Dec 2011 20:26:50 +0000 (21:26 +0100)]
gyp: upgrade to r1103

12 years agoAdd link to license file on website
Ryan Dahl [Sat, 3 Dec 2011 01:06:05 +0000 (17:06 -0800)]
Add link to license file on website

12 years agoWorkaround: A/V software prevents folder rename
isaacs [Fri, 2 Dec 2011 19:11:25 +0000 (11:11 -0800)]
Workaround: A/V software prevents folder rename

12 years agoMerge branch 'v0.6'
Ben Noordhuis [Fri, 2 Dec 2011 15:34:33 +0000 (16:34 +0100)]
Merge branch 'v0.6'

Conflicts:
src/node_version.h

12 years agoUpdate ChangeLog
koichik [Fri, 2 Dec 2011 15:21:55 +0000 (00:21 +0900)]
Update ChangeLog

12 years agoNow working on v0.6.5
Ben Noordhuis [Fri, 2 Dec 2011 02:15:10 +0000 (03:15 +0100)]
Now working on v0.6.5

12 years agoBump version to v0.6.4 v0.6.4
Ben Noordhuis [Fri, 2 Dec 2011 01:31:41 +0000 (02:31 +0100)]
Bump version to v0.6.4

12 years agoFix UVException errno bug
Bert Belder [Fri, 2 Dec 2011 01:14:04 +0000 (02:14 +0100)]
Fix UVException errno bug

12 years agoExclude getbuf from the windows build
Bert Belder [Thu, 1 Dec 2011 23:25:24 +0000 (00:25 +0100)]
Exclude getbuf from the windows build

It's not used.

12 years agoWin: make process.cwd and chdir support non-ansi characters
Bert Belder [Thu, 1 Dec 2011 23:24:44 +0000 (00:24 +0100)]
Win: make process.cwd and chdir support non-ansi characters

Closes GH-2215

12 years agoRename FSError to UVException and move to node.cc
Bert Belder [Thu, 1 Dec 2011 23:02:51 +0000 (00:02 +0100)]
Rename FSError to UVException and move to node.cc

12 years agonpm 1.1.0-alpha-6
isaacs [Thu, 1 Dec 2011 23:01:01 +0000 (15:01 -0800)]
npm 1.1.0-alpha-6

12 years agobinding for uv_pipe_pending_instances
Igor Zinkovsky [Thu, 1 Dec 2011 21:24:28 +0000 (13:24 -0800)]
binding for uv_pipe_pending_instances

12 years agoupgrade libuv to 60630dab0f
Igor Zinkovsky [Thu, 1 Dec 2011 21:56:04 +0000 (13:56 -0800)]
upgrade libuv to 60630dab0f

12 years agoUpgrade libuv to 9c064fb
Bert Belder [Thu, 1 Dec 2011 21:50:09 +0000 (22:50 +0100)]
Upgrade libuv to 9c064fb

12 years agofs: fix typo in function names
Ben Noordhuis [Thu, 1 Dec 2011 21:24:40 +0000 (22:24 +0100)]
fs: fix typo in function names

The build was not affected: the typos were in macros that only come into effect
when _LARGEFILE_SOURCE is not defined - which is never.

12 years agoRemove duplicate npmrc file
isaacs [Thu, 1 Dec 2011 20:23:43 +0000 (12:23 -0800)]
Remove duplicate npmrc file

12 years agonpm msi changes
Igor Zinkovsky [Thu, 1 Dec 2011 07:53:35 +0000 (23:53 -0800)]
npm msi changes

12 years agoRe #2207 Add default npmrc for MSI install
isaacs [Thu, 1 Dec 2011 18:49:07 +0000 (10:49 -0800)]
Re #2207 Add default npmrc for MSI install

12 years agonpm 1.1.0-alpha-5
isaacs [Thu, 1 Dec 2011 00:45:26 +0000 (16:45 -0800)]
npm 1.1.0-alpha-5

Fix #2186
First part of #2207

12 years agoRevert "build: compile with -D__DARWIN_64_BIT_INO_T on OS X"
Ben Noordhuis [Thu, 1 Dec 2011 20:00:46 +0000 (21:00 +0100)]
Revert "build: compile with -D__DARWIN_64_BIT_INO_T on OS X"

This reverts commit f004d5aeac0a91a1731575d3ac9a80d710a1f48a.

__DARWIN_64_BIT_INO_T is a no-op in most cases and might be actively harmful in
some others.

12 years agocli: add -p switch, print result of --eval
Ben Noordhuis [Thu, 1 Dec 2011 16:21:00 +0000 (17:21 +0100)]
cli: add -p switch, print result of --eval

12 years agonet: don't emit 'close' event twice
Ben Noordhuis [Thu, 1 Dec 2011 13:51:53 +0000 (14:51 +0100)]
net: don't emit 'close' event twice

Don't allow `socket.destroy()` to run twice. The self-destruct sequence itself
is idempotent but it makes the 'close' and 'error' events fire more than once,
which may confuse listeners.

Fixes #2223.

12 years agobuild: add --without-npm flag to configure script
Ben Noordhuis [Wed, 30 Nov 2011 14:49:42 +0000 (15:49 +0100)]
build: add --without-npm flag to configure script

Fixes #2200.

12 years agoDocs template: HTML cleanup
Mathias Bynens [Wed, 30 Nov 2011 08:54:20 +0000 (09:54 +0100)]
Docs template: HTML cleanup

Remove references to `/favicon.ico` as it’s the default in all browsers. More
info: http://mathiasbynens.be/notes/rel-shortcut-icon

`type=text/css` and `media=all` are the implied defaults for `<link
rel=stylesheet>` (and `<style>`), so omit these attributes.

Similarly, `type=text/javascript` is the default for `<script>` elements, so
omit these attributes.

12 years agopunycode: Update to v0.2.1
Mathias Bynens [Wed, 30 Nov 2011 08:44:00 +0000 (09:44 +0100)]
punycode: Update to v0.2.1

12 years agocrypto: throw exception on unknown digest method
Ben Noordhuis [Wed, 30 Nov 2011 13:27:12 +0000 (14:27 +0100)]
crypto: throw exception on unknown digest method

Fixes #2227.

12 years agoutil: ensure that the .inspect function isn't the one being executed
Nathan Rajlich [Wed, 30 Nov 2011 02:21:10 +0000 (18:21 -0800)]
util: ensure that the .inspect function isn't the one being executed

Fixes #2225.

12 years agobuild: always compile with large file support
Ben Noordhuis [Wed, 30 Nov 2011 01:28:10 +0000 (02:28 +0100)]
build: always compile with large file support

Fixes a nasty sizeof(struct stat) mismatch bug that caused random crashes and
silent memory corruption.

12 years agofixed problem with rss memory reporting incorrect number over 4 gigs
Russ Bradberry [Tue, 29 Nov 2011 22:28:22 +0000 (17:28 -0500)]
fixed problem with rss memory reporting incorrect number over 4 gigs

12 years agonode_crypto: use EVP_Cipher*_ex methods, not 'obsolete' versions
Ingmar Runge [Thu, 3 Nov 2011 04:15:09 +0000 (05:15 +0100)]
node_crypto: use EVP_Cipher*_ex methods, not 'obsolete' versions

This also fixes an issue that made blowfish's ECB mode unusable.

12 years agobuild: regenerate out/Makefile from within the main Makefile
eddy_me08@yahoo.com [Tue, 29 Nov 2011 14:31:31 +0000 (16:31 +0200)]
build: regenerate out/Makefile from within the main Makefile

Fixes #2147.

12 years agosys: print stack trace if NODE_DEBUG=sys
Ben Noordhuis [Tue, 29 Nov 2011 18:21:41 +0000 (19:21 +0100)]
sys: print stack trace if NODE_DEBUG=sys

12 years agobuild: DRY configure script
Ben Noordhuis [Tue, 29 Nov 2011 15:27:52 +0000 (16:27 +0100)]
build: DRY configure script

12 years agoUpgrade libuv to fce90652ed38ab0925131ed141972354a494933b
Bert Belder [Tue, 29 Nov 2011 11:45:39 +0000 (12:45 +0100)]
Upgrade libuv to fce90652ed38ab0925131ed141972354a494933b

12 years agoOutgoingMessage.prototype.write does not take Array
seebees [Mon, 28 Nov 2011 17:36:54 +0000 (09:36 -0800)]
OutgoingMessage.prototype.write does not take Array

Changed the type checking for OutgoingMessage.prototype.write so it only accepts string and Buffer.

And test.
Fixes #2162
Fixes #2208

12 years agodoc: add note about NODE_MODULE module_name requirement
Roman Shtylman [Mon, 28 Nov 2011 19:44:23 +0000 (14:44 -0500)]
doc: add note about NODE_MODULE module_name requirement

module_name needs to match the final binary name

12 years agochild_process: fix order of args to errnoException()
Thomas Shinnick [Mon, 28 Nov 2011 19:30:48 +0000 (13:30 -0600)]
child_process: fix order of args to errnoException()

12 years agodocs: add rel="canonical" link to latest API docs
Ben Noordhuis [Mon, 28 Nov 2011 13:13:55 +0000 (14:13 +0100)]
docs: add rel="canonical" link to latest API docs

12 years agomodules: fix error message for native add-ons without entry points
Ben Noordhuis [Sun, 27 Nov 2011 21:38:54 +0000 (22:38 +0100)]
modules: fix error message for native add-ons without entry points

Trying to load an add-on without "init" or "modname_module" symbols would raise
an "Out of memory" exception. Let's improve that error message.

12 years agoRemove npm's .gitignore, add generated docs
isaacs [Sat, 26 Nov 2011 17:21:03 +0000 (09:21 -0800)]
Remove npm's .gitignore, add generated docs

12 years agodocs: fix favicon
Tim Oxley [Sat, 26 Nov 2011 13:23:06 +0000 (23:23 +1000)]
docs: fix favicon

12 years agotls: fix https with fs.openReadStream hangs
koichik [Sat, 26 Nov 2011 15:43:57 +0000 (00:43 +0900)]
tls: fix https with fs.openReadStream hangs

Fixes #2185.
Fixes #2198.

12 years agoFix double #define of NODE_VERSION_IS_RELEASE
Ben Noordhuis [Sun, 27 Nov 2011 01:09:15 +0000 (02:09 +0100)]
Fix double #define of NODE_VERSION_IS_RELEASE

12 years agotest: update an expired certificate
koichik [Sat, 26 Nov 2011 17:05:24 +0000 (02:05 +0900)]
test: update an expired certificate

12 years agodocs: fix typo
kyle@dontkry.com [Sat, 26 Nov 2011 02:26:11 +0000 (18:26 -0800)]
docs: fix typo

Fixes #2193.

12 years agobuild: compile with -D__DARWIN_64_BIT_INO_T on OS X
Ben Noordhuis [Fri, 25 Nov 2011 15:49:52 +0000 (16:49 +0100)]
build: compile with -D__DARWIN_64_BIT_INO_T on OS X

Fixes a struct stat size mismatch on 64 bits machines that made Node crash with
a EXC_BAD_ACCESS on startup.

Fixes #2061 for gyp builds. Solution proposed by Paddy Byers.

12 years agoNow working on v0.6.4
Bert Belder [Fri, 25 Nov 2011 11:43:44 +0000 (12:43 +0100)]
Now working on v0.6.4

12 years agoMerge branch 'v0.6'
Bert Belder [Fri, 25 Nov 2011 11:34:29 +0000 (12:34 +0100)]
Merge branch 'v0.6'

Conflicts:
Makefile
src/node_version.h
test/simple/test-http-response-no-headers.js

12 years agoBump version to v0.6.3 v0.6.3
Bert Belder [Fri, 25 Nov 2011 10:23:28 +0000 (11:23 +0100)]
Bump version to v0.6.3

12 years agoStrip trailing whitespace in changelog
Bert Belder [Fri, 25 Nov 2011 10:07:57 +0000 (11:07 +0100)]
Strip trailing whitespace in changelog

12 years agoMake the pummel test runner not crash on windows when a directory is locked
Bert Belder [Fri, 25 Nov 2011 09:27:30 +0000 (10:27 +0100)]
Make the pummel test runner not crash on windows when a directory is locked

12 years agoUpgrade libuv to 01f64f6
Bert Belder [Fri, 25 Nov 2011 09:16:43 +0000 (10:16 +0100)]
Upgrade libuv to 01f64f6

12 years agoFs: use strncmp instead of memcmp for comparing strings
Bert Belder [Fri, 25 Nov 2011 08:30:50 +0000 (09:30 +0100)]
Fs: use strncmp instead of memcmp for comparing strings

12 years agoEnable long paths on windows
Author: Igor Zinkovsky [Fri, 25 Nov 2011 08:29:06 +0000 (09:29 +0100)]
Enable long paths on windows

12 years agoupdate libuv to cfa4112950b1f897fda7
Igor Zinkovsky [Fri, 25 Nov 2011 03:45:35 +0000 (19:45 -0800)]
update libuv to cfa4112950b1f897fda7

12 years agoFix test-stdin-from-file
Bert Belder [Fri, 25 Nov 2011 02:08:27 +0000 (03:08 +0100)]
Fix test-stdin-from-file

12 years agoUpgrade libuv to 3a50f8f
Bert Belder [Fri, 25 Nov 2011 01:13:37 +0000 (02:13 +0100)]
Upgrade libuv to 3a50f8f

12 years agoFix issues with test-fs-chmod
Bert Belder [Fri, 25 Nov 2011 00:25:38 +0000 (01:25 +0100)]
Fix issues with test-fs-chmod

- The test simultaneously chmods and fchmods the same file.
- On windows, it leaves behind a fixture in read-only mode,
  which causes test-fs-fsync to fail.

12 years agoUpgrade libuv to 45b976a
Bert Belder [Fri, 25 Nov 2011 00:01:17 +0000 (01:01 +0100)]
Upgrade libuv to 45b976a

12 years agotest: better fs.lchmod() availability check
Ben Noordhuis [Thu, 24 Nov 2011 23:55:10 +0000 (00:55 +0100)]
test: better fs.lchmod() availability check

fs.lchmod() is a BSD-ism, not a "not Windows"-ism.

12 years agoUpgrade libuv to ea63f06
Bert Belder [Thu, 24 Nov 2011 18:57:17 +0000 (19:57 +0100)]
Upgrade libuv to ea63f06

12 years agoAdd test for GH-2177
Bert Belder [Thu, 24 Nov 2011 18:56:41 +0000 (19:56 +0100)]
Add test for GH-2177