platform/upstream/nodejs.git
12 years agoGenerate static HTML blog content out of markdown
isaacs [Wed, 20 Jun 2012 17:14:45 +0000 (10:14 -0700)]
Generate static HTML blog content out of markdown

12 years agoInitial blog source
isaacs [Wed, 20 Jun 2012 05:13:22 +0000 (22:13 -0700)]
Initial blog source

Exported from WP and cleaned up a bit.

12 years agoMerge branch 'stdin-resume-pipe'
isaacs [Thu, 21 Jun 2012 23:18:00 +0000 (16:18 -0700)]
Merge branch 'stdin-resume-pipe'

12 years agoFix #3503: stdin: resume() on pipe(dest)
isaacs [Thu, 21 Jun 2012 23:03:48 +0000 (16:03 -0700)]
Fix #3503: stdin: resume() on pipe(dest)

12 years agocrypto: fix error reporting in SetKey()
Fedor Indutny [Thu, 21 Jun 2012 23:02:43 +0000 (03:02 +0400)]
crypto: fix error reporting in SetKey()

12 years agotest: add deprecation fixture
isaacs [Thu, 21 Jun 2012 21:47:25 +0000 (14:47 -0700)]
test: add deprecation fixture

12 years agoExternalize node::no_deprecation
isaacs [Thu, 21 Jun 2012 20:39:54 +0000 (13:39 -0700)]
Externalize node::no_deprecation

12 years agoApply --no-deprecation to C++ warnings as well
isaacs [Thu, 21 Jun 2012 19:20:23 +0000 (12:20 -0700)]
Apply --no-deprecation to C++ warnings as well

12 years agoAdd --no-deprecation and --trace-deprecation flags
isaacs [Thu, 21 Jun 2012 18:42:33 +0000 (11:42 -0700)]
Add --no-deprecation and --trace-deprecation flags

12 years agohttp: Hush 'MUST NOT have a body' warnings to debug()
isaacs [Thu, 21 Jun 2012 17:04:21 +0000 (10:04 -0700)]
http: Hush 'MUST NOT have a body' warnings to debug()

12 years agoFix bug in io benchmark
Bert Belder [Thu, 21 Jun 2012 18:52:11 +0000 (20:52 +0200)]
Fix bug in io benchmark

12 years agoiowatcher: add deprecation warning
Ben Noordhuis [Thu, 21 Jun 2012 15:55:05 +0000 (17:55 +0200)]
iowatcher: add deprecation warning

12 years agodoc: update fs.watchFile() docs
Ben Noordhuis [Thu, 21 Jun 2012 13:03:49 +0000 (15:03 +0200)]
doc: update fs.watchFile() docs

12 years agofs: make fs.watchFile() interval default to 5007
Ben Noordhuis [Thu, 21 Jun 2012 13:03:21 +0000 (15:03 +0200)]
fs: make fs.watchFile() interval default to 5007

12 years agofs: make fs.watchFile() work on windows
Ben Noordhuis [Sat, 16 Jun 2012 20:41:37 +0000 (22:41 +0200)]
fs: make fs.watchFile() work on windows

12 years agotest: add another fs.watchFile() test
Ben Noordhuis [Thu, 21 Jun 2012 00:25:56 +0000 (02:25 +0200)]
test: add another fs.watchFile() test

12 years agonode: replace NODE_STAT_STRUCT with uv_statbuf_t
Ben Noordhuis [Wed, 20 Jun 2012 16:15:35 +0000 (18:15 +0200)]
node: replace NODE_STAT_STRUCT with uv_statbuf_t

12 years agouv: upgrade to da59427
Bert Belder [Thu, 21 Jun 2012 00:39:13 +0000 (02:39 +0200)]
uv: upgrade to da59427

12 years agoUse parent SlowBuffer, if any, when Buffer is sliced
Karl Skomski [Mon, 18 Jun 2012 09:03:32 +0000 (11:03 +0200)]
Use parent SlowBuffer, if any, when Buffer is sliced

Closes #3416
Closes #3477

12 years agov8: fix postmortem debugging tools build
Fedor Indutny [Wed, 13 Jun 2012 13:47:28 +0000 (15:47 +0200)]
v8: fix postmortem debugging tools build

12 years agov8: reapply floating patches
Bert Belder [Wed, 13 Jun 2012 13:37:15 +0000 (15:37 +0200)]
v8: reapply floating patches

12 years agov8: upgrade to v3.11.10.10
Bert Belder [Wed, 20 Jun 2012 22:33:44 +0000 (00:33 +0200)]
v8: upgrade to v3.11.10.10

12 years agoRename GYP variable node_use_system_openssl to be consistent
Ryan Dahl [Wed, 20 Jun 2012 20:31:49 +0000 (13:31 -0700)]
Rename GYP variable node_use_system_openssl to be consistent

12 years agoFix fs.readfile('/dev/stdin')
isaacs [Wed, 20 Jun 2012 17:28:44 +0000 (10:28 -0700)]
Fix fs.readfile('/dev/stdin')

There is no need for fs.readFile() to be using pread rather than read.
The default semantics of read() are such that subsequent reads are where
we want them anyway.

12 years agouv: upgrade to 6e8eb332
Bert Belder [Wed, 20 Jun 2012 01:32:55 +0000 (03:32 +0200)]
uv: upgrade to 6e8eb332

12 years agoNow working on 0.8.0
isaacs [Wed, 20 Jun 2012 00:03:12 +0000 (17:03 -0700)]
Now working on 0.8.0

12 years agoMerge branch 'v0.7.12-release'
isaacs [Wed, 20 Jun 2012 00:01:11 +0000 (17:01 -0700)]
Merge branch 'v0.7.12-release'

12 years agotest-domain: fix the test to work on Windows
Bert Belder [Tue, 19 Jun 2012 23:07:57 +0000 (01:07 +0200)]
test-domain: fix the test to work on Windows

On Windows, full pathnames are stored in the Error object when
a file i/o error happens. This is not the case on Unix. Before
this fix the test would break because of these full paths.

12 years agotest-cluster-worker-kill: use SIGKILL instead of SIGHUP
Bert Belder [Tue, 19 Jun 2012 22:56:33 +0000 (00:56 +0200)]
test-cluster-worker-kill: use SIGKILL instead of SIGHUP

In this test sending SIGKILL has the same effect as sending SIGHUP,
but SIGKILL has the advantage that it works on Windows too.

12 years agowindows: `listen(pipe_name)` is not supported when running cluster
Bert Belder [Tue, 19 Jun 2012 22:53:01 +0000 (00:53 +0200)]
windows: `listen(pipe_name)` is not supported when running cluster

- Added a note to the cluster module documentation.
- Disabled test-cluster-http-pipe.

12 years agowindows: update icon
Bert Belder [Tue, 19 Jun 2012 21:42:04 +0000 (23:42 +0200)]
windows: update icon

12 years ago2012.06.19, Version 0.7.12 (unstable) v0.7.12
isaacs [Tue, 19 Jun 2012 01:28:31 +0000 (18:28 -0700)]
2012.06.19, Version 0.7.12 (unstable)

* npm: Upgrade to 1.1.30
  - Improved 'npm init'
  - Fix the 'cb never called' error from 'oudated' and 'update'
  - Add --save-bundle|-B config
  - Fix isaacs/npm#2465: Make npm script and windows shims cygwin-aware
  - Fix isaacs/npm#2452 Use --save(-dev|-optional) in npm rm
  - `logstream` option to replace removed `logfd` (Rod Vagg)
  - Read default descriptions from README.md files

* Shims to support deprecated ev_* and eio_* methods (Ben Noordhuis)

* #3118 net.Socket: Delay pause/resume until after connect (isaacs)

* #3465 Add ./configure --no-ifaddrs flag (isaacs)

* child_process: add .stdin stream to forks (Fedor Indutny)

* build: fix `make install DESTDIR=/path` (Ben Noordhuis)

* tls: fix off-by-one error in renegotiation check (Ben Noordhuis)

* crypto: Fix diffie-hellman key generation UTF-8 errors (Fedor Indutny)

* node: change the constructor name of process from EventEmitter to process (Andreas Madsen)

* net: Prevent property access throws during close (Reid Burke)

* querystring: improved speed and code cleanup (Felix Böhm)

* sunos: fix assertion errors breaking fs.watch() (Fedor Indutny)

* unix: stat: detect sub-second changes (Ben Noordhuis)

* add stat() based file watcher (Ben Noordhuis)

12 years agotrivial: Doc typo and lint fix
isaacs [Tue, 19 Jun 2012 18:07:59 +0000 (11:07 -0700)]
trivial: Doc typo and lint fix

12 years agoemail-footer: Label Windows x64 installer properly
isaacs [Tue, 19 Jun 2012 01:22:34 +0000 (18:22 -0700)]
email-footer: Label Windows x64 installer properly

12 years agonode: fix namespacing issue in ev-emul.h
Ben Noordhuis [Tue, 19 Jun 2012 20:24:09 +0000 (22:24 +0200)]
node: fix namespacing issue in ev-emul.h

Always use C linkage, prevent accidental name mangling.

12 years agouv: upgrade to b496c122
Bert Belder [Tue, 19 Jun 2012 19:12:48 +0000 (21:12 +0200)]
uv: upgrade to b496c122

12 years agouv: upgrade to 67090653
Bert Belder [Tue, 19 Jun 2012 17:20:36 +0000 (19:20 +0200)]
uv: upgrade to 67090653

12 years agonpm: Upgrade to 1.1.30
isaacs [Tue, 19 Jun 2012 16:53:03 +0000 (09:53 -0700)]
npm: Upgrade to 1.1.30

12 years agoFixing bugs in promotion of elements transitions (r1175). - Fixed invalid memory...
verwaest@chromium.org [Mon, 18 Jun 2012 11:16:02 +0000 (11:16 +0000)]
Fixing bugs in promotion of elements transitions (r1175). - Fixed invalid memory access when reading enum-cache from descriptor array with elements transitions but 0 real descriptors. - Fixed infinite recursion in the intrusive map iterator when visiting elements transitions. - Properly cached non-fastmode elements transitions.

Review URL: https://chromiumcodereview.appspot.com/10565030

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11841 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRemove unused-but-set variable from objects.cc.
jkummerow@chromium.org [Mon, 18 Jun 2012 08:28:32 +0000 (08:28 +0000)]
Remove unused-but-set variable from objects.cc.

This fixes compilation with newer GCCs.

R=erik.corry@gmail.com

Review URL: https://chromiumcodereview.appspot.com/10568006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRevert part of 11727 as it sometimes tanked V8 benchmark (raytrace) performance for...
erik.corry@gmail.com [Fri, 15 Jun 2012 11:53:09 +0000 (11:53 +0000)]
Revert part of 11727 as it sometimes tanked V8 benchmark (raytrace) performance for reasons that are not obvious. Now we make objects into fast-case objects when they are made prototypes for other objects, but we do not mark objects that are already fast case with a bit that helps keep them in fast case. Review URL: https://chromiumcodereview.appspot.com/10556004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11831 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoMIPS: Fix packed-element.js test on ARM with no snap
danno@chromium.org [Mon, 18 Jun 2012 10:51:23 +0000 (10:51 +0000)]
MIPS: Fix packed-element.js test on ARM with no snap

Port r11826 (5be3568a)

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10559002
Patch from Akos Palfi <palfia@homejinni.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoRevert "build: fix `make install DESTDIR=/path`"
Ben Noordhuis [Tue, 19 Jun 2012 15:48:07 +0000 (17:48 +0200)]
Revert "build: fix `make install DESTDIR=/path`"

This reverts commit f80513974ec525fe8e1a3aab7054af167d862d99.

The reverted commit made DESTDIR behave more like we want it to but it was
pointed out in #3489 that it makes life a lot harder for distro package
maintainers.

Those guys and gals already have a hard enough time as it is, let's not make
their jobs even more hellish.

12 years agonode: preemptively unbreak windows build
Ben Noordhuis [Tue, 19 Jun 2012 11:50:58 +0000 (13:50 +0200)]
node: preemptively unbreak windows build

No one has complained about it so far but I'm sure MSVC doesn't like things
like __attribute__((unused)). Include the libev and libeio shims only on
non-Windows platforms.

12 years agonpm: Upgrade to 1.1.29
isaacs [Tue, 19 Jun 2012 01:08:21 +0000 (18:08 -0700)]
npm: Upgrade to 1.1.29

12 years agoUpdate npm's license
isaacs [Tue, 19 Jun 2012 01:07:43 +0000 (18:07 -0700)]
Update npm's license

Adds the Gubblebum Blocky copyright statement

12 years agoeio-emul: Cast eio_custom method to void(*)(eio_req*)
isaacs [Tue, 19 Jun 2012 00:46:39 +0000 (17:46 -0700)]
eio-emul: Cast eio_custom method to void(*)(eio_req*)

12 years agobuild: install eio-emul.h
Ben Noordhuis [Mon, 18 Jun 2012 23:56:55 +0000 (01:56 +0200)]
build: install eio-emul.h

12 years agobuild: install ev-emul.h
Ben Noordhuis [Mon, 18 Jun 2012 15:18:03 +0000 (17:18 +0200)]
build: install ev-emul.h

12 years agoFix breakage introduced in de65ba7
isaacs [Mon, 18 Jun 2012 23:04:36 +0000 (16:04 -0700)]
Fix breakage introduced in de65ba7

12 years agonet.Socket: Delay pause/resume until after connect
isaacs [Mon, 18 Jun 2012 22:17:20 +0000 (15:17 -0700)]
net.Socket: Delay pause/resume until after connect

Fix #3118

12 years agonode: remove unused flags and files
Trent Mick [Mon, 18 Jun 2012 18:42:47 +0000 (11:42 -0700)]
node: remove unused flags and files

Drop vestigial `process.installPrefix`, `node --vars`, NODE_CFLAGS and
NODE_PREFIX.

Also removed unused node_config.h.in (replaced with config.gypi a while back).

12 years agoFix #3465 Add ./configure --no-ifaddrs flag
isaacs [Mon, 18 Jun 2012 17:18:49 +0000 (10:18 -0700)]
Fix #3465 Add ./configure --no-ifaddrs flag

For Old Solaris.

12 years agouv: Upgrade to 382f2a26
isaacs [Mon, 18 Jun 2012 21:51:41 +0000 (14:51 -0700)]
uv: Upgrade to 382f2a26

12 years agochild_process: add .stdin stream to forks
Fedor Indutny [Mon, 18 Jun 2012 21:27:21 +0000 (01:27 +0400)]
child_process: add .stdin stream to forks

Remove test as it doesn't make any sense after the latest stdio API
changes.

12 years agouv: upgrade to 61a6e06e
Fedor Indutny [Mon, 18 Jun 2012 20:57:29 +0000 (00:57 +0400)]
uv: upgrade to 61a6e06e

12 years agotest-eio-limit: bump the number of allowed background tasks to 200
Bert Belder [Mon, 18 Jun 2012 13:58:43 +0000 (15:58 +0200)]
test-eio-limit: bump the number of allowed background tasks to 200

This makes the test pass on Windows.

12 years agoFix test-cluster-message so it passes on Windows
Bert Belder [Mon, 18 Jun 2012 13:35:40 +0000 (15:35 +0200)]
Fix test-cluster-message so it passes on Windows

The test was relying on a particular order of events that cannot be
guaranteed.

Also fixes some typos.

12 years agobuild: fix `make install DESTDIR=/path`
Ben Noordhuis [Mon, 18 Jun 2012 13:13:37 +0000 (15:13 +0200)]
build: fix `make install DESTDIR=/path`

Install to $DESTDIR, not $DESTDIR/$PREFIX.

Example: if DESTDIR=/opt/node, install to /opt/node, not /opt/node/usr/local.

12 years agotls: fix off-by-one error in renegotiation check
Ben Noordhuis [Mon, 18 Jun 2012 02:05:21 +0000 (04:05 +0200)]
tls: fix off-by-one error in renegotiation check

Make CLIENT_RENEG_LIMIT inclusive instead of exclusive, i.e. a limit of 2
means the peer can renegotiate twice, not just once.

Update pummel/test-tls-ci-reneg-attack accordingly and make it less timing
sensitive (and run faster) while we're at it.

12 years agocrypto: add padding to diffie-hellman key
Fedor Indutny [Sun, 17 Jun 2012 20:14:20 +0000 (00:14 +0400)]
crypto: add padding to diffie-hellman key

DH_size returns number of bytes in a prime number, DH_compute_key returns number
of bytes in a remainder of exponent, which may have less bytes than a prime
number. Therefore add 0-padding to the allocated buffer.

Fixes #3372

12 years agonode: change the constructor name of process from EventEmitter to process
Andreas Madsen [Tue, 22 May 2012 09:06:05 +0000 (11:06 +0200)]
node: change the constructor name of process from EventEmitter to process

12 years agoevents: cache `domain` module locally
Maciej Małecki [Sun, 17 Jun 2012 09:50:40 +0000 (11:50 +0200)]
events: cache `domain` module locally

It's faster than calling `require` every time we create an
`EventEmitter`.

12 years agonet: Prevent property access throws during close
Reid Burke [Sat, 16 Jun 2012 01:52:31 +0000 (20:52 -0500)]
net: Prevent property access throws during close

Fix #3455.

The remoteAddress and remotePort properties are
dynamically retrieved from _getpeername().

While _getpeername() checks if the _handle is
null, it is also possible for the tcp_wrapped
_handle.getpeername() to return null on error.

Such a condition happens when the remote closes
and one of these properties is accessed before
_handle is set to null.

12 years agonpm: Upgrade to 1.1.27
isaacs [Sun, 17 Jun 2012 19:04:35 +0000 (12:04 -0700)]
npm: Upgrade to 1.1.27

- severely enhanced 'npm init'
- upgraded node-gyp

12 years agotest: Don't reuse common.PORT in test-child-process-fork-net
isaacs [Sat, 16 Jun 2012 22:50:22 +0000 (22:50 +0000)]
test: Don't reuse common.PORT in test-child-process-fork-net

This fixes #3447

12 years agoMake listenFD just DTRT after warning
isaacs [Sat, 16 Jun 2012 21:23:17 +0000 (14:23 -0700)]
Make listenFD just DTRT after warning

12 years agoRevert "Check if a stream has a valid fd before read_start"
Bert Belder [Sat, 16 Jun 2012 18:14:21 +0000 (20:14 +0200)]
Revert "Check if a stream has a valid fd before read_start"

uv_stream_t.fd is a private field which exists only on unix.
This reverts commit 8d5c1201f24a6102d047bd7ec70f30da70a5ea64.

12 years agoRevert "DNS: Support NAPTR queries"
isaacs [Sat, 16 Jun 2012 18:02:49 +0000 (11:02 -0700)]
Revert "DNS: Support NAPTR queries"

This reverts commit 91bf18fcc5340262d0672dbebcc1a34bc4a8cd95.

12 years agoDNS: Support NAPTR queries
ssuda [Wed, 25 Apr 2012 14:39:52 +0000 (20:09 +0530)]
DNS: Support NAPTR queries

Adding support for NAPTR records
fixes #3170

12 years agoquerystring: improved speed and code cleanup
Felix Böhm [Wed, 16 May 2012 14:10:31 +0000 (17:10 +0300)]
querystring: improved speed and code cleanup

12 years agoFix #3448 Use listen callback in test-regress-GH-1697
isaacs [Sat, 16 Jun 2012 17:19:34 +0000 (10:19 -0700)]
Fix #3448 Use listen callback in test-regress-GH-1697

12 years agos/exit/close/ in test-child-process-stdout-flush, fixes #3449
Charlie McConnell [Sat, 16 Jun 2012 06:19:31 +0000 (23:19 -0700)]
s/exit/close/ in test-child-process-stdout-flush, fixes #3449

12 years agoAdd test-stdin-pause-resume-sync
isaacs [Sat, 16 Jun 2012 16:05:28 +0000 (09:05 -0700)]
Add test-stdin-pause-resume-sync

This is the last bit needed to Close #3346

12 years agoCheck if a stream has a valid fd before read_start
Karl Skomski [Fri, 15 Jun 2012 21:21:36 +0000 (23:21 +0200)]
Check if a stream has a valid fd before read_start

Closes #3118

12 years agoMakefile: Refuse to build release from unclean repo
isaacs [Sat, 16 Jun 2012 15:51:33 +0000 (08:51 -0700)]
Makefile: Refuse to build release from unclean repo

Root cause of an error during the 0.7.11 release

12 years agotest: skip test-http-full-response on ab errors
Charlie McConnell [Sat, 16 Jun 2012 01:58:27 +0000 (18:58 -0700)]
test: skip test-http-full-response on ab errors

If we get errors from ab or apr, skip the test and move on.

Fix #3451

12 years agoemail footer: Change Windows msi paths for x86 and x64
isaacs [Fri, 15 Jun 2012 19:50:37 +0000 (12:50 -0700)]
email footer: Change Windows msi paths for x86 and x64

12 years agoNow working on 0.7.12
isaacs [Fri, 15 Jun 2012 19:47:08 +0000 (12:47 -0700)]
Now working on 0.7.12

12 years agoMerge branch 'v0.7.11-release'
isaacs [Fri, 15 Jun 2012 19:46:55 +0000 (12:46 -0700)]
Merge branch 'v0.7.11-release'

12 years ago2012.06.15, Version 0.7.11 (unstable) v0.7.11
isaacs [Fri, 15 Jun 2012 19:10:43 +0000 (12:10 -0700)]
2012.06.15, Version 0.7.11 (unstable)

* V8: Upgrade to v3.11.10

* npm: Upgrade to 1.1.26

* doc: Improve cross-linking in API docs markdown (Ben Kelly)

* Fix #3425: removeAllListeners should delete array (Reid Burke)

* cluster: don't silently drop messages when the write queue gets big (Bert Belder)

* Add Buffer.concat method (isaacs)

* windows: make symlinks tolerant to forward slashes (Bert Belder)

* build: Add node.d and node.1 to installer (isaacs)

* cluster: rename worker.unqiueID to worker.id (Andreas Madsen)

* Windows: Enable ETW events on Windows for existing DTrace probes. (Igor Zinkovsky)

* test: bundle node-weak in test/gc so that it doesn't need to be downloaded (Nathan Rajlich)

* Make many tests pass on Windows (Bert Belder)

* Fix #3388 Support listening on file descriptors (isaacs)

* Fix #3407 Add os.tmpDir() (isaacs)

* Unbreak the snapshotted build on Windows (Bert Belder)

* Clean up child_process.kill throws (Bert Belder)

* crypto: make cipher/decipher accept buffer args (Ben Noordhuis)

12 years agoUpgrade npm to 1.1.26
isaacs [Fri, 15 Jun 2012 17:00:30 +0000 (10:00 -0700)]
Upgrade npm to 1.1.26

12 years agodomain: the EventEmitter constructor is now always called in nodecore
Andreas Madsen [Tue, 12 Jun 2012 19:53:08 +0000 (21:53 +0200)]
domain: the EventEmitter constructor is now always called in nodecore

12 years agodoc: Improve cross-linking in API docs markdown
Ben Kelly [Wed, 6 Jun 2012 19:05:18 +0000 (15:05 -0400)]
doc: Improve cross-linking in API docs markdown

Cross-link EventEmitter references in API docs to events.html

Fix broken cross-reference links with wrong anchor names in API docs.

12 years agozlib: use Buffer.concat()
isaacs [Fri, 15 Jun 2012 15:41:36 +0000 (08:41 -0700)]
zlib: use Buffer.concat()

12 years agotest-domain-implicit-fs: make it pass on windows
Bert Belder [Fri, 15 Jun 2012 16:32:59 +0000 (18:32 +0200)]
test-domain-implicit-fs: make it pass on windows

The error message is slightly different on windows. However there was no
need to verify the exact error message - there are assert()s that check
all the properties of the error object.

12 years agodoc: Include zlib constants
isaacs [Fri, 15 Jun 2012 05:17:39 +0000 (22:17 -0700)]
doc: Include zlib constants

12 years agoevent: Document the mutability of listeners()
isaacs [Fri, 15 Jun 2012 00:24:40 +0000 (17:24 -0700)]
event: Document the mutability of listeners()

12 years agoreadline: don't cache the "keypress" listeners
Nathan Rajlich [Thu, 14 Jun 2012 23:59:02 +0000 (16:59 -0700)]
readline: don't cache the "keypress" listeners

it's not safe to since `removeAllListeners()` will detach the returned
Array from the stream instance if that's ever called by the user.

12 years agoFix #3425: removeAllListeners should delete array
Reid Burke [Wed, 13 Jun 2012 17:25:43 +0000 (12:25 -0500)]
Fix #3425: removeAllListeners should delete array

When removeAllListeners is called, the listeners array
is deleted to maintain compatibility with v0.6.

Reverts "events: don't delete the listeners array"

This reverts commit 78dc13fbf97e2e3003e6f3baacdd5ff60e8de3f7.

Conflicts:

test/simple/test-event-emitter-remove-all-listeners.js

12 years agowindows: make symlinks tolerant to forward slashes
Bert Belder [Thu, 14 Jun 2012 23:37:24 +0000 (01:37 +0200)]
windows: make symlinks tolerant to forward slashes

Closes #3440

12 years agoFix test-fs-realpath on Windows
isaacs [Thu, 14 Jun 2012 19:58:59 +0000 (12:58 -0700)]
Fix test-fs-realpath on Windows

Also, in the process, fix a bug in fs.realpath on Windows.

If the user has permission to create symlinks, then use symlinks.  If
not, then skip over all the tests that cannot be run using Junctions
instead.

12 years agoFix Kraken regression due to optimistic monomorphic element transitions
danno@chromium.org [Thu, 14 Jun 2012 08:57:34 +0000 (08:57 +0000)]
Fix Kraken regression due to optimistic monomorphic element transitions

R=jkummerow@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10539141

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agoFix assertion for map code cache of shared maps.
mstarzinger@chromium.org [Thu, 14 Jun 2012 13:54:23 +0000 (13:54 +0000)]
Fix assertion for map code cache of shared maps.

R=danno@chromium.org
TEST=mjsunit/compare-known-objects-slow

Review URL: https://chromiumcodereview.appspot.com/10548046

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@11815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agouv: upgrade to b1649b6f
Bert Belder [Thu, 14 Jun 2012 19:18:12 +0000 (21:18 +0200)]
uv: upgrade to b1649b6f

12 years agodoc: update v8-options in man page
isaacs [Thu, 14 Jun 2012 17:24:27 +0000 (10:24 -0700)]
doc: update v8-options in man page

12 years agobuild: Add node.d and node.1 to installer
isaacs [Thu, 14 Jun 2012 17:22:33 +0000 (10:22 -0700)]
build: Add node.d and node.1 to installer

12 years agov8: Replace 'echo -n' with 'echo' in build commands
isaacs [Thu, 14 Jun 2012 17:11:47 +0000 (10:11 -0700)]
v8: Replace 'echo -n' with 'echo' in build commands

12 years agouv: upgrade to 5d5688f2
Bert Belder [Thu, 14 Jun 2012 16:35:44 +0000 (18:35 +0200)]
uv: upgrade to 5d5688f2

12 years agolicense2rtf: collapse whitespace
Bert Belder [Thu, 14 Jun 2012 16:34:38 +0000 (18:34 +0200)]
license2rtf: collapse whitespace