Dave Pacheco [Thu, 1 Mar 2012 17:19:51 +0000 (09:19 -0800)]
dtrace ustack helper improvements
Fixes #2852
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.)
Ben Noordhuis [Thu, 1 Mar 2012 16:00:33 +0000 (17:00 +0100)]
uv: upgrade to b3fe183
isaacs [Thu, 1 Mar 2012 00:05:18 +0000 (16:05 -0800)]
Merge branch 'json-api-v0.6' into v0.6
isaacs [Mon, 27 Feb 2012 19:44:36 +0000 (11:44 -0800)]
Handle miscs better
isaacs [Mon, 27 Feb 2012 19:44:30 +0000 (11:44 -0800)]
Debugger should be a misc, not 'concept'
isaacs [Mon, 27 Feb 2012 19:37:26 +0000 (11:37 -0800)]
'Events' is a module, not an event named 's'
isaacs [Mon, 27 Feb 2012 19:18:10 +0000 (11:18 -0800)]
s/streams/stream/
isaacs [Mon, 27 Feb 2012 19:12:35 +0000 (11:12 -0800)]
s/buffers/buffer/
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: zlib
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: vm
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: util
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: url
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: tty
isaacs [Mon, 27 Feb 2012 19:09:35 +0000 (11:09 -0800)]
doc refactor: tls
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: timers
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: synopsis
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: streams
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: stdio
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: repl
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: readline
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: querystring
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: process
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: path
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: os
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: net
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: modules
isaacs [Mon, 27 Feb 2012 19:09:34 +0000 (11:09 -0800)]
doc refactor: https
isaacs [Mon, 27 Feb 2012 19:09:33 +0000 (11:09 -0800)]
doc refactor: http
isaacs [Mon, 27 Feb 2012 19:09:33 +0000 (11:09 -0800)]
doc refactor: globals
isaacs [Mon, 27 Feb 2012 19:09:33 +0000 (11:09 -0800)]
doc refactor: fs
isaacs [Mon, 27 Feb 2012 19:09:33 +0000 (11:09 -0800)]
doc refactor: events
isaacs [Mon, 27 Feb 2012 19:08:41 +0000 (11:08 -0800)]
doc refactor: dns
isaacs [Mon, 27 Feb 2012 19:08:27 +0000 (11:08 -0800)]
doc refactor: dgram
isaacs [Mon, 27 Feb 2012 19:08:17 +0000 (11:08 -0800)]
doc refactor: debugger
isaacs [Mon, 27 Feb 2012 19:08:02 +0000 (11:08 -0800)]
doc refactor: crypto
isaacs [Mon, 27 Feb 2012 19:07:49 +0000 (11:07 -0800)]
doc refactor: cluster
isaacs [Mon, 27 Feb 2012 19:07:25 +0000 (11:07 -0800)]
doc refactor: buffers
isaacs [Mon, 27 Feb 2012 19:07:12 +0000 (11:07 -0800)]
doc refactor: assert
isaacs [Mon, 27 Feb 2012 19:06:55 +0000 (11:06 -0800)]
doc refactor: appendix_1
isaacs [Mon, 27 Feb 2012 19:06:31 +0000 (11:06 -0800)]
doc refactor: addons
isaacs [Mon, 27 Feb 2012 19:06:14 +0000 (11:06 -0800)]
Add 'about these docs' section
isaacs [Mon, 27 Feb 2012 19:04:08 +0000 (11:04 -0800)]
s/child_processes/child_process/
Conflicts:
doc/api/child_process.markdown
isaacs [Mon, 27 Feb 2012 19:02:07 +0000 (11:02 -0800)]
Remove empty sections
isaacs [Mon, 27 Feb 2012 19:01:53 +0000 (11:01 -0800)]
Increase contrast of links, decrease contrast of bullets
isaacs [Mon, 27 Feb 2012 19:01:33 +0000 (11:01 -0800)]
Update styles to reflect changed api doc html structure
isaacs [Mon, 27 Feb 2012 18:59:51 +0000 (10:59 -0800)]
Update template to use new token style
Conflicts:
doc/template.html
isaacs [Mon, 27 Feb 2012 18:59:35 +0000 (10:59 -0800)]
Use new doc generation tool
Conflicts:
Makefile
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.
Conflicts:
Makefile
isaacs [Mon, 27 Feb 2012 18:59:01 +0000 (10:59 -0800)]
New documentation generation tool
Joshua Holbrook [Sun, 26 Feb 2012 19:38:36 +0000 (11:38 -0800)]
child_process: remove dummy "setsid" option setting
koichik [Sun, 26 Feb 2012 19:13:08 +0000 (04:13 +0900)]
net: fix race write() before and after connect()
Fixes #2827.
isaacs [Mon, 27 Feb 2012 23:53:20 +0000 (15:53 -0800)]
Revert "docs: split TOC into two parts: overview and API"
This reverts commit
cd4cb8e79509c3940a94bd70ff16cdb264884114.
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
Mathias Bynens [Fri, 24 Feb 2012 15:05:10 +0000 (16:05 +0100)]
punycode: Update to v1.0.0
Igor Zinkovsky [Mon, 27 Feb 2012 21:16:06 +0000 (13:16 -0800)]
update libuv to
9a5c1bad90
isaacs [Mon, 27 Feb 2012 21:08:54 +0000 (13:08 -0800)]
Fix #2822 Only remove logo images, not logo html
tedsuo [Thu, 15 Dec 2011 00:44:59 +0000 (16:44 -0800)]
docs: split TOC into two parts: overview and API
Fixes #2090.
Fixes #2336.
isaacs [Sat, 25 Feb 2012 02:52:17 +0000 (18:52 -0800)]
Update npm to 1.1.2
isaacs [Wed, 22 Feb 2012 19:48:43 +0000 (11:48 -0800)]
Make a fat binary for the OS X pkg
Igor Zinkovsky [Wed, 22 Feb 2012 20:04:39 +0000 (12:04 -0800)]
update libuv to
c0e7044862
isaacs [Tue, 21 Feb 2012 23:26:35 +0000 (15:26 -0800)]
Pause process.stdin in stdin getter
Otherwise, it'll be ref'ed, and keep the process hanging.
isaacs [Tue, 21 Feb 2012 20:03:15 +0000 (12:03 -0800)]
Add Håvard Stranden to AUTHORS file
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.
Ben Noordhuis [Sat, 18 Feb 2012 21:36:34 +0000 (22:36 +0100)]
docs: update man page
Paul Vorbach [Sat, 18 Feb 2012 00:40:26 +0000 (01:40 +0100)]
docs: fix quotation style in the webserver example
Replace " by '
Ben Noordhuis [Fri, 17 Feb 2012 22:58:42 +0000 (23:58 +0100)]
docs: fix tls markdown
isaacs [Fri, 17 Feb 2012 21:35:52 +0000 (13:35 -0800)]
Merge branch 'v0.6.11-release' into v0.6
isaacs [Fri, 17 Feb 2012 21:33:58 +0000 (13:33 -0800)]
Now working on 0.6.12
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)
isaacs [Fri, 17 Feb 2012 18:10:02 +0000 (10:10 -0800)]
Revert "cluster: propagate bind errors"
This reverts commit
30e462e91937ced3847af3fe9c393ebd32294b68.
isaacs [Fri, 17 Feb 2012 18:08:40 +0000 (10:08 -0800)]
Fix #2770 Compile the OS X pkg as ia32
Shannen Saez [Thu, 16 Feb 2012 06:47:23 +0000 (17:47 +1100)]
docs: remove unused javascript includes
Shannen Saez [Thu, 16 Feb 2012 06:38:05 +0000 (17:38 +1100)]
docs: add lang="en" and remove redundant types
Nathan Rajlich [Fri, 17 Feb 2012 00:33:40 +0000 (16:33 -0800)]
repl: make tab completion work on non-objects
isaacs [Thu, 16 Feb 2012 22:52:03 +0000 (14:52 -0800)]
Upgrade uv to
86ebe48660e
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.
einaros [Thu, 16 Feb 2012 09:42:13 +0000 (10:42 +0100)]
Add WebSocket RFC6455 multiheader fields to the http parser.
Ben Noordhuis [Tue, 14 Feb 2012 23:20:54 +0000 (00:20 +0100)]
http: allow multiple WWW-Authenticate headers
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.
Bert Belder [Thu, 16 Feb 2012 19:20:07 +0000 (20:20 +0100)]
Windows: another attempt to support unicode argv
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.
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.
koichik [Thu, 16 Feb 2012 17:02:02 +0000 (02:02 +0900)]
docs: removed unnecessary STARTTLS section
Bert Belder [Wed, 15 Feb 2012 22:50:04 +0000 (23:50 +0100)]
Windows: get rid of process._cwdForDrive()
Bert Belder [Wed, 15 Feb 2012 22:34:18 +0000 (23:34 +0100)]
Windows: use unicode environment
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.
Igor Zinkovsky [Tue, 14 Feb 2012 08:03:13 +0000 (00:03 -0800)]
add tls-over-http-tunnel test
koichik [Mon, 9 Jan 2012 01:28:49 +0000 (02:28 +0100)]
tls: Allow establishing secure connection on the existing socket
Seth Fitzsimmons [Tue, 14 Feb 2012 03:30:09 +0000 (19:30 -0800)]
dgram: handle close of dgram socket before DNS lookup completes
Bert Belder [Mon, 13 Feb 2012 19:55:29 +0000 (20:55 +0100)]
Windows: support non-ansi command line arguments
Bert Belder [Sun, 12 Feb 2012 20:07:31 +0000 (21:07 +0100)]
Add libuv test that was omitted in last libuv upgrade
Bert Belder [Sun, 12 Feb 2012 20:04:03 +0000 (21:04 +0100)]
Fix vcbuild.bat, print error when an unrecognized option is encountered
koichik [Sat, 11 Feb 2012 17:05:30 +0000 (02:05 +0900)]
test: fix timing sensitivity in test-net-write-slow
Ben Noordhuis [Sat, 11 Feb 2012 13:24:15 +0000 (14:24 +0100)]
docs: update net.Server.address() documentation
Igor Zinkovsky [Fri, 10 Feb 2012 09:35:35 +0000 (01:35 -0800)]
set readable/writable for pipes
Igor Zinkovsky [Fri, 10 Feb 2012 19:27:12 +0000 (11:27 -0800)]
Ben Noordhuis [Fri, 10 Feb 2012 17:51:31 +0000 (18:51 +0100)]
docs: clarify http 'data' callback
Fixes #2733.
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.
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.