Ryan Dahl [Tue, 11 Jan 2011 22:13:06 +0000 (14:13 -0800)]
Merge branch 'vanilla-libeio'
Conflicts:
deps/libeio/config.h.in
Ryan Dahl [Tue, 11 Jan 2011 22:09:17 +0000 (14:09 -0800)]
Upgrade libeio
isaacs [Tue, 11 Jan 2011 02:20:12 +0000 (18:20 -0800)]
child_process: Support setting uid/gid by name
Ryan Dahl [Tue, 11 Jan 2011 18:18:46 +0000 (10:18 -0800)]
Fix spelling mistakes
isaacs [Thu, 23 Dec 2010 02:08:20 +0000 (18:08 -0800)]
child_process: Add gid/uid flags to spawn config
This is mostly working, but not completely ideal for two reasons.
1. Rather than emitting an error on the ChildProcess object when the
setgid/setuid fails, it is simply printing the error to stderr and
exiting. The same happens with the cwd, so that's not completely
terrible.
2. I don't have a good test for this. It fails with an EPERM if you try
to change the uid or gid as a non-root user.
Ryan Dahl [Tue, 11 Jan 2011 16:45:32 +0000 (08:45 -0800)]
Upgrade libev to 4.3
Bert Belder [Tue, 11 Jan 2011 01:57:25 +0000 (02:57 +0100)]
Improve path.resolve documentation
Ryan Dahl [Tue, 11 Jan 2011 02:00:15 +0000 (18:00 -0800)]
Bump size of bench histogram to 100ms
Ryan Dahl [Tue, 11 Jan 2011 01:25:48 +0000 (17:25 -0800)]
getWindowSize/setWindowSize
Ryan Dahl [Tue, 11 Jan 2011 01:15:17 +0000 (17:15 -0800)]
typo setuid -> setsid
Ryan Dahl [Tue, 11 Jan 2011 00:30:26 +0000 (16:30 -0800)]
Fix expired keys
Ryan Dahl [Tue, 11 Jan 2011 00:25:13 +0000 (16:25 -0800)]
tty.open() returns stream instead of slaveFD
Also is run in its own session.
Ryan Dahl [Tue, 11 Jan 2011 00:22:58 +0000 (16:22 -0800)]
Add setsid option to child_process
Ryan Dahl [Sat, 1 Jan 2011 02:32:52 +0000 (18:32 -0800)]
Print error when EventEmitters get too many listeners
Ryan Dahl [Sun, 9 Jan 2011 03:09:54 +0000 (19:09 -0800)]
debugger: implement 'list'
Ryan Dahl [Sun, 9 Jan 2011 03:09:33 +0000 (19:09 -0800)]
expose module wrapper to native modules
Ryan Dahl [Sun, 9 Jan 2011 02:20:30 +0000 (18:20 -0800)]
debugger: fix 'scripts' command
path.split() no longer available
Ryan Dahl [Sun, 9 Jan 2011 00:19:07 +0000 (16:19 -0800)]
Now working on v0.3.5-pre
Ryan Dahl [Sat, 8 Jan 2011 23:46:07 +0000 (15:46 -0800)]
Bump version to v0.3.4
Mihai Călin Bazon [Tue, 4 Jan 2011 20:24:17 +0000 (12:24 -0800)]
realpath files during module load
Ryan Dahl [Fri, 7 Jan 2011 18:57:39 +0000 (10:57 -0800)]
TLS: Forward errors to cleartext
But only after control has been inverted.
Ryan Dahl [Fri, 7 Jan 2011 02:07:48 +0000 (18:07 -0800)]
Remove debugger statement from http_simple.js
results in slow bench
Ryan Dahl [Fri, 7 Jan 2011 00:06:27 +0000 (16:06 -0800)]
Lint
Bert Belder [Thu, 6 Jan 2011 20:06:29 +0000 (21:06 +0100)]
Replace string magic + path.join by path.resolve
Because path.resolve is more elegant and windows-safe.
Bert Belder [Thu, 6 Jan 2011 17:30:03 +0000 (18:30 +0100)]
Rework fs.realpath, primordal windows compatibility
Bert Belder [Thu, 6 Jan 2011 05:39:00 +0000 (06:39 +0100)]
Path.resolve, path module windows compatibility
Removes path.normalizeArray() and path.split()
isaacs [Wed, 5 Jan 2011 19:12:36 +0000 (11:12 -0800)]
Fix regression introduced in
fe804d9b
It breaks argv[0] on posix systems, and makes it so that npm can't
determine whether node was run from an explicit location, or via "node",
so the configs default improperly.
If on windows, don't do this behavior. On posix, go back to the old
behavior.
Ryan Dahl [Thu, 6 Jan 2011 21:42:30 +0000 (13:42 -0800)]
Allow for two streams in REPL
Towards windows compatibility.
Ryan Dahl [Thu, 6 Jan 2011 19:05:19 +0000 (11:05 -0800)]
Joyent link goes to no.de
Ryan Dahl [Thu, 6 Jan 2011 03:05:59 +0000 (19:05 -0800)]
Fix process.platform
Ryan Dahl [Wed, 5 Jan 2011 19:57:53 +0000 (11:57 -0800)]
Update TODO items
Ryan Dahl [Wed, 5 Jan 2011 19:55:24 +0000 (11:55 -0800)]
Remove legacy TLS api from docs
Ryan Dahl [Wed, 5 Jan 2011 19:53:56 +0000 (11:53 -0800)]
Rename net.Stream to net.Socket
Bert Belder [Wed, 5 Jan 2011 15:32:04 +0000 (16:32 +0100)]
Remove path module dependency from url module
Now the path module can be adapted to support windows paths without breaking
the url module. It also allows the undocumented keepBlanks flag to be
removed from path.join and path.normalizeArray.
Bert Belder [Wed, 5 Jan 2011 15:40:21 +0000 (16:40 +0100)]
Remove keepBlanks flag from path functions
Bert Belder [Wed, 5 Jan 2011 02:30:27 +0000 (03:30 +0100)]
Implement os.isWindows
Ryan Dahl [Wed, 5 Jan 2011 01:23:48 +0000 (17:23 -0800)]
Add C++ Buffer migration tips
Bert Belder [Wed, 5 Jan 2011 00:57:49 +0000 (01:57 +0100)]
Revert "realpath files during module load"
This reverts commit
131546e7339d6960ea91629915468c6f04a33cf7.
Doesn't work on windows, coming back soon.
Bert Belder [Tue, 4 Jan 2011 23:45:01 +0000 (00:45 +0100)]
Don't attempt to capture SIGUSR1
Bert Belder [Tue, 4 Jan 2011 23:41:59 +0000 (00:41 +0100)]
Merge branch 'master' of git://github.com/ry/node
Conflicts:
src/node.cc
src/node.js
Mihai Călin Bazon [Tue, 4 Jan 2011 20:24:17 +0000 (12:24 -0800)]
realpath files during module load
Ryan Dahl [Tue, 4 Jan 2011 19:39:12 +0000 (11:39 -0800)]
Implement WriteStream.destroySoon
Ryan Dahl [Tue, 4 Jan 2011 19:25:36 +0000 (11:25 -0800)]
net.js: Check that readWatcher exists before pause, resume
Ryan Dahl [Tue, 4 Jan 2011 19:22:17 +0000 (11:22 -0800)]
Implement new stream method, destroySoon
Still missing on fs.WriteStream
Ryan Dahl [Tue, 4 Jan 2011 18:36:05 +0000 (10:36 -0800)]
hack for ending https connections
Ryan Dahl [Sun, 2 Jan 2011 09:13:56 +0000 (01:13 -0800)]
First pass at new https server
Ryan Dahl [Mon, 3 Jan 2011 23:27:57 +0000 (15:27 -0800)]
NODE_DEBUG uses strings instead of bitflags
Ryan Dahl [Mon, 3 Jan 2011 21:21:28 +0000 (13:21 -0800)]
debugger: use correct handle handle
Ryan Dahl [Mon, 3 Jan 2011 20:58:19 +0000 (12:58 -0800)]
debugger: don't display whole path of scripts
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.
Bert Belder [Sun, 2 Jan 2011 22:44:43 +0000 (23:44 +0100)]
Fix the OS module for win32
Bert Belder [Sun, 2 Jan 2011 21:57:32 +0000 (22:57 +0100)]
Merge remote branch 'origin/master'
Conflicts:
src/node_net.cc
src/node_os.cc
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.