platform/upstream/nodejs.git
12 years agoMakefile: minor nit
isaacs [Wed, 11 Apr 2012 01:22:42 +0000 (18:22 -0700)]
Makefile: minor nit

12 years agobuild: add comment explaining MACOSX_DEPLOYMENT_TARGET.
Nathan Rajlich [Tue, 10 Apr 2012 21:39:29 +0000 (14:39 -0700)]
build: add comment explaining MACOSX_DEPLOYMENT_TARGET.

12 years agoRe-apply "build: target OSX 10.5 when building on darwin"
Nathan Rajlich [Tue, 10 Apr 2012 21:36:17 +0000 (14:36 -0700)]
Re-apply "build: target OSX 10.5 when building on darwin"

This reverts commit 93eca95aece9804d22b012cc89487f4b0064a86d.

Fixes #3072 (once again).

12 years agodeps: upgrade libuv to 3c41597
Ben Noordhuis [Tue, 10 Apr 2012 21:26:28 +0000 (23:26 +0200)]
deps: upgrade libuv to 3c41597

12 years agofs.WriteStream: Handle modifications to fs.open
isaacs [Mon, 9 Apr 2012 15:39:13 +0000 (08:39 -0700)]
fs.WriteStream: Handle modifications to fs.open

If the fs.open method is modified via AOP-style extension, in between
the creation of an fs.WriteStream and the processing of its action
queue, then the test of whether or not the method === fs.open will fail,
because fs.open has been replaced.

The solution is to save a reference to fs.open on the stream itself when
the action is placed in the queue.

This fixes isaacs/node-graceful-fs#6.

12 years agoRevert "build: target OSX 10.5 when building on darwin"
isaacs [Mon, 9 Apr 2012 05:31:28 +0000 (22:31 -0700)]
Revert "build: target OSX 10.5 when building on darwin"

This reverts commit b6d6a54f8057d0adad13d4bcc11eb3f443079ddc,
which fixed #3072, so we'll have to figure out another way
to make that work.

12 years agoreadline: use StringDecoder for decoding "normal" data
Nathan Rajlich [Fri, 6 Apr 2012 21:33:58 +0000 (14:33 -0700)]
readline: use StringDecoder for decoding "normal" data

The fix from #3059 was not handling multi-byte utf8 data properly.

12 years agotest: make the ArrayStream in repl tests write a '\n'
Nathan Rajlich [Fri, 6 Apr 2012 20:50:34 +0000 (13:50 -0700)]
test: make the ArrayStream in repl tests write a '\n'

This is more correct.
Fixes them from failing with the updated readline behavior.

12 years agotest: make repl-autolibs check that the callback was invoked
Nathan Rajlich [Fri, 6 Apr 2012 20:49:27 +0000 (13:49 -0700)]
test: make repl-autolibs check that the callback was invoked

12 years agorepl: make the completer use newlines
Nathan Rajlich [Fri, 6 Apr 2012 19:54:48 +0000 (12:54 -0700)]
repl: make the completer use newlines

Fixes the repl.complete() function when terminal is false, since it
is now explicitly looking for a '\n' char.

12 years agotest: fix failing test-repl.js
Nathan Rajlich [Fri, 6 Apr 2012 19:20:01 +0000 (12:20 -0700)]
test: fix failing test-repl.js

12 years agoreadline: buffer data to only emit 'line' on '\n'
Nathan Friedly [Fri, 6 Apr 2012 18:41:59 +0000 (11:41 -0700)]
readline: buffer data to only emit 'line' on '\n'

In "terminal: false" mode.

(And fire it multiple times if multiple lines arrive at once.)

This is necessary because the Windows telnet client sends every single
keystroke as it's typed.

See: http://stackoverflow.com/questions/9962197/node-js-readline-not-waiting-for-a-full-line-on-socket-connections

Closes #3059.

12 years agochild_process: Emit err rather than throw for IPC write failure
isaacs [Fri, 6 Apr 2012 21:16:09 +0000 (14:16 -0700)]
child_process: Emit err rather than throw for IPC write failure

12 years agodocs: grammar and spelling on lib/cluster.js
Zachary Scott [Mon, 2 Apr 2012 02:55:09 +0000 (22:55 -0400)]
docs: grammar and spelling on lib/cluster.js

12 years agobuild: target OSX 10.5 when building on darwin
Nathan Rajlich [Thu, 5 Apr 2012 23:30:33 +0000 (16:30 -0700)]
build: target OSX 10.5 when building on darwin

12 years agoWindows: installer shows license agreement dialog
Bert Belder [Wed, 4 Apr 2012 16:06:33 +0000 (18:06 +0200)]
Windows: installer shows license agreement dialog

12 years agoWindows: add build step that generates license.rtf from LICENSE
Bert Belder [Wed, 4 Apr 2012 16:06:00 +0000 (18:06 +0200)]
Windows: add build step that generates license.rtf from LICENSE

12 years agoDisable V8 postmortem debugging on Windows
Bert Belder [Tue, 3 Apr 2012 01:07:31 +0000 (03:07 +0200)]
Disable V8 postmortem debugging on Windows

It is not supported by V8.

12 years agoMac installer shows license
Ryan Dahl [Mon, 2 Apr 2012 22:14:52 +0000 (15:14 -0700)]
Mac installer shows license

ref #3056

12 years agoInclude text of licenses in LICENSE file
Ryan Dahl [Mon, 2 Apr 2012 22:12:23 +0000 (15:12 -0700)]
Include text of licenses in LICENSE file

For easy inclusion in binary distributions. ref #3056

12 years agobuild: define _DARWIN_USE_64_BIT_INODE=1 on OS X
Ben Noordhuis [Mon, 2 Apr 2012 21:53:05 +0000 (23:53 +0200)]
build: define _DARWIN_USE_64_BIT_INODE=1 on OS X

Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
mismatches.

Fixes #2061.

12 years agoFix links to libev and libeio licenses
Ryan Dahl [Mon, 2 Apr 2012 21:36:23 +0000 (14:36 -0700)]
Fix links to libev and libeio licenses

12 years agoFix #3052 Handle errors properly in zlib
isaacs [Sun, 1 Apr 2012 04:01:55 +0000 (21:01 -0700)]
Fix #3052 Handle errors properly in zlib

12 years agobuild: add support for DTrace and postmortem
Dave Pacheco [Wed, 28 Mar 2012 17:26:10 +0000 (10:26 -0700)]
build: add support for DTrace and postmortem

* fixes #2110
* includes V8 postmortem metadata in Solaris builds
* adds GYP support for DTrace probes and ustack helper
* ustack helper derives constants dynamically from libv8_base.a
* build with DTrace support by default on SunOS

12 years agozlib: fix uninitialized variable compiler warning
Ben Noordhuis [Sat, 31 Mar 2012 23:50:02 +0000 (23:50 +0000)]
zlib: fix uninitialized variable compiler warning

12 years agonode: provide snprintf implementation on windows
Ben Noordhuis [Sat, 31 Mar 2012 23:15:17 +0000 (01:15 +0200)]
node: provide snprintf implementation on windows

_snprintf() doesn't zero-terminate the buffer on overflow.

12 years agonode: don't check return value of unsetenv()
Ben Noordhuis [Sat, 31 Mar 2012 21:23:46 +0000 (23:23 +0200)]
node: don't check return value of unsetenv()

It returns void on some platforms, notably FreeBSD.

12 years agoAlias _snprintf to snprintf, fix Windows build.
Ben Noordhuis [Sat, 31 Mar 2012 20:27:42 +0000 (22:27 +0200)]
Alias _snprintf to snprintf, fix Windows build.

12 years agoRevert "tty: add keypress event for backwards-compat"
isaacs [Sat, 31 Mar 2012 00:36:58 +0000 (17:36 -0700)]
Revert "tty: add keypress event for backwards-compat"

In this case, backwards compatibility is not worth the API
inconsistency.  We can just document the change.

This reverts commit b521ff3b4f8e79c5e28a1f4915d4203d8bcb0ab7.

12 years agodoc: fix grammar error in cluster docs
Ben Noordhuis [Fri, 30 Mar 2012 20:54:13 +0000 (22:54 +0200)]
doc: fix grammar error in cluster docs

12 years agocluster: Rename 'death' back to 'exit'
isaacs [Fri, 30 Mar 2012 19:24:46 +0000 (12:24 -0700)]
cluster: Rename 'death' back to 'exit'

12 years agoRevert "Re-add top-level v8::Locker"
Bert Belder [Fri, 30 Mar 2012 19:50:15 +0000 (21:50 +0200)]
Revert "Re-add top-level v8::Locker"

The locker makes node crash in debug mode sometimes.
For example, test/simple/test-repl.js triggers it.

This reverts commit 9a6012edd9330296b7476bc6b7fbda2cd5c8165d.

Conflicts:

src/node.cc

12 years agoudp_wrap: simplify AddressToJS() function
Ben Noordhuis [Fri, 30 Mar 2012 14:00:39 +0000 (16:00 +0200)]
udp_wrap: simplify AddressToJS() function

12 years agoudp_wrap: use new slab allocator
Ben Noordhuis [Fri, 30 Mar 2012 13:54:06 +0000 (15:54 +0200)]
udp_wrap: use new slab allocator

12 years agostream_wrap: use new slab allocator
Ben Noordhuis [Thu, 29 Mar 2012 01:04:35 +0000 (03:04 +0200)]
stream_wrap: use new slab allocator

12 years agocore: add reusable slab allocator
Ben Noordhuis [Wed, 28 Mar 2012 00:21:56 +0000 (02:21 +0200)]
core: add reusable slab allocator

12 years agocore: add ROUND_UP() macro
Ben Noordhuis [Tue, 27 Mar 2012 13:42:51 +0000 (15:42 +0200)]
core: add ROUND_UP() macro

12 years agotyped arrays: root JS objects in HandleScope with Local<>
Ben Noordhuis [Mon, 26 Mar 2012 14:05:13 +0000 (07:05 -0700)]
typed arrays: root JS objects in HandleScope with Local<>

12 years agotcp: root JS objects in HandleScope with Local<>
Ben Noordhuis [Mon, 26 Mar 2012 14:04:06 +0000 (07:04 -0700)]
tcp: root JS objects in HandleScope with Local<>

12 years agostat_watcher: root JS objects in HandleScope with Local<>
Ben Noordhuis [Mon, 26 Mar 2012 14:02:00 +0000 (07:02 -0700)]
stat_watcher: root JS objects in HandleScope with Local<>

12 years agohttp: root JS objects in HandleScope with Local<>
Ben Noordhuis [Mon, 26 Mar 2012 13:57:28 +0000 (06:57 -0700)]
http: root JS objects in HandleScope with Local<>

12 years agocrypto: root JS objects in HandleScope with Local<>
Ben Noordhuis [Mon, 26 Mar 2012 13:55:08 +0000 (06:55 -0700)]
crypto: root JS objects in HandleScope with Local<>

12 years agoudp: root JS objects in HandleScope with Local<>
Ben Noordhuis [Mon, 26 Mar 2012 12:55:30 +0000 (05:55 -0700)]
udp: root JS objects in HandleScope with Local<>

12 years agoudp: remove slab allocator
Ben Noordhuis [Mon, 26 Mar 2012 12:45:23 +0000 (05:45 -0700)]
udp: remove slab allocator

12 years agoNow working on 0.7.8
isaacs [Fri, 30 Mar 2012 18:54:39 +0000 (11:54 -0700)]
Now working on 0.7.8

12 years agoMerge branch 'v0.7.7-release'
isaacs [Fri, 30 Mar 2012 18:54:08 +0000 (11:54 -0700)]
Merge branch 'v0.7.7-release'

12 years agoupgrade libuv to ab8c3b85c1
Igor Zinkovsky [Fri, 30 Mar 2012 17:25:07 +0000 (10:25 -0700)]
upgrade libuv to ab8c3b85c1

12 years agoFix Engrish in error messages.
Ben Noordhuis [Tue, 27 Mar 2012 23:56:17 +0000 (01:56 +0200)]
Fix Engrish in error messages.

12 years agonode: remove unused function
Ben Noordhuis [Fri, 30 Mar 2012 12:42:23 +0000 (14:42 +0200)]
node: remove unused function

12 years agonode: fix signedness compiler warnings
Ben Noordhuis [Fri, 30 Mar 2012 12:41:43 +0000 (14:41 +0200)]
node: fix signedness compiler warnings

12 years agocrypto: fix signedness compiler warnings
Ben Noordhuis [Fri, 30 Mar 2012 12:32:38 +0000 (14:32 +0200)]
crypto: fix signedness compiler warnings

12 years agobuffer: fix signedness compiler warnings
Ben Noordhuis [Fri, 30 Mar 2012 12:49:40 +0000 (14:49 +0200)]
buffer: fix signedness compiler warnings

12 years agostream_wrap: fix signedness compiler warnings
Ben Noordhuis [Fri, 30 Mar 2012 12:52:24 +0000 (14:52 +0200)]
stream_wrap: fix signedness compiler warnings

12 years ago2012.03.30, Version 0.7.7 (unstable) v0.7.7
isaacs [Thu, 29 Mar 2012 23:03:17 +0000 (16:03 -0700)]
2012.03.30, Version 0.7.7 (unstable)

* Upgrade V8 to 3.9.24.7

* Upgrade npm to 1.1.15

* Handle Emoji characters properly (Erik Corry, Bert Belder)

* readline: migrate ansi/vt100 logic from tty to readline (Nathan Rajlich)

* readline: Fix multiline handling (Alex Kocharin)

* add a -i/--interactive flag to force the REPL (Nathan Rajlich)

* debugger: add breakOnException command (Fedor Indutny)

* cluster: kill workers when master dies (Andreas Madsen)

* cluster: add graceful disconnect support (Andreas Madsen)

* child_process: Separate 'close' event from 'exit' (Charlie McConnell)

* typed arrays: add Uint8ClampedArray (Mikael Bourges-Sevenier)

* buffer: Fix byte alignment issues (Ben Noordhuis, Erik Lundin)

* tls: fix CryptoStream.setKeepAlive() (Shigeki Ohtsu)

* Expose http parse error codes (Felix Geisendörfer)

* events: don't delete the listeners array (Ben Noordhuis, Nathan Rajlich)

* process: add process.config to view node's ./configure settings (Nathan Rajlich)

* process: process.execArgv to see node's arguments (Micheil Smith)

* process: fix process.title setter (Ben Noordhuis)

* timers: handle negative or non-numeric timeout values (Ben Noordhuis)

12 years agoUpgrade npm to 1.1.15
isaacs [Fri, 30 Mar 2012 03:17:25 +0000 (20:17 -0700)]
Upgrade npm to 1.1.15

12 years agoMake rules for release blog post and email message
isaacs [Thu, 29 Mar 2012 23:01:27 +0000 (16:01 -0700)]
Make rules for release blog post and email message

12 years agoUpgrade V8 to 3.9.24.7
isaacs [Thu, 29 Mar 2012 17:05:14 +0000 (10:05 -0700)]
Upgrade V8 to 3.9.24.7

12 years agotty: clarify that tty.setRawMode() has moved to process.stdin
Nathan Rajlich [Thu, 29 Mar 2012 20:15:24 +0000 (13:15 -0700)]
tty: clarify that tty.setRawMode() has moved to process.stdin

Technically saying `tty.ReadStream#setRawMode()` is correct,
but since a typical use cannot instantiate `tty.ReadStream` themselves,
and 99% of the time the only instance is `process.stdin`,
then a little clarification seemed necessary.

12 years agoMore logging in simple/test-eio-race
isaacs [Thu, 29 Mar 2012 15:41:04 +0000 (08:41 -0700)]
More logging in simple/test-eio-race

Travis-CI is failing on this test repeatedly, but other Linux systems
seem to be fine with it.  Alter the logging so it's more clear which
part is timing out.

12 years agotest: move pummel/test-tls-fragmentation to benchmark/
Ben Noordhuis [Thu, 29 Mar 2012 15:25:36 +0000 (17:25 +0200)]
test: move pummel/test-tls-fragmentation to benchmark/

Said test takes over 90 seconds on my Core 2 Duo which is too long, even for
the pummel tests.

12 years agotls: reduce memory overhead, reuse buffer
Yosef Dinerstein [Wed, 28 Mar 2012 09:20:37 +0000 (11:20 +0200)]
tls: reduce memory overhead, reuse buffer

Instead of allocating a new 64KB buffer each time when checking if there is
something to transform, continue to use the same buffer. Once the buffer is
exhausted, allocate a new buffer. This solves the problem of huge allocations
when small fragments of data are processed, but will also continue to work
well with big pieces of data.

12 years agotest: move simple/test-crypto-dh to pummel/
Ben Noordhuis [Thu, 29 Mar 2012 15:12:23 +0000 (17:12 +0200)]
test: move simple/test-crypto-dh to pummel/

The test is too slow / CPU intensive for the main test harness.

12 years agotest: remove simple/test-module-load-list
Ben Noordhuis [Thu, 29 Mar 2012 14:34:19 +0000 (16:34 +0200)]
test: remove simple/test-module-load-list

Said test adds little value and only serves to annoy me when moving around
modules. It was broken anyway: it passed inside the test runner and failed
when run from the command line thanks to the environment sniffing it did.

12 years agozlib: don't use C++ templates
ssuda [Wed, 21 Mar 2012 15:35:47 +0000 (21:05 +0530)]
zlib: don't use C++ templates

Reduces the executable's size by a few kilobytes.

12 years agodoc: change stability index of tty and readline to Unstable
Shigeki Ohtsu [Wed, 28 Mar 2012 08:13:26 +0000 (17:13 +0900)]
doc: change stability index of tty and readline to Unstable

12 years agotty: show deprecated warn of tty.setRawMode()
Shigeki Ohtsu [Wed, 28 Mar 2012 08:06:10 +0000 (17:06 +0900)]
tty: show deprecated warn of tty.setRawMode()

12 years agotty: add keypress event for backwards-compat
Shigeki Ohtsu [Wed, 28 Mar 2012 04:12:07 +0000 (13:12 +0900)]
tty: add keypress event for backwards-compat

12 years agoPatches floating on V8
isaacs [Thu, 29 Mar 2012 02:54:01 +0000 (19:54 -0700)]
Patches floating on V8

12 years agoUpgrade V8 to 3.9.24.6
isaacs [Thu, 29 Mar 2012 02:51:38 +0000 (19:51 -0700)]
Upgrade V8 to 3.9.24.6

12 years agoReapply "debug: Wait 50ms before running the main module"
isaacs [Thu, 29 Mar 2012 02:40:54 +0000 (19:40 -0700)]
Reapply "debug: Wait 50ms before running the main module"

This reapplies commit c781f17742170f2e127f9ee6652c56b406c30586
This reverts commit 00224771e32e4d051e5ea33b7e854f0031359912

12 years agoUpgrade npm to 1.1.14
isaacs [Thu, 29 Mar 2012 02:36:44 +0000 (19:36 -0700)]
Upgrade npm to 1.1.14

12 years agotty, readline: fix style errors
Ben Noordhuis [Wed, 28 Mar 2012 23:27:57 +0000 (01:27 +0200)]
tty, readline: fix style errors

12 years agotyped arrays: prevent unaligned typed array views on top of buffers
Erik Lundin [Wed, 21 Mar 2012 11:33:49 +0000 (12:33 +0100)]
typed arrays: prevent unaligned typed array views on top of buffers

12 years agobuffer: align fast buffers on 8 byte boundary
Ben Noordhuis [Wed, 28 Mar 2012 23:31:12 +0000 (01:31 +0200)]
buffer: align fast buffers on 8 byte boundary

Prevents alignment issues when people create a typed array from a buffer.
Unaligned loads or stores are less efficent and (on some architectures) unsafe.

12 years agotyped arrays: add Uint8ClampedArray
Mikael Bourges-Sevenier [Wed, 28 Mar 2012 04:38:52 +0000 (21:38 -0700)]
typed arrays: add Uint8ClampedArray

12 years agorepl: don't write a newline on the readline 'end' event
Nathan Rajlich [Wed, 28 Mar 2012 04:40:03 +0000 (21:40 -0700)]
repl: don't write a newline on the readline 'end' event

In the case of the input stream *actually* having been closed, then we
can't write to a closed socket.

Fixes test/simple/test-repl.js

12 years agov8: Fix missing initialization of mark-compact flags.
mstarzinger@chromium.org [Mon, 12 Mar 2012 12:17:46 +0000 (12:17 +0000)]
v8: Fix missing initialization of mark-compact flags.

R=svenpanne@chromium.org

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

Cherry-pick of https://v8.googlecode.com/svn/branches/bleeding_edge@11006

12 years agorepl: add a 'useColors' option to the repl
Nathan Rajlich [Wed, 28 Mar 2012 01:00:59 +0000 (18:00 -0700)]
repl: add a 'useColors' option to the repl

This should only be minimally used, since the `terminal` value will usually be
what you are expecting. This option is specifically for the case where `terminal`
is false, but you still want colors to be output (or vice-versa).

12 years agorepl: add test case verifying the repl options usage
Nathan Rajlich [Wed, 28 Mar 2012 00:49:10 +0000 (17:49 -0700)]
repl: add test case verifying the repl options usage

12 years agorepl: add a 'writer' option to the repl
Nathan Rajlich [Wed, 28 Mar 2012 00:39:14 +0000 (17:39 -0700)]
repl: add a 'writer' option to the repl

Previously this was a module-level setting, meaning that all REPL instances
had to share the same writer function. Turning it into one of the options
allows individual REPL instances to use their own writer function.

12 years agorepl: ensure that 'repl.ignoreUndefined' is a boolean
Nathan Rajlich [Wed, 28 Mar 2012 00:35:33 +0000 (17:35 -0700)]
repl: ensure that 'repl.ignoreUndefined' is a boolean

12 years agorepl: ensure that 'repl.useGlobal' is a boolean
Nathan Rajlich [Wed, 28 Mar 2012 00:34:55 +0000 (17:34 -0700)]
repl: ensure that 'repl.useGlobal' is a boolean

12 years agorepl: make ^D emit an 'end' event on the readline instance
Nathan Rajlich [Tue, 27 Mar 2012 19:41:42 +0000 (12:41 -0700)]
repl: make ^D emit an 'end' event on the readline instance

Also emit 'exit' on the repl when 'end' is emitted on the readline.

Fixes `node debug test/fixtures/breakpoints.js` when ^D is pressed.

12 years agoRevert "debug: Wait 50ms before running the main module"
Fedor Indutny [Tue, 27 Mar 2012 18:40:45 +0000 (01:40 +0700)]
Revert "debug: Wait 50ms before running the main module"

This reverts commit c781f17742170f2e127f9ee6652c56b406c30586.

12 years agodebugger: use v8 api to wait for a connection
Fedor Indutny [Tue, 27 Mar 2012 18:37:54 +0000 (01:37 +0700)]
debugger: use v8 api to wait for a connection

Use v8::Debug::EnableAgent(_, _, true) to wait for incoming
debugger-client connection before emitting any break (or other) events.

This commit should fix test/simple/test-debugger-repl faults.

12 years agorepl: fix 'terminal' mode autodetection on global repls
Nathan Rajlich [Tue, 27 Mar 2012 02:05:32 +0000 (19:05 -0700)]
repl: fix 'terminal' mode autodetection on global repls

Fixes test/simple/test-force-repl.js

12 years agoreadline: migrate ansi/vt100 logic from tty to readline
Nathan Rajlich [Mon, 26 Mar 2012 22:21:25 +0000 (15:21 -0700)]
readline: migrate ansi/vt100 logic from tty to readline

The overall goal here is to make readline more interoperable with other node
Streams like say a net.Socket instance, in "terminal" mode.

See #2922 for all the details.
Closes #2922.

12 years agoreadline: fix for terminals that insert newlines automatically
Alex Kocharin [Fri, 23 Mar 2012 18:24:06 +0000 (11:24 -0700)]
readline: fix for terminals that insert newlines automatically

Fixes #2985.

12 years agotest: add test of tls.createServer(honorCipherOrder=true)
Shigeki Ohtsu [Sun, 25 Mar 2012 05:28:39 +0000 (14:28 +0900)]
test: add test of tls.createServer(honorCipherOrder=true)

12 years agodoc: document fs.createReadStream() encodings
Zachary Scott [Sat, 24 Mar 2012 21:32:32 +0000 (21:32 +0000)]
doc: document fs.createReadStream() encodings

Fixes #2700.

12 years agodoc: fix markup in cluster docs
Andreas Madsen [Sat, 24 Mar 2012 16:25:23 +0000 (17:25 +0100)]
doc: fix markup in cluster docs

12 years agodoc: fix default dgram multicast ttl to 1
Shigeki Ohtsu [Fri, 23 Mar 2012 09:21:53 +0000 (18:21 +0900)]
doc: fix default dgram multicast ttl to 1

12 years agodoc: fix TLS cipher names
Shigeki Ohtsu [Fri, 23 Mar 2012 06:16:49 +0000 (15:16 +0900)]
doc: fix TLS cipher names

12 years agotest: add test of cleartextStream.getCipher() in tls
Shigeki Ohtsu [Fri, 23 Mar 2012 06:10:48 +0000 (15:10 +0900)]
test: add test of cleartextStream.getCipher() in tls

12 years agodoc: add cleartextStream.getCipher() in tls
Shigeki Ohtsu [Fri, 23 Mar 2012 04:04:10 +0000 (13:04 +0900)]
doc: add cleartextStream.getCipher() in tls

12 years agoAvoiding unnecessary ToString() calls
ssuda [Wed, 21 Mar 2012 16:47:16 +0000 (22:17 +0530)]
Avoiding unnecessary ToString() calls

String::Utf8Value and String::AsciiValue constructors take Handle<Value>
So no need to convert to Handle<String>

12 years agotls: fix CryptoStream.setKeepAlive()
Shigeki Ohtsu [Thu, 22 Mar 2012 02:50:58 +0000 (11:50 +0900)]
tls: fix CryptoStream.setKeepAlive()

12 years agotest: generate 1024-bit keys, pacify openssl 1.0.1
Lal Jérémy [Thu, 22 Mar 2012 18:41:46 +0000 (19:41 +0100)]
test: generate 1024-bit keys, pacify openssl 1.0.1

12 years agocmd: add a -i / --interactive flag to force the REPL
Nathan Rajlich [Wed, 21 Mar 2012 07:05:25 +0000 (00:05 -0700)]
cmd: add a -i / --interactive flag to force the REPL

This is the only way to spawn a node child process in REPL mode, and will
also be needed to be able to use the REPL in MinTTY.

12 years agodebug repl tests: Add visibility, remove test that times out
isaacs [Wed, 21 Mar 2012 02:48:07 +0000 (19:48 -0700)]
debug repl tests: Add visibility, remove test that times out

The 'Can't backtrace now' message takes over 10 seconds to return.
That's too much time to have to wait for a test, and when it times
out, it was causing an orphaned node process.

This cleans up the node process, and also removes the test that's
timing out, so that the case is hit less often.

Todo: Make the backtrace message come back faster.