deps: update libuv to 1.0.1
PR-URL: https://github.com/joyent/node/pull/8785 Reviewed-by: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
parent
bf3e0f417b
commit
69904c8a78
2
deps/uv/AUTHORS
vendored
2
deps/uv/AUTHORS
vendored
@ -171,3 +171,5 @@ Mikhail Mukovnikov <yndi@me.com>
|
||||
Thorsten Lorenz <thlorenz@gmx.de>
|
||||
Yuri D'Elia <yuri.delia@eurac.edu>
|
||||
Manos Nikolaidis <manos@shadowrobot.com>
|
||||
Elijah Andrews <elijah@busbud.com>
|
||||
Michael Ira Krufky <m.krufky@samsung.com>
|
||||
|
6
deps/uv/CONTRIBUTING.md
vendored
6
deps/uv/CONTRIBUTING.md
vendored
@ -6,13 +6,13 @@ through the process.
|
||||
|
||||
### FORK
|
||||
|
||||
Fork the project [on GitHub](https://github.com/joyent/libuv) and check out
|
||||
Fork the project [on GitHub](https://github.com/libuv/libuv) and check out
|
||||
your copy.
|
||||
|
||||
```
|
||||
$ git clone https://github.com/username/libuv.git
|
||||
$ cd libuv
|
||||
$ git remote add upstream https://github.com/joyent/libuv.git
|
||||
$ git remote add upstream https://github.com/libuv/libuv.git
|
||||
```
|
||||
|
||||
Now decide if you want your feature or bug fix to go into the master branch
|
||||
@ -160,7 +160,7 @@ feature branch. Post a comment in the pull request afterwards; GitHub does
|
||||
not send out notifications when you add commits.
|
||||
|
||||
|
||||
[issue tracker]: https://github.com/joyent/libuv/issues
|
||||
[issue tracker]: https://github.com/libuv/libuv/issues
|
||||
[libuv mailing list]: http://groups.google.com/group/libuv
|
||||
[IRC]: http://webchat.freelibuv.net/?channels=libuv
|
||||
[Google C/C++ style guide]: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
|
||||
|
17
deps/uv/ChangeLog
vendored
17
deps/uv/ChangeLog
vendored
@ -1,4 +1,19 @@
|
||||
2014.11.21, Version 1.0.0 (Stable)
|
||||
2014.11.27, Version 1.0.1 (Stable), 0a8e81374e861d425b56c45c8599595d848911d2
|
||||
|
||||
Changes since version 1.0.0:
|
||||
|
||||
* readme: remove Rust from users (Elijah Andrews)
|
||||
|
||||
* doc,build,include: update project links (Ben Noordhuis)
|
||||
|
||||
* doc: fix typo: Strcutures -> Structures (Michael Ira Krufky)
|
||||
|
||||
* unix: fix processing process handles queue (Saúl Ibarra Corretgé)
|
||||
|
||||
* win: replace non-ansi characters in source file (Bert Belder)
|
||||
|
||||
|
||||
2014.11.21, Version 1.0.0 (Stable), feb2a9e6947d892f449b2770c4090f7d8c88381b
|
||||
|
||||
Changes since version 1.0.0-rc2:
|
||||
|
||||
|
8
deps/uv/README.md
vendored
8
deps/uv/README.md
vendored
@ -5,7 +5,7 @@
|
||||
libuv is a multi-platform support library with a focus on asynchronous I/O. It
|
||||
was primarily developed for use by [Node.js](http://nodejs.org), but it's also
|
||||
used by [Luvit](http://luvit.io/), [Julia](http://julialang.org/),
|
||||
[pyuv](https://github.com/saghul/pyuv), and [others](https://github.com/joyent/libuv/wiki/Projects-that-use-libuv).
|
||||
[pyuv](https://github.com/saghul/pyuv), and [others](https://github.com/libuv/libuv/wiki/Projects-that-use-libuv).
|
||||
|
||||
## Feature highlights
|
||||
|
||||
@ -77,7 +77,7 @@ Documentation can be browsed online [here](http://docs.libuv.org).
|
||||
— An overview of libuv with tutorials.
|
||||
* [LXJS 2012 talk](http://www.youtube.com/watch?v=nGn60vDSxQ4)
|
||||
— High-level introductory talk about libuv.
|
||||
* [Tests and benchmarks](https://github.com/joyent/libuv/tree/master/test)
|
||||
* [Tests and benchmarks](https://github.com/libuv/libuv/tree/master/test)
|
||||
— API specification and usage examples.
|
||||
* [libuv-dox](https://github.com/thlorenz/libuv-dox)
|
||||
— Documenting types and methods of libuv, mostly by reading uv.h.
|
||||
@ -181,5 +181,5 @@ See the [guidelines for contributing][].
|
||||
[GYP]: http://code.google.com/p/gyp/
|
||||
[Python]: https://www.python.org/downloads/
|
||||
[Visual Studio Express 2010]: http://www.microsoft.com/visualstudio/eng/products/visual-studio-2010-express
|
||||
[guidelines for contributing]: https://github.com/joyent/libuv/blob/master/CONTRIBUTING.md
|
||||
[libuv_banner]: https://raw.githubusercontent.com/joyent/libuv/master/img/banner.png
|
||||
[guidelines for contributing]: https://github.com/libuv/libuv/blob/master/CONTRIBUTING.md
|
||||
[libuv_banner]: https://raw.githubusercontent.com/libuv/libuv/master/img/banner.png
|
||||
|
2
deps/uv/configure.ac
vendored
2
deps/uv/configure.ac
vendored
@ -13,7 +13,7 @@
|
||||
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([libuv], [1.0.0], [https://github.com/joyent/libuv/issues])
|
||||
AC_INIT([libuv], [1.0.1], [https://github.com/libuv/libuv/issues])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
m4_include([m4/libuv-extra-automake-flags.m4])
|
||||
m4_include([m4/as_case.m4])
|
||||
|
2
deps/uv/docs/src/handle.rst
vendored
2
deps/uv/docs/src/handle.rst
vendored
@ -6,7 +6,7 @@
|
||||
|
||||
`uv_handle_t` is the base type for all libuv handle types.
|
||||
|
||||
Strcutures are aligned so that any libuv handle can be cast to `uv_handle_t`.
|
||||
Structures are aligned so that any libuv handle can be cast to `uv_handle_t`.
|
||||
All API functions defined here work with any handle type.
|
||||
|
||||
|
||||
|
6
deps/uv/docs/src/index.rst
vendored
6
deps/uv/docs/src/index.rst
vendored
@ -11,13 +11,13 @@ was primarily developed for use by `Node.js`_, but it's also used by `Luvit`_,
|
||||
|
||||
.. note::
|
||||
In case you find errors in this documentation you can help by sending
|
||||
`pull requests <https://github.com/joyent/libuv>`_!
|
||||
`pull requests <https://github.com/libuv/libuv>`_!
|
||||
|
||||
.. _Node.js: http://nodejs.org
|
||||
.. _Luvit: http://luvit.io
|
||||
.. _Julia: http://julialang.org
|
||||
.. _pyuv: https://github.com/saghul/pyuv
|
||||
.. _others: https://github.com/joyent/libuv/wiki/Projects-that-use-libuv
|
||||
.. _others: https://github.com/libuv/libuv/wiki/Projects-that-use-libuv
|
||||
|
||||
|
||||
Features
|
||||
@ -46,7 +46,7 @@ libuv can be downloaded from `here <http://dist.libuv.org/dist/>`_.
|
||||
Installation
|
||||
------------
|
||||
|
||||
Installation instructions can be found on `the README <https://github.com/joyent/libuv/blob/master/README.md>`_.
|
||||
Installation instructions can be found on `the README <https://github.com/libuv/libuv/blob/master/README.md>`_.
|
||||
|
||||
|
||||
Upgrading
|
||||
|
2
deps/uv/docs/src/request.rst
vendored
2
deps/uv/docs/src/request.rst
vendored
@ -6,7 +6,7 @@
|
||||
|
||||
`uv_req_t` is the base type for all libuv request types.
|
||||
|
||||
Strcutures are aligned so that any libuv request can be cast to `uv_req_t`.
|
||||
Structures are aligned so that any libuv request can be cast to `uv_req_t`.
|
||||
All API functions defined here work with any request type.
|
||||
|
||||
|
||||
|
2
deps/uv/include/uv-version.h
vendored
2
deps/uv/include/uv-version.h
vendored
@ -32,7 +32,7 @@
|
||||
|
||||
#define UV_VERSION_MAJOR 1
|
||||
#define UV_VERSION_MINOR 0
|
||||
#define UV_VERSION_PATCH 0
|
||||
#define UV_VERSION_PATCH 1
|
||||
#define UV_VERSION_IS_RELEASE 1
|
||||
#define UV_VERSION_SUFFIX ""
|
||||
|
||||
|
2
deps/uv/include/uv.h
vendored
2
deps/uv/include/uv.h
vendored
@ -19,7 +19,7 @@
|
||||
* IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/* See https://github.com/joyent/libuv#documentation for documentation. */
|
||||
/* See https://github.com/libuv/libuv#documentation for documentation. */
|
||||
|
||||
#ifndef UV_H
|
||||
#define UV_H
|
||||
|
9
deps/uv/src/unix/process.c
vendored
9
deps/uv/src/unix/process.c
vendored
@ -85,9 +85,14 @@ static void uv__chld(uv_signal_t* handle, int signum) {
|
||||
QUEUE_INSERT_TAIL(&pending, &process->queue);
|
||||
}
|
||||
|
||||
QUEUE_FOREACH(q, &pending) {
|
||||
h = &pending;
|
||||
q = QUEUE_HEAD(h);
|
||||
while (q != h) {
|
||||
process = QUEUE_DATA(q, uv_process_t, queue);
|
||||
QUEUE_REMOVE(q);
|
||||
q = QUEUE_NEXT(q);
|
||||
|
||||
QUEUE_REMOVE(&process->queue);
|
||||
QUEUE_INIT(&process->queue);
|
||||
uv__handle_stop(process);
|
||||
|
||||
if (process->exit_cb == NULL)
|
||||
|
10
deps/uv/src/win/fs.c
vendored
10
deps/uv/src/win/fs.c
vendored
@ -283,7 +283,7 @@ INLINE static int fs__readlink_handle(HANDLE handle, char** target_ptr,
|
||||
(w_target[4] >= L'a' && w_target[4] <= L'z')) &&
|
||||
w_target[5] == L':' &&
|
||||
(w_target_len == 6 || w_target[6] == L'\\')) {
|
||||
/* \??\«drive»:\ */
|
||||
/* \??\<drive>:\ */
|
||||
w_target += 4;
|
||||
w_target_len -= 4;
|
||||
|
||||
@ -292,8 +292,8 @@ INLINE static int fs__readlink_handle(HANDLE handle, char** target_ptr,
|
||||
(w_target[5] == L'N' || w_target[5] == L'n') &&
|
||||
(w_target[6] == L'C' || w_target[6] == L'c') &&
|
||||
w_target[7] == L'\\') {
|
||||
/* \??\UNC\«server»\«share»\ - make sure the final path looks like */
|
||||
/* \\«server»\«share»\ */
|
||||
/* \??\UNC\<server>\<share>\ - make sure the final path looks like */
|
||||
/* \\<server>\<share>\ */
|
||||
w_target += 6;
|
||||
w_target[0] = L'\\';
|
||||
w_target_len -= 6;
|
||||
@ -308,8 +308,8 @@ INLINE static int fs__readlink_handle(HANDLE handle, char** target_ptr,
|
||||
w_target_len = reparse_data->MountPointReparseBuffer.SubstituteNameLength /
|
||||
sizeof(WCHAR);
|
||||
|
||||
/* Only treat junctions that look like \??\«drive»:\ as symlink. */
|
||||
/* Junctions can also be used as mount points, like \??\Volume{«guid»}, */
|
||||
/* Only treat junctions that look like \??\<drive>:\ as symlink. */
|
||||
/* Junctions can also be used as mount points, like \??\Volume{<guid>}, */
|
||||
/* but that's confusing for programs since they wouldn't be able to */
|
||||
/* actually understand such a path when returned by uv_readlink(). */
|
||||
/* UNC paths are never valid for junctions so we don't care about them. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user