Permalink
Switch branches/tags
Commits on Dec 18, 2009
  1. detect nanosleep on OS X and do not look for functions in libraries w…

    rsms committed with ry Dec 15, 2009
    …e know dows not exist
  2. Upgrade V8 to 2.0.5

    ry committed Dec 18, 2009
  3. Added in API documentation concerning the (seemingly undocumented) pr…

    Ryan McGrath committed with ry Dec 18, 2009
    …ocess.chdir() method, complementary to process.cwd()
Commits on Dec 9, 2009
  1. add missing semicolon

    ry committed Dec 9, 2009
  2. Upgrade waf to 1.5.10

    ry committed Dec 9, 2009
  3. Fix posix.statSync()

    ry committed Dec 9, 2009
  4. Statically define symbols

    ry committed Dec 9, 2009
    ~7% improvement in hello world HTTP response bench.
Commits on Dec 8, 2009
  1. fix typo

    ry committed Dec 8, 2009
  2. Fix ARGV[0] weirdness

    ry committed Dec 8, 2009
  3. Added superCtor to ctor.super_ instead superCtor.prototype.

    Johan Dahlberg committed with ry Dec 5, 2009
    This way let's us do deep comparison between object instances.
    
    I have a suggestion for the sys.inherits function. Today it's impossible to
    deep comparison between instance and class.
    
    Take this snippet for example:
    
    function ClassA() {}
    function ClassB() {}
    
    sys.inherits(ClassB, ClassA);
    
    var instance = new ClassB();
    
    The instance variable inherits from ClassA but we can't check it (which is
    useful sometimes). You can compare the instance against ClassB
    (instance.constructor == ClassB) but we can't compare it deeper
    (instance.constructor.super == ClassA). The committed change simply assign
    super to the super constructor instead of the super prototype.
    
    I can't see any problem with this fix. You can still get the super constructor
    by calling super_.prototype.
  4. Export STATUS_CODES

    tj committed with ry Dec 8, 2009
    Express (my framework) uses them as a default
    response body when non is present. Others
    might use them for something as well.
    
    Beats duplicating the list :D
Commits on Dec 7, 2009
  1. Attach/Detach -> Ref/Unref

    ry committed Dec 7, 2009
Commits on Dec 6, 2009
  1. Make process.mixin copy over undefined values

    felixge committed with ry Dec 6, 2009
    This is not a bug in process.mixin, but I think it is undesirable
    behavior. Right now process.mixin will not copy over keys with undefined
    values. To me that is an unexpected filtering that should not happen
    unless specifically called for.
  2. Two bug fixes for process.mixin

    felixge committed with ry Dec 6, 2009
    Bug #1 occurred when trying to use process.mixin on a function and
    produced a fatal exception.
    
    Bug #2 occurred when trying to do a deep merge with an object containing
    one or more objects with a nodeType property. In those cases the deep
    copy for this part of the object was not performed and a shallow one was
    performed instead.
    
    Both of these bugs were artifacts of the jQuery.extend port.
  3. Add http.Client.prototype.request()

    Christopher Lenz committed with ry Dec 2, 2009
    Change the http.Client API so that it provides a single request() method
    taking an optional parameter to specify the HTTP method (defaulting to
    "GET"), instead of the five methods get(), head(), post(), del() and put().
  4. bump version

    ry committed Dec 6, 2009
  5. sys.inspect is totally more awesome now

    xaviershay committed with ry Dec 1, 2009
    - No longer relies on JSON.stringify, so it can output nulls and functions
    - Handles circular references better
    - Has tests
  6. Implement promises entirely in JS

    ry committed Dec 6, 2009
  7. Refactor node_file.cc to not use Promises.

    ry committed Dec 6, 2009
    At the same time implement synchronous wrappers of the POSIX functions.
    These will be undocumented until we settle on an API. Works like this
    
        // returns promise as before
        posix.mkdir("test").addCallback(function () {
          sys.puts("done");
        });
    
        // returns undefined, executed synchronously.
        posix.mkdirSync("test");
        sys.puts("done");
    
    This refactoring is a step towards allowing promises to be implemented
    purely in javascript.
  8. Use --jobs=1 with WAF

    ry committed Dec 6, 2009
    Some people were reporting waf erroring with
    
      thread.error: can't start new thread
    
    this seems to fix that problem.
Commits on Dec 5, 2009
  1. Clean up context creation

    ry committed Dec 5, 2009
  2. upgrade v8 to 2.0.3

    ry committed Dec 5, 2009
  3. CommonJS testing for node.js

    felixge committed with ry Nov 28, 2009
    Refactored test suite to use the assert module for testing rather than
    mjsunit.
Commits on Dec 4, 2009
  1. fixed HTTP duplicated header bug

    inimino committed with ry Dec 2, 2009
    added test case for HTTP duplicated header bug on keepalive