Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7.2.1 proposal #10127

Merged
merged 195 commits into from
Dec 6, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
195 commits
Select commit Hold shift + click to select a range
e9c2ffd
deps: backport GYP fix to fix AIX shared suffix
Nov 14, 2016
16af467
build: add shared library support to AIX build
Nov 14, 2016
561b149
tools: allow test.py to use full paths of tests
reconbot Nov 19, 2016
3e5be7f
async_wrap: mode constructor/destructor to .cc
trevnorris Nov 23, 2016
5157a5c
async_wrap: make Initialize a static class member
trevnorris Nov 23, 2016
5379b9d
async_wrap: call destroy() callback in uv_idle_t
trevnorris Nov 23, 2016
44ae028
doc: fix <code> inside stability boxes
silverwind Nov 21, 2016
fc13cc6
test:refactor test-tls-hello-parser-failure
Trott Nov 21, 2016
2fb8257
test: fix flaky test-inspector
Trott Nov 21, 2016
65af114
doc: "util" is not needed to extend ES6 classes
Nov 22, 2016
77e145a
doc: clarify slashes-appending in url module
Trott Nov 22, 2016
a673d44
lib,tools: remove unneeded escaping of /
princejwesley Nov 14, 2016
53d1752
tools: Add no useless regex char class rule
princejwesley Nov 13, 2016
c7cd400
doc: fix crypto "decipher.setAAD()" typo
Amery2010 Nov 24, 2016
a8d84d5
doc: changed order of invocations in https.request() example.
Nov 15, 2016
6297b9a
doc: minor fixes event-loop-timers-and-nexttick.md
dankoster Oct 17, 2016
4971c3b
test: fix flaky test-dgram-empty-packet & friends
Trott Nov 21, 2016
2b7ecb5
test: exclude no_interleaved_stdio test for AIX
mhdawson Nov 23, 2016
80a3934
inspector: /json/version returns object, not array
bnoordhuis Nov 23, 2016
4fa84c9
doc: fix crypto Verify cut-n-paste from Sign
Amery2010 Nov 25, 2016
9554a97
https: name anonymous functions in https
pvsousalima Oct 21, 2016
b763a31
test: refactor test-child-process-exec-error
Trott Nov 24, 2016
2ee3543
tools: remove unneeded escaping in generate.js
Trott Nov 24, 2016
d51c856
test: fix test-http-status-reason-invalid-chars
saitoxu Nov 12, 2016
d31a411
test: fix test-tls-connect-address-family
mkamakura Nov 12, 2016
88464ac
benchmark: reformat code for clarity
Trott Nov 24, 2016
3f1b068
test: refactor common.js
Trott Nov 22, 2016
3b193de
test: fix flaky test-cluster-dgram-2
Trott Nov 24, 2016
d06f010
test: cleanup test-dgram-error-message-address
Goyapa Oct 5, 2016
e0e62d1
Revert "buffer: runtime deprecation of calling Buffer without new"
addaleax Nov 9, 2016
dcba250
test: refactor and fix test-buffer-bytelength
targos Nov 26, 2016
6ab920a
doc: add guide for maintaining V8
ofrobots Nov 24, 2016
5ae549c
url: fix -Warray-bounds warning
santigimeno Nov 22, 2016
cd10e1a
test: refactor and fix test-dns
targos Nov 26, 2016
e2db5c8
test: refactor test-net-pingpong
targos Nov 26, 2016
74c3283
test: fix test-buffer-slow
targos Nov 26, 2016
5c9aa18
constants: errors -> errno
bengl Oct 28, 2016
4d1e112
test: refactor and fix test-crypto
targos Nov 26, 2016
c35bf44
test: refactor test-crypto-binary-default
targos Nov 26, 2016
59aec82
test: refine test-http-status-reason-invalid-chars
Trott Nov 26, 2016
4c2ad8c
test: refactor test-preload
Trott Nov 26, 2016
70633f9
test: refactor test-util-inspect
Trott Nov 26, 2016
2e22fa0
doc: improve description of module `exports`
sam-github Nov 15, 2016
8c70f79
doc: clarify introductory module material
Trott Nov 27, 2016
371090d
build: Make configure file parseable on python3
kalrover Nov 17, 2016
9562391
test: add toASCII and toUnicode punycode tests
claudiorodriguez Nov 22, 2016
0bdd5ca
test: run cpplint on files in test/cctest
bnoordhuis Nov 24, 2016
0ccb2c3
test: refactor test-crypto-timing-safe-equal
targos Nov 29, 2016
c286312
test: replace assert.equal with assert.strictEqual
brad-decker Nov 29, 2016
9099664
repl: fix generator function preprocessing
not-an-aardvark Nov 30, 2016
0e36bec
test: refactor test-fs-non-number-arguments-throw
targos Nov 29, 2016
a0e25b2
doc: remove minor contradiction in debugger doc
Trott Nov 28, 2016
5c15a68
test: refactor test-debug-args
Trott Nov 28, 2016
f6c1f24
doc: update Collaborators list in README
Trott Nov 29, 2016
c948d90
doc: it’s -> its in api/child_process.md
drifkin Dec 2, 2016
3af4ef4
test: use strictEqual in test-debugger-client.js
bencripps Nov 30, 2016
eb369f6
test: use strictEqual in test-zlib-truncated
bencripps Nov 30, 2016
65cda7f
lib: use === in _http_server and _tls_wrap
walterbm Nov 29, 2016
a6377a9
test: increase coverage for lib/events.js
captainsafia Dec 1, 2016
13eea40
doc: rename writing_tests.md to writing-tests.md
captainsafia Dec 1, 2016
a857c9a
test: refactor test-vm-debug-context
makenova Dec 1, 2016
66554c7
test: refactor test-tls-ecdh
stpCollabr8nLstn Dec 1, 2016
f9386f2
test: update net-local-address-port
Dec 1, 2016
0cab6eb
test: test for http.request() invalid method error
ashtonian Dec 1, 2016
cdec174
doc: var => const in js code examples of addons.md
vsemozhetbyt Dec 2, 2016
44d9bc8
test: change equal to strictEqual
kzurawel Dec 1, 2016
78e188d
doc: clarify fs.createReadStream options
WesTyler Dec 1, 2016
d1da899
test: increase coverage for timers
lrlna Dec 1, 2016
c0a2862
test: var -> let/const, .equal -> .strictEqual
shiya Dec 1, 2016
d226418
doc: suggest Buffer.alloc instead of Buffer#fill
not-an-aardvark Dec 1, 2016
2e889cf
test: improve test for crypto pbkdf2
joyeecheung Dec 1, 2016
b4ec7d6
test: use const in test-crypto-pbkdf2
ghvaldez Dec 1, 2016
f9d79ef
test: use assert.strictEqual() cluster test
badhikari-godaddy Dec 1, 2016
4cb52ee
test: update to const iin cluster test
ghvaldez Dec 1, 2016
1f6f411
test: refactor test/parallel/test-fs-write-file.js
kylecarter Dec 1, 2016
87038bb
test: refactor test-fs-write-file
radelmann Dec 1, 2016
070370f
test: refactor test-fs-append-file-sync
ianwhitedeveloper Dec 1, 2016
d2e8927
test: refactor test-fs-append-file-sync
cByst Dec 1, 2016
eb0c1cd
test: refactor test-cluster-setup-master-argv
Dec 1, 2016
4cc813d
test: refactor test-cluster-setup-master-argv
Dec 1, 2016
f76bb2a
test: refactor test for crypto cipher/decipher iv
julianduque Dec 1, 2016
03b1c31
deps: cherry-pick 08377af from v8 upstream
fhinkel Nov 21, 2016
3e37673
test: refactor test-crypto-cipheriv-decipheriv
Dec 1, 2016
371ca03
test: refactor test-vm-static-this.js
dbradf Dec 1, 2016
b73f6b7
test: refactor test-child-process-spawn-error
stokingerl Dec 1, 2016
8f550df
test: refactor child-process-spawn-error
Dec 1, 2016
fb4b650
test: crypto-hash-stream-pipe use strict equal
mitchellst Dec 1, 2016
63fafb8
test: refactor test-crypto-hash-stream-pipe
matt-wilson-cc Dec 1, 2016
dc76a20
test: Updating vars to const and tsl server test
Dec 1, 2016
f3eb8b1
test: refactor test-tls-timeout-server-2
drifkin Dec 1, 2016
13cc6a0
test: var to const/let in test-tls-set-ciphers
rajatkumar Dec 1, 2016
3d35930
test: replace equal with strictEqual
julianduque Dec 1, 2016
57f060c
test: replace equal with strictEqual in crypto
julianduque Dec 1, 2016
295eb5a
test: swap var->const/let and equal->strictEqual
pmasucci Dec 1, 2016
2a8d293
test: Update to const and use regex for assertions
Intregrisist Dec 1, 2016
22b15f2
test: change var to const for require and strict equality checks
harishtejwani Dec 1, 2016
e070588
test: refactor test-child-process-stdio-inherit
WesTyler Dec 1, 2016
55b58ba
test: use assert.strictEqual in test-crypto-ecb
daniel-pittman Dec 1, 2016
cdc2909
test: refactor test-fs-read-stream-inherit.js
Dec 1, 2016
7697aee
test: use strictEqual in cwd-enoent
jdharmon Dec 1, 2016
c4fbdfa
doc: fix typo for `decipher.final`.
iamchenxin Dec 2, 2016
9b9fe8c
test: change var to const in test-tls-key-mismatch.js
bjdelro Dec 1, 2016
c4902e4
test: polish test-net-better-error-messages-listen
digitalinfinity Dec 2, 2016
ea1c4e1
test,url: improve escaping in url.parse
joyeecheung Dec 2, 2016
d87926a
test: assert.equal -> assert.strictEqual
Dec 1, 2016
a34e195
test: refactor test-dgram-exclusive-implicit-bind
cesarhq Dec 1, 2016
baa1acc
test: assert.equal -> assert.strictEqual
Dec 1, 2016
69077a1
test: refactor test-fs-append-file.js
radelmann Dec 4, 2016
3253954
meta: whitelist dotfiles in .gitignore
claudiorodriguez Aug 8, 2016
e1394ee
test: refactor test-tls-friendly-error-message.js
edsadr Dec 1, 2016
a771f21
test: use strictEqual in test-cli-eval-event.js
Dec 1, 2016
38ec8e4
test: improve test for crypto padding
julianduque Dec 1, 2016
36b8dd3
test: refactor test-crypto-padding.js
likhter Dec 1, 2016
14c0388
test: refactor test-tls-server-verify
Dec 1, 2016
cf3c635
test: refactor test-https-truncate
Dec 1, 2016
fd17ca7
test: refactor test-net-dns-custom-lookup
funkent Dec 1, 2016
c456ca3
test: refactor test-tls-destroy-whilst-write
cByst Dec 1, 2016
1eb5817
test: refactor test-vm-syntax-error-stderr.js
Dec 1, 2016
ae2bf0a
test: Changed assert.equal to assert.strictEqual
daniel-pittman Dec 1, 2016
5f3f54d
test: refactor test-http-dns-error
outsideris Dec 1, 2016
f62567b
test: use const instead of var in test-require-json.js
sarahmeyer Dec 1, 2016
ef7cbde
test: changed vars to const in test-net-better-error-messages-listen-…
anoff Dec 1, 2016
65c4483
test: var to const, assert.equal to assert.strictEqual in net
stv8 Dec 1, 2016
9fddf29
test: refactor test-repl-mode.js
cesarhq Dec 1, 2016
da8e3d9
test: refactor test-child-process-constructor
kathytruong Dec 1, 2016
318a2db
test: refactor test-cli-syntax
Dec 1, 2016
6d5ded5
test: refactor test-domain
Dec 1, 2016
278772a
test: refactor dgram-send-multi-buffer-copy
likhter Dec 1, 2016
bca587b
test: refactor test-crypto-certificate
Dec 1, 2016
a801ffb
test: refactor test-console
Dec 1, 2016
6502427
test: refactor test-require-exceptions
Dec 1, 2016
f900753
test: refactor test-crypto-ecb
michael6 Dec 1, 2016
346204d
doc: add link to `net.Server` in tls.md
drifkin Dec 4, 2016
ac8d212
debugger: refactor _debugger.js
Trott Nov 30, 2016
5a2b688
test: updated test-stream-pipe-unpipe-stream
Dec 2, 2016
0c745e3
buffer: convert offset & length to int properly
thefourtheye Nov 27, 2016
6087e36
repl: preprocess only for defaultEval
princejwesley Nov 22, 2016
64854f6
tools: add ESLint rule for assert.throws arguments
targos Nov 26, 2016
4bcda63
deps: upgrade npm to 3.10.10
iarna Nov 21, 2016
cef3a04
promise: better stack traces for --trace-warnings
addaleax Nov 9, 2016
573f9db
buffer: fix transcode for single-byte enc to ucs2
addaleax Nov 29, 2016
fa38032
child_process: name anonymous functions
brad-decker Dec 1, 2016
e502262
test: replace equal with strictEqual in test-freelist.js
edsadr Dec 1, 2016
64b2494
test: updated tls-getcipher test
Ethan-Arrowood Dec 1, 2016
2beba9e
test: refactor test-child-process-double-pipe
kingnebby Dec 1, 2016
dfa35d6
debugger: call `this.resume()` after `this.run()`
lance Dec 2, 2016
d085245
test: strictEqual in test-beforeexit-event.js
CodeTheInternet Dec 1, 2016
c05909b
test: adding strictEqual to test-buffer-indexof.js
ericgonzalez Dec 1, 2016
8b6c45f
test: update tls test to use const/let and common.mustCall
Dec 1, 2016
47b5f9e
test: modernize test-fs-truncate-fd
NigelKibodeaux Dec 1, 2016
6df3b7b
test: update repl tests
makenova Dec 1, 2016
7428d80
test: refactor test-cluster-worker-events
fmizzell Dec 1, 2016
79e6068
test: use strictEqual() domain-http
cdnadmin Dec 1, 2016
e8fc7fc
test: Added more validations to setEncoding
pauljlucas Dec 1, 2016
ae1ef53
test: fix buffer alloc tests
levsoroka Dec 1, 2016
fdc55ef
test: use const or let and assert.strictEqual
crokita Dec 1, 2016
7fd8833
test: update assert.equal() to assert.strictEqual()
Dec 1, 2016
990a19f
test: refactor test for net listen on fd0
julianduque Dec 1, 2016
256de35
test: add test for process.stdin.setRawMode()
Dec 1, 2016
5ad7e04
test: strictCompare and explcit inputs mprovement to test-buffer-slice
Dec 1, 2016
f55a63c
internal/util: move the case 'latin1'
JacksonTian Nov 16, 2016
34b8c86
test: Modernize test-tls-peer-certificate.js
ipotuzhnov Dec 1, 2016
51b77aa
doc: add people to cc for async_wrap
addaleax Nov 4, 2016
b9bd9a2
doc: remove Sam Roberts from release team
sam-github Nov 30, 2016
446bcbe
doc: correct it's vs. its usage
Trott Dec 2, 2016
bb677d4
test: strictEqual() and RegExp in test-buffer-fill.js
jscottchapman Dec 1, 2016
7c90244
test: implemented es6 conventions
ruggertech Dec 3, 2016
cbdc64e
test: test-file-write-stream3.js refactor
Dec 1, 2016
328cd93
test: changed assert.equal to assert.strictEqual
ssmereka Dec 1, 2016
8e27254
test: convert assert.equal to assert.strictEqual
Dec 1, 2016
2e36b2e
test: using const and strictEqual
ftatieze Dec 1, 2016
c0eb08a
test: use strictEqual instead of equal
uttampawar Dec 1, 2016
f68bfc5
test: replace equal with strictEqual
hackygolucky Dec 1, 2016
84813fd
test: refactor test-fs-read-stream-resume
Dec 1, 2016
1877ba3
test: refactor test-fs-symlink-dir-junction
walterbm Dec 1, 2016
ba7d1cf
test: refactor test-require-resolve
blugavere Dec 5, 2016
79b36e9
test: update test-net-connect-handle-econnrefused
itspun Dec 1, 2016
371a785
test: refactor test-signal-unregister
Dec 1, 2016
0a07bcc
test: refactor test-tls-connect-simple
russelltsherman Dec 1, 2016
d697ac4
test: use assert.strictEqual in test-cli-eval
NigelKibodeaux Dec 1, 2016
2f731e5
test: refactor test-child-fork-exec-path.js
hirabhullar Dec 1, 2016
8936d83
test: refactor test-fs-write.js
hirabhullar Dec 1, 2016
a0f6cc7
repl: avoid parsing division operator as regex
not-an-aardvark Dec 3, 2016
843b8c1
test: refactor test-domain-multi
WesTyler Dec 1, 2016
f531c96
test: changed assert.Equal to asset.strictEqual
pchinjr Dec 1, 2016
a3a664a
test: update test-stdout-to-file
Dec 1, 2016
0a4fc64
test: clean up tls junk test
dguo Dec 1, 2016
f5e622e
test: use assert.strictEqual and fix setTimeout
mattcphillips Dec 1, 2016
e718f20
test: refactor test-tls-ocsp-callback
kathytruong Dec 1, 2016
2f6d0c7
test: refactor test-require-extensions-main
darylthayilporch Dec 1, 2016
7144f81
test: add test for url module domainToAscii and domainToUnicode
darylthayilporch Dec 1, 2016
9726c82
test: update parallel/test-crypto-hash.js
Dec 1, 2016
3bc40ce
doc: remove repeated info onboarding.md
BethGriggs Nov 15, 2016
35d2846
2016-12-06, Version 7.2.1 (Current)
Fishrock123 Dec 6, 2016
c2cc11b
Working on v7.2.2
Fishrock123 Dec 6, 2016
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 .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ rules:
align-function-arguments: 2
align-multiline-assignment: 2
assert-fail-single-argument: 2
assert-throws-arguments: [2, { requireTwo: false }]
new-with-error: [2, Error, RangeError, TypeError, SyntaxError, ReferenceError]
no-useless-regex-char-class-escape: [2, { override: ['[', ']'] }]

# Global scoped method and vars
globals:
Expand Down
18 changes: 16 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Whitelist dotfiles
.*
!deps/**/.*
!test/fixtures/**/.*
!tools/eslint/**/.*
!tools/doc/node_modules/**/.*
!.editorconfig
!.eslintignore
!.eslintrc
!.gitattributes
!.github
!.gitignore
!.gitkeep
!.mailmap
!.remarkrc

core
vgcore.*
v8*.log
Expand All @@ -16,8 +32,6 @@ node
node_g
*.swp
.benchmark_reports
/.project
/.cproject
icu_config.gypi
.eslintcache

Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V7.md#7.2.0">7.2.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V7.md#7.2.1">7.2.1</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.2.0">7.2.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.1.0">7.1.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V7.md#7.0.0">7.0.0</a><br/>
</td>
Expand Down
74 changes: 55 additions & 19 deletions COLLABORATOR_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Collaborators or additional evidence that the issue has relevance, the
issue may be closed. Remember that issues can always be re-opened if
necessary.

[**See "Who to CC in issues"**](./onboarding-extras.md#who-to-cc-in-issues)

## Accepting Modifications

All modifications to the Node.js code and documentation should be
Expand All @@ -60,19 +62,20 @@ and work schedules. Trivial changes (e.g. those which fix minor bugs
or improve performance without affecting API or causing other
wide-reaching impact) may be landed after a shorter delay.

For non-breaking changes, if there is no disagreement amongst Collaborators, a
pull request may be landed given appropriate review. Where there is discussion
amongst Collaborators, consensus should be sought if possible. The
lack of consensus may indicate the need to elevate discussion to the
CTC for resolution (see below).

Breaking changes (that is, pull requests that require an increase in the
major version number, known as `semver-major` changes) must be elevated for
review by the CTC. This does not necessarily mean that the PR must be put onto
the CTC meeting agenda. If multiple CTC members approve (`LGTM`) the PR and no
Collaborators oppose the PR, it can be landed. Where there is disagreement among
CTC members or objections from one or more Collaborators, `semver-major` pull
requests should be put on the CTC meeting agenda.
For non-breaking changes, if there is no disagreement amongst
Collaborators, a pull request may be landed given appropriate review.
Where there is discussion amongst Collaborators, consensus should be
sought if possible. The lack of consensus may indicate the need to
elevate discussion to the CTC for resolution (see below).

Breaking changes (that is, pull requests that require an increase in
the major version number, known as `semver-major` changes) must be
elevated for review by the CTC. This does not necessarily mean that the
PR must be put onto the CTC meeting agenda. If multiple CTC members
approve (`LGTM`) the PR and no Collaborators oppose the PR, it can be
landed. Where there is disagreement among CTC members or objections
from one or more Collaborators, `semver-major` pull requests should be
put on the CTC meeting agenda.

All bugfixes require a test case which demonstrates the defect. The
test should *fail* before the change, and *pass* after the change.
Expand All @@ -96,20 +99,31 @@ The CTC should serve as the final arbiter where required.

## Landing Pull Requests

* Please never use GitHub's green ["Merge Pull Request"](https://help.github.com/articles/merging-a-pull-request/#merging-a-pull-request-using-the-github-web-interface) button.
* If you do, please force-push removing the merge.
* Reasons for not using the web interface button:
* The merge method will add an unnecessary merge commit.
* The rebase & merge method adds metadata to the commit title.
* The rebase method changes the author.
* The squash & merge method has been known to add metadata to the
commit title.
* If more than one author has contributed to the PR, only the
latest author will be considered during the squashing.

Always modify the original commit message to include additional meta
information regarding the change process:

- A `Reviewed-By: Name <email>` line for yourself and any
other Collaborators who have reviewed the change.
- Useful for @mentions / contact list if something goes wrong in the PR.
- Protects against the assumption that GitHub will be around forever.
- A `PR-URL:` line that references the *full* GitHub URL of the original
pull request being merged so it's easy to trace a commit back to the
conversation that led up to that change.
- A `Fixes: X` line, where _X_ either includes the *full* GitHub URL
for an issue, and/or the hash and commit message if the commit fixes
a bug in a previous commit. Multiple `Fixes:` lines may be added if
appropriate.
- A `Reviewed-By: Name <email>` line for yourself and any
other Collaborators who have reviewed the change.
- Useful for @mentions / contact list if something goes wrong in the PR.
- Protects against the assumption that GitHub will be around forever.

Review the commit message to ensure that it adheres to the guidelines
outlined in the [contributing](https://github.com/nodejs/node/blob/master/CONTRIBUTING.md#step-3-commit) guide.
Expand All @@ -119,7 +133,6 @@ See the commit log for examples such as
exactly how to format your commit messages.

Additionally:

- 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
Expand Down Expand Up @@ -224,23 +237,46 @@ 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.
* The commit message text must conform to the [commit message guidelines](../CONTRIBUTING.md#step-3-commit).

Time to push it:

```text
$ git push origin master
```
* Optional: Force push the amended commit to the branch you used to
open the pull request. If your branch is called `bugfix`, then the
command would be `git push --force-with-lease origin master:bugfix`.
When the pull request is closed, this will cause the pull request to
show the purple merged status rather than the red closed status that is
usually used for pull requests that weren't merged. Only do this when
landing your own contributions.

* Close the pull request with a "Landed in `<commit hash>`" comment. If
your pull request shows the purple merged status then you should still
add the "Landed in <commit hash>..<commit hash>" comment if you added
multiple commits.

* `./configure && make -j8 test`
* `-j8` builds node in parallel with 8 threads. Adjust to the number
of cores or processor-level threads your processor has (or slightly
more) for best results.

### I Just Made a Mistake

With `git`, there's a way to override remote trees by force pushing
* Ping a CTC member.
* `#node-dev` on freenode
* 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 Node.js
branch within 10 minutes from your original push. If someone else
pushes to the branch or the 10 minute period passes, consider the
commit final.
* Use `--force-with-lease` to minimize the chance of overwriting
someone else's change.
* Post to `#node-dev` (IRC) if you force push.

### Long Term Support

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ $ git rebase upstream/master

Bug fixes and features **should come with tests**. Add your tests in the
`test/parallel/` directory. For guidance on how to write a test for the Node.js
project, see this [guide](./doc/guides/writing_tests.md). Looking at other tests
project, see this [guide](./doc/guides/writing-tests.md). Looking at other tests
to see how they should be structured can also help.

To run the tests on Unix / OS X:
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,8 @@ CPPLINT_FILES = $(filter-out $(CPPLINT_EXCLUDE), $(wildcard \
src/*.h \
test/addons/*/*.cc \
test/addons/*/*.h \
test/cctest/*.cc \
test/cctest/*.h \
tools/icu/*.cc \
tools/icu/*.h \
))
Expand Down
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ more information about the governance of the Node.js project, see
**Claudio Rodriguez** &lt;cjrodr@yahoo.com&gt;
* [danbev](https://github.com/danbev) -
**Daniel Bevenius** &lt;daniel.bevenius@gmail.com&gt;
* [domenic](https://github.com/domenic) -
**Domenic Denicola** &lt;d@domenic.me&gt;
* [eljefedelrodeodeljefe](https://github.com/eljefedelrodeodeljefe) -
**Robert Jefe Lindstaedt** &lt;robert.lindstaedt@gmail.com&gt;
* [estliberitas](https://github.com/estliberitas) -
Expand Down Expand Up @@ -337,8 +335,6 @@ more information about the governance of the Node.js project, see
**Yorkie Liu** &lt;yorkiefixer@gmail.com&gt;
* [yosuke-furukawa](https://github.com/yosuke-furukawa) -
**Yosuke Furukawa** &lt;yosuke.furukawa@gmail.com&gt;
* [zkat](https://github.com/zkat) -
**Kat Marchán** &lt;kzm@sykosomatic.org&gt;

Collaborators (which includes CTC members) follow the
[COLLABORATOR_GUIDE.md](./COLLABORATOR_GUIDE.md) in maintaining the Node.js
Expand All @@ -362,15 +358,12 @@ Releases of Node.js and io.js will be signed with one of the following GPG keys:
`C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8`
* **Rod Vagg** &lt;rod@vagg.org&gt;
`DD8F2338BAE7501E3DD5AC78C273792F7D83545D`
* **Sam Roberts** &lt;octetcloud@keybase.io&gt;
`0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93`

The full set of trusted release keys can be imported by running:

```shell
gpg --keyserver pool.sks-keyservers.net --recv-keys 9554F04D7259F04124DE6B476D5A82AC7E37093B
gpg --keyserver pool.sks-keyservers.net --recv-keys 94AE36675C464D64BAFA68DD7434390BDBE9B9C5
gpg --keyserver pool.sks-keyservers.net --recv-keys 0034A06D9D9B0064CE8ADF6BF1747F4AD2306D93
gpg --keyserver pool.sks-keyservers.net --recv-keys FD3A5288F042B6850C66B31F09FE44734EB7990E
gpg --keyserver pool.sks-keyservers.net --recv-keys 71DCFD284A79C3B38668286BC97EC7A07EDE3FC1
gpg --keyserver pool.sks-keyservers.net --recv-keys DD8F2338BAE7501E3DD5AC78C273792F7D83545D
Expand Down
20 changes: 14 additions & 6 deletions benchmark/_http-benchmarkers.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ function AutocannonBenchmarker() {
}

AutocannonBenchmarker.prototype.create = function(options) {
const args = ['-d', options.duration, '-c', options.connections, '-j', '-n',
`http://127.0.0.1:${options.port}${options.path}` ];
const args = [
'-d', options.duration,
'-c', options.connections,
'-j',
'-n',
`http://127.0.0.1:${options.port}${options.path}`
];
const child = child_process.spawn(this.autocannon_exe, args);
return child;
};
Expand All @@ -43,8 +48,12 @@ function WrkBenchmarker() {
}

WrkBenchmarker.prototype.create = function(options) {
const args = ['-d', options.duration, '-c', options.connections, '-t', 8,
`http://127.0.0.1:${options.port}${options.path}` ];
const args = [
'-d', options.duration,
'-c', options.connections,
'-t', 8,
`http://127.0.0.1:${options.port}${options.path}`
];
const child = child_process.spawn('wrk', args);
return child;
};
Expand All @@ -59,8 +68,7 @@ WrkBenchmarker.prototype.processResults = function(output) {
}
};

const http_benchmarkers = [ new WrkBenchmarker(),
new AutocannonBenchmarker() ];
const http_benchmarkers = [new WrkBenchmarker(), new AutocannonBenchmarker()];

const benchmarkers = {};

Expand Down
18 changes: 15 additions & 3 deletions benchmark/arrays/var-int.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
'use strict';
var common = require('../common.js');

var types = [
'Array',
'Buffer',
'Int8Array',
'Uint8Array',
'Int16Array',
'Uint16Array',
'Int32Array',
'Uint32Array',
'Float32Array',
'Float64Array'
];

var bench = common.createBenchmark(main, {
type: ['Array', 'Buffer', 'Int8Array', 'Uint8Array', 'Int16Array',
'Uint16Array', 'Int32Array', 'Uint32Array', 'Float32Array',
'Float64Array'],
type: types,
n: [25]
});

Expand Down
18 changes: 15 additions & 3 deletions benchmark/arrays/zero-float.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
'use strict';
var common = require('../common.js');

var types = [
'Array',
'Buffer',
'Int8Array',
'Uint8Array',
'Int16Array',
'Uint16Array',
'Int32Array',
'Uint32Array',
'Float32Array',
'Float64Array'
];

var bench = common.createBenchmark(main, {
type: ['Array', 'Buffer', 'Int8Array', 'Uint8Array', 'Int16Array',
'Uint16Array', 'Int32Array', 'Uint32Array', 'Float32Array',
'Float64Array'],
type: types,
n: [25]
});

Expand Down
18 changes: 15 additions & 3 deletions benchmark/arrays/zero-int.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
'use strict';
var common = require('../common.js');

var types = [
'Array',
'Buffer',
'Int8Array',
'Uint8Array',
'Int16Array',
'Uint16Array',
'Int32Array',
'Uint32Array',
'Float32Array',
'Float64Array'
];

var bench = common.createBenchmark(main, {
type: ['Array', 'Buffer', 'Int8Array', 'Uint8Array', 'Int16Array',
'Uint16Array', 'Int32Array', 'Uint32Array', 'Float32Array',
'Float64Array'],
type: types,
n: [25]
});

Expand Down
2 changes: 1 addition & 1 deletion benchmark/buffers/buffer-base64-decode.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const bench = common.createBenchmark(main, {});
function main(conf) {
const s = 'abcd'.repeat(8 << 20);
s.match(/./); // Flatten string.
assert.equal(s.length % 4, 0);
assert.strictEqual(s.length % 4, 0);
const b = Buffer.allocUnsafe(s.length / 4 * 3);
b.write(s, 0, s.length, 'base64');
bench.start();
Expand Down
24 changes: 19 additions & 5 deletions benchmark/buffers/buffer-indexof.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,26 @@ var common = require('../common.js');
var fs = require('fs');
const path = require('path');

const searchStrings = [
'@',
'SQ',
'10x',
'--l',
'Alice',
'Gryphon',
'Panther',
'Ou est ma chatte?',
'found it very',
'among mad people',
'neighbouring pool',
'Soo--oop',
'aaaaaaaaaaaaaaaaa',
'venture to go near the house till she had brought herself down to',
'</i> to the Caterpillar'
];

var bench = common.createBenchmark(main, {
search: ['@', 'SQ', '10x', '--l', 'Alice', 'Gryphon', 'Panther',
'Ou est ma chatte?', 'found it very', 'among mad people',
'neighbouring pool', 'Soo--oop', 'aaaaaaaaaaaaaaaaa',
'venture to go near the house till she had brought herself down to',
'</i> to the Caterpillar'],
search: searchStrings,
encoding: ['undefined', 'utf8', 'ucs2', 'binary'],
type: ['buffer', 'string'],
iter: [1]
Expand Down
Loading