Commit Graph

4247 Commits (00343a9af02d1686eefd16bcfa97d47468f2dd6f)

Author SHA1 Message Date
Fedor Indutny 00343a9af0 [debugger] display message on repl(), do not display warnings on Ctrl+C 2011-09-09 02:06:07 +07:00
Fedor Indutny 77eb8eabe2 [debugger] use newly added `eval` argument for REPLServer 2011-09-09 02:06:06 +07:00
Fedor Indutny 0d4dc3a8b5 [repl] let self.eval be configurable on REPLServer initialization 2011-09-09 02:06:06 +07:00
Fedor Indutny f549f2bf1d [debugger] Fix help message 2011-09-09 02:06:06 +07:00
Fedor Indutny 3b2577b4fe [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).
2011-09-09 02:06:06 +07:00
Fedor Indutny e01635eb9b [debugger] port all commands 2011-09-09 02:06:06 +07:00
Fedor Indutny eab65e214e [repl] Async global completion 2011-09-09 02:06:06 +07:00
Fedor Indutny 134ab61131 [debugger] two repls, initial 2011-09-09 02:06:06 +07:00
Fedor Indutny 71a9aefa0f [readline, repl] Fix completion grouping, fix parens eval results
handling
2011-09-09 02:06:06 +07:00
Fedor Indutny 42b8b77d9f [repl, readline] async interface
Add async completion and execution interface for repl and readline
2011-09-09 02:06:06 +07:00
Fedor Indutny bd69afbc83 [debugger] readline => repl
Started porting to high-level javascript API and repl.
2011-09-09 02:06:05 +07:00
Fedor Indutny 4527de8cba vm context with accessors
true copy of sandbox properties

catch sealed errors, pass global's prototype to CloneObject

Fixes #1673
2011-09-08 11:59:21 -07:00
Ben Noordhuis bb3a1d5b67 http: set .code='ECONNRESET' on socket hang up errors
Fixes #1672.
2011-09-08 20:47:16 +02:00
koichik 6139459d45 util: Fix inspection for sparse array
Fixes #1651.
2011-09-09 00:57:42 +09:00
koichik 98b64422bb util: Divide inspect() into some subroutines 2011-09-09 00:53:37 +09:00
Ryan Dahl ee2c12d48e Upgrade GYP to r1034 2011-09-08 01:11:45 -07:00
Ryan Dahl 0bca54444a Upgrade V8 to 3.6.1 2011-09-07 21:23:29 -07:00
koichik 526c54c979 buffer: write() should always set _charsWritten.
Fixes #1633.
2011-09-08 11:47:32 +09:00
Ryan Dahl 52044fd1b1 Merge remote branch 'origin/v0.4'
Conflicts:
	lib/net.js
	test/simple/test-buffer.js
2011-09-07 17:51:33 -07:00
Ben Noordhuis 638773628c tls: new[] instead of malloc() in Connection::GetSession() 2011-09-07 20:02:14 +02:00
Sean Cunningham eb99083d0b tls: add client-side session resumption support 2011-09-07 20:01:14 +02:00
Ben Noordhuis b66d225c6e docs: document that the build system depends on python >= 2.5.2
Fixes #354.
2011-09-06 23:11:17 +02:00
Thomas Shinnick 4cf0ce5bb4 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.
2011-09-06 18:19:41 +02:00
Maciej Małecki fb93ab4125 test: test for correct parsing of URLs with plus character in protocol 2011-09-06 17:04:00 +02:00
Maciej Małecki d0552949b9 url: add plus sign to protocol pattern 2011-09-06 17:03:52 +02:00
Ben Noordhuis 56efe9cbc5 file: translate libuv error codes to errno names
Fixes incorrect error names (ex. ENOEXEC instead of EBADF,
EMLINK instead of ENOENT).

Fixes #1656.
2011-09-06 16:34:21 +02:00
Ben Noordhuis 94b0481a56 uv: upgrade to cc91989 2011-09-06 16:14:14 +02:00
Bert Belder 8153a21613 Improve path parsing on windows
Closes #650
2011-09-06 04:47:36 +02:00
Ben Noordhuis 2d9ab49239 file: fix errno propagation in sync fs calls
Include libuv fs error code in the JS exception.

Fixes #1657.
2011-09-06 02:15:08 +02:00
Ben Noordhuis 554dc63328 uv: upgrade to 58ef43e 2011-09-06 02:15:08 +02:00
Peter Bright de978991d8 windows: it's rude to clobber quick edit mode
Closes #1429
2011-09-06 00:36:41 +02:00
Ryan Dahl 061811f328 ObjectWraps should be MarkIndependent 2011-09-05 14:40:30 -07:00
Ryan Dahl ece5c64504 Upgrade libuv to a8017fd 2011-09-05 00:32:15 -07:00
isaacs ef523e5719 fix test-fs-realpath 2011-09-04 22:14:03 -07:00
Ryan Dahl fcfec075e3 internal fs functions called with this == ReqWrap 2011-09-04 19:48:55 -07:00
Ryan Dahl 39ea27470c Return ReqWrap from internal fs functions 2011-09-04 19:44:01 -07:00
Ryan Dahl f5e486ebab Fix test-fs-error-messages.js 2011-09-04 18:48:19 -07:00
Ryan Dahl 7272dbdbc6 Upgrade libuv to 991f6ee 2011-09-04 18:48:19 -07:00
Bert Belder b5d58f11cb dgram-uv: black hole incoming messages after closing
Fixes test/simple/test-dgram-pingpong.js on windows
2011-09-05 03:30:12 +02:00
Ryan Dahl 01bf209a3d Upgrade libuv to b6ede6c
Fixes require('fs').readdirSync on unix.
2011-09-04 17:17:00 -07:00
Bert Belder e20d0c1cd0 net-uv: correctly set socket.remoteAddress and -port
closes #1345
2011-09-05 02:10:14 +02:00
Bert Belder ae2ac4fb1b gyp: add js files to node project 2011-09-05 02:10:12 +02:00
Bert Belder d01b87d9c4 win: vcbuild.bat should attempt to run vcvarsall.bat 2011-09-05 02:10:12 +02:00
Ryan Dahl 17021ea631 Upgrade libuv to 142a702 2011-09-04 16:17:00 -07:00
Bert Belder 3742aeea4c resolve mingw32 build problem 2011-09-04 22:54:24 +02:00
Bert Belder c82ab45ee6 uv_getsockname got renamed 2011-09-04 22:53:01 +02:00
Bert Belder cb1a21b1d4 Upgrade libuv to 7b87ff7c9b 2011-09-04 22:25:40 +02:00
Peter Bright 766430c743 Windows: set executables to be console programs
closes #1644
2011-09-04 19:27:04 +02:00
Logan Smyth bc0a552a84 docs: Fix merge error in tls docs
Fixes #1648.
2011-09-05 00:48:35 +09:00
Ashok Mudukutore 908ee33f2d build: add RPATH environment variable
Overrides default run-time library paths
2011-09-04 17:26:05 +02:00