Ben Noordhuis
aa3441ae45
js2c: raise proper Exception, not a string
...
Fixes the following error message:
TypeError: exceptions must be old-style classes or derived
from BaseException, not str
Fixes #4303 .
2012-11-24 01:14:09 +01:00
Scott Blomquist
f657ce685d
windows: add tracing with performance counters
...
Patch by Henry Rawas and Scott Blomquist.
2012-11-21 01:21:53 +01:00
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.
2012-08-24 22:56:28 +02:00
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.
2012-03-15 17:12:37 -07:00
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.
2011-03-08 13:56:41 -08:00
Bert Belder
3c3d1d31c5
Better way of getting rid of symlinks
...
Windows, especially msysgit, doesn't like 'em
2010-12-20 23:51:21 +01:00
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 ).
2010-11-22 13:32:49 -08:00
Ryan Dahl
97c9745063
Back to WAF
...
Too much instability right now. Hopefully we can revisit autoconf soon.
2010-11-01 16:51:20 -07:00
Ryan Dahl
15594eaf87
Replace WAF with make/autoconf
2010-10-24 18:39:36 -07:00
Ryan Dahl
c4636a578c
Dynamically load native scripts
2010-10-12 11:49:41 -07:00
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.
2010-03-15 08:04:35 -07:00
Ryan Dahl
4234ac53e2
Use Google's jsmin.py so that Node can be used for evil
2010-02-08 13:52:13 -08:00
Ryan Dahl
be2ca1ec80
Fix build.
...
- Add -f flag to rm on make clean.
- Use old jsmin - the new one seems to be broken.
2009-10-07 15:02:42 +02:00
Ryan Dahl
1f31a7dbfe
Upgrade v8 to 1.3.14
2009-10-07 11:53:45 +02:00
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.
2009-06-22 13:08:32 +02:00