1. Apr 28, 2013
  2. Apr 27, 2013
    • Fedor Indutny's avatar
      streams: introduce .cork/.uncork/._writev · 21ed8df6
      Fedor Indutny authored
      21ed8df6
    • Miroslav Bajtoš's avatar
      debugger: breakpoints in scripts not loaded yet · 5db936d2
      Miroslav Bajtoš authored
      When developer calls setBreakpoint with an unknown script name,
      we convert the script name into regular expression matching all
      paths ending with given name (name can be a relative path too).
      
      To create such breakpoint in V8, we use type `scriptRegEx`
      instead of `scriptId` for `setbreakpoint` request.
      
      To restore such breakpoint, we save the original script name
      send by the user. We use this original name to set (restore)
      breakpoint in the new child process.
      5db936d2
    • Miroslav Bajtoš's avatar
      debugger: print port number when connecting to debuggee · fd9e01c0
      Miroslav Bajtoš authored
      To improve troubleshooting of debugger problems in the future,
      the debugger repl now prints the port it is connecting to.
      fd9e01c0
    • Miroslav Bajtoš's avatar
      debugger: `restart` with custom debug port · 74323a95
      Miroslav Bajtoš authored
      Fixed a bug in debugger repl where `restart` command did not work
      when a custom debug port was specified via command-line option
      --port={number}.
      
      File test/simple/helper-debugger-repl.js was extracted
      from test/simple/test-debugger-repl.js
      74323a95
  3. Apr 26, 2013
  4. Apr 25, 2013
  5. Apr 24, 2013
    • Olof Johansson's avatar
      install: Support $(PREFIX) install target directory prefix · ddf4d1a3
      Olof Johansson authored
      This change introduces support for the common PREFIX variable in the
      Makefile and install.py, instead of having /usr/local hardcoded. This
      makes it much easier to install node to custom locations e.g. in a
      user's home directory.
      
      The PREFIX variable defaults to /usr/local.
      ddf4d1a3
  6. Apr 23, 2013
    • isaacs's avatar
      http: Don't try to destroy nonexistent sockets · 025f9133
      isaacs authored
      Fixes #3740
      
      In the case of pipelined requests, you can have a situation where
      the socket gets destroyed via one req/res object, but then trying
      to destroy *another* req/res on the same socket will cause it to
      call undefined.destroy(), since it was already removed from that
      message.
      
      Add a guard to OutgoingMessage.destroy and IncomingMessage.destroy
      to prevent this error.
      025f9133
  7. Apr 21, 2013
    • Ben Noordhuis's avatar
      cluster: clean up lib/cluster.js · 41b75ca9
      Ben Noordhuis authored
      Clean up and DRY the cluster source code. Fix a few bugs while we're
      here:
      
      * Short-lived handles in long-lived worker processes were never
        reclaimed, resulting in resource leaks.
      
      * Handles in the master process are now closed when the last worker
        that holds a reference to them quits. Previously, they were only
        closed at cluster shutdown.
      
      * The cluster object no longer exposes functions/properties that are
        only valid in the 'other' process, e.g. cluster.fork() is no longer
        exported in worker processes.
      
      So much goodness and still manages to reduce the line count from 590
      to 320.
      41b75ca9
  8. Apr 20, 2013
  9. Apr 19, 2013
    • isaacs's avatar
      2013.04.19, Version 0.11.1 (Unstable) · 4babd2b4
      isaacs authored
      * V8: upgrade to 3.18.0
      
      * uv: Upgrade to v0.11.1
      
      * http: split into multiple separate modules (Timothy J Fontaine)
      
      * http: escape unsafe characters in request path (Ben Noordhuis)
      
      * url: Escape all unwise characters (isaacs)
      
      * build: depend on v8 postmortem-metadata if enabled (Paddy Byers)
      
      * etw: update prototypes to match dtrace provider (Timothy J Fontaine)
      
      * buffer: change output of Buffer.prototype.toJSON() (David Braun)
      
      * dtrace: actually use the _handle.fd value (Timothy J Fontaine)
      
      * dtrace: pass more arguments to probes (Dave Pacheco)
      
      * build: allow building with dtrace on osx (Dave Pacheco)
      
      * zlib: allow passing options to convenience methods (Kyle Robinson Young)
      4babd2b4
    • isaacs's avatar
      test: fix dgram-bind-default-address on osx · 42b8682a
      isaacs authored
      Allow the IPv4-mapped-as-IPv6 style address.
      42b8682a
    • Trevor Norris's avatar
      src: replace Holder() with This() · 0a4ebc3d
      Trevor Norris authored
      Switch to always use args.This() to retrieve object instance.
      0a4ebc3d
    • Ben Noordhuis's avatar
      build: fix arm build after v8 upgrade · 223607c9
      Ben Noordhuis authored
      V8 was upgraded to 3.18 in commit 9f682265. The knobs that control the
      ARM build have changed in a number of ways. This commit patches the
      configure script to reflect that. Should fix the Raspberry Pi build.
      
      Fixes #5329.
      223607c9
    • isaacs's avatar
      Merge remote-tracking branch 'ry/v0.10' · 0bccb341
      isaacs authored
      0bccb341
    • Ryan Doenges's avatar
      assert: put info in err.message, not err.name · 6101eb18
      Ryan Doenges authored
      4716dc66 made assert.equal() and related functions work better by
      generating a better toString() from the expected, actual, and operator
      values passed to fail(). Unfortunately, this was accomplished by putting
      the generated message into the error's `name` property. When you passed
      in a custom error message, the error would put the custom error into
      `name` *and* `message`, resulting in helpful string representations like
      "AssertionError: Oh no: Oh no".
      
      This commit resolves that issue by storing the generated message in the
      `message` property while leaving the error's name alone and adding
      a regression test so that this doesn't pop back up later.
      
      Closes #5292.
      6101eb18
    • Ben Noordhuis's avatar
      a835a2fc
  10. Apr 18, 2013
  11. Apr 17, 2013