Ben Noordhuis
e5649d4b3d
tools: fix platform detection on freebsd, sunos
This is a back-port of upstream gyp commit r1482.
12 years ago
Ben Noordhuis
22965da799
install: fix freebsd man page location
Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
12 years ago
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 .
12 years ago
isaacs
fb5c7f03a0
blog: Don't filter out non-latest release notes
This causes too many people to ask me why it's broken.
12 years ago
Scott Blomquist
f657ce685d
windows: add tracing with performance counters
Patch by Henry Rawas and Scott Blomquist.
12 years ago
Ben Noordhuis
38c52a0575
tools: update gyp to r1535
This commit contains one additional patch that makes gyp work on DragonFlyBSD,
see https://codereview.chromium.org/11348152/ for details.
12 years ago
Ben Noordhuis
5d9968f53d
installer: don't install header files
They are no longer necessary now that node-waf has been removed. People need to
switch to node-gyp.
12 years ago
Bert Belder
6174ea6b4c
doc: don't use '
Ref: #3964
12 years ago
Timothy J Fontaine
d3135e0f57
build: add configure option to build with ninja
13 years ago
Ben Noordhuis
2efa3ae64f
installer: reapply b21c8e0b
, honor --without-npm
This bug was already fixed in the v0.8 branch but git skips the patch when
merging v0.8 into master. Reapply it manually.
Fixes #3961 .
12 years ago
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
Ryan Dahl
f90c9ce0e2
Upgrade GYP to r1477
13 years ago
Nathan Rajlich
f9df96b950
email-footer: update the binary package links to x86/x64
13 years ago
Ben Noordhuis
de32b38992
addon: remove node-waf, superseded by node-gyp
13 years ago
Nathan Rajlich
00fa8864b4
tools: remove "addon.gypi" and "gyp_addon"
They've been merged into `node-gyp` and aren't serving any purpose
in the node repo. Fixes #3760 .
13 years ago
Nathan Rajlich
64ac54a64d
Makefile: add a better check to ensure a node "release"
Closes #3841 .
Closes #3842 .
13 years ago
Ben Noordhuis
08b382c2fb
installer: remove c-ares header files
Fixes #3847 .
13 years ago
Nathan Rajlich
093be8b16b
install: prevent a KeyError from being thrown when PORTABLE is not set
13 years ago
Nathan Rajlich
cc6034ac86
email-footer: add links to the expected common binary packages
We can do other OSs like 32 and 64-bit OS X, but we should encourage
users to use the installer on OS X so we'll omit it here.
13 years ago
Nathan Rajlich
7a9db6cfb1
install: add a "portable" mode to the shebang-rewriting logic
This "portable" mode rewrites the npm shebang to use the "node" executable
in the same directory relative to the "npm" script. This makes the "npm"
script "just work" even when "node" is not in the user's $PATH.
This mode is necessary for the precompiled binary packages that may potentially
be extracted to anywhere. The regular shebang-rewriting logic would normally
set the npm script's shebang to "/bin/node" which will not be present on anyone's
machine. In the end, we want the precompiled packages to be as user-friendly as
possible.
13 years ago
Nathan Rajlich
6bdd4d0205
install: install the "wafadmin/Tools" files into the correct dir
Previously they were going into just "wafadmin" and node-waf wasn't working.
13 years ago
Nathan Rajlich
3254caceef
install: use os.path.join() to create the npm shebang
Prettier formatting for the shebang if the "prefix" ends with a /
13 years ago
Nathan Rajlich
57f785151a
install: install the "wafadmin" files into the correct directory
Before they were just being copied into "lib/node/".
Now they go into "lib/node/wafadmin/".
13 years ago
Ben Noordhuis
110e499fe7
installer: prevent ETXTBSY errors
The installer does what amounts to `cp -p`. If the node binary is in use at
the time of the copy, it'd fail with a ETXTBSY error. That's why it's unlinked
first now.
13 years ago
Ben Noordhuis
b21c8e0bfd
installer: honor --without-npm, default install path
* honor the --without-waf and --without-npm configure switches
* a small logic bug made the installer script install to $PWD instead of
/usr/local if --prefix= was not passed to configure
13 years ago
isaacs
2dd710e7ea
build: Sign pkg installer for OS X
This makes the installer work on Mountain Lion.
13 years ago
Ben Noordhuis
50e00de92a
installer: fix cross-compile installs
The old installer was a JS script, which didn't work if node had been
cross-compiled for another architecture. Replace it with a python script.
Fixes #3807 .
13 years ago
Ben Noordhuis
cccce60b3e
installer: don't assume bash is installed
Use `/bin/sh` instead of `bash` when running the relocate.sh script.
13 years ago
Ben Noordhuis
de16da532e
deps, tools: remove stray reject files
13 years ago
Dave Pacheco
648fdc56a0
tools: speed up genv8constants
genv8constants was much slower than necessary due to lack of pipe buffering.
13 years ago
isaacs
ef1b7dd3d7
build: Move npm shebang logic into an npm script
This allows us to run npm's scripts/relocate.sh script whenever
necessary, if for example node has been 'make install'ed into one
folder, and then you wish to move it into another one.
13 years ago
Philipp Hagemeister
1d99441d37
tools: fix shebang in tools/doc/generate.js
13 years ago
Ben Noordhuis
fc4e12b8f1
tools: update gyp to r1426
13 years ago
isaacs
40f70673c6
blog: Require posts to have a date
13 years ago
isaacs
37bdd36d70
blog: Show 0.8.0 even after 0.8.1 ships
The 0.(even).0 releases typically have benchmarks and other interesting
stuff, since that's a milestone.
13 years ago
Ben Noordhuis
2d0011f532
Revert "tools: update closure_linter to the latest(2.3.5)"
This reverts commit 6d98524609
.
This reverts commit 60ff789618
.
closure_linter now depends on the gflags module and not everyone will have that
installed by default.
13 years ago
Shigeki Ohtsu
6d98524609
tools: update closure_linter to the latest(2.3.5)
13 years ago
Bert Belder
3f932c52b0
windows msi: don't use .exe file as icon
This makes the installer nice and small again.
13 years ago
isaacs
d34fea59e1
blog: Generate RSS feeds
13 years ago
Bert Belder
a1b274108f
windows msi: use .url files for documentation and website shortcuts
13 years ago
Bert Belder
399731e3a0
windows msi: add npm dir to user PATH only
The NPM folder is personal to the user. It shouldn't be added to the
system-wide path.
13 years ago
Bert Belder
2dccebd4b8
windows msi: set icon for add/remove programs dialog
13 years ago
Bert Belder
3bab12197f
windows: fix/improve nodejsvars.bat
- Fix: it didn't work for the x86 version of node
- Also add NPM to path
- Also print node version
- Don't change dir to home dir if not started from the start menu
13 years ago
isaacs
ff2a1b86c3
blog: Minor tweaks to style and some data conversion cleanup
13 years ago
isaacs
8f1a38d916
Generate static HTML blog content out of markdown
13 years ago
isaacs
252f034b30
email-footer: Label Windows x64 installer properly
13 years ago
Ben Noordhuis
8966480c0e
Revert "build: fix `make install DESTDIR=/path`"
This reverts commit f80513974e
.
The reverted commit made DESTDIR behave more like we want it to but it was
pointed out in #3489 that it makes life a lot harder for distro package
maintainers.
Those guys and gals already have a hard enough time as it is, let's not make
their jobs even more hellish.
13 years ago
Ben Noordhuis
1b22f5376b
build: install eio-emul.h
13 years ago
Ben Noordhuis
f405517de1
build: install ev-emul.h
13 years ago
Ben Noordhuis
f80513974e
build: fix `make install DESTDIR=/path`
Install to $DESTDIR, not $DESTDIR/$PREFIX.
Example: if DESTDIR=/opt/node, install to /opt/node, not /opt/node/usr/local.
13 years ago