1. Sep 10, 2009
  2. Sep 09, 2009
  3. Sep 08, 2009
  4. Sep 07, 2009
  5. Sep 05, 2009
  6. Sep 04, 2009
  7. Sep 03, 2009
    • Ryan's avatar
      Asyncly do getaddrinfo() on Apple. · 1645b8f8
      Ryan authored
      1645b8f8
    • Ryan's avatar
      Upgrade libeio, increase xthread stacksize to 64kb. · 1df6d612
      Ryan authored
      64kb seems to be the magic number for getaddrinfo() to work on Macintosh.
      1df6d612
    • Ryan's avatar
      Add extension API documentation · 342da697
      Ryan authored
      342da697
    • Ryan's avatar
      Add stack to promise.wait(). · aefbd575
      Ryan authored
      The problem was that if promise A was waiting and promise B was created and
      then also told to wait (from some callback coming off the event loop), and
      then promise A finished, promise B's wait would return. Promise A's wait
      would not return until promise B was finished. This is incorrect.
      
      To solve this issue properly, one probably needs to allocate separate
      execution stacks. I use, instead, Poor Man's Coroutines. We continue to use
      the main execution stack and force promises created most recently to return
      first.
      
      That is even if Promise A finishes first, neither wait() returns. Not until
      Promise B finishes, will its wait() return. After that is complete, Promise
      A's wait() will return.
      
      This introduces the problem of growing the "wait stack" infinitely. Thus
      I've added a strong warning to the documentation only to use this operation
      sparingly. require() and include() seem to be the proper use case for such a
      thing: they are called usually at program start up - they don't take too
      long to finish and they won't be called so often.
      
      Let's experiment with this stop-gap. If the infinite promise stack becomes a
      problem for many, then I will remove promise.wait() entirely or perhaps only
      use it for thread pool events.
      aefbd575
    • Ryan's avatar
      Build natively on x64. · 8ddf9309
      Ryan authored
      Had to add some waf hackery to override V8's architecture choice. They
      probably have a reason for defaulting still to IA32, but all tests are
      passing for me, and it makes it easier on users-and I think chrome is using
      x64 builds too. So let's go for it!
      8ddf9309
    • Ryan's avatar
      Add limits.h to src/node.cc for PATH_MAX · 82d986db
      Ryan authored
      82d986db
  8. Sep 02, 2009
  9. Sep 01, 2009