Ben Noordhuis
e159073da5
tools: customize mk-ca-bundle.pl
Remove unneeded functionality and tweak the generated output so we
can #include it in C++ source code.
11 years ago
Ben Noordhuis
5ab863de22
tools: bundle mk-ca-bundle.pl from upstream curl
11 years ago
Fedor Indutny
2bc30f239b
cpplint: disallow if one-liners
11 years ago
Fedor Indutny
7063c59b97
cpplint: disallow comma-first in C++
11 years ago
isaacs
9c65387673
blog: Remove wp-to-markdown script
11 years ago
Timothy J Fontaine
3f1dba18b2
tools: script release steps after jenkins build
12 years ago
Timothy J Fontaine
92e4375173
tools: script to report [un]stable build
12 years ago
Ben Noordhuis
98c54246c2
tools: cpplint: fix NOLINT(build/include_order)
And build/include, build/include_alpha and readability/streams
probably too, though those are currently unused and therefore untested.
12 years ago
Timothy J Fontaine
e851fef60f
build: embed the mdb_v8.so into the binary
This builds and includes the mdb_v8.so in the binary of node so mdb
can be sure to always use the latest version
12 years ago
Ben Noordhuis
847c6d980c
tools: cpplint: fix up build/include_order rule
Change the build/include_order rule to match our preference:
project headers before system headers.
The rationale is that system headers before project headers makes it
easy to slip in bugs where a project header that requires a definition
from a system header, forgets to include the system header but still
compiles because the source files that include the project header
coincidentally include the system header too.
A good example is the size_t type. A project header file that needs the
definition of size_t should include stddef.h but forgetting to do so
will probably go unnoticed for a long time because almost every other
system header includes stddef.h (either directly or indirectly) and
almost every source file includes one or more system headers.
Ergo, project headers before system headers. It's a good thing.
12 years ago
Fedor Indutny
3c6b5d5df1
cpplint: make lint rules closer to node's source
* Support C-style header guards (/* comments */)
* Support `class NODE_EXTERN something`
* Support `} // extern "C"` closures
* Ignore header order
* Ignore `long/short` usage (because of OpenSSL's API)
12 years ago
Ben Noordhuis
457d529241
tools: fix js2c macro expansion bug
If the same macro was used twice in close proximity, the second one
didn't get expanded.
12 years ago
Ben Noordhuis
2b7d86ec73
tools: make check-imports.sh work on bsd-likes
12 years ago
isaacs
b3b8e74dbf
tools: Add next/prev version scripts
12 years ago
Ben Noordhuis
d2d07421ca
tools: add check-imports.sh script
Checks that `using` statements in src/*.cc are properly sorted and
actually used.
12 years ago
Timothy J Fontaine
f1b878cafa
build: add pkgsrc rule
12 years ago
Timothy J Fontaine
17e696c312
systemtap: add tapset for node user probes
This makes systemtap tracing prettier, you can do things like `stap -e
'probe node_http_server_request { println(probestr); }'`
12 years ago
isaacs
3058f08e64
tools: remove unnecessary cpplint rules
We don't actually care about header order much, and since we never use
stl classes, 'string' isn't an issue for node ever.
12 years ago
Timothy J Fontaine
cf87ee67ee
test: don't use total_seconds() because of py2.6
12 years ago
Timothy J Fontaine
56492de5b9
test: don't use total_seconds() because of py2.6
12 years ago
Timothy J Fontaine
ee4f0baeac
test: report test duration in TAP progress
12 years ago
Timothy J Fontaine
716176fa99
test: report test duration in TAP progress
12 years ago
Ben Noordhuis
b5c172138c
tools: fix test.py after v8 upgrade
test.py imports deps/v8/tools/utils.py but that file is gone after the
upgrade to 3.18.4 in commit 2f75785
. Resurrect the file in tools/
12 years ago
Olof Johansson
ddf4d1a32a
install: Support $(PREFIX) install target directory prefix
This change introduces support for the common PREFIX variable in the
Makefile and install.py, instead of having /usr/local hardcoded. This
makes it much easier to install node to custom locations e.g. in a
user's home directory.
The PREFIX variable defaults to /usr/local.
12 years ago
isaacs
8ee43006b8
build: Typo in tools/msvs/msi/product.wxs
12 years ago
Timothy J Fontaine
fb6dd0c0b5
test: test name is the last elem, not second
When a test requires node to have parameters passed (--expose-gc) the
test name will be the last element in the command array, not the second.
12 years ago
Ben Noordhuis
8632af381e
tools: update gyp to r1601
Among other things, this should make it easier for people to build
node.js on openbsd.
12 years ago
Fedor Indutny
88217ec276
dtrace: fix generation of v8 constants on freebsd
Every constant is certainly 4 bytes now, but freebsd's objdump utility
prints out odd byte sequences (5-bytes, 6-bytes and even 9-bytes long)
for v8's data section. We can safely ignore all upper bytes, because all
constants that we're using are just `int`s. Since on all supported
platforms `int` is 32bit long (and anyway v8's constants are 32bit too),
we ignore all higher bits if they were read.
12 years ago
Fedor Indutny
3375bd8db7
dtrace: x64 ustack helper
12 years ago
Ben Noordhuis
2b5bc8e0d6
install: don't install man page twice
Looks like a merge conflict in 77ed12f
left in the old, unconditional
install rule. Remove it, the new and improved rule is a few lines down.
Fixes #5044 .
12 years ago
isaacs
12713c3bb7
win/msi: Fix typos
12 years ago
Bert Belder
3c22c42519
win/msi: enable modify and repair
12 years ago
Bert Belder
fa1efa3675
win/msi: miscellaneous style cleanups
12 years ago
Bert Belder
4147680d59
win/msi: don't include architecture in start menu group name
12 years ago
Bert Belder
8365a56541
win/msi: update 'install finished' message
12 years ago
Bert Belder
952d6c5e4c
win/msi: clean up the 'documentation shortcuts' feature
12 years ago
Bert Belder
fb6253209e
win/msi: refactor 'node.js runtime' feature
* This feature now includes the start menu items.
* 'nodejsvars.bat' was renamed to 'nodevars.bat'.
* Improved feature description.
12 years ago
Bert Belder
2320ffbdff
win/msi: make 'add to path' a separate feature
12 years ago
Bert Belder
5e832ac7b9
win/msi: separate features for ETW and perfctr support
12 years ago
Bert Belder
51e3a59946
win/msi: make npm a feature separate from the runtime
12 years ago
Bert Belder
4348241bcc
win/msi: use consistent registry key paths
12 years ago
Bert Belder
0604d9ab93
win/msi: don't create empty npm folder in %appdata%
Npm creates this folder when it's needed. Creating it in the installer
violates the per-user / per-machine scope separation.
12 years ago
Bert Belder
8542c9afba
win/msi: don't install pdb file
It's only available in debug builds, and we're not providing
installer packages for debug builds anyway.
12 years ago
Bert Belder
7514779388
win/msi: define features before directories/components
12 years ago
Bert Belder
52f7a14aaf
win: make nodejsvars.bat detect whether npm is available
12 years ago
Raymond Feng
95871ac1db
windows/msi: fix msi build issue with WiX 3.7/3.8
The `heat` tool that gathers NPM source files wasn't getting called.
Closes #4896
12 years ago
Bert Belder
890dc2eeb1
win/msi: make msi build work when spaces are present in the path
12 years ago
Raymond Feng
47e115063b
windows/msi: fix msi build issue with WiX 3.7/3.8
The `heat` tool that gathers NPM source files wasn't getting called.
Closes #4896
12 years ago
isaacs
687522c5a5
blog: Do not pass undefined to path.join
12 years ago
Timothy J Fontaine
d032ff4954
test: fix tap output on windows
Test output is always \n and not platform dependent
12 years ago