Andreas Madsen
ab32e9e043
child_process: emit 'channel closed' error instead of throwing
2012-03-19 11:55:41 -07:00
Fedor Indutny
7418905aef
debugger: breakOnException
...
Do not break automatically on exception, fixes #2926
2012-03-19 22:21:29 +06:00
Fedor Indutny
b6cb6ce0d3
debugger: remove 'repl' command from builtinLibs
...
* It was displaying useless warning
2012-03-19 22:21:28 +06:00
Fedor Indutny
f61d4b7a87
debugger: exit process on repl exit
...
* When entering repl - clone 'SIGINT' listeners array (instead of using
existing), as it will be spliced in .removeAllListeners() call later.
2012-03-19 22:21:28 +06:00
Charlie McConnell
c7b8073afc
child_process: Separate 'close' event from 'exit'
...
Currently, a child process does not emit the 'exit' event until 'close' events
have been received on all three of the child's stdio streams. This change makes
the child object emit 'exit' when the child exits, and a new 'close' event when
all stdio streams are closed.
2012-03-15 17:07:11 -07:00
Nathan Rajlich
928ea564d1
events: don't delete the listeners array in removeListener()
2012-03-15 17:01:29 -07:00
Ben Noordhuis
78dc13fbf9
events: don't delete the listeners array
...
The documentation implies that .removeAllListeners() leaves the listeners array
untouched. Make it so.
2012-03-16 00:20:10 +01:00
Ben Noordhuis
7fc835afe3
timers: handle negative or non-numeric timeout values
...
Follows browser behaviour by scheduling the callback on the next tick.
Fixes #593 .
2012-03-15 13:56:30 -07:00
Micheil Smith
19fd5301bf
Expose original argv as process.execArgv for cluster and child_process.fork()
2012-03-15 13:47:43 -07:00
isaacs
73c874698b
Merge branch 'v0.7.6-release'
2012-03-13 14:03:07 -07:00
Nathan Rajlich
f214758dd1
repl: better SIGINT handling behavior
...
Before:
☮ ~ (master) ⚡ node
> asdf
(^C again to quit)
> sdcasd☮ ~ (master) ⚡
Now:
☮ ~/node (repl) ⚡ ./node
> asfs
> sda
>
(^C again to quit)
> scdsdc
> sdcsdc
>
(^C again to quit)
> sdc
>
(^C again to quit)
>
☮ ~/node (repl) ⚡
^ note that each new line above is a ctrl+c sequence
2012-03-13 19:58:52 +01:00
Nathan Rajlich
6b5a34cdf3
repl: remove redundant check of rli.rine.length
...
It get's set to '' 1 line above, so we know that that's always 0.
2012-03-13 19:58:52 +01:00
Nathan Rajlich
b7ddd30181
repl: make sure the REPL always flushes with a newline
2012-03-13 19:58:51 +01:00
Nathan Rajlich
659d449460
repl: make REPLServer emit an "exit" event
...
This can happen when "SIGINT" is processed by the readline interface,
or when the user types ".exit" into the REPL.
2012-03-13 19:58:50 +01:00
Nathan Rajlich
4f63f9f327
repl: make REPLServer inherit from EventEmitter
...
This is because it should emit an "exit" event when "SIGINT" is received
from the readline interface, or when ".exit" is typed by the user.
2012-03-13 19:58:50 +01:00
Nathan Rajlich
109b16d488
repl: use path.resolve() for the module.filename
...
Windows was seeing: "C:\\path\\to\\cwd/repl"
2012-03-13 19:58:49 +01:00
Christian Ress
c15e6905c4
Added destroy method to Zlib object in zlib.js module
2012-03-13 08:24:09 -07:00
Łukasz Walukiewicz
677c2c112c
Ignore an empty port component when parsing URLs.
2012-03-12 12:46:56 -07:00
isaacs
a10cfba766
module: remove 'exited', replace 'children' array
2012-03-12 10:27:11 -07:00
Nao Iizuka
f8ce384446
docs: correct the description of assert.ok()
2012-03-12 02:27:55 +01:00
ssuda
9b672bcaa2
tls: parsing multiple values of a key in ssl certificate
...
Fixes #2864 .
2012-03-10 23:43:16 +09:00
Igor Zinkovsky
5ad0140f48
Emit end event only once
...
fixes #2888
Previously a pair of end events would be emitted if a response was
paused/resumed, and the underlying socket was closed while the
response was paused
2012-03-07 13:37:39 -08:00
Yoshihiro Kikuchi
f82ef0f7c3
http: remove ClientRequest.prototype.pause()
...
ClientRequest.prototype.pause() is not needed. ClientRequest is a writable
stream and deferring to OutgoingMessage.prototype.pause() is broken, the method
does not exist.
2012-03-07 20:17:36 +01:00
Shea Levy
024451c65c
fork: don't clear environment by default
...
- Set options.env to process.env instead of {} by default.
- Shallow clone the passed options.env in case the user passed process.env directly.
2012-03-07 17:25:59 +01:00
Colton Baker
c84b3c4b73
readline: ignore stray escape sequence
...
Fixes #2876 .
2012-03-07 15:05:34 +01:00
ssuda
b72d43cbf9
dgram: fix when we call .close() inside 'listening'
2012-03-06 22:20:23 +01:00
Rlidwka
443071db57
readline: add multiline support
2012-03-06 13:37:42 +01:00
Dmitry Nizovtsev
1e9bcf26ce
net, http, https: add localAddress option
...
Binds to a local address before making the outgoing connection.
2012-03-06 13:35:49 +01:00
isaacs
959a19e118
lint
2012-03-03 23:48:57 -08:00
ssuda
578ba76e6c
util: fix util.format() formatting of %%
2012-03-03 18:22:34 +01:00
Jimb Esser
78db18739a
tls: proxy set(Timeout|NoDelay|KeepAlive) methods
...
- fix crash calling ClientRequest::setKeepAlive if the underlying request is
HTTPS.
- fix discarding of callback parameter when calling ClientRequest::setTimeout on
HTTPS requests.
- fix discarding of noDelay parameter when calling ClientRequest::setNoDelay on
HTTPS requests.
2012-03-03 00:28:43 +01:00
Blake Miner
7343f8e776
tls: add honorCipherOrder
option to tls.createServer()
...
Documented how to mitigate BEAST attacks.
2012-02-29 02:16:08 +01:00
Joshua Holbrook
56cfcea4b4
child_process: remove dummy "setsid" option setting
2012-02-29 02:10:56 +01:00
koichik
cd5d2473a4
net: fix race write() before and after connect()
...
Fixes #2827 .
2012-02-28 19:57:13 +09:00
isaacs
44daa9836b
Wrap NodeScript binding class in JavaScript layer
...
This makes it easy to prevent errors where Script methods
are called on non-script objects, resulting in Assertion failures.
2012-02-27 17:28:42 -08:00
AJ ONeal
493a6bb19a
[ISSUE #2554 #2567 ] throw if fs args for 'start' or 'end' are strings
2012-02-27 14:18:51 -08:00
Mathias Bynens
cacd651ec6
punycode: Update to v1.0.0
2012-02-27 14:00:18 -08:00
Roly Fentanes
db8940dae2
newListener
emits correct fn when using once
...
Fixes #2826 .
2012-02-25 15:37:38 +09:00
isaacs
d3b8372615
lint, missed in QS speed merge
2012-02-22 20:58:24 -08:00
Ben Noordhuis
3502e45b6c
dgram: defer send error to next tick
2012-02-23 02:07:39 +01:00
Ben Noordhuis
defa637378
dgram: fix out-of-bound memory read
2012-02-23 02:07:39 +01:00
Colton Baker
fd61bfc731
readline: ^Z (SIGSTP) handling
...
Bugfix and update.
- Fixed bug where Node's REPL wouldn't continue when returning from ^Z
(SIGTSTP)
- Removed old readline callback
Readline API update with docs.
- ^Z (SIGTSTP) is now bypassed on Windows systems.
- SIGCONT is now bypassed on Windows systems.
- Docs updated to reflect above.
2012-02-22 16:07:23 -08:00
Colton Baker
ac9fa2b846
Removed rl.on('close', ...)
callback
2012-02-22 16:05:55 -08:00
Brian White
5e3ca98155
Make QueryString.parse() even faster
2012-02-21 12:17:26 -08:00
Tomasz Buchert
c6a04ce78f
crypto: add function getDiffieHellman()
...
Returns a well known, predefined RFC group.
2012-02-21 14:07:25 +01:00
Maciej Małecki
da908364a8
tls http https: don't pollute user's options
object
2012-02-20 21:58:00 +01:00
Maciej Małecki
c6c6f98f1c
util: add util._extend
for extending objects
...
There were 2 duplicates with such functionality in `cluster` and
`child_process` modules which were replaced by this function.
2012-02-20 21:58:00 +01:00
Ben Noordhuis
86f4846c21
url: decode url entities in auth section
...
Fixes #2736 .
2012-02-20 17:11:21 +01:00
Brandon Benvie
b72277183f
repl: add automatic loading of built-in libs
2012-02-20 13:56:27 +01:00
Luke Gallagher
8d3c46daa8
util: fix typo in lib/util.js
2012-02-20 13:42:27 +01:00