Ben Noordhuis
c4fa77a5ec
tools: fix missing initializer warning in js2c.py
Fix a -Wmissing-field-initializers style compiler warning in the code that's
generated by js2c.py.
13 years ago
Nathan Rajlich
0965d2d9f6
js2c: fix to support files other than ones ending with 2 char extensions
Previously this was basically hard-coded for *.js files, but now we
need to include the 'config.gypi' file in there as well.
13 years ago
Nathan Rajlich
bea2e15864
js2c: fix to support files other than ones ending with 2 char extensions
Previously this was basically hard-coded for *.js files, but now we
need to include the 'config.gypi' file in there as well.
13 years ago
Tom Hughes
74954ce7d8
Add string class that uses ExternalAsciiStringResource.
Change the natives to use this class instead of creating completely new
strings. Reduces memory usage by about 1 MB.
14 years ago
Bert Belder
3c3d1d31c5
Better way of getting rid of symlinks
Windows, especially msysgit, doesn't like 'em
14 years ago
Tom Hughes
446beebd79
Add cmake build support.
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net ) and Daniel Gröber
(darklord@darkboxed.org ).
14 years ago
Ryan Dahl
97c9745063
Back to WAF
Too much instability right now. Hopefully we can revisit autoconf soon.
14 years ago
Ryan Dahl
15594eaf87
Replace WAF with make/autoconf
14 years ago
Ryan Dahl
c4636a578c
Dynamically load native scripts
14 years ago
Ryan Dahl
4ccdc501d4
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.
15 years ago
Ryan Dahl
4234ac53e2
Use Google's jsmin.py so that Node can be used for evil
15 years ago
Ryan Dahl
be2ca1ec80
Fix build.
- Add -f flag to rm on make clean.
- Use old jsmin - the new one seems to be broken.
15 years ago
Ryan Dahl
1f31a7dbfe
Upgrade v8 to 1.3.14
15 years ago
Ryan
115c4942db
Create tools directory
Users will need to "make distclean" to recompile from scratch since I've
moved a lot of the core build tools around.
16 years ago
Ryan
63a9cd3897
everything is changed. i've waited much too long to commit.
this is awful. i'm sorry for being so messy.
16 years ago