Fedor Indutny
95866a6445
debugger: export port
Fixes test-debugger-client.js
Fixes #1782 .
13 years ago
Ryan Dahl
0f8f863043
Fixes #1726 , hack to unref process.stdout
13 years ago
Ben Noordhuis
abfcd1fb00
docs: document crypto.randomBytes()
13 years ago
Ben Noordhuis
413d38c43b
test: test crypto (P)RNG functions
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
Ryan Dahl
040cf02724
Re-land Bert's test for #1697
Was reverted out in cde81a6675
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
02e0a0aa10
debugger docs
Fixes #1767
13 years ago
Fedor Indutny
82d0ac7ac7
Ctrl+Break on windows starts debugger server
13 years ago
Fedor Indutny
26aab0dc5d
EnableDebug immediatly on SIGUSR1
Don't wait for script to break somewhere, because that may not happen if
execution is inside event-loop, not in v8.
Add '\n' to the end of 'debugger listening...' message
13 years ago
Fedor Indutny
9b6acc27aa
handle backtrace errors
13 years ago
Fedor Indutny
2c9bcb28be
move debugger_running to correct place
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
Ben Noordhuis
942b92a06e
cygwin: fix new[]/delete mismatch
13 years ago
Ben Noordhuis
aff91f79ae
cygwin: fix return of uninitialized variable
13 years ago
Ben Noordhuis
d91f64fcbb
cygwin: fix new[]/delete mismatch
13 years ago
Ben Noordhuis
6ee676c0e4
cygwin: fix return of uninitialized variable
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
Ben Noordhuis
fcba1459f2
uv: upgrade to 8f617b9
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
e406613ee5
test-debugger-repl improvements
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
Ryan Dahl
94bedc60f4
Upgrade libuv to f20297f
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
Ben Noordhuis
9ad334085f
build: explicitly link in libz on non-win32 platforms
13 years ago
Igor Zinkovsky
8fe5712477
fs watcher binding
13 years ago
Ryan Dahl
8d37b6c92b
upgrade libuv
13 years ago
isaacs
74c02066fe
Add broken test for #1726 .
13 years ago
Ben Noordhuis
93aad55342
crypto: fix delete of potentially uninitialized pointer
13 years ago
Ben Noordhuis
fdb0eb5825
crypto: fix read of potentially uninitialized variable
13 years ago
Ben Noordhuis
3a9b08f156
crypto: look up SSL errors with ERR_print_errors()
13 years ago
Ben Noordhuis
9ef962f9ee
crypto: fix error message buffer overrun
ERR_error_string() expects a buffer of at least 256 bytes, the input buffer
was not even half that size. Use ERR_error_string_n() instead.
13 years ago
Igor Zinkovsky
de0066c697
remove node_zlib.h from node.gyp
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
Vitor Balocco
97d355c273
docs: Add anchor links next to each function
Modify doctool.js to automatically create anchor links for
every function, for easy linking.
Include support for functions that have a <h4> level
Fixes : #1718 .
13 years ago
Ben Noordhuis
320cf729db
crypto: fix delete of potentially uninitialized pointer
13 years ago
Ben Noordhuis
b185751c3f
crypto: fix read of potentially uninitialized variable
13 years ago
koichik
b93a7cc99e
docs: add links
13 years ago