Prince J Wesley
4875aa2aa2
repl: Add editor mode support
...
```js
> node
> .editor
// Entering editor mode (^D to finish, ^C to cancel)
function test() {
console.log('tested!');
}
test();
// ^D
tested!
undefined
>
```
PR-URL: https://github.com/nodejs/node/pull/7275
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-08-10 12:49:09 -04:00
Luigi Pinca
b20518a013
doc: add added: information for events
...
PR-URL: https://github.com/nodejs/node/pull/7822
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
2016-08-10 12:48:59 -04:00
Phillip Johnsen
7fa4be0f87
doc: improve server.listen() random port
...
Minor rewording related to making a server listen to a random port,
and added how to retrieve which port was randomly chosen by the OS.
Also changed documented `server.listen()` signature as it does in fact
not require `port` to be provided.
PR-URL: https://github.com/nodejs/node/pull/7976
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-08-10 12:48:31 -04:00
Bryan English
7c427bdccc
doc: clarify "Reviewed-By" iff "LGTM"
...
As per conversation with @Trott, make it clear that Reviewed-By lines
should only be added for collaborators who've actually put a LGTM on the
PR.
PR-URL: https://github.com/nodejs/node/pull/7183
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: JacksonTian - Jackson Tian <shvyo1987@gmail.com >
2016-08-10 12:48:20 -04:00
Josh Gavant
cdbeae9adc
doc: add CTC meeting minutes 2016-07-13
...
PR-URL: https://github.com/nodejs/node/pull/7968
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:47:50 -04:00
Josh Gavant
2245e843cc
doc: add CTC meeting minutes 2016-07-20
...
PR-URL: https://github.com/nodejs/node/pull/7970
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:47:41 -04:00
Fedor Indutny
3d1a06451a
doc: use git-secure-tag for release tags
...
`git-secure-tag` recursively constructs an SHA-512 digest out of the
git tree, and puts the hash from the tree's root into the tag
annotation. This hash provides better integrity guarantees than the
default SHA-1 merkle tree that git uses.
Fix : #7579
PR-URL: https://github.com/nodejs/node/pull/7603
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-08-10 12:46:44 -04:00
Anna Henningsen
e116cf96a0
doc: use blockquotes for Stability: markers
...
Use blockquotes instead of code blocks for stability markers in
the docs. Doing that:
- Makes the makers appear correctly when viewed e.g. on github.
- Allows remark-lint rules like `no-undefined-references` to work
properly (https://github.com/nodejs/node/pull/7729 ).
PR-URL: https://github.com/nodejs/node/pull/7757
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Conflicts:
doc/api/punycode.md
2016-08-10 12:41:56 -04:00
hugnosis
c934f51aa4
doc: fix default encoding mention in crypto.md
...
The default encoding for crypto methods was changed in v6.0.0
with v4.x keeping a default of binary.
PR-URL: https://github.com/nodejs/node/pull/7805
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:40:30 -04:00
yorkie
27f92efaee
doctool: improve the title of pages in doc
...
PR-URL: https://github.com/nodejs/node/pull/7939
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-08-10 12:39:18 -04:00
vladimir
295d1ea016
util: support classes in util.deprecate()
...
Classes cannot be instantiated without new, but util.deprecate()
uses Function.prototype.apply(). This commit uses new.target to
detect constructor calls, allowing classes to be deprecated.
PR-URL: https://github.com/nodejs/node/pull/7690
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:31:02 -04:00
Сковорода Никита Андреевич
df35ae6246
doc: fix minor formatting issue in 0.10 changelog
...
This splits one huge commit description into paragraphs, which
supposedly was the intended behavior there.
PR-URL: https://github.com/nodejs/node/pull/7727
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:26:53 -04:00
Сковорода Никита Андреевич
5f12807c46
doc: remove extra indentation in iojs changelog
...
This removes the extra two spaces indentation which was somewhy present
in the iojs changelog from v1.8.1 to v3.3.1.
iojs changelog was the only file affected.
PR-URL: https://github.com/nodejs/node/pull/7727
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:18:45 -04:00
Сковорода Никита Андреевич
c72019b75a
doc: convert tabs to spaces
...
Convert all instances of tab indentation in *.md files to spaces.
This affects only three files.
PR-URL: https://github.com/nodejs/node/pull/7727
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:18:19 -04:00
cjihrig
a4f0b13e2b
cluster: support stdio option for workers
...
This commit allows setupMaster() to configure the stdio channels
for worker processes.
Refs: https://github.com/nodejs/node-v0.x-archive/issues/5727
Refs: https://github.com/nodejs/node/pull/7811
PR-URL: https://github.com/nodejs/node/pull/7838
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:14:11 -04:00
Josh Gavant
0094adc0b2
doc: add CTC meeting minutes 2016-06-22
...
closes #7366
PR-URL: https://github.com/nodejs/node/pull/7390
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:14:11 -04:00
Josh Gavant
fd9b7b4c5a
doc: add CTC meeting minutes 2016-07-06
...
PR-URL: https://github.com/nodejs/node/pull/7570
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-08-10 12:14:11 -04:00
Josh Gavant
4616261110
doc: add CTC meeting minutes 2016-06-29
...
PR-URL: https://github.com/nodejs/node/pull/7571
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2016-08-10 12:14:10 -04:00
William Kapke
bb90867339
doc: add CTC meeting minutes 2016-07-27
...
PR-URL: https://github.com/nodejs/node/pull/7900
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:14:09 -04:00
Joey Cozza
7d0c1bf781
doc: fix path markdown formatting
...
Single quotes in two of the examples were throwing off the
formatting of the path documentation on the Node.js website. This
commit expands two contractions to remove the offending quotes.
PR-URL: https://github.com/nodejs/node/pull/7817
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:14:09 -04:00
Ravindra barthwal
04ec64aacc
doc: add missing semicolon
...
PR-URL: https://github.com/nodejs/node/pull/7915
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:14:08 -04:00
Timothy Gu
8d8d70d826
doc: fill in missing V8 version
...
PR-URL: https://github.com/nodejs/node/pull/7878
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:14:06 -04:00
Joe Esposito
6ce9c80ccb
doc: remove extra spaces and concats in examples
...
PR-URL: https://github.com/nodejs/node/pull/7885
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-10 12:14:06 -04:00
Prince J Wesley
0645c3d0c4
doc: align breakEvalOnSigint - repl option
...
PR-URL: https://github.com/nodejs/node/pull/7849
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: JungMinu - Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-08-10 12:14:04 -04:00
Alex Perkins
5c4b938665
doc: minor typo fixes in stream docs
...
PR-URL: https://github.com/nodejs/node/pull/7763
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-08-10 11:20:08 -04:00
Brian White
57fb0d2ee2
doc: add/fix version metadata for Buffer methods
...
PR-URL: https://github.com/nodejs/node/pull/7784
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-08-10 11:18:45 -04:00
Brian White
49a669bcda
doc: improve function parameter descriptions
...
PR-URL: https://github.com/nodejs/node/pull/7784
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-08-10 11:18:28 -04:00
Brian White
bdc8690610
doc: add missing properties in Buffer docs
...
PR-URL: https://github.com/nodejs/node/pull/7784
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-08-10 11:18:15 -04:00
Brian White
a8e7c7f2bf
doc: improve wording and style of Buffer docs
...
PR-URL: https://github.com/nodejs/node/pull/7784
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-08-10 11:18:00 -04:00
Brian White
9a4a00bcdb
doc: improve links in Buffer docs
...
This commit adds more links and reuses existing link references more.
PR-URL: https://github.com/nodejs/node/pull/7784
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-08-10 11:17:42 -04:00
Brian White
0103d9dcea
doc: reorganize Buffer link references
...
This commit adds more links and separates internal doc links
from external web links.
PR-URL: https://github.com/nodejs/node/pull/7784
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-08-10 11:17:27 -04:00
Brian White
17ae49a055
doc: improve Buffer code examples
...
PR-URL: https://github.com/nodejs/node/pull/7784
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-08-10 11:17:04 -04:00
cjihrig
da481c634f
child_process: support stdio option in fork()
...
This commit allows child_process.fork() to pass stdio options
to spawn(). This allows fork() to more easily take advantage of
additional stdio channels.
Refs: https://github.com/nodejs/node-v0.x-archive/issues/5727
PR-URL: https://github.com/nodejs/node/pull/7811
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2016-08-10 11:16:52 -04:00
Сковорода Никита Андреевич
0ffeddb5b4
doc: various documentation formatting fixes
...
* Fix markdown code sample in releases.md, it was <a id="x.y.x></a>"
* Fix some markdown errors, e.g. in changelogs
* Fix broken defs links, e.g. in domain-postmortem.md
* Fix other broken refs, by addaleax
* Add links to some defs that were present but not linked to
* Remove dead defs
* Move defs to the bottom (one file affected)
* Add language indicators to all code blocks, using `txt` when no
specific language could be chosen
* Some minor formatting changes (spaces, ident, headings)
PR-URL: https://github.com/nodejs/node/pull/7637
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Roman Reiss <me@silverwind.io >
Conflicts:
doc/api/zlib.md
doc/changelogs/CHANGELOG_V4.md
2016-08-10 11:16:06 -04:00
Diosney Sarmiento
b3164ae22e
repl: add support for custom completions
...
Allow user code to override the default `complete()` function from
`readline.Interface`. See:
https://nodejs.org/api/readline.html#readline_use_of_the_completer_function
Ref: https://github.com/nodejs/node-v0.x-archive/pull/8484
PR-URL: https://github.com/nodejs/node/pull/7527
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Lance Ball <lball@redhat.com >
2016-08-10 11:01:03 -04:00
Trevor Norris
a059aea9a2
src: remove final trace of raw encoding
...
A message stuck around in the native API warning users to not use 'raw'
encoding. Followed by an abort(). This is no longer necessary since all
other signs of 'raw' encoding have been removed.
PR-URL: https://github.com/nodejs/node/pull/7111
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-08 21:37:39 +02:00
Trevor Norris
28071a130e
buffer: introduce latin1 encoding term
...
When node began using the OneByte API (f150d56 ) it also switched to
officially supporting ISO-8859-1. Though at the time no new encoding
string was introduced.
Introduce the new encoding string 'latin1' to be more explicit. The
previous 'binary' and documented as an alias to 'latin1'. While many
tests have switched to use 'latin1', there are still plenty that do both
'binary' and 'latin1' checks side-by-side to ensure there is no
regression.
PR-URL: https://github.com/nodejs/node/pull/7111
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-08-08 21:37:37 +02:00
Anna Henningsen
edb877da65
doc: fix added: date for NODE_REPL_HISTORY
...
`NODE_REPL_HISTORY` was introduced in v3.0.0
(see e.g. 6faf17cb45 ).
PR-URL: https://github.com/nodejs/node/pull/7775
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-08-02 07:54:34 -05:00
Evan Lucas
f135a4c3d1
2016-07-21, Version 6.3.1 (Current)
...
Notable changes:
* **buffer**:
* Improve performance of Buffer.from(str, 'hex') and Buffer#write(str, 'hex'). (Christopher Jeffrey) https://github.com/nodejs/node/pull/7602
* Fix creating from zero-length ArrayBuffer. (Ingvar Stepanyan) https://github.com/nodejs/node/pull/7176
* **deps**:
* Upgrade to V8 5.0.71.xx. (Ben Noordhuis) https://github.com/nodejs/node/pull/7531
* Backport V8 instanceof bugfix (Franziska Hinkelmann) https://github.com/nodejs/node/pull/7638
* **repl**: Fix issue with function redeclaration. (Prince J Wesley) https://github.com/nodejs/node/pull/7794
* **util**: Fix inspecting of boxed symbols. (Anna Henningsen) https://github.com/nodejs/node/pull/7641
PR-URL: https://github.com/nodejs/node/pull/7782
2016-07-21 15:10:37 -05:00
Vitaly Tomilov
4839ef37a9
doc: correcting misspelling
...
Changing `stringp` to `string`.
PR-URL: https://github.com/nodejs/node/pull/7797
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-07-21 07:07:59 -05:00
Sakthipriyan Vairamani
3343d46f2c
doc: general improvments to events documentation
...
PR-URL: https://github.com/nodejs/node/pull/7480
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-07-21 07:07:53 -05:00
Hargobind S. Khalsa
4b320adb49
doc: correct sample output of buf.compare
...
Comparing the buffers `ABC` and `ABCD` returns `-1` not `1`.
PR-URL: https://github.com/nodejs/node/pull/7777
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-07-20 06:36:32 -05:00
Italo A. Casas
9847f8459c
doc: add added: information for stream
...
Ref: https://github.com/nodejs/node/issues/6578
PR-URL: https://github.com/nodejs/node/pull/7287
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
2016-07-20 06:36:31 -05:00
saadq
1f003590d6
doc: fix inconsistencies in code style
...
Adds missing semicolons, removes extra white space, and properly indents
various code snippets in the documentation.
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: targos - Michaël Zasso <mic.besace@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/7745
2016-07-20 06:36:29 -05:00
Lance Ball
9c274e32fd
doc: Warn against uncaughtException dependency.
...
State in the documentation that `uncaughtException` is not a reliable
way to restart a crashed application, and clarify that an application
may crash in ways that do not trigger this event.
Use a documented synchronous function in example code.
Fixes: https://github.com/nodejs/node/issues/6223
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
PR-URL: https://github.com/nodejs/node/pull/6378
2016-07-20 06:36:29 -05:00
Kevin Donahue
fc4df0df6c
doc: fix typo in stream doc
...
Fix small typo in Buffering section of stream doc.
PR-URL: https://github.com/nodejs/node/pull/7738
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-07-20 06:36:29 -05:00
Jaime Hidalgo García
2a023bfd00
doc: removed old git conflict markers from fs.md
...
"doc/api/fs.md" file had some conflict markers like "<<<<<<< HEAD"
that are visible at the bottom of https://nodejs.org/api/fs.html
PR-URL: https://github.com/nodejs/node/pull/7590
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-07-20 06:36:28 -05:00
Claudio Rodriguez
11d6f1af59
fs: rename event to eventType in fs.watch listener
...
The name 'event' for the argument of the listener in
fs.watch was confusing considering FSWatcher also had
events. This changes the name of the argument to
eventType.
Fixes: https://github.com/nodejs/node/issues/7504
PR-URL: https://github.com/nodejs/node/pull/7506
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
2016-07-20 06:36:27 -05:00
vsemozhetbyt
1d07d29bfe
doc: fix typo in the CHANGELOG_V6
...
compliment -> complement
PR-URL: https://github.com/nodejs/node/pull/7568
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-07-20 06:36:26 -05:00
Anna Henningsen
1576730ef3
test,doc: clarify buf.indexOf(num) input range
...
Hopefully clarify the behaviour of `buffer.indexOf()` and
`buffer.includes()` for numbers in that they will be
truncated to uint8s.
Add tests for that behaviour.
Fixes: https://github.com/nodejs/node/issues/7591
PR-URL: https://github.com/nodejs/node/pull/7611
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-07-20 06:36:26 -05:00