Brian White
1908b7f00a
path: fix basename() regressions
...
This commit fixes a regression in basename() for the case when a
supplied extension name completely matches the resulting basename.
Fixes: https://github.com/nodejs/node/issues/6587
PR-URL: https://github.com/nodejs/node/pull/6590
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-06-02 22:37:00 +10:00
James M Snell
5cad04b063
doc: clarify fs.mkdtemp prefix argument
...
Per: https://github.com/nodejs/node/issues/6142
Clarify the prefix argument.
Fixes: https://github.com/nodejs/node/issues/6142
PR-URL: https://github.com/nodejs/node/pull/6800
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-06-02 22:37:00 +10:00
Myles Borins
81e765f521
test: robust handling of env for npm-test-install
...
Currently we are overwriting the entire env object of the child-process
spawned in `npm-test-install`. This commit alternatively clones the
`process.env` object and modifies it with the neccessary changes before
passing it the the spawned process.
Fixes: https://github.com/nodejs/node/issues/6736
PR-URL: https://github.com/nodejs/node/pull/6797
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-06-02 22:37:00 +10:00
Devon Rifkin
2895860138
test: cluster-setup-master online workers check
...
Previously a `checks.workers` boolean was conditionally set, but never
checked. Additionally, it was never actually set because
`cluster.onlineWorkers` is always undefined.
PR-URL: https://github.com/nodejs/node/pull/6535
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-06-02 22:37:00 +10:00
suryagh
7c932c2d49
test: added tests for https-agent-getname
...
PR-URL: https://github.com/nodejs/node/pull/6762
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2016-06-02 22:36:59 +10:00
Anna Henningsen
64415564de
zlib: remove _closed in source
...
This is purely cleanup and carries no visible behavioural changes.
Up to now, `this._closed` was used in zlib.js as a
synonym of `!this._handle`. This change makes this connection
explicit and removes the `_closed` property from zlib streams,
as the previous duplication has been the cause of subtle errors
like https://github.com/nodejs/node/issues/6034 .
This also makes zlib errors lead to an explicit `_close()` call
rather than waiting for garbage collection to clean up the handle,
thus returning memory resources earlier in the case of an error.
Add a getter for `_closed` so that the property remains accessible
by legacy code.
PR-URL: https://github.com/nodejs/node/pull/6574
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-06-02 22:36:59 +10:00
Anna Henningsen
5a1e823fa5
doc: add added: information for fs
...
Ref: https://github.com/nodejs/node/issues/6578
PR-URL: https://github.com/nodejs/node/pull/6717
Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-06-02 22:36:59 +10:00
Kirill Fomichev
bf4724a7bb
doc: remove link to Sign in crypto.md
...
PR-URL: https://github.com/nodejs/node/pull/6812
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-06-02 22:36:58 +10:00
Rich Trott
ba3089970d
doc: add added: in for tty
...
Refs: https://github.com/nodejs/node/issues/6578
PR-URL: https://github.com/nodejs/node/pull/6783
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-06-02 22:36:58 +10:00
silverwind
758fadfa0d
doc: update openssl.org hash links
...
The hash link format has changed from #HASH_LINK to #HASH-LINK.
PR-URL: https://github.com/nodejs/node/pull/6817
Reviewed-By: Roman Klauke <romankl@users.noreply.github.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-06-02 22:36:58 +10:00
James M Snell
10671406ac
process: internal/process/stdio.js cleanup / modernization
...
Avoid using deprecated getter syntax plus other
miscellaneous updates.
PR-URL: https://github.com/nodejs/node/pull/6766
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-06-02 22:36:58 +10:00
Michael Dawson
827b3eb503
test: add --repeat option to tools/test.py
...
I often want to run a test many times to see if a failure
can be recreated and I believe this is a common
use case. We even have this job in the CI
https://ci.nodejs.org/job/node-stress-single-test/configure
but often you want to run it on a specific machine.
This patch adds the --repeat option so that
you can repeat the selected set of tests a
number of times. Given existing options
in test.py this will allow you to run
one or more tests for the number of
repeats specified. For example:
tools/test.py -j8 --repeat 1000 parallel/test-process-exec-argv
runs the test-process-exec-argv test 1000 times,
running 8 copies in parallel
tools/test.py --repeat 2
would run the entire test suite twice.
PR-URL: https://github.com/nodejs/node/pull/6700
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Fedor Indutny <fedor@indutny.com >
Reviewed-By: thefourtheye - Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: joaocgreis - João Reis <reis@janeasystems.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2016-06-02 22:36:57 +10:00
Evan Lucas
7b2949a7bf
Working on v6.2.1
...
PR-URL: https://github.com/nodejs/node/pull/6810
2016-05-17 16:04:21 -05:00
Evan Lucas
a4705f62de
2016-05-17, Version 6.2.0 (Stable)
...
- **buffer**: fix lastIndexOf and indexOf in various edge cases (Anna
Henningsen) [#6511 ](https://github.com/nodejs/node/pull/6511 )
- **child_process**: use /system/bin/sh on android (Ben Noordhuis)
[#6745 ](https://github.com/nodejs/node/pull/6745 )
- **deps**:
- upgrade npm to 3.8.9 (Rebecca Turner)
[#6664 ](https://github.com/nodejs/node/pull/6664 )
- upgrade to V8 5.0.71.47 (Ali Ijaz Sheikh)
[#6572 ](https://github.com/nodejs/node/pull/6572 )
- upgrade libuv to 1.9.1 (Saúl Ibarra Corretgé)
[#6796 ](https://github.com/nodejs/node/pull/6796 )
- Intl: ICU 57 bump (Steven R. Loomis)
[#6088 ](https://github.com/nodejs/node/pull/6088 )
- **repl**:
- copying tabs shouldn't trigger completion (Eugene Obrezkov)
[#5958 ](https://github.com/nodejs/node/pull/5958 )
- exports `Recoverable` (Blake Embrey)
[#3488 ](https://github.com/nodejs/node/pull/3488 )
- **src**: add O_NOATIME constant (Rich Trott)
[#6492 ](https://github.com/nodejs/node/pull/6492 )
- **src,module**: add --preserve-symlinks command line flag (James M
Snell) [#6537 ](https://github.com/nodejs/node/pull/6537 )
- **util**: adhere to `noDeprecation` set at runtime (Anna Henningsen)
[#6683 ](https://github.com/nodejs/node/pull/6683 )
As of this release the 6.X line now includes 64-bit binaries for Linux
on Power Systems running in big endian mode in addition to the existing
64-bit binaries for running in little endian mode.
PR-URL: https://github.com/nodejs/node/pull/6810
v6.2.0
2016-05-17 13:21:56 -05:00
Sakthipriyan Vairamani
e3920d12ef
src: fix check-imports.py linter errors
...
This patch fixes all the linter errors.
PR-URL: https://github.com/nodejs/node/pull/6105
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 09:44:21 -05:00
Jeremiah Senkpiel
f31a5ec34a
handle_wrap: IsRefed() -> HasRef()
...
Rename slightly to HasRef() at bnoordhuis’ request.
Better reflects what we actually do for this check.
Refs: https://github.com/nodejs/node/pull/6395
Refs: https://github.com/nodejs/node/pull/6204
Refs: https://github.com/nodejs/node/pull/6401
Refs: https://github.com/nodejs/node/pull/6382
Refs: https://github.com/nodejs/node/pull/6381
PR-URL: https://github.com/nodejs/node/pull/6546
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-05-17 09:32:11 -05:00
Jeremiah Senkpiel
cc2af793d2
Revert "handle_wrap: IsRefed -> Unrefed, no isAlive check"
...
This reverts commit 9bb5a5e2a1 .
This API is not suitable because it depended on being able to
potentially access the handle's flag after the handle was already
cleaned up. Since this is not actually possible (obviously, oops)
this newer API no longer makes much sense, and the older API is more
suitable.
API comparison:
IsRefed -> Has a strong reference AND is alive. (Deterministic)
Unrefed -> Has a weak reference OR is dead. (Less deterministic)
Refs: https://github.com/nodejs/node/pull/6395
Refs: https://github.com/nodejs/node/pull/6204
Refs: https://github.com/nodejs/node/pull/6401
Refs: https://github.com/nodejs/node/pull/6382
Fixes: https://github.com/nodejs/node/pull/6381
PR-URL: https://github.com/nodejs/node/pull/6546
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
Conflicts:
src/handle_wrap.cc
test/parallel/test-handle-wrap-isrefed-tty.js
test/parallel/test-handle-wrap-isrefed.js
2016-05-17 09:32:07 -05:00
Ben Noordhuis
8a7e68ff83
test: check that 2nd handle.close() call is a nop
...
Verify that a second call to handle.close() is a no-op.
PR-URL: https://github.com/nodejs/node/pull/6395
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 09:32:01 -05:00
Ben Noordhuis
bbf3b3ebbb
src: simplify handlewrap state tracking logic
...
This also updates the tests to expect that a closed handle has no
reference count.
PR-URL: https://github.com/nodejs/node/pull/6395
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 09:31:57 -05:00
Ben Noordhuis
965274d384
src: use libuv's refcounting directly
...
Don't implement an additional reference counting scheme on top of libuv.
Libuv is the canonical source for that information so use it directly.
PR-URL: https://github.com/nodejs/node/pull/6395
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 09:31:52 -05:00
Jeremiah Senkpiel
2000072903
handle_wrap: IsRefed -> Unrefed, no isAlive check
...
This fixes my perceived usability issues with 7d8882b . Which, at the
time of writing, has not landed in any release except v6 RCs. This
should not be considered a breaking change due to that.
It is useful if you have a handle, even if it has been closed, to be
able to inspect whether that handle was unrefed or not. As such, this
renames the method accordingly. If people need to check a handle's
aliveness, that is a separate API we should consider exposing.
Refs: https://github.com/nodejs/node/pull/5834
PR-URL: https://github.com/nodejs/node/pull/6204
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-05-17 09:31:48 -05:00
Ben Noordhuis
316871f268
src: fix -Wunused-variable compiler warning
...
Introduced in commit 7d8882b , "handle_wrap: expose an `isRefed()` check
to JS".
PR-URL: https://github.com/nodejs/node/pull/6129
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-05-17 09:31:42 -05:00
Jeremiah Senkpiel
d3132048cb
handle_wrap: expose an isRefed() check to JS
...
This allows third-party tools to check whether or not a handle that
can be unreferenced is unreferenced at a particular time.
Notably, this should be helpful for inspection via AsyncWrap.
Also, this is useful even to node's internals, particularly timers.
Refs: https://github.com/nodejs/node/pull/5828
Refs: https://github.com/nodejs/node/pull/5827
PR-URL: https://github.com/nodejs/node/pull/5834
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
2016-05-17 09:31:37 -05:00
James M Snell
5c7da210df
doc: refactor the changelog by version
...
The changelog was getting rather huge and difficult
to manage. It also wasn't very useful in terms of
being able to quickly find specific Node.js versions,
or tracking the history for a single major release
stream.
This reorganizes the changelog by versions separated
out over multiple files. An index of the most recent
versions is provided in the main log.
PR-URL: https://github.com/nodejs/node/pull/6503
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-05-17 09:24:53 -05:00
Roman Reiss
4f2a55f92f
doc: fix issues related to page scrolling
...
Moved the sidebar to a fixed position and moved the main column to the
page's body, which results in back/forward navigation through hash
links and search highlight working again.
Fixes: https://github.com/nodejs/node/issues/6637
Fixes: https://github.com/nodejs/node/issues/6751
Based on: https://github.com/nodejs/node/pull/5716
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com >
2016-05-17 08:52:52 -05:00
Ben Noordhuis
e0240ab592
child_process: use /system/bin/sh on android
...
`/bin/sh` does not exist on Android but `/system/bin/sh` does.
PR-URL: https://github.com/nodejs/node/pull/6745
Refs: https://github.com/nodejs/node/pull/6733
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-05-17 08:52:48 -05:00
Rich Trott
ccbc78cfc6
test: remove common.getServiceName()
...
Replace lightly-used services file parsing in favor of
confirming one of a small number of allowable values in service name
lookup tests.
In https://github.com/nodejs/node-v0.x-archive/issues/8047 , it was
decided that this sort of service file parsing was superior to
hardcoding acceptable values, but I'm not convinced:
* No guarantee that the host uses /etc/services before, e.g., nscd.
* Increases complexity of tests without guaranteeing robustness.
I think that simply checking against a small set of expected values
may be a better solution. Ideally, there would also be a unit test that
used a test double for the appropriate `cares` function and confirms
that it is called with the correct parameters, but now we're getting way
ahead of ourselves.
PR-URL: https://github.com/nodejs/node/pull/6709
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-17 08:52:44 -05:00
Rich Trott
8c634d78f8
test: favor strictEqual() in addon test
...
Replace `assert.equal()` with `assert.strictEqual()` throughout
`addon/make-callback-recurse/test.js`.
PR-URL: https://github.com/nodejs/node/pull/6704
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-17 08:52:39 -05:00
Rich Trott
1389a4fc5e
test: fix flaky test-preload
...
Use `close` event rather than `exit` event to make sure all output has
been received before checking assertions.
PR-URL: https://github.com/nodejs/node/pull/6728
Fixes: https://github.com/nodejs/node/issues/6722
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-17 08:52:36 -05:00
Ben Noordhuis
adb2d610e6
test: include component in tap output
...
Print test name as (for example) "parallel/test-assert". Tests that are
scraped from the addons documentation are all named test.js, making it
hard to decipher what test is running when only the filename is printed.
Fixes: https://github.com/nodejs/node/issues/6651
PR-URL: https://github.com/nodejs/node/pull/6653
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 08:52:32 -05:00
James M Snell
95b7560d8e
src,module: add --preserve-symlinks command line flag
...
Add the `--preserve-symlinks` flag. This makes the changes added
in #5950 conditional. By default the old behavior is used. With
the flag set, symlinks are preserved, switching to the new
behavior. This should be considered to be a temporary solution
until we figure out how to solve the symlinked peer dependency
problem in a more general way that does not break everything
else.
Additional test cases are included.
PR-URL: https://github.com/nodejs/node/pull/6537
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-17 08:52:27 -05:00
Rich Trott
b4fb95eade
doc: add added: information for assert
...
PR-URL: https://github.com/nodejs/node/pull/6688
Ref: https://github.com/nodejs/node/issues/6578
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-17 08:52:22 -05:00
Faiz Halde
64fcba2a2e
doc: appendFileSync accepts fd as well
...
Refs: https://github.com/nodejs/node/issues/6508
PR-URL: https://github.com/nodejs/node/pull/6707
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 08:52:17 -05:00
Eugene Obrezkov
226b9668db
repl: copying tabs shouldn't trigger completion
...
PR-URL: https://github.com/nodejs/node/pull/5958
Fixes: https://github.com/nodejs/node/issues/5954
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-05-17 08:52:13 -05:00
Evan Lucas
520369d8e0
doc: fix exec example in child_process
...
Previously, the example was checking for error by strict equality to
null. The error could be undefined though which would fail that check.
PR-URL: https://github.com/nodejs/node/pull/6660
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Jeremy Whitlock <jwhitlock@apache.org >
2016-05-17 08:52:09 -05:00
Saúl Ibarra Corretgé
51d1960955
doc: undocument fs.open's 'rs' mode
...
Using O_SYNC with O_RDONLY is basically a noop.
Closes: https://github.com/nodejs/node/issues/6730
PR-URL: https://github.com/nodejs/node/pull/6732
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
2016-05-17 08:52:03 -05:00
Rich Trott
abb063a6a3
test: fix test-debugger-repl-break-in-module
...
The line number checks in test-debugger-repl-break-in-module were
checking for line numbers that exceed the total number of lines in the
files that were being inspected. Change the checks to match the actual
files.
PR-URL: https://github.com/nodejs/node/pull/6686
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2016-05-17 08:51:57 -05:00
Rich Trott
f1c773d18b
doc: add added: information for v8
...
PR-URL: https://github.com/nodejs/node/pull/6684
Ref: https://github.com/nodejs/node/issues/6578
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-17 08:51:53 -05:00
Rich Trott
5701599767
test: fix test-debugger-repl-term
...
test-debugger-repl-term had incorrect expected output and so was
failing. It was likely dependent on previous bugs in the debugger.
The fixture file has been modified so that the output is as expected.
PR-URL: https://github.com/nodejs/node/pull/6682
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Ben Noorhduis <info@bnoordhuis.nl >
2016-05-17 08:51:50 -05:00
Alex J Burke
71c91747ef
test: add tests for stream3 buffering using cork
...
adds 2 new tests for streams3 cork behavior, cork then uncork and cork then end
PR-URL: https://github.com/nodejs/node/pull/6493
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 08:51:45 -05:00
Jeremiah Senkpiel
b1f58edd54
test: abstract skip functionality to common
...
The tap skipping output is so prevalent yet obscure in nature that we
ought to move it into it's own function in test/common.js
PR-URL: https://github.com/nodejs/node/pull/6697
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
2016-05-17 08:51:40 -05:00
Sakthipriyan Vairamani
7d3f5751b3
test: make sure O_NOATIME is present only in Linux
...
As it is, the test checks if the return value is `undefined` in other
platforms. But it should also make sure that the `O_NOATIME` should be
found only in Linux.
PR-URL: https://github.com/nodejs/node/pull/6614
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-17 08:51:36 -05:00
Blake Embrey
ce2d5be4a1
repl: exports Recoverable
...
Allow REPL consumers to callback with a `Recoverable` error instance
and trigger multi-line REPL prompts.
Fixes: https://github.com/nodejs/node/issues/2939
PR-URL: https://github.com/nodejs/node/pull/3488
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-05-17 08:51:31 -05:00
Jean Regisser
29b28a233c
doc: server.listen truncates socket path on unix
...
Internally it ends up calling `uv_pipe_bind` with the given path which
itself is documented to truncate the path. See
http://docs.libuv.org/en/v1.x/pipe.html#c.uv_pipe_bind
This is NOT a bug, but a restriction of the unix
socket api, as it stores the path in `sockaddr_un.sun_path` (104 chars
on OS X, 108 chars on Linux), see `man unix`.
PR-URL: https://github.com/nodejs/node/pull/6659
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Alexander Makarenko <estliberitas@gmail.com >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-17 08:51:26 -05:00
James M Snell
c1d5f2e96e
doc: update releases.md with new changelog structure
...
PR-URL: https://github.com/nodejs/node/pull/6503
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Robert Lindstaedt <robert.lindstaedt@gmail.com >
Reviewed-By: Rod Vagg <rod@vagg.org >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-05-17 08:45:25 -05:00
Anchika Agarwal
d962fbafb2
doc: "a" -> "an" in api/documentation.md
...
Fixes: https://github.com/nodejs/node/issues/6642
PR-URL: https://github.com/nodejs/node/pull/6689
Reviewed-By: Michaël Zasso <mic.besace@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Alexander Makarenko <estliberitas@gmail.com >
Reviewed-By: Jeremiah Senkpiel <Fishrock123@rocketmail.com >
2016-05-17 08:45:02 -05:00
Jeremiah Senkpiel
26e22e200a
doc: move the readme newcomers section
...
Move the newcomers section to be more noticeable to those who it will
be needed by.
Also removed some entries that are now effectively duplicates.
They are all in the above section.
PR-URL: https://github.com/nodejs/node/pull/6681
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Alexander Makarenko <estliberitas@gmail.com >
2016-05-17 08:44:57 -05:00
Ben Noordhuis
8f526494b5
doc: fix deprecation warnings in addon examples
...
Use the overload of `v8::Function::NewInstance()` that returns a
`v8::MaybeLocal<v8::Object>`. The overloads that return a simple
`v8::Local<v8::Object>` are deprecated.
PR-URL: https://github.com/nodejs/node/pull/6652
Reviewed-By: Anna Henningsen <anna@addaleax.net >
2016-05-17 08:44:53 -05:00
Matt Harrison
d34343f0de
doc: mention existence/purpose of module wrapper
...
Included a block in the modules.md file to explain the existence and
purpose of the module wrapper.
PR-URL: https://github.com/nodejs/node/pull/6433
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 08:44:48 -05:00
yorkie
e8c0dba4bd
doc,events: fix a link typo
...
PR-URL: https://github.com/nodejs/node/pull/6640
Reviewed-By: Alexander Makarenko <estliberitas@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Evan Lucas <evanlucas@me.com >
2016-05-17 08:44:43 -05:00