Ryan Dahl [Mon, 3 Jan 2011 18:27:16 +0000 (10:27 -0800)]
Merge branch 'debugger'
Ryan Dahl [Mon, 3 Jan 2011 02:57:22 +0000 (18:57 -0800)]
Now working on v0.3.4-pre
Ryan Dahl [Mon, 3 Jan 2011 02:33:49 +0000 (18:33 -0800)]
Bump version to v0.3.3
Ryan Dahl [Mon, 3 Jan 2011 02:08:08 +0000 (18:08 -0800)]
Fix REPL for named functions
add some tests.
Ryan Dahl [Sun, 2 Jan 2011 20:37:27 +0000 (12:37 -0800)]
Fix openssl version check
Ryan Dahl [Sun, 2 Jan 2011 09:54:19 +0000 (01:54 -0800)]
Disable TLS tests when node doesn't have OpenSSL.
Ryan Dahl [Sun, 2 Jan 2011 09:44:42 +0000 (01:44 -0800)]
Add openssl version to process.versions
Ryan Dahl [Sun, 2 Jan 2011 09:13:27 +0000 (01:13 -0800)]
Fix typos
Ryan Dahl [Sun, 2 Jan 2011 05:54:46 +0000 (21:54 -0800)]
add process.stdin
Ryan Dahl [Sun, 2 Jan 2011 05:41:07 +0000 (21:41 -0800)]
repl.js style
Ryan Dahl [Sun, 2 Jan 2011 05:14:24 +0000 (21:14 -0800)]
Syntax error hack for modules.
Ryan Dahl [Sun, 2 Jan 2011 05:14:06 +0000 (21:14 -0800)]
Add '{a:1}' to REPL tests
Ryan Dahl [Sun, 2 Jan 2011 05:04:13 +0000 (21:04 -0800)]
Allow for evaling statements in REPL too
Ryan Dahl [Sun, 2 Jan 2011 01:54:45 +0000 (17:54 -0800)]
Improve how REPL commands are evaled
Before:
> {a: 1}
1
> (function() {
... // foo
... return 1;
... })();
...
Now:
> {a: 1}
{ a : 1 }
> (function() {
... // foo
... return 1;
... })();
1
>
Ryan Dahl [Sun, 2 Jan 2011 01:43:07 +0000 (01:43 +0000)]
Fix solaris build
Stub out new platform functions.
Ryan Dahl [Sun, 2 Jan 2011 00:41:39 +0000 (16:41 -0800)]
Revert "Add optional filters to stream.pipe()"
This reverts commit
24aded078fd6838d2f21934e57c7cc8dfd7303d1.
Ryan Dahl [Sat, 1 Jan 2011 22:24:16 +0000 (14:24 -0800)]
Make syntax error display optional
Fixes GH-543
Ryan Dahl [Sat, 1 Jan 2011 21:17:42 +0000 (13:17 -0800)]
Lint node_script.cc
Ryan Dahl [Fri, 31 Dec 2010 05:07:42 +0000 (21:07 -0800)]
Update links for v0.2.6 on website
Sami Samhuri [Fri, 31 Dec 2010 00:20:47 +0000 (19:20 -0500)]
use util.inspect to format objects and arrays printed to the console
Daniel C [Tue, 7 Dec 2010 16:44:21 +0000 (18:44 +0200)]
EventEmitter.prototype.once should "return this;"
Ryan Dahl [Fri, 31 Dec 2010 02:46:49 +0000 (18:46 -0800)]
debugger: a little bit of doc
Ryan Dahl [Fri, 31 Dec 2010 02:28:30 +0000 (18:28 -0800)]
debugger: Prompt before quitting
Ryan Dahl [Fri, 31 Dec 2010 02:07:19 +0000 (18:07 -0800)]
debugger: Don't prompt until child is killed
Ryan Dahl [Fri, 31 Dec 2010 01:52:14 +0000 (17:52 -0800)]
Fix some errors in debugger tests
Ryan Dahl [Fri, 31 Dec 2010 01:33:06 +0000 (17:33 -0800)]
debugger: Fix some parser issues
Wouldn't handle events if it got backed up.
Ryan Dahl [Thu, 30 Dec 2010 23:46:47 +0000 (15:46 -0800)]
debugger: Disable/Enable raw mode for child
Ryan Dahl [Thu, 30 Dec 2010 21:25:49 +0000 (13:25 -0800)]
debugger: Clean ups, bug fixes
Ryan Dahl [Thu, 30 Dec 2010 20:33:27 +0000 (12:33 -0800)]
debugger: add 'kill' command
Ryan Dahl [Thu, 30 Dec 2010 19:54:49 +0000 (11:54 -0800)]
debugger: repeat command functionality
Ryan Dahl [Thu, 30 Dec 2010 19:53:55 +0000 (11:53 -0800)]
debugger: don't display node's internal scripts
Ryan Dahl [Thu, 30 Dec 2010 19:17:11 +0000 (11:17 -0800)]
Wrap up debugger in one class
just for better readablity
Ryan Dahl [Thu, 30 Dec 2010 18:32:41 +0000 (10:32 -0800)]
debugger: style
Ryan Dahl [Thu, 30 Dec 2010 18:31:33 +0000 (10:31 -0800)]
debugger: Print error if executing command that requires being connected
Ryan Dahl [Sat, 18 Dec 2010 19:17:29 +0000 (11:17 -0800)]
start debug agent on SIGUSR1
Ryan Dahl [Thu, 30 Dec 2010 18:18:25 +0000 (10:18 -0800)]
debugger: clean up
Ryan Dahl [Thu, 30 Dec 2010 18:02:42 +0000 (10:02 -0800)]
Debugger: better maintance of script list
Ryan Dahl [Thu, 30 Dec 2010 09:34:54 +0000 (01:34 -0800)]
debugger: Work towards interactive restart
Ryan Dahl [Thu, 30 Dec 2010 08:10:30 +0000 (00:10 -0800)]
debugger: Clean up child
Ryan Dahl [Thu, 30 Dec 2010 06:07:38 +0000 (22:07 -0800)]
Rather have the debugger be parent process
Ryan Dahl [Thu, 23 Dec 2010 18:38:43 +0000 (10:38 -0800)]
add 'info breakpoints'
Ryan Dahl [Thu, 23 Dec 2010 18:32:34 +0000 (10:32 -0800)]
highlight current script
Ryan Dahl [Thu, 23 Dec 2010 18:18:06 +0000 (10:18 -0800)]
debugger: 'scripts' command was conflicting with 's'
Ryan Dahl [Thu, 23 Dec 2010 18:10:28 +0000 (10:10 -0800)]
Start on frame zero - don't do extra break
Ryan Dahl [Thu, 23 Dec 2010 07:31:54 +0000 (23:31 -0800)]
debugger: Clean up a few commands
Ryan Dahl [Thu, 23 Dec 2010 07:31:06 +0000 (23:31 -0800)]
Disable OPOST
Helps when sharing a tty with non-raw mode processes
Ryan Dahl [Thu, 23 Dec 2010 02:39:22 +0000 (18:39 -0800)]
Debugger: Fix some output
Ryan Dahl [Thu, 23 Dec 2010 02:30:56 +0000 (18:30 -0800)]
Add better breakpoint text
Ryan Dahl [Thu, 23 Dec 2010 01:17:34 +0000 (17:17 -0800)]
Fork out to debugger on debugger statements
Also implement continue in Client.
Ryan Dahl [Wed, 22 Dec 2010 22:40:28 +0000 (14:40 -0800)]
Debugger client emits ready after recving initial res
Ryan Dahl [Wed, 22 Dec 2010 22:31:57 +0000 (14:31 -0800)]
Add more debugger tests
Ryan Dahl [Wed, 22 Dec 2010 08:48:22 +0000 (00:48 -0800)]
keep track of current frame. eval works for global scope
Ryan Dahl [Wed, 22 Dec 2010 06:31:30 +0000 (22:31 -0800)]
Fix test-debugger-client
Ryan Dahl [Wed, 22 Dec 2010 03:14:29 +0000 (19:14 -0800)]
Add beginning of build-in debugger
+ test-debugger-client (which is currently broken)
Ryan Dahl [Sat, 18 Dec 2010 19:17:29 +0000 (11:17 -0800)]
start debug agent on SIGUSR1
Ryan Dahl [Thu, 30 Dec 2010 09:34:31 +0000 (01:34 -0800)]
Add ability to ask question from readline
Tom Hughes [Thu, 23 Dec 2010 21:49:55 +0000 (15:49 -0600)]
Free (ref-counted) private key.
Brian White [Thu, 23 Dec 2010 13:06:03 +0000 (08:06 -0500)]
Fix Cygwin compatibility in the os module
Kai Chen [Tue, 21 Dec 2010 04:35:40 +0000 (12:35 +0800)]
correct some inline links in api document
Tom Hughes [Wed, 8 Dec 2010 21:37:28 +0000 (15:37 -0600)]
cmake: Add toolchain file for cross-compiling.
Tom Hughes [Wed, 8 Dec 2010 01:06:52 +0000 (19:06 -0600)]
cmake: Fix OpenSSL detection and node crypto compilation.
Daniel Gröber [Sun, 5 Dec 2010 14:10:05 +0000 (15:10 +0100)]
cmake: add -lutil
Brian White [Wed, 22 Dec 2010 18:55:47 +0000 (13:55 -0500)]
Add more functionality to the os module
Tom Hughes [Mon, 20 Dec 2010 17:15:20 +0000 (11:15 -0600)]
Don't access buffer data before initializing it.
Prevents valgrind from complaining and still tests that buffer data is
treated as unsigned.
Tom Hughes [Tue, 21 Dec 2010 21:52:07 +0000 (15:52 -0600)]
Fix memory leak in node_crypto.cc.
Both HexDecode and unbase64 allocate buffers, which weren't being freed.
Tom Hughes [Fri, 17 Dec 2010 23:26:58 +0000 (17:26 -0600)]
Fix memory corruption with unnamed AF_UNIX sockets.
AF_UNIX sockets can have a pathname, be unnamed, or abstract (Linux
only). If an unnamed socket is returned by getsockname, getpeername, or
accept, sun_path should not be inspected.
Ryan Dahl [Wed, 22 Dec 2010 18:24:34 +0000 (10:24 -0800)]
Add 'make test-valgrind'
Ryan Dahl [Tue, 21 Dec 2010 23:40:10 +0000 (15:40 -0800)]
process.kill coerces args to integers
Oleg Slobodskoi [Tue, 21 Dec 2010 17:42:52 +0000 (18:42 +0100)]
fix assert.throws
Ryan Dahl [Tue, 21 Dec 2010 20:02:51 +0000 (12:02 -0800)]
Add toolchain=gcc to V8 build for Sun
Theo Schlossnagle [Tue, 21 Dec 2010 03:08:41 +0000 (22:08 -0500)]
The following error can be thrown from accept on ECONNABORT. Instead, it should be ignored.
net:1100
if (e.errno != EMFILE) throw e;
^
Error: ECONNABORTED, Software caused connection abort
at IOWatcher.callback (net:1098:24)
at node.js:773:9
Ryan Dahl [Tue, 21 Dec 2010 18:24:08 +0000 (10:24 -0800)]
Upgrade V8 to 3.0.4
Jeremy Martin [Mon, 20 Dec 2010 21:21:02 +0000 (16:21 -0500)]
url.parse(url, true) defaults query field to {}
Ryan Dahl [Mon, 20 Dec 2010 19:08:51 +0000 (11:08 -0800)]
Add callback to CryptoStream.write
Ryan Dahl [Sun, 19 Dec 2010 02:44:04 +0000 (18:44 -0800)]
Add doc for Buffer.isBuffer
Ryan Dahl [Sun, 19 Dec 2010 00:38:32 +0000 (16:38 -0800)]
cleartext.socket always exists
Ryan Dahl [Sat, 18 Dec 2010 23:34:10 +0000 (15:34 -0800)]
TLS: check we're not disconnected before Cleartext blow
Ryan Dahl [Sat, 18 Dec 2010 19:18:33 +0000 (11:18 -0800)]
Parse issuer and subject from CryptoStream.getPeerCertificate
Ryan Dahl [Fri, 17 Dec 2010 21:56:47 +0000 (13:56 -0800)]
Add optional filters to stream.pipe()
Ryan Dahl [Fri, 17 Dec 2010 17:24:24 +0000 (09:24 -0800)]
Now working on v0.3.3-pre
Ryan Dahl [Thu, 16 Dec 2010 20:19:45 +0000 (12:19 -0800)]
Bump version to v0.3.2
Ryan Dahl [Fri, 17 Dec 2010 17:50:41 +0000 (09:50 -0800)]
Remove toJSON usage - it was removed from V8
Ryan Dahl [Fri, 17 Dec 2010 17:29:19 +0000 (09:29 -0800)]
Upgrade V8 to 3.0.3
Brian White [Fri, 17 Dec 2010 03:57:41 +0000 (22:57 -0500)]
Fix compilation on OpenBSD and FreeBSD
While it compiles fine on FreeBSD, at least on amd64 node dies with:
"CALL_AND_RETRY_0 allocation failed - process out of memory"
Ryan Dahl [Fri, 17 Dec 2010 02:40:23 +0000 (18:40 -0800)]
Revert "Simplify next tick logic by looping around ev_loop"
This reverts commit
241ea7e5954e4a049af85cd8d51b84202cf0ea3a.
Fixes GH-511: https://github.com/ry/node/issues/issue/511
Jorge Chamorro Bieling [Fri, 17 Dec 2010 02:40:06 +0000 (18:40 -0800)]
Add failing test for GH-511
Brian White [Fri, 17 Dec 2010 00:41:38 +0000 (19:41 -0500)]
Add os module to repl's built-in lib list
Ryan Dahl [Thu, 16 Dec 2010 22:25:02 +0000 (14:25 -0800)]
Add oprofile patch to repo
Ryan Dahl [Thu, 16 Dec 2010 22:22:41 +0000 (14:22 -0800)]
Add solaris patch file
Ryan Dahl [Thu, 16 Dec 2010 22:03:04 +0000 (22:03 +0000)]
Patch V8 to compile on solaris
Ryan Dahl [Thu, 16 Dec 2010 20:22:30 +0000 (12:22 -0800)]
Add 5 sec timeout to test-tls-securepair-client
This test is broken for people who don't have OpenSSL 1.0.0 - but it's just
a bug in OpenSSL. Add this timeout so that it doesn't take super long to run
the tests.
Ryan Dahl [Fri, 10 Dec 2010 19:21:47 +0000 (11:21 -0800)]
Apply V8 r5951 to fix Mac build
From
f3973972b727df480697443871d780596aba0201 Mon Sep 17 00:00:00 2001
From: erik.corry@gmail.com <erik.corry@gmail.com@
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00>
Date: Wed, 8 Dec 2010 16:23:25 +0000
Subject: [PATCH] Speed up quoting of JSON strings by allocating a string that is big enough
and then trimming it when the length is known. This way we only have to
traverse the input once.
Review URL: http://codereview.chromium.org/5556012
Ryan Dahl [Thu, 16 Dec 2010 19:52:08 +0000 (11:52 -0800)]
Upgrade V8 to 3.0.2
Ryan Dahl [Wed, 15 Dec 2010 23:57:13 +0000 (15:57 -0800)]
Add callback paramenter to socket.connect()
Ryan Dahl [Wed, 15 Dec 2010 23:47:02 +0000 (15:47 -0800)]
Add callback to socket.write()
Ryan Dahl [Wed, 15 Dec 2010 23:15:27 +0000 (15:15 -0800)]
better option parsing for socket.write()
Ryan Dahl [Tue, 14 Dec 2010 06:13:51 +0000 (22:13 -0800)]
Print 'make clean' commands
Ryan Dahl [Tue, 14 Dec 2010 06:04:54 +0000 (22:04 -0800)]
Make oprofile work
Ryan Dahl [Tue, 14 Dec 2010 06:03:33 +0000 (22:03 -0800)]
Upgrade V8 to 3.0.1
isaacs [Sun, 12 Dec 2010 19:13:38 +0000 (11:13 -0800)]
link windows/cygwin build to the wiki docs
Suggested by temp01 in IRC.
http://irc.npmjs.org/node.js/2010-12-12#NODE-JS-2010-12-12T18-59-36-270Z
18:59:36 temp01: I feel like the build section on nodejs.org should link
there
19:11:18 isaacs: temp01: yeah, that'd be helpful