isaacs [Tue, 25 Sep 2012 15:28:55 +0000 (08:28 -0700)]
npm: upgrade to 1.1.62
Adam Blackburn [Sat, 22 Sep 2012 22:48:47 +0000 (16:48 -0600)]
doc: put API table of contents in alphabetical order
Nathan Rajlich [Mon, 24 Sep 2012 18:30:26 +0000 (11:30 -0700)]
http: make the client "res" object gets the same domain as "req"
Fixes #4046.
Nathan Rajlich [Sat, 22 Sep 2012 01:46:16 +0000 (18:46 -0700)]
repl: make invalid RegExps throw in the REPL
Fixes #2746.
Bert Belder [Sat, 22 Sep 2012 01:53:16 +0000 (03:53 +0200)]
uv: upgrade to 39ca621
Bryan Cantrill [Tue, 18 Sep 2012 22:35:29 +0000 (15:35 -0700)]
v8: loosen artificial mmap constraint
Fixes #4010.
isaacs [Thu, 20 Sep 2012 22:13:36 +0000 (15:13 -0700)]
domain: Properly exit() on domain disposal
This addresses #4034. There are two problems happening:
1. The domain is not exited automatically when calling dispose() on it.
Then, since the domain is disposed, attempting to exit it again will do
nothing.
2. The active domain is stored on process.domain. Since thrown errors
call `process.emit('uncaughtException', er)`, and the process is an
event emitter with a `.domain` member, it re-enters the domain a second
time before calling the error handler, pushing it onto the stack again.
Thus, if the handler calls `domain.dispose()`, then the domain is now on
the stack twice, and cannot be exited properly. Since the domain is
disposed, any subsequent IO will be no-op'ed, since we've declared that
this context is done and best forgotten.
The solution here is twofold:
1. In EventEmitter.emit, do not enter the domain if `this===process`.
2. Automatically exit the domain when calling `domain.dispose()`.
isaacs [Tue, 18 Sep 2012 01:33:36 +0000 (18:33 -0700)]
blog: Post for 0.9.2
Ben Noordhuis [Mon, 17 Sep 2012 15:40:23 +0000 (17:40 +0200)]
fs: fix watchFile() missing deletion events
Make sure the deletion event gets reported in the following scenario:
1. Watch a file.
2. The initial stat() goes okay.
3. Something deletes the watched file.
4. The second stat() fails with ENOENT.
The second stat() translates into the first 'change' event but a logic error
stopped it from getting emitted.
Fixes #4027.
Robin Lee [Sun, 2 Sep 2012 07:36:21 +0000 (15:36 +0800)]
doc: fix three typos
Ben Noordhuis [Mon, 17 Sep 2012 05:17:11 +0000 (07:17 +0200)]
process: fix setuid() and setgid() error reporting
Zero errno before calling getgrnam_r() or getpwnam_r(). If errno had previously
been clobbered, node would report the wrong error.
Ben Noordhuis [Fri, 14 Sep 2012 00:34:10 +0000 (02:34 +0200)]
fs: fix assert in fs.watch()
Fix the following error:
FSEventWrap: Aborting due to unwrap failure at ../../src/fs_event_wrap.cc:169
It's possible and legal for a handle to be closed twice. HandleWrap::Close()
deals with that by ignoring the second close. Now FSEventWrap::Close() does
too.
Fixes #3997.
Ben Noordhuis [Thu, 13 Sep 2012 23:59:44 +0000 (01:59 +0200)]
fs: don't segfault on deeply recursive stat()
Check that the calls to Integer::New() and Date::New() succeed and bail out if
they don't.
V8 returns an empty handle on stack overflow. Trying to set the empty handle as
a property on an object results in a NULL pointer dereference in release builds
and an assert in debug builds.
Fixes #4015.
Nathan Rajlich [Mon, 20 Aug 2012 19:06:29 +0000 (12:06 -0700)]
v8: Replace VFP by VFP2 in common.gypi
This fixes an omission in cl
10818026.
Patch by Nathan Rajlich.
Review URL: http://codereview.chromium.org/
10913256
yangguo@chromium.org [Mon, 20 Aug 2012 00:01:32 +0000 (17:01 -0700)]
v8: Relax requirement from VFP3 to VFP2 where possible.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10818026
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@12194
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Frédéric Germain [Sun, 9 Sep 2012 12:32:40 +0000 (14:32 +0200)]
http: Remove timeout handler when data arrives
Ben Noordhuis [Wed, 12 Sep 2012 15:04:31 +0000 (17:04 +0200)]
doc: fs: clarfify fs.watch() documentation
fs.watch() is implemented on all supported platforms but, depending on the
object being watched, doesn't always work reliably (or at all).
Fixes #4005.
Ben Noordhuis [Wed, 12 Sep 2012 00:46:45 +0000 (02:46 +0200)]
doc: http: expand request.headers documentation
isaacs [Tue, 11 Sep 2012 18:59:37 +0000 (11:59 -0700)]
Now working on 0.8.10
isaacs [Tue, 11 Sep 2012 18:57:57 +0000 (11:57 -0700)]
blog: Post for 0.8.9
isaacs [Tue, 11 Sep 2012 18:58:35 +0000 (11:58 -0700)]
Merge branch 'v0.8.9-release' into v0.8
isaacs [Tue, 11 Sep 2012 15:19:12 +0000 (08:19 -0700)]
2012.09.11, Version 0.8.9 (Stable)
* v8: upgrade to 3.11.10.22
* GYP: upgrade to r1477
* npm: Upgrade to 1.1.61
* npm: Don't create world-writable files (isaacs)
* windows: fix single-accept mode for shared server sockets (Bert Belder)
* windows: fix uninitialized memory access in uv_update_time() (Bert Belder)
* windows: don't throw when a signal handler is attached (Bert Belder)
* unix: fix memory leak in udp (Ben Noordhuis)
* unix: map errno ESPIPE (Ben Noordhuis)
* unix, windows: fix memory corruption in fs-poll.c (Ben Noordhuis)
* sunos: fix os.cpus() on x86_64 (Ben Noordhuis)
* child process: fix processes with IPC channel don't emit 'close' (Bert Belder)
* build: add a "--dest-os" option to force a gyp "flavor" (Nathan Rajlich)
* build: set `process.platform` to "sunos" on SunOS (Nathan Rajlich)
* build: fix `make -j` fails after `make clean` (Bearice Ren)
* build: fix openssl configuration for "arm" builds (Nathan Rajlich)
* tls: support unix domain socket/named pipe in tls.connect (Shigeki Ohtsu)
* https: make https.get() accept a URL (koichik)
* http: respect HTTP/1.0 TE header (Ben Noordhuis)
* crypto, tls: Domainify setSNICallback, pbkdf2, randomBytes (Ben Noordhuis)
* stream.pipe: Don't call destroy() unless it's a function (isaacs)
isaacs [Tue, 11 Sep 2012 17:57:16 +0000 (10:57 -0700)]
Update doc and test for sunos/solaris switch
isaacs [Tue, 11 Sep 2012 15:45:18 +0000 (08:45 -0700)]
doc: Fork me image should be full url
isaacs [Tue, 11 Sep 2012 15:43:20 +0000 (08:43 -0700)]
doc: Put current version on homepage
isaacs [Tue, 11 Sep 2012 15:40:17 +0000 (08:40 -0700)]
doc: Add Node Dublin to community page
isaacs [Mon, 10 Sep 2012 22:58:30 +0000 (15:58 -0700)]
stream.pipe: Don't call destroy() unless it's a function
isaacs [Mon, 10 Sep 2012 16:11:54 +0000 (09:11 -0700)]
npm: Upgrade to 1.1.61
Nathan Rajlich [Sun, 9 Sep 2012 18:41:05 +0000 (11:41 -0700)]
configure: add a "--dest-os" option to force a gyp "flavor"
This makes cross-compiling easier. i.e. from my mac:
./configure --dest-cpu=arm --dest-os=linux
Nathan Rajlich [Sat, 8 Sep 2012 22:09:59 +0000 (15:09 -0700)]
util: make util.inspect() work when "hasOwnProperty" is overwritten
Ben Noordhuis [Sat, 8 Sep 2012 19:43:55 +0000 (21:43 +0200)]
http: respect HTTP/1.0 TE header
A HTTP/1.0 client does not support 'Transfer-Encoding: chunked' unless it
explicitly requests it by sending a 'TE: chunked' header.
Before this commit, node.js always disabled chunked encoding for HTTP/1.0
clients. Now it will scan for the TE header and turn on chunked encoding if
requested and applicable.
Fixes #940.
Pooya Karimian [Fri, 17 Aug 2012 20:57:23 +0000 (13:57 -0700)]
cluster.worker description and examples ere missing from the top level of docs
Fedor Indutny [Thu, 6 Sep 2012 14:06:15 +0000 (16:06 +0200)]
v8: fix semaphore on MacOS
Landed upstream: https://chromiumcodereview.appspot.com/
10867009/
Bert Belder [Tue, 21 Aug 2012 01:05:25 +0000 (03:05 +0200)]
v8: reapply floating patches
Bert Belder [Thu, 6 Sep 2012 13:58:09 +0000 (15:58 +0200)]
v8: upgrade to 3.11.10.22
Bert Belder [Tue, 4 Sep 2012 14:24:20 +0000 (16:24 +0200)]
doc: don't use '
Ref: #3964
Atsuya Takagi [Mon, 3 Sep 2012 10:09:50 +0000 (03:09 -0700)]
doc: fix typo in api/cluster
Ben Noordhuis [Mon, 3 Sep 2012 21:26:19 +0000 (23:26 +0200)]
crypto, tls: make setSNICallback() compatible with domains
Ben Noordhuis [Mon, 3 Sep 2012 21:15:30 +0000 (23:15 +0200)]
crypto: make pbkdf2() compatible with domains
Ben Noordhuis [Mon, 3 Sep 2012 21:09:17 +0000 (23:09 +0200)]
crypto: make randomBytes() compatible with domains
Don't execute the callback in the context of the global object.
MakeCallback() tries to apply the active domain to the callback. If the user
polluted the global object with a 'domain' property, as in the code example
below, MakeCallback() will try to apply that.
Example:
domain = {}; // missing var keyword is intentional
crypto.randomBytes(8, cb); // TypeError: undefined is not a function
Fixes #3956.
Bert Belder [Mon, 3 Sep 2012 17:05:40 +0000 (19:05 +0200)]
windows: don't blow when a signal handler is attached
Blowing up when the user attaches a signal handler makes no sense. Also,
in Node 0.10 signals will be supported, so allow people to get used to
it.
koichik [Sun, 2 Sep 2012 11:59:50 +0000 (20:59 +0900)]
Revert "buffer: added support for writing NaN and Infinity"
This reverts commit
6b9425fe3783193cf95cb04cbcbcbb97f5a77d31.
Ben Noordhuis [Sun, 2 Sep 2012 11:32:57 +0000 (13:32 +0200)]
doc: document prerequisites in README
koichik [Sat, 1 Sep 2012 15:14:18 +0000 (00:14 +0900)]
buffer: added support for writing NaN and Infinity
to writeDoubleBE(), writeDoubleLE(), writeFloatBE() and writeFloatLE().
Fixes #3934.
Shigeki Ohtsu [Thu, 30 Aug 2012 15:11:05 +0000 (00:11 +0900)]
tls: support unix domain socket/named pipe in tls.connect
Bert Belder [Thu, 30 Aug 2012 15:28:02 +0000 (17:28 +0200)]
uv: upgrade to 24c062c
Bert Belder [Thu, 30 Aug 2012 14:13:27 +0000 (16:13 +0200)]
child process: fix processes with IPC channel don't emit 'close'
With this patch the IPC socket is no longer available in the
ChildProcess.stdio array. This shouldn't be very problematic, since
this socket was effectively non-functional; it would never emit any
events.
Nathan Rajlich [Wed, 29 Aug 2012 21:57:25 +0000 (14:57 -0700)]
build: set `process.platform` to "sunos" on SunOS
gyp sets it to "solaris" by default, but versions of node v0.6.x and
older would report "sunos". Let's keep things consistent.
Fixes #3944.
Ankur Oberoi [Wed, 29 Aug 2012 16:52:55 +0000 (13:52 -0300)]
doc: fix grammar errors
isaacs [Wed, 29 Aug 2012 19:26:28 +0000 (12:26 -0700)]
Test client renegotiation attacks on HTTPS
This test should output roughly the same results as the tls ci-reneg attack
pummel test. However, it does not.
isaacs [Tue, 28 Aug 2012 22:34:08 +0000 (15:34 -0700)]
blog: Post for 0.9.1 release
Bearice Ren [Sun, 26 Aug 2012 03:20:42 +0000 (11:20 +0800)]
build: fix `make -j' fails after `make clean'
make fails if:
./configure && make clean && make -j6
as out/Makefile has not yet be made when entering sub dirs
Bert Belder [Mon, 27 Aug 2012 22:26:29 +0000 (00:26 +0200)]
windows: fix single-accept mode for shared server sockets
Ben Noordhuis [Mon, 27 Aug 2012 20:08:06 +0000 (22:08 +0200)]
build: compile with -fno-tree-sink if gcc <= 4.4
Fixes a 'pure virtual method called' run-time error with some versions of gcc
on some platforms, notably ARM.
Ben Noordhuis [Mon, 27 Aug 2012 20:06:34 +0000 (22:06 +0200)]
build: fix -fno-tree-vrp heuristic
-fno-tree-vrp is a gcc only switch. Don't enable it when compiling with clang,
it will only complain about -fno-tree-vrp being ignored.
Nathan Rajlich [Fri, 24 Aug 2012 23:11:55 +0000 (16:11 -0700)]
docs: fix syntax error in "https" example
koichik [Sat, 18 Aug 2012 05:18:02 +0000 (14:18 +0900)]
https: make https.get() accept a URL
https.get() now accepts either a URL (as a string) or an options object.
Refs #2859.
Fixes #3882.
Brandon Wilson [Fri, 24 Aug 2012 13:47:53 +0000 (15:47 +0200)]
doc: more uniform and sleek buttons
Closes GH-3909
Nathan Rajlich [Thu, 23 Aug 2012 18:28:47 +0000 (11:28 -0700)]
build: tweak the openssl android configuration to build
Removed NO_CAST, NO_MD2 and NO_STORE because otherwise there were build errors.
Added NO_CAMELLIA, NO_MDC2, and NO_CMS because otherwise there were linker errors.
Nathan Rajlich [Thu, 23 Aug 2012 18:28:17 +0000 (11:28 -0700)]
build: use the openssl android configuration for "arm" builds
Bert Belder [Thu, 23 Aug 2012 15:51:59 +0000 (17:51 +0200)]
doc: tidy the community page html file
Bert Belder [Thu, 23 Aug 2012 14:13:37 +0000 (16:13 +0200)]
doc: remove Felix's IRC logs from the community page
It's been down for months.
Bert Belder [Thu, 23 Aug 2012 13:50:34 +0000 (15:50 +0200)]
doc: move ul styling to pipe.css
Bert Belder [Thu, 23 Aug 2012 13:42:34 +0000 (15:42 +0200)]
doc: pixel nudge
Bert Belder [Thu, 23 Aug 2012 15:54:12 +0000 (17:54 +0200)]
doc: use somewhat consistent styling for css assets
Stéphan Kochen [Thu, 23 Aug 2012 13:55:42 +0000 (16:55 +0300)]
doc: remove nodejs-dev from the community page
Ben Noordhuis [Thu, 23 Aug 2012 14:03:46 +0000 (16:03 +0200)]
net: fix asserts
Fixes a 'Converting circular structure to JSON' TypeError.
isaacs [Wed, 22 Aug 2012 22:11:26 +0000 (15:11 -0700)]
website: Fix download link on win, un-break industry section
Bert Belder [Wed, 22 Aug 2012 21:58:34 +0000 (23:58 +0200)]
doc: remote the "recommended modules" section
isaacs [Wed, 22 Aug 2012 19:53:22 +0000 (12:53 -0700)]
blog: v0.8.8 release
isaacs [Wed, 22 Aug 2012 19:52:05 +0000 (12:52 -0700)]
Now working on 0.8.9
isaacs [Wed, 22 Aug 2012 19:51:53 +0000 (12:51 -0700)]
Merge branch 'v0.8.8-release' into v0.8
Ryan Dahl [Wed, 22 Aug 2012 19:18:45 +0000 (15:18 -0400)]
Upgrade GYP to r1477
isaacs [Wed, 22 Aug 2012 08:23:47 +0000 (01:23 -0700)]
2012.08.22, Version 0.8.8 (Stable)
* V8: upgrade to 3.11.10.19
* npm: upgrade to 1.1.59
* windows: fix uninitialized memory access in uv_update_time() (Bert Belder)
* unix, windows: fix memory corruption in fs-poll.c (Ben Noordhuis)
* unix: fix integer overflow in uv_hrtime (Tim Holy)
* sunos: fix uv_cpu_info() on x86_64 (Ben Noordhuis)
* tls: update default cipher list (Ben Noordhuis)
* unix: Fix llvm and older gcc duplicate symbol warnings (Bert Belder)
* fs: fix use after free in stat watcher (Ben Noordhuis)
* build: Fix using manually compiled gcc on OS X (Nathan Rajlich)
* windows: make junctions work again (Bert Belder)
isaacs [Wed, 22 Aug 2012 08:19:50 +0000 (01:19 -0700)]
npm: Upgrade to 1.1.59
isaacs [Wed, 22 Aug 2012 16:46:07 +0000 (09:46 -0700)]
lint
Ron Korving [Tue, 21 Aug 2012 08:11:04 +0000 (17:11 +0900)]
doc: fix typo in cluster example code
isaacs [Wed, 22 Aug 2012 00:38:21 +0000 (17:38 -0700)]
npm: Upgrade to 1.1.57
isaacs [Tue, 21 Aug 2012 23:27:30 +0000 (16:27 -0700)]
npm: Upgrade to 1.1.56
isaacs [Tue, 21 Aug 2012 22:29:03 +0000 (15:29 -0700)]
npm: Upgrade to 1.1.55
Ben Noordhuis [Tue, 21 Aug 2012 20:27:13 +0000 (22:27 +0200)]
tls: update default cipher list
Update the default cipher list from RC4-SHA:AES128-SHA:AES256-SHA
to ECDHE-RSA-AES128-SHA256:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH
in order to mitigate BEAST attacks.
The documentation suggested AES256-SHA but unfortunately that's a CBC cipher
and therefore susceptible to attacks.
Fixes #3900.
Ben Noordhuis [Tue, 21 Aug 2012 11:44:29 +0000 (13:44 +0200)]
doc: cluster: setupMaster() can be called only once
Bert Belder [Tue, 21 Aug 2012 01:05:25 +0000 (03:05 +0200)]
v8: reapply floating patches
Bert Belder [Tue, 21 Aug 2012 01:04:16 +0000 (03:04 +0200)]
v8: upgrade to v3.11.10.19
Bert Belder [Mon, 20 Aug 2012 16:13:05 +0000 (19:13 +0300)]
unix: don't explicitly instantiate v8::Persistent<x> templates
These explicit instantiations were added to make MSVC happy. It turns
out that some older versions of gcc and llvm now complain about duplicate
symbols, so we instantiate these templates only when MSVC is used.
Ben Noordhuis [Mon, 20 Aug 2012 10:52:26 +0000 (12:52 +0200)]
fs: fix use after free in stat watcher
The uv_fs_poll_t handle was stopped but not closed, leaving libuv's internal
handle queue in a corrupted state.
Ben Noordhuis [Mon, 20 Aug 2012 15:20:41 +0000 (17:20 +0200)]
deps: upgrade libuv to 012cbda
Nathan Rajlich [Sun, 19 Aug 2012 18:11:47 +0000 (11:11 -0700)]
build: don't use "-Wnewline-eof" on OS X
This is the only thing preventing a manually compiled version of GCC
(rather than Apple's provided llvm-gcc or heavily modified gcc 4.2)
from working properly, so we might as well enable support for that.
With this patch I was able to compile node using a manually compiled
gcc 4.7.1.
Closes #3887.
Bert Belder [Fri, 17 Aug 2012 00:30:57 +0000 (02:30 +0200)]
windows: make junctions work again
Closes GH-3879
Bert Belder [Thu, 16 Aug 2012 23:08:06 +0000 (01:08 +0200)]
Avoid compiler warning about negating unsigned value
Bert Belder [Thu, 16 Aug 2012 22:46:52 +0000 (00:46 +0200)]
windows: avoid MSVC warnings about templates not having a dll interface
isaacs [Thu, 16 Aug 2012 16:56:31 +0000 (09:56 -0700)]
website: Improved install button behavior
Just install whatever's best for the OS.
Detect host os and architecture from the navigator properties. If we
can't make a good guess, then they get the tarball, and of course
everything we have is on the full download page.
isaacs [Tue, 24 Jul 2012 21:19:50 +0000 (14:19 -0700)]
v8: Reapply floating patches
isaacs [Thu, 16 Aug 2012 21:42:39 +0000 (14:42 -0700)]
v8: Upgrade to 3.11.10.18
isaacs [Thu, 16 Aug 2012 01:56:48 +0000 (18:56 -0700)]
blog: Fix binary links for 0.8.7 post
Nathan Rajlich [Thu, 16 Aug 2012 01:05:33 +0000 (18:05 -0700)]
email-footer: update the binary package links to x86/x64
isaacs [Thu, 16 Aug 2012 00:33:03 +0000 (17:33 -0700)]
website: fix font-size on 'explore' list items
isaacs [Thu, 16 Aug 2012 00:25:25 +0000 (17:25 -0700)]
Now working on 0.8.8
isaacs [Thu, 16 Aug 2012 00:25:01 +0000 (17:25 -0700)]
Merge branch 'v0.8.7-release' into v0.8
isaacs [Thu, 16 Aug 2012 00:23:59 +0000 (17:23 -0700)]
blog: release 0.8.7