1. Nov 19, 2013
  2. Nov 15, 2013
  3. Nov 13, 2013
    • Fedor Indutny's avatar
      tls: handle `ssl.start()` errors · 65b12757
      Fedor Indutny authored
      65b12757
    • Tim Wood's avatar
      events: don't call once twice · c9d93f34
      Tim Wood authored
      Emitting an event within a `EventEmitter#once` callback of the same
      event name will cause subsequent `EventEmitter#once` listeners of the
      same name to be called multiple times.
      
          var emitter = new EventEmitter();
      
          emitter.once('e', function() {
            emitter.emit('e');
            console.log(1);
          });
      
          emitter.once('e', function() {
            console.log(2);
          });
      
          emitter.emit('e');
      
          // Output
          // 2
          // 1
          // 2
      
      Fix the issue, by calling the listener method only if it was not
      already called.
      c9d93f34
    • Timothy J Fontaine's avatar
      blog: Post for v0.10.22 · ac9cf002
      Timothy J Fontaine authored
      ac9cf002
    • Timothy J Fontaine's avatar
      Now working on 0.10.23 · 9142dc67
      Timothy J Fontaine authored
      9142dc67
    • Timothy J Fontaine's avatar
      36f2bf22
    • Timothy J Fontaine's avatar
      2013.11.12, Version 0.10.22 (Stable) · cbff8f09
      Timothy J Fontaine authored
      * npm: Upgrade to 1.3.14
      
      * uv: Upgrade to v0.10.19
      
      * child_process: don't assert on stale file descriptor events (Fedor Indutny)
      
      * darwin: Fix "Not Responding" in Mavericks activity monitor (Fedor Indutny)
      
      * debugger: Fix bug in sb() with unnamed script (Maxim Bogushevich)
      
      * repl: do not insert duplicates into completions (Maciej Małecki)
      
      * src: Fix memory leak on closed handles (Timothy J Fontaine)
      
      * tls: prevent stalls by using read(0) (Fedor Indutny)
      
      * v8: use correct timezone information on Solaris (Maciej Małecki)
      cbff8f09
    • Timothy J Fontaine's avatar
      src: add HandleScope in HandleWrap::OnClose · 16934d92
      Timothy J Fontaine authored
      Fixes a 4 byte leak on handles closing. AKA The Walmart leak.
      
      MakeCallback doesn't have a HandleScope. That means the callers scope
      will retain ownership of created handles from MakeCallback and related.
      There is by default a wrapping HandleScope before uv_run, if the caller
      doesn't have a HandleScope on the stack the global will take ownership
      which won't be reaped until the uv loop exits.
      
      If a uv callback is fired, and there is no enclosing HandleScope in the
      cb, you will appear to leak 4-bytes for every invocation. Take heed.
      
      cc @hueniverse
      16934d92
    • Timothy J Fontaine's avatar
      uv: Upgrade to v0.10.19 · ac799ba0
      Timothy J Fontaine authored
      ac799ba0
  4. Nov 12, 2013
    • yangguo@chromium.org's avatar
      v8: use correct timezone information on Solaris · 007393a0
      yangguo@chromium.org authored
      `timezone` variable contains the difference, in seconds, between UTC and
      local standard time (see `man 3 localtime` on Solaris).
      
      Call to `tzset` is required to apply contents of `TZ` variable to
      `timezone` variable.
      
      BUG=v8:2064
      
      Review URL: https://chromiumcodereview.appspot.com/10967066
      Patch from Maciej Małecki <me@mmalecki.com>.
      
      This is a back-port of upstream commit r12802 and a forward port of
      commit 9fa953d3 from the v0.8 branch.  V8 3.22 in the master branch
      contains the patch so no further forward-porting is necessary.
      007393a0
    • Maciej Małecki's avatar
      repl: do not insert duplicates into completions · 568072ce
      Maciej Małecki authored
      Fix invalid `hasOwnProperty` function usage.
      
      For example, before in the REPL:
      
      ```
      > Ar<Tab>
      Array
      
      Array        ArrayBuffer
      ```
      
      Now:
      
      ```
      > Ar<Tab>
      Array
      
      ArrayBuffer
      ```
      
      Fixes #6255.
      Closes #6498.
      568072ce
  5. Nov 11, 2013
  6. Nov 10, 2013
    • Ben Noordhuis's avatar
      v8: unbreak `make native` build · 3dcc9b93
      Ben Noordhuis authored
      The security fix from commit 6b92a713 also back-ported the test case.
      Said test case relies on API that is only available in newer versions
      of V8 and, as a result, broke the `make native` and `make <arch.mode>`
      builds.  This commit reverts that part of the back-port.  Fixes the
      following build error:
      
        ../test/cctest/test-api.cc: In function ‘void TestRegress260106()’:
        ../test/cctest/test-api.cc:17712:34: error: ‘class v8::Context’ has
        no member named ‘GetIsolate’
      3dcc9b93
  7. Nov 09, 2013
  8. Nov 08, 2013
  9. Nov 01, 2013
  10. Oct 31, 2013
  11. Oct 29, 2013
  12. Oct 28, 2013
  13. Oct 27, 2013
    • Ryan Graham's avatar
      doc: improve module documentation · 5ac6f4de
      Ryan Graham authored
      Expands on when to use module.exports vs. exports. This is a recurring
      question on mailing list and continues to confuse new devs.
      5ac6f4de
  14. Oct 26, 2013
  15. Oct 25, 2013
  16. Oct 24, 2013
    • Ben Noordhuis's avatar
      build: fix test-gc weakref build rule · 808a9684
      Ben Noordhuis authored
      Make the build rule depend on the build artifact (weakref.node) itself
      rather than the directory it's built in.  Depending on the directory
      means that a build failure won't trigger a rebuild on the next
      invocation because the directory's timestamp has been updated.
      
      This is a back-port of commit 11895717 from the master branch that
      hopefully fixes the following CI error:
      
          executing:  make test/gc/node_modules/weak/build/
          make: *** No rule to make target `test/gc/node_modules/weak/build/'.
          Command exited with non-zero: make test/gc/node_modules/weak/build/
          Build step 'Execute NodeJS script' marked build as failure
      808a9684
    • Zarko Stankovic's avatar
      doc: add nodejs.rs to the community page · eb291de0
      Zarko Stankovic authored
      eb291de0
  17. Oct 23, 2013
  18. Oct 19, 2013