jonask
ca278802ff
test: use default assertion message
...
In test-child-process-spawnsync, the assert.strictEqual() custom
message was hiding information about why the test has failed. It
just showed what value is expected and in case of failure we want to
know which value has caused test to fail.
PR-URL: https://github.com/nodejs/node/pull/16819
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:19:28 -05:00
SonaySevik
fab55980be
doc: add isTTY property documentation
...
PR-URL: https://github.com/nodejs/node/pull/16828
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
2017-11-16 18:18:54 -05:00
fjau
ec4c3f5777
test: improve message in test-fs-readfile-pipe-large
...
Improve assertion message by including expected and actual values.
PR-URL: https://github.com/nodejs/node/pull/16840
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2017-11-16 18:18:30 -05:00
Nicolas Morel
562d8fca15
test: remove custom message from assertion
...
The custom message means that the values involved are not reported.
Remove the custom message for a more detailed error message.
PR-URL: https://github.com/nodejs/node/pull/16824
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:18:10 -05:00
Sean Karson
0ebded4376
test: show incorrect value on test failure
...
PR-URL: https://github.com/nodejs/node/pull/16818
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
2017-11-16 18:17:57 -05:00
Sascha Tandel
2bbc76eb1f
test: include file mode in assert message
...
If the REPL history file is created with an invalid mode include
the failed mode in the error message.
PR-URL: https://github.com/nodejs/node/pull/16815
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2017-11-16 18:17:35 -05:00
Luigi Pinca
f2a9c024ed
doc: fix json generator warnings
...
- Fix `console.countReset()` signature
- Fix `console.group()` arguments list
PR-URL: https://github.com/nodejs/node/pull/16742
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2017-11-16 18:17:17 -05:00
Brian O'Connell
33f2fff52b
test: refactor tls test to use fixtres.readSync
...
PR-URL: https://github.com/nodejs/node/pull/16816
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2017-11-16 18:17:03 -05:00
Maring, Damian Lion
b307582d10
test: use fixtures module in test-repl
...
PR-URL: https://github.com/nodejs/node/pull/16809
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2017-11-16 18:16:41 -05:00
Dara Hayes
5719beaf83
test: update test to use fixtures.readKey
...
Use fixtures.readKey() rather than common.fixturesDir in
test-regress-GH-1531.
PR-URL: https://github.com/nodejs/node/pull/16811
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:16:18 -05:00
Vse Mozhet Byt
cb08f5d6fe
tools: remove unneeded parentheses in doc/html.js
...
PR-URL: https://github.com/nodejs/node/pull/16845
Ref: https://github.com/nodejs/node/pull/16801#discussion_r149142120
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:16:01 -05:00
Jimi van der Woning
b166b6b1b3
test: fix typos in read-buffer tests
...
The offset-exceeding tests for readFloat contained a double test
for readFloatLE instead of one for readFloatLE and one for
readFloatBE. This is fixed in this commit.
PR-URL: https://github.com/nodejs/node/pull/16834
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:15:44 -05:00
Kevin Yu
60c918ac7a
tools: replace string concatenation with template literals
...
Replace string concatenation with template literals in
tools/doc/preprocess.js.
PR-URL: https://github.com/nodejs/node/pull/16804
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
2017-11-16 18:15:25 -05:00
Octavian Ionescu
c4176eb722
test: replace fixturesDir with usage of fixtures module
...
Repalce common.fixturesDir with usage of the fixtures module in
test-tls-ecdh-disable.
Add a comment explaining the test.
PR-URL: https://github.com/nodejs/node/pull/16810
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:14:59 -05:00
Matthias Reis
af13678889
test: clarified assert message for test-require-json.js
...
PR-URL: https://github.com/nodejs/node/pull/16807
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:14:44 -05:00
Giovanni Lela
aaf7e83d62
tools: replace string concatenation with template literals
...
Replace a string concatenation in the processList function
in doc/json.js.
If missing, initialize the textRow property in the same line of the
concatenation.
PR-URL: https://github.com/nodejs/node/pull/16806
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:14:19 -05:00
Dumitru Glavan
0fa659cdcd
test: replace common.fixturesDir with fixtures module
...
Require `fixturesDir` from `fixtures` module instead of `common` in
test-fs-realpath-buffer-encoding.
PR-URL: https://github.com/nodejs/node/pull/16803
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:13:36 -05:00
Adri Van Houdt
1e6845d024
test: replace common.fixturesDir with fixtures.readSync()
...
Replace common.fixturesDir with fixtures.readSync() in
test-tls-getprotocol.
PR-URL: https://github.com/nodejs/node/pull/16802
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:12:50 -05:00
Patrick Heneise
40fa970914
tools: replace string concetation with templates
...
Replace string concatenation in tools/doc/html.js with template
literals.
PR-URL: https://github.com/nodejs/node/pull/16801
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:12:23 -05:00
Sascha Tandel
7b1491711d
test: replace common.fixturesDir usage
...
Use `common/fixtures` module instead in test-http2-client-upload.js
PR-URL: https://github.com/nodejs/node/pull/16800
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:12:01 -05:00
Adam Wegrzynek
480f14a55e
test: update test to use fixtures
...
Update test-repl-require-context to use fixtures module.
PR-URL: https://github.com/nodejs/node/pull/16799
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2017-11-16 18:10:29 -05:00
Myles Borins
3319b2092f
doc: update license to include node-inspect
...
This also updates the license builder.
PR-URL: https://github.com/nodejs/node/pull/16659
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2017-11-14 17:42:13 +00:00
Bryan English
9b8e2a68d8
http: use arrow fns for lexical this in Agent
...
PR-URL: https://github.com/nodejs/node/pull/16475
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2017-11-14 17:39:55 +00:00
Joyee Cheung
658301664f
http2: improve errors thrown in header validation
...
PR-URL: https://github.com/nodejs/node/pull/16718
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2017-11-14 17:38:34 +00:00
James M Snell
8cf8a327c8
http2: refactor settings handling
...
Add `Http2Seettings` utility class for handling settings
logic and reducing code duplication.
PR-URL: https://github.com/nodejs/node/pull/16668
Reviewed-By: Sebastiaan Deckers <sebdeckers83@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2017-11-14 17:36:24 +00:00
Luigi Pinca
7618567b4f
doc: add docs for Zlib#close()
...
PR-URL: https://github.com/nodejs/node/pull/16592
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2017-11-14 17:27:32 +00:00
Rich Trott
c52ac92661
test: fix malformed parallel.status line
...
PR-URL: https://github.com/nodejs/node/pull/16702
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2017-11-14 17:25:48 +00:00
Anna Henningsen
57b377ef93
src: improve module loader readability
...
Various improvements on readability, performance and
conformity to the Node core coding style in the ESM loader C++ code:
- `isolate` for the `Isolate*`, `context` for the `Local<Context>`
- Less reliance on `auto` where it’s unnecessary/increases cognitive
overhead
- Shorter paths to failure via `.ToLocal()` & co
- Do not keep pending exceptions around e.g. for failed `JSON` parsing
- Use `Maybe` types to get explicit error status forwarding
- Remove an unnecessary handle scope
- Add `nullptr` checks for unwrapped host objects
- Remove unused code
- Use `CamelCase` for function names
- Use `const Foo&` instead of copying values whenever possible
- Pass along the `Environment*` explicitly
PR-URL: https://github.com/nodejs/node/pull/16536
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2017-11-14 17:14:33 +00:00
Gibson Fahnestock
2cc05e0657
doc: add nodejs/gyp team for GYP related issues
...
PR-URL: https://github.com/nodejs/node/pull/16638
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2017-11-14 17:12:51 +00:00
Gibson Fahnestock
d9a18beaa6
build: suppress lint-md output
...
We don't need to print out the output if we've already installed it, at
the same time we do want to see some output when we haven't installed.
PR-URL: https://github.com/nodejs/node/pull/16551
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Khaidi Chu <i@2333.moe >
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
2017-11-14 17:12:05 +00:00
Anatoli Papirovski
a41cc020fd
test: fix flaky test-http2-server-rst-stream.js
...
PR-URL: https://github.com/nodejs/node/pull/16690
Fixes: https://github.com/nodejs/node/issues/16688
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
2017-11-14 17:10:08 +00:00
jBarz
1e8a421159
test: pause child until parent is ready
...
Pause child on startup using inspect-brk=0 until the parent debugger
is ready.
PR-URL: https://github.com/nodejs/node/pull/15774
Fixes: https://github.com/nodejs/node/issues/14897
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
2017-11-14 17:08:35 +00:00
Mithun Sasidharan
1bf6250b99
doc : mention constant-time in crypto doc
...
Included reference to 'constant time' in
crypto.timingSafeEqual description.
The Node website would score higher on a Google search
and the API would be more discoverable if it used the words
"constant time" in its description.
PR-URL: https://github.com/nodejs/node/pull/16604
Fixes: https://github.com/nodejs/node/issues/16504
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2017-11-14 17:08:05 +00:00
Anthony Nandaa
542f3b9cc0
doc: add details about rss on process.memoryUsage
...
1. `process.memoryUsage()` returns an object with 4 keys: `rss,
heapTotal, headUsed, external`. There were brief explanations for
the rest except `rss`. This commit adds this on the docs.
2. A little more clarity on `rss` to help people disambiguate it from
the virtual memory size.
PR-URL: https://github.com/nodejs/node/pull/16566
Refs: https://github.com/nodejs/node/pull/16566#discussion_r147545405
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2017-11-14 17:06:36 +00:00
Andrew Stucki
13866b8b1b
doc: add windowsVerbatimArguments docs
...
doc: Add windowsVerbatimArguments docs for
child_process spawn, spawnSync, execFile, and fork
PR-URL: https://github.com/nodejs/node/pull/16299
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2017-11-14 17:05:58 +00:00
Evan Lucas
82076ed91f
src: pass context to Get() operations for cares_wrap
...
Using Get() without the context argument will soon be deprecated.
This also passed context to Int32Value() operations as well.
PR-URL: https://github.com/nodejs/node/pull/16641
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: James M Snell <jasnell@gmail.com >
2017-11-14 17:04:25 +00:00
Rich Trott
72c34cf706
test,net: remove scatological terminology
...
PR-URL: https://github.com/nodejs/node/pull/16599
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
2017-11-14 17:01:50 +00:00
Rob Paton
b3032d29c9
test: increase coverage for ModuleMap
...
Add test for ModuleMap set with ModuleJob but bad url.
PR-URL: https://github.com/nodejs/node/pull/16045
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Bradley Farias <bradley.meck@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
2017-11-14 16:59:06 +00:00
Daniel Bevenius
4e848d4afb
build: add missing comma in sources list
...
This commit adds a missing comma in the sources list. This effects at
least window which produces the following warning where trace_event.h
and src/util.h are concatenated:
Warning: Missing input files:
src\tracing\trace_event.hsrc\util.h
PR-URL: https://github.com/nodejs/node/pull/16613
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Richard Lau <riclau@uk.ibm.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Minwoo Jung <minwoo@nodesource.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
2017-11-14 16:57:10 +00:00
Daniel Bevenius
79e1d7719d
src: remove unused includes in string_bytes.h
...
PR-URL: https://github.com/nodejs/node/pull/16606
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: XadillaX <admin@xcoder.in >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2017-11-14 16:55:35 +00:00
Ken Takagi
2f66faf6cf
test: use fixtures module in test-https-pfx
...
PR-URL: https://github.com/nodejs/node/pull/15895
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2017-11-14 16:54:28 +00:00
dicearr
d2e4a87321
doc: howto decode buffers extending from Writable
...
Improved stream documentation with an example of how to decode buffers
to strings within a custom Writable.
Fixes: https://github.com/nodejs/node/issues/15369
PR-URL: https://github.com/nodejs/node/pull/16403
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2017-11-14 16:52:32 +00:00
cPhost
d27ec13cd3
repl: avoid crashing from null and undefined errors
...
When `throw undefined` or `throw null` is executed, the REPL crashes.
This change does a check for `null|undefined` before accessing an
error's properties to prevent crashing.
Fixes: https://github.com/nodejs/node/issues/16545
Fixes: https://github.com/nodejs/node/issues/16607
PR-URL: https://github.com/nodejs/node/pull/16574
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Lance Ball <lball@redhat.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2017-11-14 16:50:03 +00:00
Tobias Nießen
981a1ef0c2
test: use ES6 classes instead of util.inherits
...
PR-URL: https://github.com/nodejs/node/pull/16938
Backport-PR-URL: https://github.com/nodejs/node/pull/16946
Reviewed-By: Refael Ackermann <refack@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2017-11-14 16:40:20 +00:00
Joyee Cheung
cecd1e3def
src: fix etw provider include on Windows
...
PR-URL: https://github.com/nodejs/node/pull/16639
Backport-PR-URL: https://github.com/nodejs/node/pull/16609
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2017-11-14 16:34:35 +00:00
Joyee Cheung
a2fd9a3cf2
doc: add *-inl.h include rule to C++ style guide
...
PR-URL: https://github.com/nodejs/node/pull/16548
Backport-PR-URL: https://github.com/nodejs/node/pull/16609
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2017-11-14 16:34:32 +00:00
Joyee Cheung
255fffbbc8
src: do not include x.h if x-inl.h is included
...
Fixes: https://github.com/nodejs/node/issues/16519
PR-URL: https://github.com/nodejs/node/pull/16548
Backport-PR-URL: https://github.com/nodejs/node/pull/16609
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2017-11-14 16:34:22 +00:00
Ashish Kaila
47b1c3b43c
test: add test for WrapStream readStop
...
PR-URL: https://github.com/nodejs/node/pull/16356
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com >
2017-11-14 16:13:40 +00:00
Matteo Collina
9df1e8f10e
console: avoid adding infinite error listeners
...
If the console destination is a unix pipe (net.Socket), write() is
async. If the destination is broken, we are adding an 'error' event
listener to avoid a process crash. This PR makes sure that we are adding
that listener only once.
Fixes: https://github.com/nodejs/node/issues/16767
PR-URL: https://github.com/nodejs/node/pull/16770
Fixes: https://github.com/nodejs/node/issues/16767
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Sam Roberts <vieuxtech@gmail.com >
2017-11-08 15:41:55 +00:00
Gibson Fahnestock
edb03cb65d
Working on v8.9.2
...
PR-URL: https://github.com/nodejs/node/pull/16783
2017-11-07 21:03:54 +00:00