- Mar 03, 2016
-
-
Claudio Rodriguez authored
Changes the parsing of parameter types in the doc html gen Links to either MDN or nodejs docs depending on type See #4350 PR-URL: https://github.com/nodejs/node/pull/4741 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Chris Dickinson <chris@neversaw.us> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Alexander Makarenko authored
Add missing links, remove duplicate ones, fix constants and functions styling. Minor lexical corrections. PR-URL: https://github.com/nodejs/node/pull/5009 Reviewed-By:
Stephen Belanger <admin@stephenbelanger.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
piepmatz authored
PR-URL: https://github.com/nodejs/node/pull/5007 Reviewed-By:
Stephen Belanger <admin@stephenbelanger.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Benjamin Gruenbaum authored
This commit replaces multiple usages of `function(){}` with ES2015 arrow functions in places it was forgotten earlier. The goal is to make the docs more consistent since other functions were already replaced with ES2015 arrows. In addition, it fixes invalid syntax in modules.markdown to valid syntax as well as remove `var self = this` pattern usages in the code where they are now possible to avoid through arrow functions. PR-URL: https://github.com/nodejs/node/pull/4832 Reviewed-By:Roman Reiss <me@silverwind.io> Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Alexander Makarenko authored
Sort links in lexical order PR-URL: https://github.com/nodejs/node/pull/5076 Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Roman Klauke <romaaan.git@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Michaël Zasso authored
PR-URL: https://github.com/nodejs/node/pull/5008 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Stephen Belanger <admin@stephenbelanger.com>
-
Alexander Makarenko authored
Add links style consistency. PR-URL: https://github.com/nodejs/node/pull/5001 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Roman Klauke <romaaan.git@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Timothy Gu authored
- Maintain alphabetical order - Add documentation for `offset` and `value` where absent - Add return value documentation where absent - Remove redundant "Optional" - Move defaults to parameter enumerations PR-URL: https://github.com/nodejs/node/pull/4873 Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Jimb Esser authored
PR-URL: https://github.com/nodejs/node/pull/4863 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Michael Theriot authored
PR-URL: https://github.com/nodejs/node/pull/4708 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Karl Skomski authored
PR-URL: https://github.com/nodejs/node/pull/3373 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Robert Jefe Lindstaedt authored
This changes the code blocks from 4-space indentation to ``` fences for better syntax highlighting and future linting support. Minor On-the-fly changes for typos and highlight breaking markdown have been made. JSON-Style objects have been changed so their closing bracket is on the same line as the opening one. Known issues: * Not every JSON / object notation has been improved. Should make another run for this. * Some example functions break hightlighting due to various combinations of brackets. However changing them means leaving the code style. Fixes: https://github.com/nodejs/node/issues/4726 PR-URL: https://github.com/nodejs/node/pull/4733 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Rich Trott authored
SmartOS does not line buffer stderr by default, or at least that is the behavior on the Node project Jenkins server. Force line buffering. This resolves the flakiness observed on SmartOS for test-debug-signal-cluster. PR-URL: https://github.com/nodejs/node/pull/3701 Fixes: https://github.com/nodejs/node/issues/2476 Refs: https://github.com/nodejs/node/pull/3615 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Roman Klauke authored
The child_process docs contained some links, but some links were somehow "broken". `make doc` couldn't translate them and left `[]` in the compiled HTML. PR-URL: https://github.com/nodejs/node/pull/4654 Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Ryan Sobol authored
PR-URL: https://github.com/nodejs/node/pull/4504 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Sam Roberts <vieuxtech@gmail.com>
-
Richard Sun authored
The docs were recently refactored, and some "above" and "below" references were no longer accurate. This commit removes many such references, and replaces others with links. PR-URL: https://github.com/nodejs/node/pull/4499 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Shigeki Ohtsu authored
tools/doc/html.js in make doc throws an error in checking a heading level in the markdown file. PR-URL: https://github.com/nodejs/node/pull/4537 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Shigeki Ohtsu authored
The description of "[start[, end]]" in the doc shows warning of "invalid param" when parsing an optional parameter in the section. This fixes insufficient trimming of right square brackets. PR-URL: https://github.com/nodejs/node/pull/4537 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
James M Snell authored
General improvements to crypto.markdown including new and revised examples. PR-URL: https://github.com/nodejs/node/pull/4435 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
James M Snell authored
General improvements to child_process.markdown PR-URL: https://github.com/nodejs/node/pull/4383 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
James M Snell authored
General improvements to buffer.markdown including new examples, a few fixes to existing examples, consistent formatting and others PR-URL: https://github.com/nodejs/node/pull/4370 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
James M Snell authored
General improvements to the documentation in addons.markdown. PR-URL: https://github.com/nodejs/node/pull/4320 Reviewed-By:
Matteo Collina <matteo.collina@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Kat Marchán authored
PR-URL: https://github.com/nodejs/node/pull/5335 Reviewed-By:
Myles Borins <mborins@us.ibm.com>
-
Kat Marchán authored
PR-URL: https://github.com/nodejs/node/pull/5245 Reviewed-By:
Myles Borins <mborins@us.ibm.com>
-
Ali Ijaz Sheikh authored
This patch exposes a new flag perf_basic_prof_only_functions (disabled by default) that can be useful for the use-case of running always-on profiling on long running production jobs. Original commit https://github.com/v8/v8/commit/9da3ab661fe7190fcb99bd99db30cf95913d3659 New flag --perf_basic_prof_only_functions Restricts linux perf-event code range reporting to functions only (i.e. on stubs.) While this makes the gathered ticks less accurate, it reduces the growth of the /tmp/perf-${pid}.map file. BUG=v8:3453 R=hablich@chromium.org,danno@chromium.org LOG=N Review URL: https://codereview.chromium.org/1292743002 Cr-Commit-Position: refs/heads/master@{#30179} PR-URL: https://github.com/nodejs/node/pull/3609 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
cjihrig authored
This commit brings the process.send() signature into sync with the child_process.send() documentation. Specifically, this commit adds the callback argument and return type to the docs. PR-URL: https://github.com/nodejs/node/pull/5284 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Rich Trott authored
`test-http-regr-gh-2928` is flay on SmartOS in CI. Refs: https://github.com/nodejs/node/issues/5264 PR-URL: https://github.com/nodejs/node/pull/5280 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Ben Noordhuis authored
Direct high-level discussion and questions about IP and trademark policy to the TSC repository. PR-URL: https://github.com/nodejs/node/pull/5227 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Rod Vagg <r@va.gg>
-
Rich Trott authored
Add the following (seemingly non-controversial) ESLint rules: * `constructor-super`: Verify calls of `super()` in constructors. Flags situations that will result in runtime errors. Since we do not have 100% code coverage in tests, linting for runtime errors is useful. * `no-class-assign`: Flags cases where a class declaration is overwritten via variable assignment later. It is difficult to think of a situation where this is not an error, and easy to think of situations (particularly in lengthy test files) where it could come up. * `no-const-assign`: Assigning to a const after declaration is a runtime error. * `no-dupe-class-members`: Declare a class member twice, then only the second one counts. This is analogous to redeclaring a variable. * `no-this-before-super`: Using `this` or `super` in a derived class before a call to `super()` is a `ReferenceError` PR-URL: https://github.com/nodejs/node/pull/5210 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Rich Trott authored
Ref: https://github.com/nodejs/node/issues/5184 PR-URL: https://github.com/nodejs/node/pull/5209 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Roman Klauke <romaaan.git@gmail.com>
-
Rich Trott authored
PR-URL: https://github.com/nodejs/node/pull/5193 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Rich Trott authored
Fixes: https://github.com/nodejs/node/issues/3544 PR-URL: https://github.com/nodejs/node/pull/5192 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
-
Rich Trott authored
This change adds ESLint rules that meet two criteria: * recommended by ESLint * require no code changes These rules are: * `no-func-assign`: Disallow overwriting a function that was written as a function declaration. * `no-negated-in-lhs`: Disallow negated left operand of `in` operator. It prevents `if(!a in b)` when `if(!(a in b))` is intended. * `no-obj-calls`: Disallow global object function calls. It prevents errors like `JSON()` and `Math()`. to exercise the code in tests or whatever, it can sneak in. * `use-isnan`: Prevents errors like `if (foo == NaN)` * `no-octal`: Disallows confusing constructs like `var num = 071;` * `no-delete-var`: Delete works on properties, not variables. Disallows `delete foo`. PR-URL: https://github.com/nodejs/node/pull/5188 Reviewed-By:
targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-
Michael Dawson authored
fs watch currently needs special configuration on AIX and we want to improve under https://github.com/nodejs/node/issues/5085. Tests are disabled so CI can be green and we can spot other regressions until this work is complete. test-async-wrap-check-providers does not aim to test fs watch but part of the test uses it so that part has been skipped for AIX PR-URL: https://github.com/nodejs/node/pull/5187 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Noah Rose authored
PR-URL: https://github.com/nodejs/node/pull/5180 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Benjamin Gruenbaum <inglor@gmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Santiago Gimeno authored
Windows is still sometimes failing with ECONNRESET. Bring back the handling of this error as was initially introduced in PR #4442. PR-URL: https://github.com/nodejs/node/pull/5179 Reviewed-By:
Rich Trott <rtrott@gmail.com> Fixes: https://github.com/nodejs/node/issues/3635
-
Mikeal Rogers authored
PR-URL: https://github.com/nodejs/node/pull/5170 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Myles Borins <myles.borins@gmail.com>
-
Rich Trott authored
Fix flaky test-http-regr-gh-2928 that has been failing on Raspberry Pi devices in CI. Fixes: https://github.com/nodejs/node/issues/4830 PR-URL: https://github.com/nodejs/node/pull/5154 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Rod Vagg <r@va.gg> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Rich Trott authored
The comments make the config hard to scan. They do not provide any information that isn't in the documentation links referred to in comments (that are not being removed here). Additionally, all rule config sections are alphabetically ordered for easier scanning etc. PR-URL: https://github.com/nodejs/node/pull/5151 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Shigeki Ohtsu authored
The pfx file created by pkcs12 command of openssl causes an error in FIPS mode because its certificate is encrypted with RC2 by default. Adding `-descert` option resolves the error. Fix: https://github.com/nodejs/node/pull/5144 Fix: https://github.com/nodejs/node/pull/5109 PR-URL: https://github.com/nodejs/node/pull/5150 Reviewed-By:
Rich Trott <rtrott@gmail.com>
-