Showing with 2,897 additions and 1,233 deletions.
  1. +6 −3 deps/uv/.gitignore
  2. +2 −5 deps/uv/.mailmap
  3. +8 −2 deps/uv/AUTHORS
  4. +264 −0 deps/uv/ChangeLog
  5. +25 −3 deps/uv/Makefile.am
  6. +0 −9 deps/uv/README.md
  7. +1 −1 deps/uv/autogen.sh
  8. +1 −0 deps/uv/checksparse.sh
  9. +1 −3 deps/uv/common.gypi
  10. +10 −2 deps/uv/configure.ac
  11. +178 −0 deps/uv/docs/Makefile
  12. +243 −243 deps/uv/docs/make.bat
  13. +4 −3 deps/uv/docs/src/async.rst
  14. +13 −0 deps/uv/docs/src/dns.rst
  15. +8 −2 deps/uv/docs/src/fs_event.rst
  16. +5 −2 deps/uv/docs/src/fs_poll.rst
  17. +8 −0 deps/uv/docs/src/loop.rst
  18. +5 −1 deps/uv/docs/src/misc.rst
  19. +18 −4 deps/uv/docs/src/pipe.rst
  20. +4 −0 deps/uv/docs/src/poll.rst
  21. +4 −2 deps/uv/docs/src/stream.rst
  22. +1 −3 deps/uv/docs/src/tcp.rst
  23. +3 −0 deps/uv/docs/src/threading.rst
  24. +5 −1 deps/uv/docs/src/threadpool.rst
  25. +29 −3 deps/uv/docs/src/tty.rst
  26. +2 −0 deps/uv/docs/src/udp.rst
  27. +1 −16 deps/uv/gyp_uv.py
  28. +16 −0 deps/uv/include/uv-errno.h
  29. +1 −1 deps/uv/include/uv-unix.h
  30. +1 −1 deps/uv/include/uv-version.h
  31. +7 −6 deps/uv/include/uv-win.h
  32. +32 −6 deps/uv/include/uv.h
  33. +0 −66 deps/uv/m4/dtrace.m4
  34. +46 −0 deps/uv/samples/socks5-proxy/Makefile
  35. +7 −7 deps/uv/src/fs-poll.c
  36. +2 −2 deps/uv/src/unix/aix.c
  37. +7 −35 deps/uv/src/unix/async.c
  38. +16 −6 deps/uv/src/unix/core.c
  39. +4 −1 deps/uv/src/unix/darwin-proctitle.c
  40. +22 −17 deps/uv/src/unix/darwin.c
  41. +16 −6 deps/uv/src/unix/freebsd.c
  42. +10 −28 deps/uv/src/unix/fs.c
  43. +16 −14 deps/uv/src/unix/getaddrinfo.c
  44. +14 −8 deps/uv/src/unix/getnameinfo.c
  45. +4 −4 deps/uv/src/unix/internal.h
  46. +33 −16 deps/uv/src/unix/linux-core.c
  47. +3 −3 deps/uv/src/unix/linux-syscalls.c
  48. +1 −1 deps/uv/src/unix/linux-syscalls.h
  49. +2 −73 deps/uv/src/unix/loop.c
  50. +2 −2 deps/uv/src/unix/netbsd.c
  51. +10 −8 deps/uv/src/unix/openbsd.c
  52. +38 −19 deps/uv/src/unix/pipe.c
  53. +6 −0 deps/uv/src/unix/poll.c
  54. +18 −2 deps/uv/src/unix/stream.c
  55. +7 −3 deps/uv/src/unix/sunos.c
  56. +6 −0 deps/uv/src/unix/tcp.c
  57. +3 −3 deps/uv/src/unix/thread.c
  58. +46 −23 deps/uv/src/unix/tty.c
  59. +89 −11 deps/uv/src/unix/udp.c
  60. +0 −25 deps/uv/src/unix/uv-dtrace.d
  61. +77 −7 deps/uv/src/uv-common.c
  62. +5 −0 deps/uv/src/uv-common.h
  63. +5 −67 deps/uv/src/win/core.c
  64. +31 −4 deps/uv/src/win/dl.c
  65. +183 −105 deps/uv/src/win/fs.c
  66. +35 −30 deps/uv/src/win/getaddrinfo.c
  67. +14 −8 deps/uv/src/win/getnameinfo.c
  68. +6 −2 deps/uv/src/win/internal.h
  69. +47 −22 deps/uv/src/win/pipe.c
  70. +26 −23 deps/uv/src/win/poll.c
  71. +16 −4 deps/uv/src/win/req-inl.h
  72. +16 −2 deps/uv/src/win/stream.c
  73. +24 −0 deps/uv/src/win/tcp.c
  74. +92 −77 deps/uv/src/win/thread.c
  75. +25 −7 deps/uv/src/win/tty.c
  76. +7 −0 deps/uv/src/win/winapi.c
  77. +82 −2 deps/uv/src/win/winapi.h
  78. +6 −6 deps/uv/src/win/winsock.c
  79. +14 −11 deps/uv/test/runner-unix.c
  80. +22 −0 deps/uv/test/task.h
  81. +0 −1 deps/uv/test/test-close-fd.c
  82. +7 −20 deps/uv/test/test-cwd-and-chdir.c
  83. +8 −11 deps/uv/test/test-dlerror.c
  84. +1 −0 deps/uv/test/test-fs-event.c
  85. +1 −0 deps/uv/test/test-fs-poll.c
  86. +31 −5 deps/uv/test/test-fs.c
  87. +21 −0 deps/uv/test/test-get-currentexe.c
  88. +32 −0 deps/uv/test/test-getaddrinfo.c
  89. +18 −0 deps/uv/test/test-getnameinfo.c
  90. +16 −0 deps/uv/test/test-list.h
  91. +38 −0 deps/uv/test/test-loop-configure.c
  92. +9 −4 deps/uv/test/test-osx-select.c
  93. +3 −0 deps/uv/test/test-ping-pong.c
  94. +1 −2 deps/uv/test/test-pipe-close-stdout-read-stdin.c
  95. +112 −29 deps/uv/test/test-pipe-getsockname.c
  96. +99 −0 deps/uv/test/test-pipe-set-non-blocking.c
  97. +6 −0 deps/uv/test/test-platform-output.c
  98. +114 −0 deps/uv/test/test-poll-close-doesnt-corrupt-stack.c
  99. +2 −1 deps/uv/test/test-poll-closesocket.c
  100. +3 −24 deps/uv/test/test-poll.c
  101. +27 −5 deps/uv/test/test-spawn.c
  102. +15 −0 deps/uv/test/test-tcp-bind6-error.c
  103. +128 −0 deps/uv/test/test-tcp-oob.c
  104. +0 −12 deps/uv/test/test-tcp-try-write.c
  105. +6 −7 deps/uv/test/test-udp-ipv6.c
  106. +3 −0 deps/uv/test/test-udp-multicast-interface6.c
  107. +3 −0 deps/uv/test/test-udp-multicast-join6.c
  108. +21 −5 deps/uv/test/test-udp-options.c
  109. +7 −22 deps/uv/uv.gyp
  110. +7 −0 lib/child_process.js
  111. +3 −3 lib/net.js
  112. +44 −0 test/simple/test-child-process-sync-process-send.js
  113. +44 −0 test/simple/test-net-sync-stdio.js
@@ -34,9 +34,6 @@ vgcore.*
Makefile
Makefile.in

# Generated by dtrace(1) when doing an in-tree build.
/include/uv-dtrace.h

# Generated by gyp for android
*.target.mk

@@ -52,7 +49,10 @@ Makefile.in
/test/run-benchmarks.dSYM

*.sln
*.sln.cache
*.ncb
*.vcproj
*.vcproj*.user
*.vcxproj
*.vcxproj.filters
*.vcxproj.user
@@ -67,3 +67,6 @@ ipch

*.xcodeproj
*.xcworkspace

# make dist output
libuv-*.tar.*
@@ -14,15 +14,12 @@ Isaac Z. Schlueter <i@izs.me>
Justin Venus <justin.venus@gmail.com> <justin.venus@orbitz.com>
Keno Fischer <kenof@stanford.edu> <kfischer+github@college.harvard.edu>
Keno Fischer <kenof@stanford.edu> <kfischer@college.harvard.edu>
Leith Bade <leith@leithalweapon.geek.nz> <leith@mapbox.com>
Leonard Hecker <leonard.hecker91@gmail.com> <leonard@hecker.io>
Maciej Małecki <maciej.malecki@notimplemented.org> <me@mmalecki.com>
Marc Schlaich <marc.schlaich@googlemail.com> <marc.schlaich@gmail.com>
Rasmus Christian Pedersen <ruysch@outlook.com>
Rasmus Christian Pedersen <ruysch@outlook.com>
Rasmus Christian Pedersen <ruysch@outlook.com>
Rasmus Christian Pedersen <ruysch@outlook.com>
Rasmus Christian Pedersen <zerhacken@yahoo.com>
Rasmus Christian Pedersen <zerhacken@yahoo.com> <ruysch@outlook.com>
Rasmus Pedersen <ruysch@outlook.com> <zerhacken@yahoo.com>
Robert Mustacchi <rm@joyent.com> <rm@fingolfin.org>
Ryan Dahl <ryan@joyent.com> <ry@tinyclouds.org>
Ryan Emery <seebees@gmail.com>
@@ -173,5 +173,11 @@ Michael Ira Krufky <m.krufky@samsung.com>
Helge Deller <deller@gmx.de>
Joey Geralnik <jgeralnik@gmail.com>
Tim Caswell <tim@creationix.com>
Michael Hudson-Doyle <michael.hudson@linaro.org>
Helge Deller <deller@gmx.de>
Logan Rosen <loganrosen@gmail.com>
Kenneth Perry <thothonegan@gmail.com>
John Marino <marino@FreeBSD.org>
Alexey Melnichuk <mimir@newmail.ru>
Johan Bergström <bugs@bergstroem.nu>
Alex Mo <almosnow@gmail.com>
Luis Martinez de Bartolome <lasote@gmail.com>
Michael Penick <michael.penick@datastax.com>
@@ -1,3 +1,267 @@
2015.02.27, Version 1.4.2 (Stable)

Changes since version 1.4.1:

* stream: ignore EINVAL for SO_OOBINLINE on OS X (Fedor Indutny)


2015.02.25, Version 1.4.1 (Stable), e8e3fc5789cc0f02937879d141cca0411274093c

Changes since version 1.4.0:

* win: don't use inline keyword in thread.c (Ben Noordhuis)

* windows: fix setting dirent types on uv_fs_scandir_next (Saúl Ibarra
Corretgé)

* unix,windows: make uv_thread_create() return errno (Ben Noordhuis)

* tty: fix build for SmartOS (Julien Gilli)

* unix: fix for uv_async data race (Michael Penick)

* unix, windows: map EHOSTDOWN errno (Ben Noordhuis)

* stream: use SO_OOBINLINE on OS X (Fedor Indutny)


2015.02.10, Version 1.4.0 (Stable), 19fb8a90648f3763240db004b77ab984264409be

Changes since version 1.3.0:

* unix: check Android support for pthread_cond_timedwait_monotonic_np (Leith
Bade)

* test: use modified path in test (cjihrig)

* unix: implement uv_stream_set_blocking() (Ben Noordhuis)


2015.01.29, Version 1.3.0 (Stable), 165685b2a9a42cf96501d79cd6d48a18aaa16e3b

Changes since version 1.2.1:

* unix, windows: set non-block mode in uv_poll_init (Saúl Ibarra Corretgé)

* doc: clarify which flags are supported in uv_fs_event_start (Saúl Ibarra
Corretgé)

* win,unix: move loop functions which have identical implementations (Andrius
Bentkus)

* doc: explain how the threadpool is allocated (Alex Mo)

* doc: clarify uv_default_loop (Saúl Ibarra Corretgé)

* unix: fix implicit declaration compiler warning (Ben Noordhuis)

* unix: fix long line introduced in commit 94e628fa (Ben Noordhuis)

* unix, win: add synchronous uv_get{addr,name}info (Saúl Ibarra Corretgé)

* linux: fix epoll_pwait() regression with < 2.6.19 (Ben Noordhuis)

* build: compile -D_GNU_SOURCE on linux (Ben Noordhuis)

* build: use -fvisibility=hidden in autotools build (Ben Noordhuis)

* fs, pipe: no trailing terminator in exact sized buffers (Andrius Bentkus)

* style: rename buf to buffer and len to size for consistency (Andrius Bentkus)

* test: fix test-spawn on MinGW32 (Luis Martinez de Bartolome)

* win, pipe: fix assertion when destroying timer (Andrius Bentkus)

* win, unix: add pipe_peername implementation (Andrius Bentkus)


2015.01.29, Version 0.10.33 (Stable), 7a2253d33ad8215a26c1b34f1952aee7242dd687

Changes since version 0.10.32:

* linux: fix epoll_pwait() regression with < 2.6.19 (Ben Noordhuis)

* test: back-port uv_loop_configure() test (Ben Noordhuis)


2015.01.15, Version 1.2.1 (Stable), 4ca78e989062a1099dc4b9ad182a98e8374134b1

Changes since version 1.2.0:

* unix: remove unused dtrace file (Saúl Ibarra Corretgé)

* test: skip TTY select test if /dev/tty can't be opened (Saúl Ibarra Corretgé)

* doc: clarify the behavior of uv_tty_init (Saúl Ibarra Corretgé)

* doc: clarify how uv_async_send behaves (Saúl Ibarra Corretgé)

* build: make dist now generates a full tarball (Johan Bergström)

* freebsd: make uv_exepath more resilient (Saúl Ibarra Corretgé)

* unix: make setting the tty mode to the same value a no-op (Saúl Ibarra
Corretgé)

* win,tcp: support uv_try_write (Bert Belder)

* test: enable test-tcp-try-write on windows (Bert Belder)

* win,tty: support uv_try_write (Bert Belder)

* unix: set non-block mode in uv_{pipe,tcp,udp}_open (Ben Noordhuis)


2015.01.06, Version 1.2.0 (Stable), 09f25b13cd149c7981108fc1a75611daf1277f83

Changes since version 1.1.0:

* linux: fix epoll_pwait() sigmask size calculation (Ben Noordhuis)

* tty: implement binary I/O terminal mode (Yuri D'Elia)

* test: fix spawn test with autotools build (Ben Noordhuis)

* test: skip ipv6 tests when ipv6 is not supported (Ben Noordhuis)

* common: move STATIC_ASSERT to uv-common.h (Alexey Melnichuk)

* win/thread: store thread handle in a TLS slot (Alexey Melnichuk)

* unix: fix ttl, multicast ttl and loop options on IPv6 (Saúl Ibarra Corretgé)

* linux: fix support for preadv/pwritev-less kernels (Ben Noordhuis)

* unix: make uv_exepath(size=0) return UV_EINVAL (Ben Noordhuis)

* darwin: fix uv_exepath(smallbuf) UV_EPERM error (Ben Noordhuis)

* openbsd: fix uv_exepath(smallbuf) UV_EINVAL error (Ben Noordhuis)

* linux: fix uv_exepath(size=1) UV_EINVAL error (Ben Noordhuis)

* sunos: preemptively fix uv_exepath(size=1) (Ben Noordhuis)

* win: fix and clarify comments in winapi.h (Bert Belder)

* win: make available NtQueryDirectoryFile (Bert Belder)

* win: add definitions for directory information types (Bert Belder)

* win: use NtQueryDirectoryFile to implement uv_fs_scandir (Bert Belder)

* unix: don't unlink unix socket on bind error (Ben Noordhuis)

* build: fix bad comment in autogen.sh (Ben Noordhuis)

* build: add AC_PROG_LIBTOOL to configure.ac (Ben Noordhuis)

* test: skip udp_options6 if there no IPv6 support (Saúl Ibarra Corretgé)

* win: add definitions for MUI errors mingw lacks (Bert Belder)

* build: enable warnings in autotools build (Ben Noordhuis)

* build: remove -Wno-dollar-in-identifier-extension (Ben Noordhuis)

* build: move flags from Makefile.am to configure.ac (Ben Noordhuis)


2015.01.06, Version 0.10.32 (Stable), 378de30c59aef5fdb6d130fa5cfcb0a68fce571c

Changes since version 0.10.31:

* linux: fix epoll_pwait() sigmask size calculation (Ben Noordhuis)


2014.12.25, Version 1.1.0 (Stable), 9572f3e74a167f59a8017e57ca3ebe91ffd88e18

Changes since version 1.0.2:

* test: test that closing a poll handle doesn't corrupt the stack (Bert Belder)

* win: fix compilation of tests (Marc Schlaich)

* Revert "win: keep a reference to AFD_POLL_INFO in cancel poll" (Bert Belder)

* win: avoid stack corruption when closing a poll handle (Bert Belder)

* test: fix test-fs-file-loop on Windows (Bert Belder)

* test: fix test-cwd-and-chdir (Bert Belder)

* doc: indicate what version uv_loop_configure was added on (Saúl Ibarra
Corretgé)

* doc: fix sphinx warning (Saúl Ibarra Corretgé)

* test: skip spawn_setuid_setgid if we get EACCES (Saúl Ibarra Corretgé)

* test: silence some Clang warnings (Saúl Ibarra Corretgé)

* test: relax osx_select_many_fds (Saúl Ibarra Corretgé)

* test: fix compilation warnings when building with Clang (Saúl Ibarra
Corretgé)

* win: fix autotools build of tests (Luis Lavena)

* gitignore: ignore Visual Studio files (Marc Schlaich)

* win: set fallback message if FormatMessage fails (Marc Schlaich)

* win: fall back to default language in uv_dlerror (Marc Schlaich)

* test: improve compatibility for dlerror test (Marc Schlaich)

* test: check dlerror is "no error" in no error case (Marc Schlaich)

* unix: change uv_cwd not to return a trailing slash (Saúl Ibarra Corretgé)

* test: fix cwd_and_chdir test on Unix (Saúl Ibarra Corretgé)

* test: add uv_cwd output to platform_output test (Saúl Ibarra Corretgé)

* build: fix dragonflybsd autotools build (John Marino)

* win: scandir use 'ls' for formatting long strings (Kenneth Perry)

* build: remove clang and gcc_version gyp defines (Ben Noordhuis)

* unix, windows: don't treat uv_run_mode as a bitmask (Saúl Ibarra Corretgé)

* unix, windows: fix UV_RUN_ONCE mode if progress was made (Saúl Ibarra
Corretgé)


2014.12.25, Version 0.10.31 (Stable), 4dbd27e2219069a6daa769fb37f98673b77b4261

Changes since version 0.10.30:

* test: test that closing a poll handle doesn't corrupt the stack (Bert Belder)

* win: fix compilation of tests (Marc Schlaich)

* Revert "win: keep a reference to AFD_POLL_INFO in cancel poll" (Bert Belder)

* win: avoid stack corruption when closing a poll handle (Bert Belder)

* gitignore: ignore Visual Studio files (Marc Schlaich)

* win: set fallback message if FormatMessage fails (Marc Schlaich)

* win: fall back to default language in uv_dlerror (Marc Schlaich)

* test: improve compatibility for dlerror test (Marc Schlaich)

* test: check dlerror is "no error" in no error case (Marc Schlaich)

* build: link against -pthread (Logan Rosen)

* win: scandir use 'ls' for formatting long strings (Kenneth Perry)


2014.12.10, Version 1.0.2 (Stable), eec671f0059953505f9a3c9aeb7f9f31466dd7cd

Changes since version 1.0.1: