1. Aug 29, 2013
    • Ben Noordhuis's avatar
      crypto: make root_cert_store variable extern · 8e596c4e
      Ben Noordhuis authored
      Before this commit it was declared static (in a header file!), meaning
      it got duplicated in every file that includes it.
      
      A few duplicated pointers is not the end of the world but it introduces
      a lot of potential for confusion because root_cert_store in file A is
      not the root_cert_store in file B.
      
      Moral of the story: don't declare static variables in header files.
      8e596c4e
    • Ben Noordhuis's avatar
      crypto: remove misleading comment · 21911db3
      Ben Noordhuis authored
      21911db3
    • Ben Noordhuis's avatar
      crypto: make error buffer non-static · 699f636d
      Ben Noordhuis authored
      Doesn't matter now but it will if/when we have support for multiple
      threads.
      699f636d
    • Domenic Denicola's avatar
      vm: document vm2's changes. · 02fde585
      Domenic Denicola authored
      - The caveats no longer apply.
      - Document options arguments, including `displayErrors` and the
        different things it means in each place.
      - Re-did examples to be more on point, e.g. `runInContext` example
        runs multiple scripts in the same context.
      - Documented how `vm.createContext`s meaning has substantially changed,
        and is now more of a "contextifier" than a "creator."
      - Reordered vm functions to be readable in order; the concept of
        contextifying needs to come before `runInContext` and
        `runInNewContext`.
      - Documented new `vm.isContext`.
      - Documented the `vm.Script` constructor, instead of `createScript`,
        since factory methods are silly and we wanted to document the class's
        methods anyway.
      - Documented `script.runInContext`.
      - Change stability to stable, if I may be so bold.
      02fde585
    • Domenic Denicola's avatar
      vm: update API to use options argument · fd365761
      Domenic Denicola authored
      Passing a filename is still supported in place of certain options
      arguments, for backward-compatibility, but timeout and display-errors
      are not translated since those were undocumented.
      
      Also managed to eliminate an extra stack trace line by not calling
      through the `createScript` export.
      
      Added a few message tests to show how `displayErrors` works.
      fd365761
    • Bert Belder's avatar
      de7d698d
    • Timothy J Fontaine's avatar
      timer_wrap: Timer.now always update loop time · 93b06246
      Timothy J Fontaine authored
      In `Timer.now` always update the loop time by calling uv_update_time.
      Previously we were trying to cache the loop time to prevent extra
      syscalls. While a noble goal, it can cause timers to fire early in
      certain circumstances. Especially seen in cpu bound work loads or work
      loads with synchronous file operations.
      93b06246
    • isaacs's avatar
      Merge remote-tracking branch 'ry/v0.10' · 96358613
      isaacs authored
      Conflicts:
      	AUTHORS
      	ChangeLog
      	deps/uv/ChangeLog
      	deps/uv/include/uv-darwin.h
      	deps/uv/src/unix/darwin.c
      	deps/uv/src/unix/fsevents.c
      	deps/uv/src/version.c
      	lib/_stream_writable.js
      	src/node_version.h
      96358613
    • isaacs's avatar
      stream: check _events before _events.error · fbb963b5
      isaacs authored
      This fixes the regression introduced by 54580791, which breaks the
      net/net-pipe benchmark script.
      
      Closes #6145
      fbb963b5
  2. Aug 28, 2013
  3. Aug 27, 2013
  4. Aug 26, 2013
  5. Aug 25, 2013
  6. Aug 24, 2013
  7. Aug 23, 2013