Andreas Madsen
3966e4e7a5
Remove debug console.log and optimize object copy
...
Fixes #2380
2011-12-19 13:25:19 -08:00
Andreas Madsen
07b1997388
Add env argument to cluster.fork
...
Fixes 2378
2011-12-19 12:34:59 -08:00
Fedor Indutny
80858761a8
break on exception
...
Fixes #2304
2011-12-19 11:09:40 -08:00
Fedor Indutny
a239ea0d40
use inlineRefs, as it's already impl
2011-12-19 11:09:16 -08:00
Fedor Indutny
b00b2f08bf
pass noRefs as arguments
2011-12-19 11:09:16 -08:00
Fedor Indutny
b0388ccad0
pause command
2011-12-19 11:09:16 -08:00
Fedor Indutny
07ad11916f
allow setBreakpoint(line)
2011-12-19 11:09:16 -08:00
Fedor Indutny
c07edd90f5
preserve cursor pos
...
* configurable via .prompt()'s preserveCursor argument (false by default)
2011-12-19 11:09:16 -08:00
Fedor Indutny
d9377f5eb0
request backtrace w/o refs, see #1745
2011-12-19 11:09:16 -08:00
Nathan Rajlich
3f987cd925
module: Set the error.code to 'MODULE_NOT_FOUND' when a bad path is given to require.
...
Fixes #2358 .
2011-12-19 23:46:41 +09:00
Avi Flax
ee0a7b928b
util: output Dates with Date.toString not Date.toUTCString
2011-12-18 23:07:47 +01:00
Andreas Madsen
b084322f52
Add silent option to child_process.fork
...
Fixes #2354 .
2011-12-17 12:53:44 -08:00
Ryan Dahl
1865b11dcb
Merge remote branch 'origin/v0.6'
...
Conflicts:
wscript
2011-12-16 13:57:36 -08:00
Andreas Madsen
a599aeb2a8
jslint
...
Fixes #2306
2011-12-16 12:57:03 -08:00
Igor Zinkovsky
d6bae2cb95
document mode argument for fs.symlink
2011-12-16 11:16:33 -08:00
Ben Noordhuis
97900776bb
util: add internal function _deprecationWarning()
2011-12-14 13:36:21 +01:00
Ben Noordhuis
b1b3dc62ff
fs: handle fractional or NaN ReadStream buffer size
...
Fixes #2320 .
2011-12-13 16:31:12 +01:00
Ben Noordhuis
8295c80618
net: check status code in afterWrite
...
Fixes memory leak and spin on writing to dead fds. This was tested in
production.
2011-12-12 13:45:44 -08:00
koichik
f8c335d0ca
tls: enable rejectUnauthorized option to client
...
Fiexes #2247 .
2011-12-07 22:47:06 +09:00
Ryan Dahl
2003593143
Merge remote branch 'origin/v0.6'
...
Conflicts:
deps/v8/src/debug.cc
deps/v8/src/version.cc
src/node_version.h
2011-12-06 11:50:54 -08:00
isaacs
580e67015c
Apply #2257 fix for Pipe streams as well as TTYs
2011-12-06 10:13:31 -08:00
Fedor Indutny
e609195202
[zlib] added dictionary support
2011-12-05 17:58:31 -08:00
isaacs
cf20b6bf65
Fix #2257 pause/resume semantics for stdin
...
This makes it so that the stdin TTY-wrap stream gets ref'ed on
.resume() and unref'ed on .pause()
The semantics of the names "pause" and "resume" are a bit weird, but the
important thing is that this corrects an API change from 0.4 -> 0.6
which made it impossible to read from stdin multiple times, without
knowing when it might end up being closed. If no one has it open, this
lets the process die naturally.
LGTM'd by @ry
2011-12-05 16:47:11 -08:00
isaacs
db273818f6
s/NPM/npm/
...
http://npmjs.org/doc/faq.html#If-npm-is-an-acronym-why-is-it-never-capitalized
2011-12-05 16:20:44 -08:00
Ryan Dahl
60e26668b3
Remove superfluous 'new'
2011-12-04 00:09:10 -08:00
Ben Noordhuis
49ba55b100
Merge branch 'v0.6'
...
Conflicts:
src/node_version.h
2011-12-02 16:34:33 +01:00
Igor Zinkovsky
99c9d19184
binding for uv_pipe_pending_instances
2011-12-01 13:57:47 -08:00
Ben Noordhuis
03eb41c2ec
net: don't emit 'close' event twice
...
Don't allow `socket.destroy()` to run twice. The self-destruct sequence itself
is idempotent but it makes the 'close' and 'error' events fire more than once,
which may confuse listeners.
Fixes #2223 .
2011-12-01 14:57:06 +01:00
Mathias Bynens
cf89beec6f
punycode: Update to v0.2.1
2011-11-30 15:28:48 +01:00
Nathan Rajlich
b204006105
util: ensure that the .inspect function isn't the one being executed
...
Fixes #2225 .
2011-11-30 14:14:24 +01:00
Ben Noordhuis
5fea00581b
sys: print stack trace if NODE_DEBUG=sys
2011-11-29 19:22:13 +01:00
seebees
aab958b713
OutgoingMessage.prototype.write does not take Array
...
Changed the type checking for OutgoingMessage.prototype.write so it only accepts string and Buffer.
And test.
Fixes #2162
Fixes #2208
2011-11-29 16:52:15 +09:00
Thomas Shinnick
eba1f7b1a4
child_process: fix order of args to errnoException()
2011-11-28 20:45:01 +01:00
koichik
5451ba3aa8
tls: fix https with fs.openReadStream hangs
...
Fixes #2185 .
Fixes #2198 .
2011-11-27 16:31:45 +09:00
Bert Belder
cffd0bb68d
Merge branch 'v0.6'
...
Conflicts:
Makefile
src/node_version.h
test/simple/test-http-response-no-headers.js
2011-11-25 12:34:29 +01:00
Author: Igor Zinkovsky
1f16a7b6e5
Enable long paths on windows
2011-11-25 09:35:52 +01:00
Bert Belder
83152d174c
Dgram: correctly report recvmsg errors
2011-11-24 19:11:13 +01:00
Bert Belder
86fba381fd
Windows: correctly resolve drive-relative paths
2011-11-24 02:38:34 +01:00
isaacs
0ba78d5f36
Close #2166 Close the fd in lchmod
2011-11-22 14:00:48 -08:00
Ryan Dahl
8595981195
Merge remote branch 'origin/v0.6'
...
Conflicts:
Makefile
src/node_version.h
test/simple/test-crypto.js
2011-11-22 13:01:10 -08:00
Felix Geisendörfer
b3f91f15b2
Remove support for multi-source pipe()
...
This reverts 6c5b31bd
which had too few use cases, too much complexity,
and can be handled in user-land by using `{end: false}`.
Closes #1996
2011-11-22 08:51:19 -08:00
Ben Noordhuis
59a9a9b5b0
buffer: add .read*() and .write*() methods to SlowBuffer prototype
...
Fixes #2138 .
2011-11-18 11:13:37 +01:00
E. Azer Koçulu
1cb6fe47fc
util: remove the line requiring events
2011-11-17 23:01:39 +01:00
Ben Noordhuis
bed405cfea
Merge remote branch 'origin/v0.6'
2011-11-17 20:06:50 +00:00
E. Azer Koçulu
e258169666
util: remove the line requiring events
2011-11-17 20:21:48 +01:00
Ben Noordhuis
5e3b0095de
tls: make cipher list configurable
...
options.ciphers existed but didn't work, the cipher list was effectively
hard-coded to RC4-SHA:AES128-SHA:AES256-SHA.
Fixes #2066 .
2011-11-17 00:01:41 +01:00
Łukasz Walukiewicz
3b852d7fab
buffer: fix minimum values for writeInt*() functions
2011-11-16 21:30:26 +01:00
Łukasz Walukiewicz
5d0b5a00aa
buffer: fix minimum values for writeInt*() functions
2011-11-16 21:27:26 +01:00
Mathias Bynens
897208e06d
punycode: Update to v0.1.1.
2011-11-13 15:38:27 +01:00
seebees
3421f43351
.load, .save and local scope tab completion
...
Fixes #2063 .
REPLServer.prototype.resetContext:
Reset the line cache
REPLServer.prototype.memory (don't know if I like that name, called from finish)
pushes what cmd's have been executed against it into this.lines
pushes the "tab depth" for bufferedCommands, in this.lines.level
REPLServer.prototype.displayPrompt:
Uses "tab depth" from this.lines.level to adjust the prompt to visually
denote this depth e.g.
> asdf = function () {
… var inner = {
….. one:1
REPLServer.prototype.complete:
Now notices if there is a bufferedCommand and attempts determine locally
scoped variables by removing any functions from this.lines and evaling these
lines in a nested REPL e.g.
> asdf = function () {
… var inner = { one: 1};
… inn\t
will complete to 'inner' and inner.o\t will complete to 'inner.one'
If the nested REPL still has a bufferedCommand it will falls back to the
default.
ArrayStream is a helper class for the nested REPL to get commands pushed to it.
new REPLServer('', new ArrayStream());
Finally added two new REPL commands .save and .load, each takes 1 parameter,
a file and attempts to save or load the file to or from the REPL
respectively.
2011-11-12 11:34:55 -08:00