Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Update to iojs 2.3.1 #7

Closed
wants to merge 161 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
79bb5e1
Working on v2.2.2
rvagg Jun 1, 2015
1baba05
tools: Fix copying contents of deps/npm
thefourtheye May 31, 2015
d29034b
doc: adjust changelog to clarify `client` revert
rvagg Jun 1, 2015
c0e7bf2
src: add getopt option parser
evanlucas May 19, 2015
5b6f575
Revert "src: add getopt option parser"
evanlucas Jun 1, 2015
1cb72c1
docs: delete unused/duplicate css files
robertkowalski Jan 7, 2015
a79dece
docs: add return value for sync fs functions
tyleranton Mar 8, 2015
8704c58
test: remove unneeded comment task
Trott Jun 1, 2015
e0e96ac
test: remove smalloc add-on test
bnoordhuis May 29, 2015
89a5b90
doc: fix http.IncomingMessage.socket documentation
ChALkeR Jun 1, 2015
d20f018
test: loosen condition to detect infinite loop
yosuke-furukawa Jun 1, 2015
b926718
test: fix test-child-process-stdout-flush-exit
santigimeno Jun 2, 2015
5be9efc
tools: update mk-ca-bundle.pl to HEAD of upstream
bnoordhuis Mar 25, 2015
a2d921d
tools: customize mk-ca-bundle.pl
bnoordhuis Mar 25, 2015
098354a
tools: update certdata.txt
bnoordhuis May 28, 2015
a4dbf45
crypto: update root certificates
bnoordhuis May 28, 2015
8357c50
fs: set encoding on fs.createWriteStream
yosuke-furukawa May 30, 2015
8c71a92
src: hide InitializeICUDirectory symbol
bnoordhuis May 27, 2015
bd99e8d
test: more test coverage for maxConnections
Trott May 30, 2015
f78c722
test: remove hardwired references to 'iojs'
rvagg Jun 3, 2015
b18604b
test: running tls-server-verify clients in parallel
joaocgreis May 22, 2015
975e595
test: run tls-server-verify servers in parallel
joaocgreis May 22, 2015
e6ccdcc
test: improve console output of tls-server-verify
joaocgreis May 22, 2015
4cf323d
test: kill child in tls-server-verify for speed up
May 27, 2015
0ee497f
deps: add -no_rand_screen to openssl s_client
May 27, 2015
4ed25f6
test: add -no_rand_screen for tls-server-verify
May 27, 2015
43a82f8
test: fix test-sync-io-option
evanlucas May 29, 2015
a804026
test: fix broken FreeBSD test
santigimeno Jun 3, 2015
aa33db3
deps: update libuv to version 1.6.0
saghul Jun 3, 2015
b5cd2f0
dgram: partially revert 18d457b
saghul May 27, 2015
6537fd4
test: remove TODO
Trott Jun 3, 2015
628845b
util: introduce `printDeprecationMessage` function
vkurchatkin May 28, 2015
6d95f4f
smalloc: deprecate whole module
vkurchatkin May 28, 2015
5795e83
tls: emit errors on close whilst async action
indutny May 14, 2015
75930bb
tls: prevent use-after-free
indutny May 18, 2015
59d9734
tls_wrap: invoke queued callbacks in DestroySSL
indutny May 19, 2015
353e26e
fs: Add string encoding option for Stream method
yosuke-furukawa Apr 13, 2015
81029c6
debugger: improve ESRCH error message
JacksonTian Jun 1, 2015
2dcef83
fs: use `kMaxLength` from binding
vkurchatkin Jun 5, 2015
a5bd466
deps: update libuv to version 1.6.1
saghul Jun 5, 2015
02c3450
gitignore: don't ignore the debug npm module
zkat Jun 5, 2015
6e78e5f
os: add homedir()
cjihrig May 25, 2015
4b3d493
readline: allow tabs in input
Trott May 21, 2015
deb8b87
doc: add note about available ECC curves
petschekr Jun 7, 2015
ff39ecb
doc: remove comma splice
Trott Jun 4, 2015
38d1afc
crypto: add getCurves() to get supported ECs
mscdex Jun 8, 2015
d9ddd7d
test: remove TODO comment
Trott Jun 2, 2015
9c0a1b8
cluster: wait on servers closing before disconnect
Olegas Jun 2, 2015
9f3a03f
doc: add references to crypto.getCurves()
silverwind Jun 8, 2015
7192b66
doc: add rlidwka as collaborator
rlidwka Jun 9, 2015
7177246
doc: add monsanto as collaborator
monsanto Jun 9, 2015
f500e18
doc: add ofrobots as collaborator
ofrobots Jun 9, 2015
f41b7f1
deps: upgrade to npm 2.11.1
zkat Jun 5, 2015
2dc819b
deps: make node-gyp work with io.js
cjihrig Feb 27, 2015
91d0a8b
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
11ed5f3
doc: add Olegas as collaborator
Olegas Jun 9, 2015
cf5020f
doc: add domenic as collaborator
domenic Jun 10, 2015
09f2a67
fs: improve error message descriptions
thefourtheye Jun 2, 2015
67a11b9
fs: removing unnecessary nullCheckCallNT
thefourtheye Jun 2, 2015
8841132
fs: remove inStatWatchers and use Map for lookup
thefourtheye Jun 2, 2015
a011c32
fs: minor refactoring
thefourtheye Jun 2, 2015
53a4eb3
fs: make SyncWriteStream non-enumerable
thefourtheye Jun 3, 2015
0f68377
crypto: support FIPS mode of OpenSSL
indutny Jun 1, 2015
8732977
tls: fix references to undefined `cb`
indutny Jun 11, 2015
ff8202c
test: fix undeclared variable access
silverwind May 29, 2015
b5b8ff1
lib: don't use global Buffer
silverwind May 29, 2015
6e4d302
tools: enable/add additional eslint rules
silverwind Jun 11, 2015
a6b8ee1
test: create temp dir in common.js
Trott Jun 3, 2015
c21b24d
deps: upgrade openssl sources to 1.0.2b
Jun 11, 2015
dcd67cc
deps: fix openssl assembly error on ia32 win32
indutny Jan 8, 2014
f624d01
deps: fix asm build error of openssl in x86_win32
Feb 13, 2015
a130132
openssl: fix keypress requirement in apps on win32
Feb 17, 2015
f62b613
deps: add -no_rand_screen to openssl s_client
May 27, 2015
3844491
deps: replace all headers in openssl
Jun 11, 2015
9480496
deps: update asm files for openssl-1.0.2b
Jun 11, 2015
86737cf
deps: upgrade openssl sources to 1.0.2c
Jun 12, 2015
c66c3d9
deps: fix openssl assembly error on ia32 win32
indutny Jan 8, 2014
42a8de2
deps: fix asm build error of openssl in x86_win32
Feb 13, 2015
2eb1708
openssl: fix keypress requirement in apps on win32
Feb 17, 2015
664a659
deps: add -no_rand_screen to openssl s_client
May 27, 2015
6b3df92
deps: replace all headers in openssl
Jun 12, 2015
2a7fd0a
deps: update UPGRADING.md doc to openssl-1.0.2c
Jun 11, 2015
03ce84d
test: fix cluster-worker-wait-server-close races
sam-github Jun 11, 2015
a251657
node: mark promises as handled as soon as possible
vkurchatkin Jun 11, 2015
d9e2502
Revert "readline: allow tabs in input"
Fishrock123 Jun 12, 2015
a3cc43d
doc: add Trott as collaborator
Trott Jun 12, 2015
8ea6844
test: add test for failed save in REPL
Trott May 28, 2015
3dfd254
2015-06-12 io.js v2.3.0 Release
rvagg Jun 12, 2015
41951d4
2015-06-13 io.js v2.3.0 Release
rvagg Jun 13, 2015
7c69936
Working on v2.3.1
rvagg Jun 13, 2015
5dfe0d5
doc: remove irrelevant SEMVER-MINOR & MAJOR
rvagg Jun 13, 2015
4285265
doc: add ChALkeR as collaborator
ChALkeR Jun 9, 2015
88d7904
test: remove test repetition
Trott Jun 2, 2015
7c79490
test: only refresh tmpDir for tests that need it
Trott Jun 9, 2015
5fe6e83
doc: copyedit GOVERNANCE.md
Trott Jun 13, 2015
74fdf73
doc: copyedit COLLABORATOR_GUIDE.md
Trott Jun 13, 2015
4b4b176
v8: cherry-pick uclibc build patch from upstream
bnoordhuis Apr 14, 2015
1ec53c0
build: simplify execution of built binary
jbergstroem Jun 12, 2015
8d8a26e
build: don't run lint from test-ci
jbergstroem Jun 13, 2015
fb8811d
lib,test: fix whitespace issues
silverwind Jun 13, 2015
3777f41
tools: enable whitespace related rules in eslint
silverwind Jun 13, 2015
5c2707c
doc: benchmark/README.md copyedit
Trott Jun 13, 2015
3e12561
deps: upgrade to npm 2.11.2
iarna Jun 12, 2015
6aab2f3
deps: make node-gyp work with io.js
cjihrig Feb 27, 2015
953b3e7
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
3806d87
zlib: prevent uncaught exception in zlibBuffer
targos May 27, 2015
c207e8d
build: fix pkg-config output parsing in configure
bnoordhuis Jun 15, 2015
96165f9
doc: minor clarification in the modules API doc.
ChALkeR Jun 15, 2015
3beb880
crypto: add cert check to CNNIC Whitelist
Jun 4, 2015
52a822d
test: fix test-cluster-worker-disconnect
santigimeno Jun 8, 2015
671e64a
module: allow long paths for require on Windows
targos Jun 16, 2015
1d79f57
util: move deprecate() to internal module
brendanashworth Jun 16, 2015
d5637e6
buffer: fix cyclic dependency with util
brendanashworth Jun 16, 2015
626432d
util: dont repeat isBuffer
brendanashworth Jun 16, 2015
c4ec041
doc: reformat authors section
jbergstroem Jun 13, 2015
88c1831
test: tmpdir creation failures should fail tests
Trott Jun 14, 2015
91dfb5e
tools: make test-npm work without global npm
Fishrock123 Jun 9, 2015
5d0cee4
vm: remove unnecessary HandleScopes
bnoordhuis Jun 16, 2015
e56758a
async-wrap: add provider id and object info cb
trevnorris Jun 3, 2015
0abcf44
test: add Buffer slice UTF-8 test
Trott Jun 16, 2015
30638b1
doc: add TSC meeting notes 2015-06-10
piscisaureus Jun 17, 2015
7a3006e
doc: add TOC links to Collaborator Guide
Trott Jun 16, 2015
061342a
net: Defer reading until listeners could be added
jameshartig Jun 8, 2015
a71ee93
module: reduce syscalls during require search
pierreinglebert Jun 8, 2015
0cf94e6
doc: mention CI in Collaborator Guide
Trott Jun 16, 2015
1f93b63
doc: change the info to the same as in gitconfig
tellnes Jun 17, 2015
c5353d7
build: remove lint from test-ci on windows
jbergstroem Jun 17, 2015
6a359b1
deps: upgrade to npm 2.11.3
othiym23 Jun 19, 2015
48c0fb8
deps: make node-gyp work with io.js
cjihrig Feb 27, 2015
0ecf945
win,node-gyp: enable delay-load hook by default
piscisaureus Apr 15, 2015
8ac5081
doc: add security section to README.md
rvagg Jun 11, 2015
3ba4f71
test: check result as early as possible
Trott Jun 18, 2015
b0990ef
test: confirm symlink
Trott Jun 19, 2015
a4f4909
module: fix stat with long paths on Windows
targos Jun 18, 2015
5d2b846
test: assert tmp and fixture dirs different
Trott Jun 19, 2015
8e53fd5
2015-06-23 io.js v2.3.1 Release
rvagg Jun 19, 2015
81ae82e
Working on v2.3.2
rvagg Jun 23, 2015
392e8fd
doc: add @shigeki and @mscdex to TC
rvagg Jun 18, 2015
1330ee3
doc: add TC meeting 2015-05-13 minutes
rvagg May 14, 2015
834a365
build: DTrace is enabled by default on darwin
evanlucas Jun 19, 2015
ca29eac
Add flags to control whether to set low level hooks and disable excep…
zcbenz Mar 18, 2013
97f0b3b
Make Module.globalPaths a reference.
zcbenz Apr 14, 2013
53431da
Use UV_FILE type for unknown file handle types.
zcbenz Jul 23, 2013
ae240e0
Hide console window when creating process.
zcbenz Jul 31, 2013
0eb2718
Don't set wrapper class in node, otherwise heap snapshot would crash.
zcbenz Aug 27, 2013
b263426
Hack child_process.fork to use execute script with atom-shell.
zcbenz Aug 8, 2013
fdde361
Do not override DOM's global functions in renderer.
zcbenz Dec 15, 2013
c6c9c13
Add "node" target which builds a shared library.
zcbenz Dec 20, 2013
5e99c4e
Add on_watcher_queue_updated callback for loop.
zcbenz Mar 27, 2013
8db01f4
Guard against NULL returned by uv_err_name.
zcbenz Feb 27, 2014
ead3913
Export modules' DSO constructors.
zcbenz Jun 29, 2014
66fab7f
Init asar support in Node
zcbenz Feb 4, 2015
7d9a378
Export some internal functions
zcbenz Apr 1, 2015
11470e6
Don't handle external strings
zcbenz May 27, 2015
b2a305c
Add fs.statSyncNoException
zcbenz Jun 10, 2015
6e5bb44
SealHandleScope is not available in V8 yet
zcbenz Jun 10, 2015
f43b072
Don't create default V8::Platform
zcbenz Jun 10, 2015
d032ff8
Include malloc.h on Windows
zcbenz Jun 10, 2015
7410a9e
Merge remote-tracking branch 'origin/atom-iojs' into atom-iojs
frankhale Jun 23, 2015
2ec6856
Do not override DOM's global functions in renderer.
zcbenz Dec 15, 2013
8668e60
Init asar support in Node
zcbenz Feb 4, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ test/addons/doc-*/
test/fixtures
test/**/node_modules
test/parallel/test-fs-non-number-arguments-throw.js
test/disabled
test/tmp*/
70 changes: 38 additions & 32 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,9 @@ rules:
# Stylistic Issues
# list: https://github.com/eslint/eslint/tree/master/docs/rules#stylistic-issues
## use single quote, we can use double quote when escape chars
quotes:
- 2
- "single"
- "avoid-escape"
quotes: [2, "single", "avoid-escape"]
## 2 space indentation
indent:
- 2
- 2
indent: [2, 2]
## add space after comma
## set to 'warn' because of https://github.com/eslint/eslint/issues/2408
comma-spacing: 1
Expand All @@ -63,35 +58,46 @@ rules:
## require parens for Constructor
new-parens: 2
## max 80 length
max-len:
- 2
- 80
- 2
max-len: [2, 80, 2]
## max 2 consecutive empty lines
no-multiple-empty-lines: [2, {max: 2}]
## require newline at end of files
eol-last: 2
## no trailing spaces
no-trailing-spaces: 2

# Strict Mode
# list: https://github.com/eslint/eslint/tree/master/docs/rules#strict-mode
## 'use strict' on top
strict:
- 2
- "global"
strict: [2, "global"]

# Variables
# list: https://github.com/eslint/eslint/tree/master/docs/rules#variables
## disallow use of undefined variables (globals)
no-undef: 2

# Custom rules in tools/eslint-rules
require-buffer: 2

# Global scoped method and vars
globals:
DTRACE_HTTP_CLIENT_REQUEST: true
LTTNG_HTTP_CLIENT_REQUEST: true
COUNTER_HTTP_CLIENT_REQUEST: true
DTRACE_HTTP_CLIENT_RESPONSE: true
LTTNG_HTTP_CLIENT_RESPONSE: true
COUNTER_HTTP_CLIENT_RESPONSE: true
DTRACE_HTTP_SERVER_REQUEST: true
LTTNG_HTTP_SERVER_REQUEST: true
COUNTER_HTTP_SERVER_REQUEST: true
DTRACE_HTTP_SERVER_RESPONSE: true
LTTNG_HTTP_SERVER_RESPONSE: true
COUNTER_HTTP_SERVER_RESPONSE: true
DTRACE_NET_STREAM_END: true
LTTNG_NET_STREAM_END: true
COUNTER_NET_SERVER_CONNECTION_CLOSE: true
DTRACE_NET_SERVER_CONNECTION: true
LTTNG_NET_SERVER_CONNECTION: true
COUNTER_NET_SERVER_CONNECTION: true
DTRACE_HTTP_CLIENT_REQUEST : false
LTTNG_HTTP_CLIENT_REQUEST : false
COUNTER_HTTP_CLIENT_REQUEST : false
DTRACE_HTTP_CLIENT_RESPONSE : false
LTTNG_HTTP_CLIENT_RESPONSE : false
COUNTER_HTTP_CLIENT_RESPONSE : false
DTRACE_HTTP_SERVER_REQUEST : false
LTTNG_HTTP_SERVER_REQUEST : false
COUNTER_HTTP_SERVER_REQUEST : false
DTRACE_HTTP_SERVER_RESPONSE : false
LTTNG_HTTP_SERVER_RESPONSE : false
COUNTER_HTTP_SERVER_RESPONSE : false
DTRACE_NET_STREAM_END : false
LTTNG_NET_STREAM_END : false
COUNTER_NET_SERVER_CONNECTION_CLOSE : false
DTRACE_NET_SERVER_CONNECTION : false
LTTNG_NET_SERVER_CONNECTION : false
COUNTER_NET_SERVER_CONNECTION : false
escape : false
unescape : false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ icu_config.gypi

# various stuff that VC++ produces/uses
Debug/
!node_modules/debug/
Release/
!doc/blog/**
*.sln
Expand Down
192 changes: 191 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

40 changes: 22 additions & 18 deletions COLLABORATOR_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

**Contents**

* Issues and Pull Requests
* Accepting Modifications
- Involving the TC
* Landing Pull Requests
- Technical HOWTO
* [Issues and Pull Requests](#issues-and-pull-requests)
* [Accepting Modifications](#accepting-modifications)
- [Involving the TC](#involving-the-tc)
* [Landing Pull Requests](#landing-pull-requests)
- [Technical HOWTO](#technical-howto)
- [I Just Made a Mistake](#i-just-made-a-mistake)

This document contains information for Collaborators of the io.js
project regarding maintaining the code, documentation and issues.
Expand Down Expand Up @@ -67,6 +68,10 @@ TC for resolution (see below).
All bugfixes require a test case which demonstrates the defect. The
test should *fail* before the change, and *pass* after the change.

All pull requests that modify executable code should be subjected to
continuous integration tests on the
[project CI server](https://jenkins-iojs.nodesource.com/).

### Involving the TC

Collaborators may opt to elevate pull requests or issues to the TC for
Expand Down Expand Up @@ -101,10 +106,10 @@ exactly how to format your commit messages.

Additionally:

- Double check PR's to make sure the person's _full name_ and email
- Double check PRs to make sure the person's _full name_ and email
address are correct before merging.
- Except when updating dependencies, all commits should be self
contained. Meaning, every commit should pass all tests. This makes
contained (meaning every commit should pass all tests). This makes
it much easier when bisecting to find a breaking change.

### Technical HOWTO
Expand Down Expand Up @@ -148,8 +153,8 @@ $ git log origin/master...master
```

If there are multiple commits that relate to the same feature or
one with a feature and separate with a test for that feature -
you'll need to squash them (or strictly speaking `fixup`).
one with a feature and separate with a test for that feature,
you'll need to use `squash` or `fixup`:

```text
$ git rebase -i origin/master
Expand Down Expand Up @@ -201,25 +206,24 @@ reword 51759dc feature B
fixup 7d6f433 test for feature B
```

Save the file and close the editor, you'll be asked to enter new
commit message for that commit, and everything else should go
smoothly. Note that this is a good moment to fix incorrect commit
logs, ensure that they are properly formatted, and add `Reviewed-By`
line.
Save the file and close the editor. You'll be asked to enter a new
commit message for that commit. This is a good moment to fix incorrect
commit logs, ensure that they are properly formatted, and add
`Reviewed-By` lines.

Time to push it:

```text
$ git push origin master
```

### I just made a mistake
### I Just Made a Mistake

With git, there's a way to override remote trees by force pushing
With `git`, there's a way to override remote trees by force pushing
(`git push -f`). This should generally be seen as forbidden (since
you're rewriting history on a repository other people are working
against) but is allowed for simpler slip-ups such as typos in commit
messages. However, you are only allowed to force push to any io.js
branch within 10 minutes from your original push. If someone else
pushes to the branch your commit lives in or the 10 minute period
passes, consider the commit final.
pushes to the branch or the 10 minute period passes, consider the
commit final.
16 changes: 8 additions & 8 deletions GOVERNANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ individuals are identified by the TC and their addition as
Collaborators is discussed during the weekly TC meeting.

_Note:_ If you make a significant contribution and are not considered
for commit-access log an issue or contact a TC member directly and it
for commit-access, log an issue or contact a TC member directly and it
will be brought up in the next TC meeting.

Modifications of the contents of the iojs/io.js repository are made on
Expand Down Expand Up @@ -96,16 +96,16 @@ Items are added to the TC agenda which are considered contentious or
are modifications of governance, contribution policy, TC membership,
or release process.

The intention of the agenda is not to approve or review all patches,
that should happen continuously on GitHub and be handled by the larger
The intention of the agenda is not to approve or review all patches.
That should happen continuously on GitHub and be handled by the larger
group of Collaborators.

Any community member or contributor can ask that something be added to
the next meeting's agenda by logging a GitHub Issue. Any Collaborator,
TC member or the moderator can add the item to the agenda by adding
the ***tc-agenda*** tag to the issue.

Prior to each TC meeting the moderator will share the Agenda with
Prior to each TC meeting, the moderator will share the Agenda with
members of the TC. TC members can add any items they like to the
agenda at the beginning of each meeting. The moderator and the TC
cannot veto or remove items.
Expand All @@ -117,19 +117,19 @@ participate in a non-voting capacity. These invitees currently are:
chosen by that project.

The moderator is responsible for summarizing the discussion of each
agenda item and send it as a pull request after the meeting.
agenda item and sending it as a pull request after the meeting.

## Consensus Seeking Process

The TC follows a
[Consensus Seeking](http://en.wikipedia.org/wiki/Consensus-seeking_decision-making)
decision making model.

When an agenda item has appeared to reach a consensus the moderator
When an agenda item has appeared to reach a consensus, the moderator
will ask "Does anyone object?" as a final call for dissent from the
consensus.

If an agenda item cannot reach a consensus a TC member can call for
If an agenda item cannot reach a consensus, a TC member can call for
either a closing vote or a vote to table the issue to the next
meeting. The call for a vote must be seconded by a majority of the TC
meeting. The call for a vote must be approved by a majority of the TC
or else the discussion will continue. Simple majority wins.
20 changes: 9 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ test-valgrind: all
$(PYTHON) tools/test.py --mode=release --valgrind sequential parallel message

test/gc/node_modules/weak/build/Release/weakref.node: $(NODE_EXE)
./$(NODE_EXE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
$(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
--directory="$(shell pwd)/test/gc/node_modules/weak" \
--nodedir="$(shell pwd)"

build-addons: $(NODE_EXE)
rm -rf test/addons/doc-*/
./$(NODE_EXE) tools/doc/addon-verify.js
$(NODE) tools/doc/addon-verify.js
$(foreach dir, \
$(sort $(dir $(wildcard test/addons/*/*.gyp))), \
./$(NODE_EXE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
$(NODE) deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \
--directory="$(shell pwd)/$(dir)" \
--nodedir="$(shell pwd)" && ) echo "build done"

Expand All @@ -113,8 +113,6 @@ test-all-valgrind: test-build

test-ci:
$(PYTHON) tools/test.py -p tap --logfile test.tap --mode=release message parallel sequential
$(MAKE) jslint
$(MAKE) cpplint

test-release: test-build
$(PYTHON) tools/test.py --mode=release
Expand All @@ -141,7 +139,7 @@ test-npm: $(NODE_EXE)
NODE_EXE=$(NODE_EXE) tools/test-npm.sh

test-npm-publish: $(NODE_EXE)
npm_package_config_publishtest=true ./$(NODE_EXE) deps/npm/test/run.js
npm_package_config_publishtest=true $(NODE) deps/npm/test/run.js

test-addons: test-build
$(PYTHON) tools/test.py --mode=release addons
Expand Down Expand Up @@ -173,10 +171,10 @@ out/doc/%: doc/%
cp -r $< $@

out/doc/api/%.json: doc/api/%.markdown $(NODE_EXE)
out/Release/$(NODE_EXE) tools/doc/generate.js --format=json $< > $@
$(NODE) tools/doc/generate.js --format=json $< > $@

out/doc/api/%.html: doc/api/%.markdown $(NODE_EXE)
out/Release/$(NODE_EXE) tools/doc/generate.js --format=html --template=doc/template.html $< > $@
$(NODE) tools/doc/generate.js --format=html --template=doc/template.html $< > $@

docopen: out/doc/api/all.html
-google-chrome out/doc/api/all.html
Expand Down Expand Up @@ -370,12 +368,12 @@ bench-http-simple:
benchmark/http_simple_bench.sh

bench-idle:
./$(NODE_EXE) benchmark/idle_server.js &
$(NODE) benchmark/idle_server.js &
sleep 1
./$(NODE_EXE) benchmark/idle_clients.js &
$(NODE) benchmark/idle_clients.js &

jslint:
./$(NODE_EXE) tools/eslint/bin/eslint.js src lib test --reset --quiet
$(NODE) tools/eslint/bin/eslint.js src lib test --rulesdir tools/eslint-rules --reset --quiet

CPPLINT_EXCLUDE ?=
CPPLINT_EXCLUDE += src/node_lttng.cc
Expand Down
Loading