Browse Source

deps: update libuv to 1.0.1

PR-URL: https://github.com/joyent/node/pull/8785
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
v0.11.15-release
Saúl Ibarra Corretgé 10 years ago
committed by Trevor Norris
parent
commit
69904c8a78
  1. 2
      deps/uv/AUTHORS
  2. 6
      deps/uv/CONTRIBUTING.md
  3. 17
      deps/uv/ChangeLog
  4. 8
      deps/uv/README.md
  5. 2
      deps/uv/configure.ac
  6. 2
      deps/uv/docs/src/handle.rst
  7. 6
      deps/uv/docs/src/index.rst
  8. 2
      deps/uv/docs/src/request.rst
  9. 2
      deps/uv/include/uv-version.h
  10. 2
      deps/uv/include/uv.h
  11. 9
      deps/uv/src/unix/process.c
  12. 10
      deps/uv/src/win/fs.c

2
deps/uv/AUTHORS

@ -171,3 +171,5 @@ Mikhail Mukovnikov <yndi@me.com>
Thorsten Lorenz <thlorenz@gmx.de> Thorsten Lorenz <thlorenz@gmx.de>
Yuri D'Elia <yuri.delia@eurac.edu> Yuri D'Elia <yuri.delia@eurac.edu>
Manos Nikolaidis <manos@shadowrobot.com> Manos Nikolaidis <manos@shadowrobot.com>
Elijah Andrews <elijah@busbud.com>
Michael Ira Krufky <m.krufky@samsung.com>

6
deps/uv/CONTRIBUTING.md

@ -6,13 +6,13 @@ through the process.
### FORK ### 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. your copy.
``` ```
$ git clone https://github.com/username/libuv.git $ git clone https://github.com/username/libuv.git
$ cd libuv $ 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 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. 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 [libuv mailing list]: http://groups.google.com/group/libuv
[IRC]: http://webchat.freelibuv.net/?channels=libuv [IRC]: http://webchat.freelibuv.net/?channels=libuv
[Google C/C++ style guide]: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml [Google C/C++ style guide]: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml

17
deps/uv/ChangeLog

@ -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: Changes since version 1.0.0-rc2:

8
deps/uv/README.md

@ -5,7 +5,7 @@
libuv is a multi-platform support library with a focus on asynchronous I/O. It 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 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/), 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 ## Feature highlights
@ -77,7 +77,7 @@ Documentation can be browsed online [here](http://docs.libuv.org).
&mdash; An overview of libuv with tutorials. &mdash; An overview of libuv with tutorials.
* [LXJS 2012 talk](http://www.youtube.com/watch?v=nGn60vDSxQ4) * [LXJS 2012 talk](http://www.youtube.com/watch?v=nGn60vDSxQ4)
&mdash; High-level introductory talk about libuv. &mdash; 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)
&mdash; API specification and usage examples. &mdash; API specification and usage examples.
* [libuv-dox](https://github.com/thlorenz/libuv-dox) * [libuv-dox](https://github.com/thlorenz/libuv-dox)
&mdash; Documenting types and methods of libuv, mostly by reading uv.h. &mdash; 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/ [GYP]: http://code.google.com/p/gyp/
[Python]: https://www.python.org/downloads/ [Python]: https://www.python.org/downloads/
[Visual Studio Express 2010]: http://www.microsoft.com/visualstudio/eng/products/visual-studio-2010-express [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 [guidelines for contributing]: https://github.com/libuv/libuv/blob/master/CONTRIBUTING.md
[libuv_banner]: https://raw.githubusercontent.com/joyent/libuv/master/img/banner.png [libuv_banner]: https://raw.githubusercontent.com/libuv/libuv/master/img/banner.png

2
deps/uv/configure.ac

@ -13,7 +13,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
AC_PREREQ(2.57) 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]) AC_CONFIG_MACRO_DIR([m4])
m4_include([m4/libuv-extra-automake-flags.m4]) m4_include([m4/libuv-extra-automake-flags.m4])
m4_include([m4/as_case.m4]) m4_include([m4/as_case.m4])

2
deps/uv/docs/src/handle.rst

@ -6,7 +6,7 @@
`uv_handle_t` is the base type for all libuv handle types. `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. All API functions defined here work with any handle type.

6
deps/uv/docs/src/index.rst

@ -11,13 +11,13 @@ was primarily developed for use by `Node.js`_, but it's also used by `Luvit`_,
.. note:: .. note::
In case you find errors in this documentation you can help by sending 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 .. _Node.js: http://nodejs.org
.. _Luvit: http://luvit.io .. _Luvit: http://luvit.io
.. _Julia: http://julialang.org .. _Julia: http://julialang.org
.. _pyuv: https://github.com/saghul/pyuv .. _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 Features
@ -46,7 +46,7 @@ libuv can be downloaded from `here <http://dist.libuv.org/dist/>`_.
Installation 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 Upgrading

2
deps/uv/docs/src/request.rst

@ -6,7 +6,7 @@
`uv_req_t` is the base type for all libuv request types. `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. All API functions defined here work with any request type.

2
deps/uv/include/uv-version.h

@ -32,7 +32,7 @@
#define UV_VERSION_MAJOR 1 #define UV_VERSION_MAJOR 1
#define UV_VERSION_MINOR 0 #define UV_VERSION_MINOR 0
#define UV_VERSION_PATCH 0 #define UV_VERSION_PATCH 1
#define UV_VERSION_IS_RELEASE 1 #define UV_VERSION_IS_RELEASE 1
#define UV_VERSION_SUFFIX "" #define UV_VERSION_SUFFIX ""

2
deps/uv/include/uv.h

@ -19,7 +19,7 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
/* See https://github.com/joyent/libuv#documentation for documentation. */ /* See https://github.com/libuv/libuv#documentation for documentation. */
#ifndef UV_H #ifndef UV_H
#define UV_H #define UV_H

9
deps/uv/src/unix/process.c

@ -85,9 +85,14 @@ static void uv__chld(uv_signal_t* handle, int signum) {
QUEUE_INSERT_TAIL(&pending, &process->queue); 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); 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); uv__handle_stop(process);
if (process->exit_cb == NULL) if (process->exit_cb == NULL)

10
deps/uv/src/win/fs.c

@ -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[4] >= L'a' && w_target[4] <= L'z')) &&
w_target[5] == L':' && w_target[5] == L':' &&
(w_target_len == 6 || w_target[6] == L'\\')) { (w_target_len == 6 || w_target[6] == L'\\')) {
/* \??\«drive»:\ */ /* \??\<drive>:\ */
w_target += 4; w_target += 4;
w_target_len -= 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[5] == L'N' || w_target[5] == L'n') &&
(w_target[6] == L'C' || w_target[6] == L'c') && (w_target[6] == L'C' || w_target[6] == L'c') &&
w_target[7] == L'\\') { w_target[7] == L'\\') {
/* \??\UNC\«server»\«share»\ - make sure the final path looks like */ /* \??\UNC\<server>\<share>\ - make sure the final path looks like */
/* \\«server»\«share»\ */ /* \\<server>\<share>\ */
w_target += 6; w_target += 6;
w_target[0] = L'\\'; w_target[0] = L'\\';
w_target_len -= 6; 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 / w_target_len = reparse_data->MountPointReparseBuffer.SubstituteNameLength /
sizeof(WCHAR); sizeof(WCHAR);
/* Only treat junctions that look like \??\«drive»:\ as symlink. */ /* Only treat junctions that look like \??\<drive>:\ as symlink. */
/* Junctions can also be used as mount points, like \??\Volume{«guid»}, */ /* Junctions can also be used as mount points, like \??\Volume{<guid>}, */
/* but that's confusing for programs since they wouldn't be able to */ /* but that's confusing for programs since they wouldn't be able to */
/* actually understand such a path when returned by uv_readlink(). */ /* actually understand such a path when returned by uv_readlink(). */
/* UNC paths are never valid for junctions so we don't care about them. */ /* UNC paths are never valid for junctions so we don't care about them. */

Loading…
Cancel
Save