Rich Trott
daf3ef66ef
doc: explain path.format() algorithm
...
PR-URL: https://github.com/nodejs/node/pull/5688
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Fixes: https://github.com/nodejs/node/issues/2305
2016-03-21 13:07:06 -07:00
Kirill Fomichev
f6d4982aa0
doc: clarify type of first argument in zlib
...
The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.
PR-URL: https://github.com/nodejs/node/pull/5685
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 13:07:06 -07:00
Daijiro Wachi
07e71b2d44
doc: fix typo in api/addons
...
PR-URL: https://github.com/nodejs/node/pull/5678
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 13:07:06 -07:00
Stefano Vozza
c6dc56175b
doc: remove non-standard use of hyphens
...
Identifies the non-idiomatic usages of the '-' character
and either removes them or replaces them with colons.
Fixes: https://github.com/nodejs/node/issues/5672
R-URL: https://github.com/nodejs/node/pull/5677
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
2016-03-21 13:07:05 -07:00
Claudio Rodriguez
4c92316972
doc: add fansworld-claudio to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/5668
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-03-21 13:07:05 -07:00
Glen Keane
0a6e883f85
doc: add thekemkid to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/5667
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-03-21 13:07:05 -07:00
Andreas Madsen
39c7d8a972
doc: add AndreasMadsen to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/5666
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Glen Keane <glenkeane.94@gmail.com >
2016-03-21 13:07:05 -07:00
Jeremy Whitlock
eec3008970
doc: add whitlockjc to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/5665
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-03-21 13:07:04 -07:00
Benjamin Gruenbaum
e5f254d83c
doc: add benjamingr to collaborator list
...
Add benjamingr to collaborator list.
Related https://github.com/nodejs/node/issues/5064
PR-URL: https://github.com/nodejs/node/pull/5664
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-03-21 13:07:04 -07:00
Phillip Johnsen
3f718643c9
doc: add phillipj to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/5663
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Jeremy Whitlock <jwhitlock@apache.org >
2016-03-21 13:07:04 -07:00
Matt Loring
2d5527fe69
doc: add mattloring to collaborators
...
PR-URL: https://github.com/nodejs/node/pull/5662
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-03-21 13:07:04 -07:00
Robert C Jensen
51763462bc
doc: include typo in 'unhandledRejection' example
...
Reintroduces an intentional typo in a process doc example.
Fixes: https://github.com/nodejs/node/issues/5644
PR-URL: https://github.com/nodejs/node/pull/5654
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-03-21 13:07:04 -07:00
Steve Mao
cae5da2f0a
doc: fix markdown links
...
Fixes: https://github.com/nodejs/node/issues/5322
PR-URL: https://github.com/nodejs/node/pull/5641
Reviewed-By: Robert Lindstädt <robert.lindstaedt@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-21 13:07:03 -07:00
Johan Bergström
b1b17efcb7
doc: move build instructions to a new document
...
This makes README.md easier to consume and likely less
confusing for people that get it as part of a binary download.
PR-URL: https://github.com/nodejs/node/pull/5634
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 13:07:03 -07:00
Myles Borins
38d7b0b6ea
docs: update link to iojs+release ci job
...
We recently sandboxed the release CI jobs to their own Jenkins instance
This commit updates the links found in `doc/releases.md` to point
people in the right direction.
PR-URL: https://github.com/nodejs/node/pull/5632
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 13:07:03 -07:00
axvm
13a8bde1fa
doc: fix dns.resolveCname description typo
...
PR-URL: https://github.com/nodejs/node/pull/5622
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-21 13:07:03 -07:00
Sakthipriyan Vairamani
deec8bc5f5
tools: reduce verbosity of cpplint
...
Every time `make test` is run, the cpplint prints the file it
successfully linted. None of the other linters in the project does
that. This patch simply removes the "Done processing" message from the
cpplint.
PR-URL: https://github.com/nodejs/node/pull/5578
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 13:07:02 -07:00
Michaël Zasso
1faea43c40
doc: fix typo in fs.symlink
...
PR-URL: https://github.com/nodejs/node/pull/5560
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-03-21 13:07:02 -07:00
Michael Barrett
98a1bb6989
doc: document directories in test directory
...
PR-URL: https://github.com/nodejs/node/pull/5557
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-03-21 13:07:02 -07:00
Stefan Budeanu
9058fc0383
build: correctly detect clang version
...
Use the "Apple LLVM" version number since the banner has changed in
newer versions of Mac OS X, resulting in the obsolete assembler path
being used to compile OpenSSL.
PR-URL: https://github.com/nodejs/node/pull/5553
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-03-21 13:07:02 -07:00
Rich Trott
64d5752711
tools: enable no-self-assign ESLint rule
...
Enabled no-self-assign rule in ESLint.
This required one change in a benchmark file. Changed a loop (that is
outside of the benchmark itself, so performance is not critical) from a
for loop that repeats a string to use String.prototype.repeat() instead.
While at it, took the opportunity to const-ify the benchmark file.
Also moved the "Strict" section in the .eslintrc to match where it is in
the ESLint documentation. Updated the link for Strict rules to point to
the ESLint website rather than the GitHub-hosted code.
PR-URL: https://github.com/nodejs/node/pull/5552
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-21 13:07:01 -07:00
silverwind
04d3f8a741
doc: update link green to match homepage
...
Also fixed a minor color issue with :focus on the title.
PR-URL: https://github.com/nodejs/node/pull/5548
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-03-21 13:07:01 -07:00
Wyatt Preul
063f22f1f0
test: check memoryUsage properties The properties on memoryUsage were not checked before, this commit checks them.
...
PR-URL: #5546
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-03-21 13:07:01 -07:00
Rich Trott
7a0fcfc127
test: remove broken debugger scenarios
...
`test-debug-break-on-uncaught` was hanging on the domain and parse error
scenarios. These tests are not run in CI and may have been broken
for a very long time.
Refs: https://github.com/nodejs/node/issues/3156
Refs: https://github.com/nodejs/node/commit/c16963b9
PR-URL: https://github.com/nodejs/node/pull/5532
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Rod Vagg <r@va.gg >
2016-03-21 13:07:01 -07:00
Robert Jefe Lindstaedt
1165ecc6f7
build: update Node.js logo on Win installer
...
also change stripe color to RGB 68 136 62
PR-URL: https://github.com/nodejs/node/pull/5531
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Rod Vagg <rod@vagg.org >
2016-03-21 13:07:01 -07:00
firedfox
4990ddad72
build: remove --quiet from eslint invocation
...
All eslint rules are configured to report as errors. Remove useless
--quiet flag from eslint invocation in Makefile and vcbuild.bat.
PR-URL: https://github.com/nodejs/node/pull/5519
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-21 13:07:00 -07:00
Rich Trott
131ed494e2
tools: enable no-extra-parens in ESLint
...
Enable `no-extra-parens`. This rule restricts the use of parentheses to
only where they are necessary. It is set to be restricted to report only
function expressions.
PR-URL: https://github.com/nodejs/node/pull/5512
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 13:07:00 -07:00
Kári Tristan Helgason
1afab6ac9c
doc: add clarification on birthtime in fs stat
...
Clarifies the possibility of birthtime in the fs stat
object being greater than atime or mtime when not available
in the filesystem (see issue for further info).
Fixes: https://github.com/nodejs/node/issues/2222
PR-URL: https://github.com/nodejs/node/pull/5479
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 13:07:00 -07:00
Evan Lucas
d871ae2349
doc: fix typo in child_process documentation
...
TSCP should be TCP
PR-URL: https://github.com/nodejs/node/pull/5474
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-03-21 13:07:00 -07:00
ronkorving
97a18bdbad
doc: update NAN urls in ROADMAP.md and doc/releases.md
...
PR-URL: https://github.com/nodejs/node/pull/5472
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 13:06:59 -07:00
Rich Trott
ba9ad2662c
test: apply Linux workaround to Linux only
...
Do not try Ubuntu/SUSE/Debian-specific hostnames for IPv6 localhost
unless we are on Linux.
Fixes: https://github.com/nodejs/node/issues/4546
PR-URL: https://github.com/nodejs/node/pull/5471
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-03-21 13:06:59 -07:00
Rich Trott
4aa2c03d31
test: increase timeout for test-tls-fast-writing
...
Increase timeout for test from 500ms to 1000ms so busy slow machines
don't produce false positives.
Fixes: https://github.com/nodejs/node/issues/4964
PR-URL: https://github.com/nodejs/node/pull/5466
Reviewed-By: Alexis Campailla <orangemocha@nodejs.org >
2016-03-21 13:06:59 -07:00
Rich Trott
d4a1fc7acd
doc: add Testing WG
...
Add the proposed Testing WG. WORKING_GROUPS.md indicates that opening
a pull request to that file is the way to request that a charter be
ratified by the TC. So, that's what this is.
The charter document is currently:
https://github.com/nodejs/testing/blob/master/Charter.md
PR-URL: https://github.com/nodejs/node/pull/5461
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Alexis Campailla <orangemocha@nodejs.org >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2016-03-21 12:58:00 -07:00
Brian White
1642078580
doc: fix crypto function indentation level
...
PR-URL: https://github.com/nodejs/node/pull/5460
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-21 12:58:00 -07:00
Rich Trott
b4ef644ce4
test: retry on known SmartOS bug
...
There is a known issue with SmartOS that is generally worked around
in `tools/test.py`. However, a more robust workaround is required for
some tests that open many network connections.
`test-http-regr-gh-2928` is one such test.
Fixes: https://github.com/nodejs/node/issues/5445
Refs: https://github.com/nodejs/node/pull/3941
PR-URL: https://github.com/nodejs/node/pull/5454
Reviewed-By: Fedor Indutny <fedor@indutny.com >
2016-03-21 12:58:00 -07:00
Rich Trott
03b20a73b9
benchmark: add benchmark for buf.compare()
...
There is a benchmark for the class method `Buffer.compare()` but not for
the instance method `buf.compare()`. This adds that benchmark.
I used this to confirm a performance regression in an implementation I
was considering. While the implementation was a bust, it does seem like
the benchmark is worthwhile.
The benchmark is nearly identical to the existing `Buffer.compare()`
benchmark except, of course, that it calls `buf.compare()` instead.
PR-URL: https://github.com/nodejs/node/pull/5441
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-03-21 12:57:59 -07:00
Santiago Gimeno
d681bf24b5
test: fix flaky child-process-fork-regr-gh-2847
...
The test is still failing sometimes because when trying to establish the
second connection, the server is already closed. Bring back the code
that handled this case and was removed in the last refactoring of the
test. Also ignore the errors that might happen when sending the second
handle to the worker because it may already have exited.
PR-URL: https://github.com/nodejs/node/pull/5422
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-03-21 12:57:59 -07:00
Fedor Indutny
97e95d04c2
crypto: PBKDF2 works with int not ssize_t
...
Change types of all PBKDF2 params to `int` as they are `int` in `evp.h`.
Check that `raw_keylen` fits into `int` before passing it to OpenSSL.
Fix : #5396
PR-URL: https://github.com/nodejs/node/pull/5397
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp >
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
2016-03-21 12:57:59 -07:00
nettofarah
dff7091fce
url: group slashed protocols by protocol name
...
Reorder slashed protocols so they are grouped by protocol name. This is
done so it doesn't look like we're duplicating protocol names at the
bottom of the list.
PR-URL: https://github.com/nodejs/node/pull/5380
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-03-21 12:57:59 -07:00
Rich Trott
b4fbe04514
test: fix test-timers.reliability on OS X
...
Fixes: https://github.com/nodejs/node/issues/4404
PR-URL: https://github.com/nodejs/node/pull/5379
Reviewed-By: Julien Gilli <jgilli@fastmail.fm >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-03-21 12:57:59 -07:00
Rich Trott
d4b9f02fdc
tools: apply custom buffer lint rule to /lib only
...
The lint rule is there to avoid a circular-dependency issue that only
applies to `/lib`. In preparation for linting `/benchmark`, apply that
rule to `/lib` only to avoid churn in `/benchmark`.
Refs: https://github.com/nodejs/node/issues/3983#issuecomment-158956113
PR-URL: https://github.com/nodejs/node/pull/5371
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-21 12:57:59 -07:00
Alexander Makarenko
2b0c7ad985
doc: fix links in tls, cluster docs
...
Fix missing links described in #5322 .
PR-URL: https://github.com/nodejs/node/pull/5364
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-21 12:57:58 -07:00
Evan Lucas
901dbabea6
doc: fix relative links in net docs
...
They were not being processed as relative links.
PR-URL: https://github.com/nodejs/node/pull/5358
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-03-21 12:57:58 -07:00
Rich Trott
6867bed4c4
tools: enable additional lint rules
...
Enable additional likely-uncontroversial lint rules:
* `comma-dangle` set to prohibit dangling commas on objects and arrays
that are defined on a single line. Multi-line definitions can use or
omit a trailing comma.
* `no-unused-labels` Prohibits defining a label that is not used.
* `no-path-concat` Prohibits string-concatenation using i`__dirname` and
`__filename`. Use `path.join()`, `path.resolve()`, or template strings
instead.
* `no-new-symbol` disallow use of `new` operator with `Symbol` object.
Violating this rule would result in a `TypeError` at runtime.`
PR-URL: https://github.com/nodejs/node/pull/5357
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
2016-03-21 12:57:58 -07:00
Jeremiah Senkpiel
99269ffdbf
test: increase timeouts on some unref timers tests
...
Fix: https://github.com/nodejs/node/issues/5351
Refs: https://github.com/nodejs/node/pull/4561
PR-URL: https://github.com/nodejs/node/pull/5352
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
2016-03-21 12:57:58 -07:00
Trevor Norris
85f927a774
test: prevent flakey test on pi2
...
Looping rapidly and making new connections causes problems on pi2.
Instead create a new connection when an old connection has already been
made. Running a stress test of 600 times and they all passed.
Fixes: https://github.com/nodejs/node/issues/5302
PR-URL: https://github.com/nodejs/node/pull/5537
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Alexis Campailla <orangemocha@nodejs.org >
2016-03-21 12:57:58 -07:00
Rich Trott
c86902d800
test: mitigate flaky test-http-agent
...
Reduce number of clients from 100 to 16 as Raspberry Pi in CI starts to
exhibit flakiness around 22 or so clients.
Fixes: https://github.com/nodejs/node/issues/5184
PR-URL: https://github.com/nodejs/node/pull/5346
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-03-21 12:57:57 -07:00
Rich Trott
f242e62817
test: remove flaky designation from fixed tests
...
`test-tls-ticket-cluster` and `test-vm-syntax-error-stderr` are no
longer flaky.
Refs: https://github.com/nodejs/node/issues/2510
Refs: https://github.com/nodejs/node/issues/2660
PR-URL: https://github.com/nodejs/node/pull/5459
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-03-21 12:57:57 -07:00
Santiago Gimeno
a39aacf035
test: refactor test-dgram-udp4
...
This test was sometimes timing out in `OS X`. Remove the timeout and
clean up the code.
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/5339
2016-03-21 12:57:57 -07:00
Rich Trott
5e6b7605ee
tools: add Node.js-specific ESLint rules
...
Add these rules:
* no-restricted-modules: See
http://eslint.org/docs/rules/no-restricted-modules . It has been
configured to prohibit the use of the deprecated `sys` and `_linklist`
modules.
* no-new-require: See http://eslint.org/docs/rules/no-new-require
* no-mixed-requires: http://eslint.org/docs/rules/no-mixed-requires
PR-URL: https://github.com/nodejs/node/pull/5320
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-03-21 12:57:57 -07:00