This repository has been archived by the owner. It is now read-only.
Commits on Jul 14, 2010
  1. Move evals to extension module.

    pquerna authored and ry committed Jul 14, 2010
  2. Move the Stat structure functions to node_file.cc

    pquerna authored and ry committed Jul 14, 2010
    from node.cc, so we can convert fs to a module.
  3. Move Buffer to extension model.

    pquerna authored and ry committed Jul 14, 2010
  4. Move child process to extension model.

    pquerna authored and ry committed Jul 14, 2010
  5. Move http parser to extension model.

    pquerna authored and ry committed Jul 14, 2010
  6. Move signal_watcher to extension model.

    pquerna authored and ry committed Jul 14, 2010
  7. Move cares to extension model

    pquerna authored and ry committed Jul 14, 2010
  8. Move stdio to extension model.

    pquerna authored and ry committed Jul 14, 2010
  9. Register builtin extensions via a macro, rather than a manual strcmp

    pquerna authored and ry committed Jul 14, 2010
    Set the stage for making the builtin modules more dynamic.
    
    Note: this only converts crypto and net, I will add more extensions in a
    later commit.
    
    * node.h: Add utility macro for converting macro values to strings.
    
    * node.h: Include the actual module name inside the module structure, not
      just the file it was built from.
    
    * node.h: New Macro, NODE_MODULE_DECL, for declaring an external reference
      to a module structure.
    
    * node_extensions.cc: New File, implements get_builtin_module, which
      iterates over the module structures that are compiled into node.
    
    * node.cc(node::Binding): Use the new module lookup function to find
      modules.
    
    * node_{net,crypto}.c: Add NODE_MODULEs to generate the module structure.