Fedor Indutny
3d67f89552
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.
2013-01-21 12:46:27 +04:00
isaacs
3d7818fc42
Merge remote-tracking branch 'ry/v0.8' into master
...
Conflicts:
AUTHORS
ChangeLog
src/node_version.h
test/simple/test-buffer.js
2013-01-18 12:58:16 -08:00
Chris Dent
6b4a93577b
install: add simplejson fallback
...
Make tools/install.py work with python 2.5
2.5 is still fairly widespread and does not include a json lib as
standard. Most python folk will have simplejson if they are in that
boat.
In general it seems a bit tricky to solve this perfectly...
2013-01-15 09:34:07 +01:00
Scott Blomquist
8e311d28b0
windows: add support for '_Total' perf counters
2013-01-11 22:24:48 +01:00
isaacs
97db62b4d9
Merge remote-tracking branch 'ry/v0.8' into master
...
Conflicts:
AUTHORS
ChangeLog
Makefile
src/node_version.h
2013-01-11 10:18:07 -08:00
Ben Noordhuis
a6756a2c06
test: run tests in alphabetical order
2013-01-10 01:58:30 +01:00
isaacs
c50c33e939
2012.01.09, Version 0.8.17 (Stable)
...
* npm: Upgrade to v1.2.0
- peerDependencies (Domenic Denicola)
- node-gyp v0.8.2 (Nathan Rajlich)
- Faster installs from github user/project shorthands (Nathan Zadoks)
* typed arrays: fix 32 bit size/index overflow (Ben Noordhuis)
* http: Improve performance of single-packet responses (Ben Noordhuis)
* install: fix openbsd man page location (Ben Noordhuis)
* http: bubble up parser errors to ClientRequest (Brian White)
2013-01-09 16:55:12 -08:00
Mike Harsch
aeb030bead
build: fail w/err msg when missing binutils
...
Building --with-dtrace requires objdump from GNU binutils.
This change inserts a helpful error message if there is a
problem executing objdump.
2013-01-08 03:41:26 +01:00
Fedor Indutny
f9afb3f010
dtrace: x64 ustack helper
2013-01-07 23:04:11 +04:00
Ben Noordhuis
fa3bfc3a66
test: put tty in blocking mode after test
...
Tests can leave the tty in non-blocking mode. If the test runner tries
to print to stdout/stderr after that and the tty buffer is full, it'll
die with a EAGAIN OSError. Ergo, put the tty back in blocking mode
before proceeding.
2013-01-07 03:59:10 +01:00
Scott Blomquist
a616774281
windows: improve Visual Studio Express build support
...
* Moved generated files to a clearer directory.
* Improved detection logic for ctrpp.exe tool.
Closes #4482
2013-01-03 23:38:25 +01:00
Luke Arduini
192192a09e
Colorize API stabilitity index headers in docs
...
Noted in @shtylman's #3898 , API stability notes are easy to overlook
in the html documentation. This can be especially troublesome if the API
is deprecated. This commit gives visual feedback by adding in a class
to the html docs when they're generated. The API headers with
corresponding colors are also listed in the 'About this Documentation'
page for easy reference.
2012-12-27 18:38:56 -08:00
Ben Noordhuis
79ae8b7ae2
Merge remote-tracking branch 'origin/v0.8'
2012-12-20 12:39:04 +01:00
Timothy J Fontaine
14ed1732ce
test: add TAP output to the test runner
2012-12-19 11:16:23 +01:00
Ben Noordhuis
53b826e6ae
install: fix openbsd man page location
...
Man pages go into $PREFIX/man on OpenBSD, not $PREFIX/share/man.
2012-12-17 12:05:14 +01:00
isaacs
77ed12fe7a
Merge remote-tracking branch 'ry/v0.8' into master
...
Conflicts:
AUTHORS
ChangeLog
deps/uv/test/test-spawn.c
deps/uv/uv.gyp
src/cares_wrap.cc
src/node.cc
src/node_version.h
test/simple/test-buffer.js
tools/gyp/pylib/gyp/common.py
tools/install.py
2012-12-13 16:57:58 -08:00
Ben Noordhuis
e5649d4b3d
tools: fix platform detection on freebsd, sunos
...
This is a back-port of upstream gyp commit r1482.
2012-12-02 03:01:20 +01:00
Ben Noordhuis
22965da799
install: fix freebsd man page location
...
Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
2012-12-02 02:55:50 +01:00
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
isaacs
fb5c7f03a0
blog: Don't filter out non-latest release notes
...
This causes too many people to ask me why it's broken.
2012-11-23 12:54:33 -08: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
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.
2012-11-20 16:40:51 +01:00
isaacs
bb207c2827
Merge remote-tracking branch 'ry/v0.8' into master
...
Conflicts:
ChangeLog
src/node_version.h
test/simple/test-util-inspect.js
2012-09-12 15:13:07 -07:00
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.
2012-09-10 01:31:13 +02:00
Bert Belder
6174ea6b4c
doc: don't use '
...
Ref: #3964
2012-09-04 21:15:39 +02:00
Timothy J Fontaine
d3135e0f57
build: add configure option to build with ninja
2012-09-04 16:04:01 +02:00
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 .
2012-09-04 15:08:32 +02:00
Bert Belder
bf16d9280e
Merge branch 'v0.8'
...
Conflicts:
ChangeLog
deps/openssl/openssl.gyp
src/node_version.h
2012-08-28 02:54:22 +02: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
Ryan Dahl
f90c9ce0e2
Upgrade GYP to r1477
2012-08-22 15:18:45 -04:00
Ben Noordhuis
a177f55b0c
Merge remote-tracking branch 'origin/v0.8'
...
Conflicts:
ChangeLog
src/node_version.h
test/message/stdin_messages.out
tools/install.py
2012-08-17 13:05:20 +02:00
Nathan Rajlich
f9df96b950
email-footer: update the binary package links to x86/x64
2012-08-15 18:05:33 -07:00
Ben Noordhuis
de32b38992
addon: remove node-waf, superseded by node-gyp
2012-08-14 23:06:32 +02:00
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 .
2012-08-12 14:49:44 -07:00
Nathan Rajlich
64ac54a64d
Makefile: add a better check to ensure a node "release"
...
Closes #3841 .
Closes #3842 .
2012-08-09 17:11:41 -07:00
Ben Noordhuis
08b382c2fb
installer: remove c-ares header files
...
Fixes #3847 .
2012-08-08 20:25:33 +02:00
Nathan Rajlich
093be8b16b
install: prevent a KeyError from being thrown when PORTABLE is not set
2012-08-06 13:22:05 -07:00
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.
2012-08-06 11:57:47 -07:00
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.
2012-08-06 10:18:27 -07:00
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.
2012-08-06 10:16:09 -07:00
Nathan Rajlich
3254caceef
install: use os.path.join() to create the npm shebang
...
Prettier formatting for the shebang if the "prefix" ends with a /
2012-08-05 14:02:30 -07:00
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/".
2012-08-04 00:10:58 -07:00
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.
2012-08-04 02:41:34 +02:00
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
2012-08-04 02:18:18 +02:00
isaacs
2bee3aeee9
Merge branch 'v0.8.5-release' into v0.8
2012-08-02 14:57:34 -07:00
isaacs
2dd710e7ea
build: Sign pkg installer for OS X
...
This makes the installer work on Mountain Lion.
2012-08-02 13:56:50 -07:00
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 .
2012-08-02 13:51:35 +02:00
Ben Noordhuis
cccce60b3e
installer: don't assume bash is installed
...
Use `/bin/sh` instead of `bash` when running the relocate.sh script.
2012-08-01 13:39:12 +02:00
Ben Noordhuis
de16da532e
deps, tools: remove stray reject files
2012-07-31 13:45:16 +02:00
Dave Pacheco
648fdc56a0
tools: speed up genv8constants
...
genv8constants was much slower than necessary due to lack of pipe buffering.
2012-07-18 00:56:02 +02:00