Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.1.10
Commits on Sep 3, 2009
  1. @ry

    Sort files in readdir test.

    ry authored
  2. @ry

    Add node.fs.mkdir()

    ry authored
  3. @ry

    Add node.fs.readdir()

    ry authored
  4. @ry
  5. @ry

    Clean up text on website.

    ry authored
  6. @ry

    Asyncly do getaddrinfo() on Apple.

    ry authored
  7. @ry

    Upgrade libeio, increase xthread stacksize to 64kb.

    ry authored
    64kb seems to be the magic number for getaddrinfo() to work on Macintosh.
  8. @ry

    Add extension API documentation

    ry authored
  9. @ry

    Add stack to promise.wait().

    ry 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.
Commits on Sep 2, 2009
  1. @ry

    Build natively on x64.

    ry 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!
  2. @ry
  3. @ry

    Upgrade V8 to 1.3.9

    ry authored
Commits on Sep 1, 2009
  1. @ry
  2. @ry
  3. @ry

    Revert static library build.

    ry authored
    Not necessary to build dll modules after all.
  4. @mcarter @ry
Commits on Aug 31, 2009
  1. @ry
  2. @ry
  3. @ry

    Stack traces for mjsunit errors, better error reporting function.

    ry authored
    The error reporting function tries to look at the "stack" element of the
    exception.
  4. @ry

    Upgrade evcom; Add setTimeout method to node.tcp.Connection

    ry authored
    The default timeout is 60 seconds, but it can now be changed.
    
    evcom upgrade includes fixes to force_close.
  5. @ry
  6. @ry

    Build static executable.

    ry authored
    - Fix a few errors with node.dlopen()
    
    - Report errors to stderr (this should probably be a separate commit, but
      whatever)
Commits on Aug 27, 2009
  1. @ry

    Add command line arguments for accessing build flags.

    ry authored
    node --cflags
    node --libs
    
    At the expense of some WAF nastiness.
  2. @ry
  3. @ry

    First attempt at node.dlopen

    ry authored
    Compiled first working 'hello world' module with this config
  4. @ry

    bump version

    ry authored
  5. @ry

    Fix text on index.html

    ry authored
Commits on Aug 26, 2009
  1. @ry

    API: rename node.Process to node.ChildProcess

    ry authored
    This is to avoid confusion with the global "process" object, especially for
    the instances of node.Process.
  2. @ry

    lint

    ry authored
  3. @ry

    Replace onExit() with process.addListener("exit")

    ry authored
    - Update documentation.
    
    - Depreciation message for onExit().
  4. @ry
  5. @ry

    Depreciate onLoad

    ry authored
  6. @ry

    Synchronous module loading.

    ry authored
    `include` and `require now` call `promise.wait` on their retrieval functions
    making them synchronous.  Introduce `include_async` and `require_async` to
    do asynchronous retrievals.
    
    `include_async` and `require_async` need testing and documentation.
    
    Update documentation for include, require().  I am mostly removing
    information about onLoad(). onLoad is to be depreciated.
  7. @ry
  8. @ry

    promise.block() renamed to promise.wait()

    ry authored
    promise.wait() now returns the arguments of the "success" event.  If there
    was only a single argument, then it is returned.  If there was more than
    one, they are returned as an array.  If there was an error, it is thrown.
    See documentation.
Something went wrong with that request. Please try again.