Fedor Indutny [Sat, 10 Sep 2011 16:55:38 +0000 (23:55 +0700)]
[debugger] fixed piping from stdout of child process, fixed eval in debug repl (when not on breakpoint)
Fedor Indutny [Sat, 10 Sep 2011 12:18:36 +0000 (19:18 +0700)]
[debugger] implemented setBreakpoint, etc
Lift prototype methods not only as accessors, but as properties too.
this.print() supports javascript objects inspection
this.error() implemented, don't throw error at callbacks and commands
Fixed list() invokation, when script is not on a breakpoint
Removed obsolete process.nextTick from `step` commands
Fedor Indutny [Sat, 10 Sep 2011 11:39:34 +0000 (18:39 +0700)]
[debugger] deep cloning (depth = 3)
Fedor Indutny [Sat, 10 Sep 2011 11:19:47 +0000 (18:19 +0700)]
[debugger] fix slow repl evals inside async callbacks
Fedor Indutny [Sat, 10 Sep 2011 10:57:55 +0000 (17:57 +0700)]
[debugger] rename function, add it to ignore list
Fedor Indutny [Sat, 10 Sep 2011 10:43:22 +0000 (17:43 +0700)]
[debugger] print data from child process' stdout and stderr
Fedor Indutny [Sat, 10 Sep 2011 10:33:07 +0000 (17:33 +0700)]
[debugger] nicier output, clear line before writing
Fedor Indutny [Sat, 10 Sep 2011 05:38:42 +0000 (12:38 +0700)]
[debugger] more informative break message (reverting back partially)
Fedor Indutny [Thu, 8 Sep 2011 20:05:21 +0000 (03:05 +0700)]
[debugger] call silent resume in debugEval to prevent incorrect cursor position after repl autocompletion, small refactor in readline
Fedor Indutny [Thu, 8 Sep 2011 19:33:28 +0000 (02:33 +0700)]
[debugger] added synonyms for run, cont, next, step, out, shorten breakpoint message and do not output explicit debug> on breaks
Fedor Indutny [Thu, 8 Sep 2011 16:04:37 +0000 (23:04 +0700)]
[debugger] resume stdin at right time when running code remotely
Fedor Indutny [Thu, 8 Sep 2011 14:18:23 +0000 (21:18 +0700)]
[debugger] revert to using getter
Fedor Indutny [Thu, 8 Sep 2011 10:44:55 +0000 (17:44 +0700)]
[debugger] fix messages
Fedor Indutny [Thu, 8 Sep 2011 09:09:45 +0000 (16:09 +0700)]
[debugger] pause stdin on debugEval
Fedor Indutny [Thu, 8 Sep 2011 09:03:48 +0000 (16:03 +0700)]
[debugger] handle lookup error, no more need to handle SyntaxErrors
Fedor Indutny [Thu, 8 Sep 2011 09:03:27 +0000 (16:03 +0700)]
[repl, readline] refactor async completion and execution
Fedor Indutny [Thu, 8 Sep 2011 03:59:38 +0000 (10:59 +0700)]
[debugger] simulate getters
Fedor Indutny [Wed, 7 Sep 2011 16:43:59 +0000 (23:43 +0700)]
[debugger] display message on repl(), do not display warnings on Ctrl+C
Fedor Indutny [Wed, 7 Sep 2011 16:36:26 +0000 (23:36 +0700)]
[debugger] use newly added `eval` argument for REPLServer
Fedor Indutny [Wed, 7 Sep 2011 16:35:55 +0000 (23:35 +0700)]
[repl] let self.eval be configurable on REPLServer initialization
Fedor Indutny [Wed, 7 Sep 2011 14:42:41 +0000 (21:42 +0700)]
[debugger] Fix help message
Fedor Indutny [Wed, 7 Sep 2011 14:29:01 +0000 (21:29 +0700)]
[debugger] restructurize code, eval control repl asynchronously
Move commands closer to each other, use .debugEval and .controlEval for
controlling repl output (no more incorrect 'debug>' prints).
Fedor Indutny [Wed, 7 Sep 2011 10:31:43 +0000 (17:31 +0700)]
[debugger] port all commands
Fedor Indutny [Wed, 7 Sep 2011 10:31:29 +0000 (17:31 +0700)]
[repl] Async global completion
Fedor Indutny [Wed, 7 Sep 2011 08:12:58 +0000 (15:12 +0700)]
[debugger] two repls, initial
Fedor Indutny [Wed, 7 Sep 2011 08:12:10 +0000 (15:12 +0700)]
[readline, repl] Fix completion grouping, fix parens eval results
handling
Fedor Indutny [Wed, 7 Sep 2011 07:39:49 +0000 (14:39 +0700)]
[repl, readline] async interface
Add async completion and execution interface for repl and readline
Fedor Indutny [Tue, 6 Sep 2011 20:08:48 +0000 (03:08 +0700)]
[debugger] readline => repl
Started porting to high-level javascript API and repl.
Fedor Indutny [Thu, 8 Sep 2011 11:42:44 +0000 (18:42 +0700)]
vm context with accessors
true copy of sandbox properties
catch sealed errors, pass global's prototype to CloneObject
Fixes #1673
Ben Noordhuis [Thu, 8 Sep 2011 11:46:57 +0000 (13:46 +0200)]
http: set .code='ECONNRESET' on socket hang up errors
Fixes #1672.
koichik [Thu, 8 Sep 2011 15:20:01 +0000 (00:20 +0900)]
util: Fix inspection for sparse array
Fixes #1651.
koichik [Thu, 8 Sep 2011 12:00:02 +0000 (21:00 +0900)]
util: Divide inspect() into some subroutines
Ryan Dahl [Thu, 8 Sep 2011 08:11:08 +0000 (01:11 -0700)]
Upgrade GYP to r1034
Ryan Dahl [Thu, 8 Sep 2011 02:22:41 +0000 (19:22 -0700)]
Upgrade V8 to 3.6.1
koichik [Thu, 8 Sep 2011 02:47:32 +0000 (11:47 +0900)]
buffer: write() should always set _charsWritten.
Fixes #1633.
Ryan Dahl [Thu, 8 Sep 2011 00:51:33 +0000 (17:51 -0700)]
Merge remote branch 'origin/v0.4'
Conflicts:
lib/net.js
test/simple/test-buffer.js
Ben Noordhuis [Wed, 7 Sep 2011 15:29:34 +0000 (17:29 +0200)]
tls: new[] instead of malloc() in Connection::GetSession()
Sean Cunningham [Mon, 29 Aug 2011 18:09:01 +0000 (14:09 -0400)]
tls: add client-side session resumption support
Ben Noordhuis [Tue, 6 Sep 2011 21:11:14 +0000 (23:11 +0200)]
docs: document that the build system depends on python >= 2.5.2
Fixes #354.
Thomas Shinnick [Wed, 31 Aug 2011 13:12:34 +0000 (08:12 -0500)]
docs: typos and minor edits in several modules
Mostly quite minor edits. Those possibly of more interest are:
emitter.setMaxListeners(n)
That the limit is per event name for an emitter.
fs.readlink()
Not a path, but rather the symbolic link's string value, which
would be at best a partial path, certainly not a 'resolvedPath'
global.__filename
This may be "well-known" but this is a full path to the module
that referencing code is running in. It is not the main program's
path, unless you are in the main program. Each module knows only
its own path.
server.listen(port,...)
I actually needed this functionality... "gimme just _any_ next port"
stream.end()
stream.destroy()
Yeah, everybody knows what happens to the queued data, but let's
make it *really* explicit for the first readers.
Maciej Małecki [Mon, 5 Sep 2011 19:16:00 +0000 (21:16 +0200)]
test: test for correct parsing of URLs with plus character in protocol
Maciej Małecki [Mon, 5 Sep 2011 19:15:18 +0000 (21:15 +0200)]
url: add plus sign to protocol pattern
Ben Noordhuis [Tue, 6 Sep 2011 14:30:48 +0000 (16:30 +0200)]
file: translate libuv error codes to errno names
Fixes incorrect error names (ex. ENOEXEC instead of EBADF,
EMLINK instead of ENOENT).
Fixes #1656.
Ben Noordhuis [Tue, 6 Sep 2011 14:14:14 +0000 (16:14 +0200)]
Bert Belder [Tue, 6 Sep 2011 02:46:44 +0000 (04:46 +0200)]
Improve path parsing on windows
Closes #650
Ben Noordhuis [Tue, 6 Sep 2011 00:03:43 +0000 (02:03 +0200)]
file: fix errno propagation in sync fs calls
Include libuv fs error code in the JS exception.
Fixes #1657.
Ben Noordhuis [Mon, 5 Sep 2011 22:24:39 +0000 (00:24 +0200)]
Peter Bright [Sun, 31 Jul 2011 20:19:36 +0000 (21:19 +0100)]
windows: it's rude to clobber quick edit mode
Closes #1429
Ryan Dahl [Mon, 5 Sep 2011 21:40:30 +0000 (14:40 -0700)]
ObjectWraps should be MarkIndependent
Ryan Dahl [Mon, 5 Sep 2011 07:32:15 +0000 (00:32 -0700)]
isaacs [Mon, 5 Sep 2011 05:13:01 +0000 (22:13 -0700)]
fix test-fs-realpath
Ryan Dahl [Mon, 5 Sep 2011 02:48:55 +0000 (19:48 -0700)]
internal fs functions called with this == ReqWrap
Ryan Dahl [Mon, 5 Sep 2011 02:44:01 +0000 (19:44 -0700)]
Return ReqWrap from internal fs functions
Ryan Dahl [Mon, 5 Sep 2011 01:46:37 +0000 (18:46 -0700)]
Fix test-fs-error-messages.js
Ryan Dahl [Mon, 5 Sep 2011 01:16:33 +0000 (18:16 -0700)]
Bert Belder [Mon, 5 Sep 2011 01:30:12 +0000 (03:30 +0200)]
dgram-uv: black hole incoming messages after closing
Fixes test/simple/test-dgram-pingpong.js on windows
Ryan Dahl [Mon, 5 Sep 2011 00:16:07 +0000 (17:16 -0700)]
Upgrade libuv to
b6ede6c
Fixes require('fs').readdirSync on unix.
Bert Belder [Mon, 5 Sep 2011 00:09:24 +0000 (02:09 +0200)]
net-uv: correctly set socket.remoteAddress and -port
closes #1345
Bert Belder [Sun, 4 Sep 2011 23:01:53 +0000 (01:01 +0200)]
gyp: add js files to node project
Bert Belder [Sun, 4 Sep 2011 22:35:42 +0000 (00:35 +0200)]
win: vcbuild.bat should attempt to run vcvarsall.bat
Ryan Dahl [Sun, 4 Sep 2011 23:13:03 +0000 (16:13 -0700)]
Bert Belder [Sun, 4 Sep 2011 20:54:24 +0000 (22:54 +0200)]
resolve mingw32 build problem
Bert Belder [Sun, 4 Sep 2011 20:53:01 +0000 (22:53 +0200)]
uv_getsockname got renamed
Bert Belder [Sun, 4 Sep 2011 20:25:40 +0000 (22:25 +0200)]
Upgrade libuv to
7b87ff7c9b
Peter Bright [Tue, 30 Aug 2011 02:39:51 +0000 (03:39 +0100)]
Windows: set executables to be console programs
closes #1644
Logan Smyth [Sun, 4 Sep 2011 15:38:34 +0000 (11:38 -0400)]
docs: Fix merge error in tls docs
Fixes #1648.
Ashok Mudukutore [Thu, 25 Aug 2011 17:03:07 +0000 (11:03 -0600)]
build: add RPATH environment variable
Overrides default run-time library paths
koichik [Sat, 3 Sep 2011 06:28:36 +0000 (15:28 +0900)]
net: Socket write encoding case sensitivity
Fixes #1586.
Igor Zinkovsky [Sun, 4 Sep 2011 01:41:12 +0000 (18:41 -0700)]
fix windows build break
Igor Zinkovsky [Sat, 3 Sep 2011 18:24:32 +0000 (11:24 -0700)]
enable missing fs functions on windows
Igor Zinkovsky [Sat, 3 Sep 2011 06:54:13 +0000 (23:54 -0700)]
fix async readdir
Ben Noordhuis [Sun, 4 Sep 2011 00:31:12 +0000 (02:31 +0200)]
koichik [Fri, 2 Sep 2011 09:37:15 +0000 (18:37 +0900)]
buffer: write() should always set _charsWritten.
Refs #1633.
AJ ONeal [Thu, 1 Sep 2011 18:23:17 +0000 (12:23 -0600)]
docs: explain how url.format works (`search` trumps `query`, etc)
Michael Jackson [Fri, 2 Sep 2011 19:53:49 +0000 (12:53 -0700)]
Fixes #1635. Fixed typo
Ryan Dahl [Fri, 2 Sep 2011 19:53:16 +0000 (12:53 -0700)]
win: link to psapi.lib
broke in
65c2763
koichik [Fri, 2 Sep 2011 16:36:56 +0000 (01:36 +0900)]
docs: console.log() refer to util.format().
koichik [Wed, 31 Aug 2011 16:57:11 +0000 (01:57 +0900)]
crypto: Fix BIO's usage.
Fixes #1612.
Fixes #1296.
Ben Noordhuis [Tue, 30 Aug 2011 21:47:21 +0000 (23:47 +0200)]
crypto: use X509_get_ext_by_NID(NID_subject_alt_name)
Niclas Hoyer [Tue, 30 Aug 2011 20:46:48 +0000 (22:46 +0200)]
added test case for foaf+ssl client certificate
Niclas Hoyer [Tue, 30 Aug 2011 20:46:07 +0000 (22:46 +0200)]
Added additional properties to getPeerCertificate, now includes subjectAltName, Exponent and Modulus (FOAF+SSL friendly).
Patch written by Nathan,
http://groups.google.com/group/nodejs/browse_thread/thread/
1d42da4cb2e51536
Nathan Rajlich [Thu, 1 Sep 2011 20:12:37 +0000 (13:12 -0700)]
test: add test case for util.isDate() behavior
Nathan Rajlich [Wed, 31 Aug 2011 06:13:45 +0000 (23:13 -0700)]
util: improve util.isDate() function
The old implementation was fragile. i.e. node-time is an example of a user-land
module that exports an extended Date object (with a few added functions on it's
own Date object's prototype). In that case, the old check fails.
koichik [Thu, 1 Sep 2011 07:48:35 +0000 (16:48 +0900)]
buffer: Avoid overrun with 'binary' encoding.
Fixes #1624.
Ryan Dahl [Fri, 2 Sep 2011 00:44:06 +0000 (17:44 -0700)]
Karl Skomski [Wed, 31 Aug 2011 12:33:40 +0000 (14:33 +0200)]
Added some win32 platform functions
Fixes #1617
Ryan Dahl [Thu, 1 Sep 2011 21:16:00 +0000 (14:16 -0700)]
Upgrade libuv to
2e60358
Fixes #1621.
Nathan Rajlich [Thu, 1 Sep 2011 00:58:00 +0000 (17:58 -0700)]
repl: don't eval twice when an Error is thrown
Ryan Dahl [Wed, 31 Aug 2011 23:11:00 +0000 (16:11 -0700)]
crypto: set data before sending to thread pool
fixes test-crypto
Ryan Dahl [Wed, 31 Aug 2011 22:38:02 +0000 (15:38 -0700)]
Maciej Małecki [Wed, 31 Aug 2011 13:29:37 +0000 (15:29 +0200)]
Show warning when using lib/sys.js
Jeroen Janssen [Wed, 31 Aug 2011 11:03:47 +0000 (13:03 +0200)]
fix win32 uv loop breakage
Ryan Dahl [Wed, 31 Aug 2011 08:53:01 +0000 (01:53 -0700)]
Upgrade libuv to
ea4271f
Required adding uv_default_loop() in many places.
koichik [Fri, 26 Aug 2011 11:00:40 +0000 (20:00 +0900)]
tls: x509 certificate subject parsing fail
Fixes #1568.
Ryan Dahl [Tue, 30 Aug 2011 16:42:54 +0000 (09:42 -0700)]
Strip V8 -Werror
isaacs [Tue, 30 Aug 2011 15:35:16 +0000 (08:35 -0700)]
Fixes #1610 Remove DigiNotar CA from trusted list
Details:
https://threatpost.com/en_us/blogs/attackers-obtain-valid-cert-google-domains-mozilla-moves-revoke-it-082911
http://www.coriolis-systems.com/blog/2011/08/diginotar-certificate-security.php
isaacs [Tue, 30 Aug 2011 15:35:16 +0000 (08:35 -0700)]
Fixes #1610 Remove DigiNotar CA from trusted list
Details:
https://threatpost.com/en_us/blogs/attackers-obtain-valid-cert-google-domains-mozilla-moves-revoke-it-082911
http://www.coriolis-systems.com/blog/2011/08/diginotar-certificate-security.php
AJ ONeal [Mon, 29 Aug 2011 22:21:37 +0000 (16:21 -0600)]
docs: document querystring behavior for arrays and unassigned parameters
Ben Noordhuis [Tue, 30 Aug 2011 11:09:47 +0000 (13:09 +0200)]
Ryan Dahl [Tue, 30 Aug 2011 09:26:22 +0000 (02:26 -0700)]
Fix Windows build