Timothy J Fontaine
4f2b08c523
Now working on 0.10.31
11 years ago
Julien Gilli
befbbad051
timers: backport f8193ab
Original commit message:
timers: use uv_now instead of Date.now
This saves a few calls to gettimeofday which can be expensive, and
potentially subject to clock drift. Instead use the loop time which
uses hrtime internally.
In addition to the backport, this commit:
- keeps _idleStart timers' property which is still set to
Date.now() to avoid breaking existing code that uses it, even if
its use is discouraged.
- adds automated tests. These tests use a specific branch of
libfaketime that hasn't been submitted upstream yet. libfaketime
is git cloned if needed when running automated tests.
Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
11 years ago
Timothy J Fontaine
361aa5344d
build: run wix tool chain out of process
Building MSIs for different arch's can sometimes confuse MSBuild and
Wix, isntead run the toolchain externally so we don't have to worry
about which arch cmd.exe is running as.
11 years ago
Fedor Indutny
d3204b0225
installer: copy smalloc.h on installation
fix #7485
Signed-off-by: Fedor Indutny <fedor@indutny.com>
11 years ago
Timothy J Fontaine
fa0ac99541
wrk: compile on sunos
11 years ago
Timothy J Fontaine
581b8585eb
wrk: build against our distributed ssl
11 years ago
Timothy J Fontaine
407e295f43
tools: wrk update to 5b2fa06
11 years ago
Fedor Indutny
e0c5302590
installer: copy `node.d` only with node_use_dtrace
11 years ago
Fedor Indutny
b940e0fd86
gyp: specialize node.d for freebsd
`node.d` should use `psinfo.d` instead of `procfs.d` and have statically
defined architecture on FreeBSD.
11 years ago
Timothy J Fontaine
085db9dd6c
tools: update to support separate website repo
11 years ago
Timothy J Fontaine
37376debe5
website: move website to joyent/node-website
The website will no longer be living in the source repository instead
it can be found at http://github.com/joyent/node-website
11 years ago
Vladimir Kurchatkin
103b89673e
doc: skip type parsing inside code blocks
Since types are denoted with curly braces it can cause erroneous
replaces in code blocks.
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
11 years ago
Fedor Indutny
1442c1c6de
addons: build and test examples
fix #6910
11 years ago
Timothy J Fontaine
574f71444c
test: move debugger repl into own section
11 years ago
Fedor Indutny
a05dae2ced
gyp: fix build with python 2.6
fix #6859
11 years ago
Fedor Indutny
346b59e4a3
deps: update gyp to 1eae492b
11 years ago
Fedor Indutny
cb5da7b443
deps: update gyp to 828ce09
11 years ago
Fedor Indutny
96dffb1217
deps: update gyp to 828ce09
11 years ago
T.C. Hollingsworth
55b0bd639d
build: install common.gypi along with headers
node-gyp requires this file
11 years ago
Timothy J Fontaine
32478acf94
build: unix install node and dep library headers
Restores functionality from v0.8 where module authors may not be
relying on gyp for building their modules.
11 years ago
Timothy J Fontaine
4ec189b250
gyp: update to 78b26f7
11 years ago
Timothy J Fontaine
2010985354
gyp: update to bebdcea
11 years ago
Ben Noordhuis
d4c09f20c8
tools: check in certdata.txt from mozilla NSS
This is a file from the NSS project containing root certificate data.
It can be downloaded from:
https://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1
Once downloaded, running `perl tools/mk-ca-bundle.pl` will update
src/node_root_certs.h. Commit, rebuild and go.
11 years ago
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