Nathan Rajlich [Tue, 13 Mar 2012 00:24:39 +0000 (17:24 -0700)]
repl: use path.resolve() for the module.filename
Windows was seeing: "C:\\path\\to\\cwd/repl"
isaacs [Tue, 13 Mar 2012 04:10:40 +0000 (21:10 -0700)]
Upgrade npm to 1.1.6
* Fix #472 Adds support for os/cpu fields in package.json (Adam Blackburn)
* Don't use existing pkg if explicit
* Install missing deps, even if they are in bundleDependencies
* bundle node-gyp
* Automatically node-gyp build stuff with a bindings.gyp
* Fix #2230 Unpack in place. No folder renaming malarky
* Never create un-listable directories
* Fix cases where an optionalDependency fails to build
* Always ignore .wafpickle-7 files
* fix shrinkwrap test
* Fix: bundleDependencies being re-installed unnecessarily
Nathan Rajlich [Thu, 8 Mar 2012 18:56:59 +0000 (10:56 -0800)]
process: expose the zlib version in use in process.versions
Ben Noordhuis [Mon, 12 Mar 2012 22:13:10 +0000 (23:13 +0100)]
zlib: fix include of zlib.h
Including <zlib.h> may lead to false positives when the user specifies a bad
path in `./configure --shared-zlib --shared-zlib-includes=/path/to/zlib`. If
a zlib.h exists somewhere on the system include path (common on UNIX systems),
the compiler will include that instead, possibly leading to header mismatch
errors that are hard to debug.
Łukasz Walukiewicz [Mon, 12 Mar 2012 18:59:43 +0000 (19:59 +0100)]
Ignore an empty port component when parsing URLs.
isaacs [Mon, 12 Mar 2012 17:18:29 +0000 (10:18 -0700)]
module: remove 'exited', replace 'children' array
Yoshihiro Kikuchi [Mon, 12 Mar 2012 08:27:44 +0000 (17:27 +0900)]
docs: fix using legacy api in the buffer doc
Nao Iizuka [Sun, 11 Mar 2012 00:48:08 +0000 (09:48 +0900)]
docs: correct the description of assert.ok()
Ben Noordhuis [Mon, 12 Mar 2012 01:23:34 +0000 (02:23 +0100)]
http: use HTTP_METHOD_MAP macro
Ben Noordhuis [Mon, 12 Mar 2012 00:57:15 +0000 (01:57 +0100)]
deps: upgrade http_parser to 8bec3ea
Ben Noordhuis [Mon, 12 Mar 2012 00:37:32 +0000 (01:37 +0100)]
docs: console.dir() prints to stdout, not stderr
ssuda [Sat, 3 Mar 2012 09:46:45 +0000 (15:16 +0530)]
tls: parsing multiple values of a key in ssl certificate
Fixes #2864.
Nathan Rajlich [Thu, 8 Mar 2012 20:25:40 +0000 (12:25 -0800)]
process: expose the http_parser version in process.versions
Ben Noordhuis [Fri, 9 Mar 2012 23:11:11 +0000 (00:11 +0100)]
core: use proper #include directives
Ben Noordhuis [Fri, 9 Mar 2012 14:35:50 +0000 (06:35 -0800)]
buffer: throw from constructor if length > kMaxLength
Throw, don't abort. `new Buffer(0x3fffffff + 1)` used to bring down the process
with the following error message:
FATAL ERROR: v8::Object::SetIndexedPropertiesToExternalArrayData() length
exceeds max acceptable value
Fixes #2280.
Ben Noordhuis [Fri, 9 Mar 2012 14:01:40 +0000 (06:01 -0800)]
core: add ThrowError(), ThrowTypeError(), ThrowRangeError()
Ben Noordhuis [Fri, 9 Mar 2012 17:20:36 +0000 (09:20 -0800)]
cluster: support passing of named pipes
Fixes triggered assertion:
Assertion failed: (0 && "bad address family"), function GetPeerName,
file ../src/tcp_wrap.cc, line 237.
Fixes #2870.
Ben Noordhuis [Fri, 9 Mar 2012 17:20:29 +0000 (09:20 -0800)]
uv: upgrade 8c78cb4
Igor Zinkovsky [Thu, 8 Mar 2012 19:39:39 +0000 (11:39 -0800)]
add jslint to vcbuild.bat
Bert Belder [Thu, 8 Mar 2012 02:14:48 +0000 (03:14 +0100)]
Merge branch 'v0.6'
Bert Belder [Wed, 7 Mar 2012 23:13:44 +0000 (00:13 +0100)]
Windows: include syscall in fs errors
Bert Belder [Thu, 8 Mar 2012 01:57:37 +0000 (02:57 +0100)]
Igor Zinkovsky [Wed, 7 Mar 2012 08:40:42 +0000 (00:40 -0800)]
Emit end event only once
fixes #2888
Previously a pair of end events would be emitted if a response was
paused/resumed, and the underlying socket was closed while the
response was paused
Yoshihiro Kikuchi [Wed, 7 Mar 2012 06:58:21 +0000 (15:58 +0900)]
http: remove ClientRequest.prototype.pause()
ClientRequest.prototype.pause() is not needed. ClientRequest is a writable
stream and deferring to OutgoingMessage.prototype.pause() is broken, the method
does not exist.
Shea Levy [Mon, 13 Feb 2012 00:50:19 +0000 (19:50 -0500)]
fork: don't clear environment by default
- Set options.env to process.env instead of {} by default.
- Shallow clone the passed options.env in case the user passed process.env directly.
Colton Baker [Tue, 6 Mar 2012 06:22:51 +0000 (01:22 -0500)]
readline: ignore stray escape sequence
Fixes #2876.
Bert Belder [Wed, 7 Mar 2012 03:51:55 +0000 (04:51 +0100)]
client latency benchmark: don't require('request')
isaacs [Wed, 7 Mar 2012 03:31:16 +0000 (19:31 -0800)]
Typo in http_server_lag.js script
Thanks, @mscdex
isaacs [Wed, 7 Mar 2012 02:19:11 +0000 (18:19 -0800)]
Bash script for running http-simple benchmarks
isaacs [Wed, 7 Mar 2012 02:18:53 +0000 (18:18 -0800)]
A server with configurable lag for testing
isaacs [Wed, 7 Mar 2012 02:18:35 +0000 (18:18 -0800)]
A benchmark script for measuring client latency
ssuda [Mon, 5 Mar 2012 14:32:20 +0000 (20:02 +0530)]
dgram: fix when we call .close() inside 'listening'
Ming Liu [Tue, 6 Mar 2012 19:19:30 +0000 (11:19 -0800)]
docs: correct repl eval callback signature
Nathan Rajlich [Mon, 5 Mar 2012 16:51:58 +0000 (08:51 -0800)]
process: add `process.hrtime()`
This commit adds a high-resolution timer function.
Ben Noordhuis [Tue, 6 Mar 2012 17:11:50 +0000 (18:11 +0100)]
bench: add http_simple_auto benchmark
Starts a server and benchmarks it with ab.
Rlidwka [Mon, 5 Mar 2012 15:55:08 +0000 (19:55 +0400)]
readline: add multiline support
Dmitry Nizovtsev [Thu, 23 Feb 2012 15:37:49 +0000 (17:37 +0200)]
net, http, https: add localAddress option
Binds to a local address before making the outgoing connection.
Igor Zinkovsky [Tue, 6 Mar 2012 00:50:21 +0000 (16:50 -0800)]
fix simple/test-process-argv-0 on windows
Shigeki Ohtsu [Sun, 26 Feb 2012 12:26:09 +0000 (21:26 +0900)]
process: show detailed error message in process.dlopen()
Nathan Rajlich [Mon, 5 Mar 2012 20:21:16 +0000 (12:21 -0800)]
addon: use absolute paths for the node include dirs
This fixes running gyp_addon from across filesystems on Windows.
This is essentially a gyp bug where it's not relativizing properly
across filesystems. See TooTallNate/node-gyp#15 for the gory details.
Nathan Rajlich [Mon, 5 Mar 2012 20:38:31 +0000 (12:38 -0800)]
addon: add module_root_dir gyp variable
For native modules to use in their gyp files.
It gives the absolute path to the root of the module directory, i.e. where your
main binding.gyp file is located.
This seems helpful for some modules where the build system is more advanced and
using absolute paths is a requirement.
Igor Zinkovsky [Mon, 5 Mar 2012 21:20:13 +0000 (13:20 -0800)]
disable simple/test-signal-handler on Windows
isaacs [Mon, 5 Mar 2012 18:59:14 +0000 (10:59 -0800)]
Mention marked, and add license to doc generator
isaacs [Mon, 5 Mar 2012 18:28:47 +0000 (10:28 -0800)]
doc: 'filename' arg not guaranteed ever.
Ben Noordhuis [Mon, 5 Mar 2012 16:01:59 +0000 (17:01 +0100)]
build: disable -fvisibility=hidden if gcc < 4.0.0
Ben Noordhuis [Mon, 5 Mar 2012 15:55:24 +0000 (16:55 +0100)]
build: make CC command in -fstrict-aliasing check configurable
Sadique Ali [Mon, 27 Feb 2012 22:56:34 +0000 (04:26 +0530)]
build: make CC command in host check configurable
Ben Noordhuis [Mon, 5 Mar 2012 15:41:51 +0000 (16:41 +0100)]
build: remove unnecessary link flags from node.gyp
Ben Noordhuis [Mon, 5 Mar 2012 14:38:43 +0000 (15:38 +0100)]
uv: upgrade to a93dc7e
isaacs [Sun, 4 Mar 2012 07:48:57 +0000 (23:48 -0800)]
lint
isaacs [Sun, 4 Mar 2012 07:38:52 +0000 (23:38 -0800)]
Merge remote-tracking branch 'ry/v0.6' into v0.6-merge
Conflicts:
ChangeLog
Makefile
deps/npm/AUTHORS
deps/npm/html/api/bin.html
deps/npm/html/api/bugs.html
deps/npm/html/api/commands.html
deps/npm/html/api/config.html
deps/npm/html/api/deprecate.html
deps/npm/html/api/docs.html
deps/npm/html/api/edit.html
deps/npm/html/api/explore.html
deps/npm/html/api/help-search.html
deps/npm/html/api/init.html
deps/npm/html/api/install.html
deps/npm/html/api/link.html
deps/npm/html/api/load.html
deps/npm/html/api/ls.html
deps/npm/html/api/npm.html
deps/npm/html/api/outdated.html
deps/npm/html/api/owner.html
deps/npm/html/api/pack.html
deps/npm/html/api/prefix.html
deps/npm/html/api/prune.html
deps/npm/html/api/publish.html
deps/npm/html/api/rebuild.html
deps/npm/html/api/restart.html
deps/npm/html/api/root.html
deps/npm/html/api/run-script.html
deps/npm/html/api/search.html
deps/npm/html/api/shrinkwrap.html
deps/npm/html/api/start.html
deps/npm/html/api/stop.html
deps/npm/html/api/submodule.html
deps/npm/html/api/tag.html
deps/npm/html/api/test.html
deps/npm/html/api/uninstall.html
deps/npm/html/api/unpublish.html
deps/npm/html/api/update.html
deps/npm/html/api/version.html
deps/npm/html/api/view.html
deps/npm/html/api/whoami.html
deps/npm/html/doc/README.html
deps/npm/html/doc/adduser.html
deps/npm/html/doc/bin.html
deps/npm/html/doc/bugs.html
deps/npm/html/doc/build.html
deps/npm/html/doc/bundle.html
deps/npm/html/doc/cache.html
deps/npm/html/doc/changelog.html
deps/npm/html/doc/coding-style.html
deps/npm/html/doc/completion.html
deps/npm/html/doc/config.html
deps/npm/html/doc/deprecate.html
deps/npm/html/doc/developers.html
deps/npm/html/doc/disputes.html
deps/npm/html/doc/docs.html
deps/npm/html/doc/edit.html
deps/npm/html/doc/explore.html
deps/npm/html/doc/faq.html
deps/npm/html/doc/folders.html
deps/npm/html/doc/help-search.html
deps/npm/html/doc/help.html
deps/npm/html/doc/index.html
deps/npm/html/doc/init.html
deps/npm/html/doc/install.html
deps/npm/html/doc/json.html
deps/npm/html/doc/link.html
deps/npm/html/doc/list.html
deps/npm/html/doc/npm.html
deps/npm/html/doc/outdated.html
deps/npm/html/doc/owner.html
deps/npm/html/doc/pack.html
deps/npm/html/doc/prefix.html
deps/npm/html/doc/prune.html
deps/npm/html/doc/publish.html
deps/npm/html/doc/rebuild.html
deps/npm/html/doc/registry.html
deps/npm/html/doc/removing-npm.html
deps/npm/html/doc/restart.html
deps/npm/html/doc/root.html
deps/npm/html/doc/run-script.html
deps/npm/html/doc/scripts.html
deps/npm/html/doc/search.html
deps/npm/html/doc/semver.html
deps/npm/html/doc/shrinkwrap.html
deps/npm/html/doc/star.html
deps/npm/html/doc/start.html
deps/npm/html/doc/stop.html
deps/npm/html/doc/submodule.html
deps/npm/html/doc/tag.html
deps/npm/html/doc/test.html
deps/npm/html/doc/uninstall.html
deps/npm/html/doc/unpublish.html
deps/npm/html/doc/update.html
deps/npm/html/doc/version.html
deps/npm/html/doc/view.html
deps/npm/html/doc/whoami.html
deps/npm/lib/install.js
deps/npm/lib/ls.js
deps/npm/man/man1/npm.1
deps/npm/man/man1/shrinkwrap.1
deps/npm/man/man3/npm.3
deps/npm/man/man3/shrinkwrap.3
deps/npm/node_modules/request/main.js
deps/npm/node_modules/request/package.json
deps/npm/package.json
deps/uv/src/unix/core.c
deps/v8/src/conversions-inl.h
deps/v8/src/elements.cc
deps/v8/src/version.cc
doc/about/index.html
doc/api/assert.markdown
doc/api/child_process.markdown
doc/api/cluster.markdown
doc/api/crypto.markdown
doc/api/debugger.markdown
doc/api/dgram.markdown
doc/api/dns.markdown
doc/api/documentation.markdown
doc/api/events.markdown
doc/api/fs.markdown
doc/api/globals.markdown
doc/api/http.markdown
doc/api/https.markdown
doc/api/modules.markdown
doc/api/net.markdown
doc/api/os.markdown
doc/api/path.markdown
doc/api/process.markdown
doc/api/querystring.markdown
doc/api/readline.markdown
doc/api/stdio.markdown
doc/api/stream.markdown
doc/api/timers.markdown
doc/api/tls.markdown
doc/api/tty.markdown
doc/api/url.markdown
doc/api/util.markdown
doc/api/vm.markdown
doc/api/zlib.markdown
doc/api_assets/style.css
doc/community/index.html
doc/index.html
doc/logos/index.html
doc/template.html
src/node_version.h
tools/doc/html.js
tools/gyp/test/mac/app-bundle/empty.c
isaacs [Sun, 4 Mar 2012 06:58:47 +0000 (22:58 -0800)]
doc: css consistency on anchor links
isaacs [Sun, 4 Mar 2012 06:58:29 +0000 (22:58 -0800)]
doc: Don't prune Stability indicators
isaacs [Sun, 4 Mar 2012 06:12:35 +0000 (22:12 -0800)]
doc: Typo'd some stability indicators.
isaacs [Sun, 4 Mar 2012 01:14:06 +0000 (17:14 -0800)]
doc: Change 'file_system' module to 'fs' as it should be
isaacs [Sun, 4 Mar 2012 01:08:46 +0000 (17:08 -0800)]
Use shorter url for /docs/latest/api
isaacs [Sun, 4 Mar 2012 00:23:31 +0000 (16:23 -0800)]
doc: Stability and Caveats for fs.watch/watchFile
isaacs [Sun, 4 Mar 2012 00:23:15 +0000 (16:23 -0800)]
doc: indentation and structure in fs.markdown
isaacs [Sat, 3 Mar 2012 23:51:14 +0000 (15:51 -0800)]
doc: Document JSON docs
isaacs [Sat, 3 Mar 2012 23:50:33 +0000 (15:50 -0800)]
doc: Add link to JSON version of doc
isaacs [Fri, 2 Mar 2012 23:14:03 +0000 (15:14 -0800)]
doc: Add stability indicators to documentation
isaacs [Sat, 3 Mar 2012 22:39:17 +0000 (14:39 -0800)]
First arg to fs.fchown is an int, not a string
Bug introduced by
26bfb6bea45348d6aaa213b4ee38ac002c429394
Fix isaacs/npm#2225
Igor Zinkovsky [Sat, 3 Mar 2012 22:35:21 +0000 (14:35 -0800)]
disable fs.watchFile tests on windows
ssuda [Fri, 2 Mar 2012 16:21:26 +0000 (21:51 +0530)]
util: fix util.format() formatting of %%
Shigeki Ohtsu [Sat, 3 Mar 2012 03:18:24 +0000 (12:18 +0900)]
build: fix gcc version check
Shigeki Ohtsu [Sat, 3 Mar 2012 03:18:24 +0000 (12:18 +0900)]
build: remove unused import from configure script
Jimb Esser [Wed, 29 Feb 2012 01:14:40 +0000 (17:14 -0800)]
tls: proxy set(Timeout|NoDelay|KeepAlive) methods
- fix crash calling ClientRequest::setKeepAlive if the underlying request is
HTTPS.
- fix discarding of callback parameter when calling ClientRequest::setTimeout on
HTTPS requests.
- fix discarding of noDelay parameter when calling ClientRequest::setNoDelay on
HTTPS requests.
isaacs [Fri, 2 Mar 2012 21:08:28 +0000 (13:08 -0800)]
Now working on v0.6.13
isaacs [Fri, 2 Mar 2012 21:09:00 +0000 (13:09 -0800)]
Merge branch 'v0.6.12-release' into v0.6
isaacs [Fri, 2 Mar 2012 18:29:03 +0000 (10:29 -0800)]
2012.03.02 Version 0.6.12 (stable)
* Upgrade V8 to 3.6.6.24
* dtrace ustack helper improvements (Dave Pacheco)
* API Documentation refactor (isaacs)
* #2827 net: fix race write() before and after connect() (koichik)
* #2554 #2567 throw if fs args for 'start' or 'end' are strings (AJ ONeal)
* punycode: Update to v1.0.0 (Mathias Bynens)
* Make a fat binary for the OS X pkg (isaacs)
* Fix hang on accessing process.stdin (isaacs)
* repl: make tab completion work on non-objects (Nathan Rajlich)
* Fix fs.watch on OS X (Ben Noordhuis)
* Fix #2515 nested setTimeouts cause premature process exit (Ben Noordhuis)
* windows: fix time conversion in stat (Igor Zinkovsky)
* windows: fs: handle EOF in read (Brandon Philips)
* windows: avoid IOCP short-circuit on non-ifs lsps (Igor Zinkovsky)
* Upgrade npm to 1.1.4 (isaacs)
- windows fixes
- Bundle nested bundleDependencies properly
- install: support --save with url install targets
- shrinkwrap: behave properly with url-installed modules
- support installing uncompressed tars or single file modules from urls etc.
- don't run make clean on rebuild
- support HTTPS-over-HTTP proxy tunneling
isaacs [Fri, 2 Mar 2012 20:35:58 +0000 (12:35 -0800)]
css: Fix fonts on api index page navigation
Dave Pacheco [Wed, 8 Feb 2012 00:50:05 +0000 (16:50 -0800)]
disable omit-frame-pointer on solaris systems
isaacs [Thu, 2 Feb 2012 23:37:59 +0000 (15:37 -0800)]
Patches floating on v8
isaacs [Fri, 2 Mar 2012 19:23:12 +0000 (11:23 -0800)]
Upgrade V8 to 3.6.6.24
isaacs [Fri, 2 Mar 2012 17:48:25 +0000 (09:48 -0800)]
Upgrade npm to 1.1.4 (minor bugfix)
isaacs [Fri, 2 Mar 2012 17:31:24 +0000 (09:31 -0800)]
Upgrade npm to 1.1.3
* Update request to support HTTPS-over-HTTP proxy tunneling
* Throw on undefined envs in config settings
* Update which to 1.0.5
* Fix windows UNC busyloop in findPrefix
* Bundle nested bundleDependencies properly
* Alias adduser to add-user
* Doc updates (Christian Howe, Henrik Hodne, Andrew Lunny)
* ignore logfd/outfd streams in makeEnv() (Rod Vagg)
* shrinkwrap: Behave properly with url-installed deps
* install: Support --save with url install targets
* Support installing naked tars or single-file modules from urls etc.
* init: Don't add engines section
* Don't run make clean on rebuild
* Added missing unicode replacement (atomizer)
Dave Pacheco [Thu, 1 Mar 2012 17:19:51 +0000 (09:19 -0800)]
dtrace ustack helper improvements
Fixes #2852
Ben Noordhuis [Fri, 2 Mar 2012 01:14:27 +0000 (02:14 +0100)]
build: disable -fstrict-aliasing if gcc < 4.6.0
A compiler bug in older versions of gcc makes it do unsafe optimizations at -O1
and higher. This manifested itself with (at least) gcc 4.5.2 on SmartOS because
it made V8 hang in a busy loop.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45883
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 [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.
Igor Zinkovsky [Thu, 1 Mar 2012 22:40:04 +0000 (14:40 -0800)]
update libuv to
702f905f73
Igor Zinkovsky [Thu, 1 Mar 2012 22:12:19 +0000 (14:12 -0800)]
update libuv to
6bbccf1fe0
Igor Zinkovsky [Thu, 1 Mar 2012 21:49:23 +0000 (13:49 -0800)]
fix test-net-pipe-connect-errors for windows
Ben Noordhuis [Thu, 1 Mar 2012 16:00:33 +0000 (17:00 +0100)]
uv: upgrade to b3fe183
Vincent Ollivier [Tue, 28 Feb 2012 19:19:50 +0000 (20:19 +0100)]
test: fix typo in test-child-process-stdout-flush
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