talltyler
10f97f9424
Fixing #1774 about issues when running node with --harmony_block_scoping v8 option
Fixes #1837 .
13 years ago
Bert Belder
fcad5e35fd
Black hole tcp reads after destroy()
13 years ago
Ryan Dahl
899358e797
Add test-child-process-fork2 and fixes to make it work
13 years ago
Ryan Dahl
b413c77583
Support sending handles to other processes
Needs test.
13 years ago
Ryan Dahl
26c5905a99
Reimplement child_process.fork
Fixes test/simple/test-child-process-fork.js
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ben Noordhuis
bc7cfd7cd7
http: remove legacy http library
13 years ago
Maciej Małecki
8c8d518723
assert: Make `assert` module an `assert.ok` function
Code can be written:
var assert = require('assert');
assert(true);
instead of:
var assert = require('assert');
assert.ok(true);
13 years ago
Fedor Indutny
360ce526fd
debugger: watch, unwatch, watchers
Fixes #1800 .
13 years ago
koichik
4cdf9d4158
tls: Improve TLS flow control
Fixes #1775 .
13 years ago
Ryan Dahl
dea49e3d19
net: Fix string-concat hot path bug
Also removes functionality added in f9fec3a2d6
because it changes API. (That patch shouldn't have been added anyway.)
13 years ago
Fedor Indutny
1b8b097fad
debugger: refactor, no more res.success checks
Fixes #1779 .
13 years ago
Bert Belder
81425598db
Enable console colors on windows by default
13 years ago
Ryan Dahl
e1dc6e6d73
Bind uv_tty_get_winsize
13 years ago
Ryan Dahl
74b6426ec6
Initial pass at new TTY js layer
This breaks Windows.
13 years ago
Fedor Indutny
95866a6445
debugger: export port
Fixes test-debugger-client.js
Fixes #1782 .
13 years ago
Ben Noordhuis
c4eaf7e5a9
crypto: implement randomBytes() and pseudoRandomBytes()
13 years ago
Fedor Indutny
67706b8bb7
Export disableColors from repl, share with debugger
13 years ago
Fedor Indutny
f4124e18cb
debugger: setBreakpoint('fn()')
Fixes #1777
13 years ago
Ryan Dahl
fa2eaeafda
write-only streams should not shutdown
See
https://github.com/joyent/node/issues/1726#issuecomment-2207602
13 years ago
isaacs
c828ded0c2
zlib: Typo. s/opt/opts/
13 years ago
Fedor Indutny
c26cf84a08
debugger: fix backtrace with no frames
Fixes #1768
13 years ago
Fedor Indutny
9b6acc27aa
handle backtrace errors
13 years ago
Fedor Indutny
9e09fc0508
more cli options
* node debug localhost:5858 - connects to remote debugger
* node debug -p `pgrep node` - connects to running process
* Fixed double-run of debugger on SIGUSR1
13 years ago
Eric Lovett
f9fec3a2d6
net: callback to socket.write should always be called asynchronously
13 years ago
Ben Noordhuis
f6bce20e5e
buffers: handle bad length argument in constructor
Coerce fractional, negative and non-numeric length arguments to numbers.
Fractional numbers are rounded up, negative numbers and non-numeric values
are set to zero.
13 years ago
Ben Noordhuis
d157131439
buffers: handle bad length argument in constructor
Coerce fractional, negative and non-numeric length arguments to numbers.
Fractional numbers are rounded up, negative numbers and non-numeric values
are set to zero.
13 years ago
Fedor Indutny
43cb4ec76b
debugger fix for #1707
13 years ago
Fedor Indutny
39fec6003e
debugger: remove useless clearlines, updated test
* remove useless clearline call at Interface start
* silence after .handleBreak()
* output '\b' if this.stdout is not a tty (debugger)
* add '\b' checks for clearline (test)
13 years ago
Fedor Indutny
78d91ff074
don't use global vars
13 years ago
Fedor Indutny
2010071339
readline: custom streams support
13 years ago
Ben Leslie
a4e10cdb07
Raise an error when a malformed package.json file is found.
The current behaviour will silently ignore any parsing errors
that may occur when loading a package.json file. This makes
debugging errors in the package.json file very difficult.
This changes the behaviour that that errors opening and reading
the file package.json file continue to be ignored, but errors
in parsing will throw an exception.
13 years ago
Fedor Indutny
1e37efb08b
initial tests
* Don't buffer command, before it's execution (repl)
* `quit` command, custom streams for .start, stubbed out test, disable
history repeation for non-tty (debugger)
13 years ago
Igor Zinkovsky
66293f6e98
fix spelling
13 years ago
Igor Zinkovsky
8fe5712477
fs watcher binding
13 years ago
Fedor Indutny
8efe7a8304
[debugger] shorten break message
13 years ago
Fedor Indutny
79fd1f7f0b
[debugger] optimize context's properties initialization, make 'list' a function, not a getter
13 years ago
Fedor Indutny
3148f1400e
[debugger] fix 'debug> connecting...', fixed autostart (XXX figure out why it wasn't working in some cases), fixed highlighting for first line of module's code
13 years ago
isaacs
e06ce7562c
Fix #1707 hasOwnProperty usage
If hasOwnProperty is overridden, then calling `obj.hasOwnProperty(prop)`
can fail. Any time a dictionary of user-generated items is built, we
cannot rely on hasOwnProperty being safe, so must call it from the
Object.prototype explicitly.
13 years ago
isaacs
98990b9779
Fix #1707 hasOwnProperty usage
13 years ago
koichik
fdbfc9ceb7
net: Socket write encoding case sensitivity
Fixes #1586 .
13 years ago
Nathan Rajlich
0c91a835ff
util: isRegExp() should not call toString() on its argument
An overloaded toString() method may have side effects
so don't call it for a simple type check.
Back-port of 54b409d
to the v0.4 branch.
13 years ago
Ryan Dahl
827b9c5f1f
net: fix throw error
Thanks Tobi
13 years ago
Ryan Dahl
9cd510846e
Fixes #1546 . Remove expensive debug call.
13 years ago
Fedor Indutny
b20c98e427
fix 'null' mirroring
13 years ago
Fedor Indutny
a0556fcbe1
repeat last command if empty line was entered
13 years ago
Fedor Indutny
41a41825f6
micro-refactor, use rli.output.write instead of rli.write ('line' event was emitted for those writes)
13 years ago
Fedor Indutny
292e2ea5ad
fix breakpoint prefixing in list()
13 years ago
Fedor Indutny
c8ffbcd9f1
added comments, spawn child process automatically at debugger's start
13 years ago
Fedor Indutny
4ff15512f5
remove arrow from current source line
13 years ago