Include lib/ directory in node executable. Compile on demand.
authorRyan Dahl <ry@tinyclouds.org>
Mon, 15 Mar 2010 15:00:19 +0000 (08:00 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 15 Mar 2010 15:04:35 +0000 (08:04 -0700)
commit4ccdc501d48a0f198a040ee46f4dab27a611a489
tree818fd2b245ce7e528a2c5335df78979057f7751f
parent0d5a1fed33134d05911a153ade2bf8ae8710fc57
Include lib/ directory in node executable. Compile on demand.

Instead of installing the files in /usr/lib/node/libraries and loading them
from the file system, the files are built-in to the node executable.
However, they are only compiled on demand.

The reasoning is:
  1. Allow for more complex internal javascript. In particular,
  process.stdout and process.stdin can be js implemented streams.

  2. Ease system installs. Loading from disk each time is unnecessary
  overhead. Note that there is no "system" path for modules anymore. Only
  $HOME/.node_libraries.
doc/api.txt
lib/assert.js
lib/fs.js
lib/http.js
src/node.cc
src/node.js
tools/js2c.py
wscript