Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V4.2.5 proposal #4768

Merged
merged 191 commits into from
Jan 20, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
31b4091
debugger: also exit when the repl emits 'exit'
fb55 Aug 13, 2015
ae8e3af
doc: update irc channels: #node.js and #node-dev
nelsonpecora Sep 8, 2015
8a9869e
module: fix column offsets in errors
tflanagan Sep 14, 2015
80b4ba2
build: Updates for AIX npm support - part 1
mhdawson Sep 29, 2015
3d81ea9
lib,test: update let to const where applicable
thefourtheye Oct 8, 2015
efa30dd
tools: enable prefer-const eslint rule
thefourtheye Oct 8, 2015
f31d23c
doc: add TSC meeting minutes 2015-09-30
rvagg Oct 7, 2015
b9c6996
doc: add TSC meeting minutes 2015-10-07
rvagg Oct 14, 2015
2d5380e
util: fix constructor/instanceof checks
mscdex Oct 15, 2015
f413fae
tools: add tap output to cpplint
jbergstroem Oct 20, 2015
49f16d7
async_wrap: allow some hooks to be optional
trevnorris Oct 20, 2015
a8b45e9
async_wrap: new instances get uid
trevnorris Oct 19, 2015
5533681
async_wrap: call callback in destructor
trevnorris Oct 20, 2015
2e623ff
doc: add TSC meeting minutes 2015-10-14
rvagg Oct 21, 2015
1f78bff
doc: add TSC meeting minutes 2015-10-21
rvagg Oct 22, 2015
166523d
test: fix race condition in unrefd interval test
mcornac Oct 27, 2015
7ffd299
doc: add final full stop in CONTRIBUTING.md
emilyaviva Oct 29, 2015
46c59b7
doc: add CTC meeting minutes 2015-10-28
rvagg Nov 4, 2015
e6c2533
build: omit -gline-tables-only for --enable-asan
bnoordhuis Nov 5, 2015
70c95ea
doc: add warning about Windows process groups
r-52 Nov 5, 2015
e2141cb
test: skip instead of fail when mem constrained
mcornac Nov 6, 2015
32801de
tools: Use `throw new Error()` consistently
Trott Nov 8, 2015
3ee1670
tools: enforce `throw new Error()` with lint rule
Trott Nov 8, 2015
8c5b847
doc: Describe FIPSDIR environment variable
stefanmb Nov 6, 2015
b7c3fb7
crypto: disable crypto.createCipher in FIPS mode
stefanmb Nov 9, 2015
22d2887
test: add OS X to module loading error test
evanlucas Nov 18, 2015
5bf5688
fs,doc: use `target` instead of `destination`
yorkie Nov 25, 2015
f55491a
doc: move fs.existsSync() deprecation message
martfors Nov 20, 2015
a7367fd
net: small code cleanup
jscissr Nov 20, 2015
22b88e1
test: add TAP diagnostic message for retried tests
Trott Nov 21, 2015
3f0ff87
test: fix time resolution constraint
gireeshpunathil Nov 23, 2015
bb158f8
doc: s/node.js/Node.js in readme
rvagg Nov 24, 2015
a320045
buffer: default to UTF8 in byteLength()
tomgco Nov 24, 2015
a77dcfe
test: use platform-based timeout for reliability
Trott Nov 25, 2015
b8e75de
crypto: fix native module compilation with FIPS
stefanmb Nov 25, 2015
e2fe214
doc: add links and backticks around names
Nov 27, 2015
b71a3b3
doc: fixup socket.remoteAddress
baloo Dec 8, 2015
6dd375c
doc: document backlog for server.listen() variants
jscissr Nov 25, 2015
86b47e8
timers: optimize callback call: bind -> arrow
bsnote Nov 26, 2015
2ee7853
test: fix http-many-ended-pipelines flakiness
santigimeno Nov 26, 2015
22ba1b4
test: eliminate multicast test FreeBSD flakiness
Trott Nov 26, 2015
ac939d5
test: improve cluster-disconnect-handles test
mscdex Dec 1, 2015
c9100d7
test: fix flaky test-net-socket-local-address
Trott Dec 1, 2015
c96eca1
src: don't print garbage errors
cjihrig Dec 2, 2015
90498e2
test: skip long path tests on non-Windows
rsp Dec 2, 2015
abe4528
doc: url.format - true slash postfix behaviour
Dec 2, 2015
39364c4
doc: improve child_process.markdown wording
yorkie Dec 3, 2015
17b06df
doc: add zkat to collaborators
zkat Dec 3, 2015
683d8dd
doc: add JungMinu to collaborators
JungMinu Dec 3, 2015
27b9b72
doc: add iarna to collaborators
iarna Dec 3, 2015
830caeb
doc, test: symbols as event names
bengl Dec 4, 2015
c5f71ac
build: add "--partly-static" build options
medns Dec 4, 2015
c6dc2a1
buffer: Prevent Buffer constructor deopt
brycebaril Dec 4, 2015
6f4ab1d
test: mark test-cluster-shared-leak flaky
Trott Dec 5, 2015
70974e9
src: use GetCurrentProcessId() for process.pid
bnoordhuis Dec 4, 2015
06113b8
node: s/doNTCallbackX/nextTickCallbackWithXArgs/
rvagg Dec 6, 2015
d480667
repl: display error message when loading directory
princejwesley Dec 6, 2015
1c34b13
doc: add brief Node.js overview to README
Dec 7, 2015
8d676ef
doc: change references from node to Node.js
r-52 Dec 7, 2015
990e7ff
doc: update AUTHORS list
rvagg Dec 8, 2015
6235fdf
doc: copyedit addons doc
Trott Dec 8, 2015
c35a409
doc: clarify assert.fail doc
Trott Dec 8, 2015
7920f8d
doc: copyedit buffer doc
Trott Dec 8, 2015
2e64205
doc: copyedit child_process doc
Trott Dec 8, 2015
0efc35e
tls_wrap: slice buffer properly in `ClearOut`
indutny Dec 8, 2015
c41b280
test: fix tls-inception
santigimeno Dec 8, 2015
d00b9fc
test: fix tls-inception flakiness
santigimeno Dec 8, 2015
481d59a
configure: fix arm vfpv2
joerg-krause Dec 8, 2015
6bc1b1c
test: don't assume openssl s_client supports -ssl3
bnoordhuis Dec 8, 2015
9a0f156
test: fix domain-top-level-error-handler-throw
santigimeno Dec 20, 2015
5140c40
doc: harmonize description of `ca` argument
bnoordhuis Dec 9, 2015
bfe1a6b
doc: add calvinmetcalf to collaborators
calvinmetcalf Dec 9, 2015
59654c2
doc: add rmg to collaborators
rmg Dec 9, 2015
4ccf04c
doc: add mcollina to collaborators
mcollina Dec 9, 2015
fb8e8db
doc: copyedit console doc
Trott Dec 10, 2015
cf214e5
doc: move description of 'equals' method to right place
janriemer Dec 10, 2015
6c30d08
doc: Fixing broken links to the v8 wiki
tomgco Dec 11, 2015
fd250b8
test: parallelize test-repl-persistent-history
Fishrock123 Dec 11, 2015
15c295a
test: use regular timeout times for ARMv8
Fishrock123 Dec 10, 2015
5ba08fb
src: fix line numbers on core errors
cjihrig Dec 11, 2015
7983577
doc: fix improper http.get sample code
hidekiy Dec 13, 2015
03e9495
node: remove unused variables in AppendExceptionLine
yorkie Dec 13, 2015
5b695d0
tls_wrap: inherit from the `AsyncWrap` first
indutny Dec 14, 2015
d47f6ba
src: fix deprecation message for ErrnoException
gagern Dec 14, 2015
d87ad30
doc: clarify error events in HTTP module documentation
Dec 14, 2015
61f91b2
doc: fix, modernize examples in docs
jasnell Dec 14, 2015
73e7811
test: add test for tls.parseCertString
evanlucas Dec 15, 2015
764df21
doc: document the cache parameter for fs.realpathSync
JacksonTian Dec 15, 2015
dd0c925
udp: remove a needless instanceof Buffer check
Dec 16, 2015
44dbe15
test: fix debug-port-cluster flakiness
bnoordhuis Dec 16, 2015
fe693b7
doc: Typo in buffer.markdown referencing buf.write()
chrisJohn404 Dec 17, 2015
ed87873
doc: fix link in addons.markdown
secretfader Dec 17, 2015
2b142fd
doc: catch the WORKING_GROUPS.md bootstrap docs up to date
jasnell Dec 20, 2015
2b1804f
doc: copyedit releases.md
Trott Dec 21, 2015
2b8a32a
src: refactor vcbuild configure args creation
rvagg Oct 16, 2015
1ebb0c0
deps: upgrade libuv to 1.8.0
saghul Dec 13, 2015
1bc44e7
test: try other ipv6 localhost alternatives
mscdex Dec 17, 2015
9808521
test: fix flaky test-net-error-twice
mscdex Dec 18, 2015
761af37
test: fix race condition in test-http-client-onerror
dnakamura Dec 18, 2015
823269d
doc: improve assert.markdown copy
jasnell Dec 20, 2015
29804e0
test: use platformTimeout() in more places
mscdex Dec 22, 2015
6c00213
test: refactor test-net-connect-options-ipv6
Trott Dec 23, 2015
abb17cc
doc: fix spelling error in lib/url.js comment
nikolas Dec 22, 2015
df7e128
doc: improvements to console.markdown copy
jasnell Dec 26, 2015
e244d56
doc: improvements to debugger.markdown copy
jasnell Dec 27, 2015
74bcad0
doc: improvements to dgram.markdown copy
jasnell Dec 27, 2015
c3a9d8a
deps: backport 200315c from V8 upstream
vkurchatkin Dec 3, 2015
1bf84b9
util,src: allow lookup of hidden values
cjihrig Nov 23, 2015
422a865
util: add decorateErrorStack()
cjihrig Nov 25, 2015
93afc39
repl: attach location info to syntax errors
cjihrig Nov 25, 2015
0ae90ec
module,repl: remove repl require() hack
bnoordhuis Nov 25, 2015
6a7c9d9
util: move .decorateErrorStack to internal/util
bnoordhuis Nov 25, 2015
acc3d66
test: move ArrayStream to common
cjihrig Nov 25, 2015
b421119
util: determine object types in C++
cjihrig Dec 1, 2015
3080bdc
src: define Is* util functions with macros
cjihrig Dec 2, 2015
41882e4
repl: fix require('3rdparty') regression
bnoordhuis Dec 9, 2015
d795301
test: remove unnecessary assignments
Trott Dec 24, 2015
f5bfacd
test: remove unused `util` imports
Trott Dec 23, 2015
9baa561
deps: backport 066747e from upstream V8
ofrobots Jan 11, 2016
9855fab
repl: use String#repeat instead of Array#join
evanlucas Nov 18, 2015
f441410
util: faster arrayToHash
JacksonTian Nov 22, 2015
4856420
child_process: flush consuming streams
Nov 30, 2015
db0e906
repl: Fixed node repl history edge case.
zeusdeux Dec 1, 2015
d19da66
crypto: load PFX chain the same way as regular one
indutny Dec 5, 2015
39dc054
http: remove excess calls to removeSocket
Dec 6, 2015
f613b30
test: add test-domain-exit-dispose-again back
Dec 12, 2015
8ce6843
os: fix crash in GetInterfaceAddresses
martinbark Dec 14, 2015
3ff2373
http: Remove an unnecessary assignment
gigabo Dec 17, 2015
138d004
buffer: faster case for create Buffer from new Buffer(0)
JacksonTian Dec 17, 2015
901172a
assert: typed array deepequal performance fix
claudiorodriguez Dec 17, 2015
44ee33f
buffer: refactor create buffer
JacksonTian Dec 18, 2015
751fbd8
https: use `servername` in agent key
indutny Dec 22, 2015
53dcbb6
repl: remove unused function
Trott Dec 23, 2015
c77fc71
test: remove unused var from test-assert.js
Trott Dec 23, 2015
41fcda8
http: use `self.keepAlive` instead of `self.options.keepAlive`
dschenkelman Dec 23, 2015
35e3298
child_process: guard against race condition
Trott Dec 24, 2015
e70c88d
test: remove unused assert module imports
Trott Dec 27, 2015
506f2f8
doc: add anchors for _transform _flush _writev in stream.markdown
iamchenxin Dec 28, 2015
ceea6df
doc: improvements to dns.markdown copy
jasnell Dec 27, 2015
d927c51
doc: improvements to errors.markdown copy
jasnell Dec 28, 2015
bf56d50
doc: explain ClientRequest#setTimeout time unit
bripkens Dec 28, 2015
1ae0e35
test: improve assert message
Trott Dec 29, 2015
0ceb314
doc: improvements to events.markdown copy
jasnell Dec 29, 2015
610727d
test: clarify role of domains in test
Trott Dec 31, 2015
7ca3c6c
test: refactor test-fs-empty-readStream
Trott Dec 30, 2015
7dc90e9
test: remove time check
Trott Dec 31, 2015
c24fa14
test: inherit JOBS from environment
jbergstroem Dec 31, 2015
b8f097e
test: fix flaky streams test
Trott Jan 3, 2016
25c41d0
test: remove flaky designations for tests
Trott Jan 3, 2016
7caf87b
test: fix flaky test-http-agent-keepalive
Trott Jan 4, 2016
a7bcf8b
doc: close backtick in process.title description
Jan 5, 2016
8574d91
doc: stronger suggestion for userland assert
geek Jan 5, 2016
0cd2252
doc: fix numbering in stream.markdown
richardsun29 Jan 5, 2016
5d6bed8
doc: bring releases.md up to date
cjihrig Jan 5, 2016
54977e6
doc: add missing backtick for readline
mscdex Jan 6, 2016
e20b1f6
doc: add Myles Borins to Release Team
Jan 8, 2016
0b12bcb
doc: add Evan Lucas to Release Team
evanlucas Jan 8, 2016
bcd2cbb
doc: fix description about the latest-codename
JungMinu Jan 8, 2016
bd31740
doc: label http.IncomingMessage as a Class
Sequoia Jan 8, 2016
5b45a46
doc: document http's server.listen return value
Sequoia Jan 8, 2016
2f40715
doc: adds usage of readline line-by-line parsing
eljefedelrodeodeljefe Jan 10, 2016
18f5cd8
doc: update stylesheet to match frontpage
silverwind Jan 11, 2016
295ca5b
doc: add branch-diff example to releases.md
Jan 12, 2016
50b72aa
docs: fix npm command in releases.md
Jan 13, 2016
82cbfcd
docs: update gpg key for Myles Borins
Jan 13, 2016
c4eeb88
test: fix flaky cluster-disconnect-race
mscdex Dec 28, 2015
253fe3e
dns: remove nonexistant exports.ADNAME
silverwind Sep 27, 2015
dffe83c
test: remove unused modules
Trott Dec 30, 2015
7a1a0a0
lib: remove unused modules
Trott Dec 23, 2015
2f4538d
test: remove unused vars
Trott Dec 27, 2015
13241bd
test: remove unused vars in ChildProcess tests
Trott Dec 26, 2015
da9e5c1
test: remove unused variables from net tests
Trott Dec 26, 2015
7b1aa04
test: remove unused variables from HTTPS tests
Trott Dec 26, 2015
6e4598d
test: remove unused variables from TLS tests
Trott Dec 26, 2015
0d5a508
test: extend timeout in Debug mode
Trott Dec 26, 2015
b4964b0
test: remove unused variables form http tests
Trott Dec 25, 2015
f183770
test: remove unused vars from parallel tests
Trott Jan 2, 2016
69fef19
tools: implement no-unused-vars for eslint
Trott Dec 23, 2015
5f4aa79
doc: clarify explanation of first stream section
vccortez Dec 10, 2015
4d37472
tls_wrap: clear errors on return
indutny Jan 3, 2016
6b2ef0e
test: make temp path customizable
jbergstroem Oct 12, 2015
350fa66
test: don't assume a certain folder structure
jbergstroem Dec 30, 2015
b6124ea
test: write to tmp dir rather than fixture dir
Trott Dec 30, 2015
33e72e1
doc: update links to use https where possible
Dec 2, 2015
46d8c93
test: don't use cwd for relative path
jbergstroem Dec 30, 2015
8c2b65a
doc: clarify protocol default in http.request()
cjihrig Jan 15, 2016
f61412c
test: mark test-debug-no-context is flaky
Trott Dec 25, 2015
87181cd
assert: accommodate ES6 classes that extend Error
Trott Dec 6, 2015
628cb86
tools: add .editorconfig
ronkorving Sep 22, 2015
e6ca04c
2016-01-20, Version 4.2.5 "Argon" (LTS) Release
Jan 19, 2016
8a0cc64
Working on v4.2.6
Jan 20, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: upgrade libuv to 1.8.0
Fixes: #3718
PR-URL: #4276
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
saghul authored and Myles Borins committed Jan 19, 2016
commit 1ebb0c0fdf18ac098fe8c1dfc74439a484607071
15 changes: 15 additions & 0 deletions deps/uv/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,18 @@ Colin Snover <github.com@zetafleet.com>
Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Eli Skeggs <skeggse@gmail.com>
nmushell <nmushell@bloomberg.net>
Gireesh Punathil <gpunathi@in.ibm.com>
Ryan Johnston <ryan@mediapixel.co.nz>
Adam Stylinski <stylinae@mail.uc.edu>
Nathan Corvino <nathan@corvino.com>
Wink Saville <wink@saville.com>
Angel Leon <gubatron@gmail.com>
Louis DeJardin <lodejard@microsoft.com>
Imran Iqbal <imrani@ca.ibm.com>
Petka Antonov <petka_antonov@hotmail.com>
Ian Kronquist <iankronquist@teleport.com>
kkdaemon <kkdaemon@gmail.com>
Yuval Brik <yuval@brik.org.il>
Joran Dirk Greef <joran@ronomon.com>
Andrey Mazo <andrey.mazo@fidelissecurity.com>
sztomi <hello.sztomi@gmail.com>
99 changes: 99 additions & 0 deletions deps/uv/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,102 @@
2015.12.15, Version 1.8.0 (Stable), 5467299450ecf61635657557b6e01aaaf6c3fdf4

Changes since version 1.7.5:

* unix: fix memory leak in uv_interface_addresses (Jianghua Yang)

* unix: make uv_guess_handle work properly for AIX (Gireesh Punathil)

* fs: undo uv__req_init when uv__malloc failed (Jianghua Yang)

* build: remove unused 'component' GYP option (Saúl Ibarra Corretgé)

* include: remove duplicate extern declaration (Jianghua Yang)

* win: use the MSVC provided snprintf where possible (Jason Williams)

* win, test: fix compilation warning (Saúl Ibarra Corretgé)

* win: fix compilation with VS < 2012 (Ryan Johnston)

* stream: support empty uv_try_write on unix (Fedor Indutny)

* unix: fix request handle leak in uv__udp_send (Jianghua Yang)

* src: replace QUEUE_SPLIT with QUEUE_MOVE (Ben Noordhuis)

* unix: use QUEUE_MOVE when iterating over lists (Ben Noordhuis)

* unix: squelch harmless valgrind warning (Ben Noordhuis)

* test: don't abort on setrlimit() failure (Ben Noordhuis)

* unix: only undo fs req registration in async mode (Ben Noordhuis)

* unix: fix uv__getiovmax return value (HungMingWu)

* unix: make work with Solaris Studio. (Adam Stylinski)

* test: fix fs_event_watch_file_currentdir flakiness (Santiago Gimeno)

* unix: skip prohibited syscalls on tvOS and watchOS (Nathan Corvino)

* test: use FQDN in getaddrinfo_fail test (Wink Saville)

* docs: clarify documentation of uv_tcp_init_ex (Andrius Bentkus)

* win: fix comment (Miodrag Milanovic)

* doc: fix typo in README (Angel Leon)

* darwin: abort() if (un)locking fs mutex fails (Ben Noordhuis)

* pipe: enable inprocess uv_write2 on Windows (Louis DeJardin)

* win: properly return UV_EBADF when _close() fails (Nicholas Vavilov)

* test: skip process_title for AIX (Imran Iqbal)

* misc: expose handle print APIs (Petka Antonov)

* include: add stdio.h to uv.h (Saúl Ibarra Corretgé)

* misc: remove unnecessary null pointer checks (Ian Kronquist)

* test,freebsd: skip udp_dual_stack if not supported (Santiago Gimeno)

* linux: don't retry dup2/dup3 on EINTR (Ben Noordhuis)

* unix: don't retry dup2/dup3 on EINTR (Ben Noordhuis)

* test: fix -Wtautological-pointer-compare warnings (Saúl Ibarra Corretgé)

* win: map ERROR_BAD_PATHNAME to UV_ENOENT (Tony Kelman)

* test: fix test/test-tty.c for AIX (Imran Iqbal)

* android: support api level less than 21 (kkdaemon)

* fsevents: fix race on simultaneous init+close (Fedor Indutny)

* linux,fs: fix p{read,write}v with a 64bit offset (Saúl Ibarra Corretgé)

* fs: add uv_fs_realpath() (Yuval Brik)

* win: fix path for removed and renamed fs events (Joran Dirk Greef)

* win: do not read more from stream than available (Jeremy Whitlock)

* test: test that uv_close() doesn't corrupt QUEUE (Andrey Mazo)

* unix: fix uv_fs_event_stop() from fs_event_cb (Andrey Mazo)

* test: fix self-deadlocks in thread_rwlock_trylock (Ben Noordhuis)

* src: remove non ascii character (sztomi)

* test: fix test udp_multicast_join6 for AIX (Imran Iqbal)


2015.09.23, Version 1.7.5 (Stable), a8c1136de2cabf25b143021488cbaab05834daa8

Changes since version 1.7.4:
Expand Down
1 change: 1 addition & 0 deletions deps/uv/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ test_run_tests_SOURCES = test/blackhole-server.c \
test/test-poll-closesocket.c \
test/test-poll.c \
test/test-process-title.c \
test/test-queue-foreach-delete.c \
test/test-ref.c \
test/test-run-nowait.c \
test/test-run-once.c \
Expand Down
2 changes: 1 addition & 1 deletion deps/uv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Git tags are signed with the developer's key, they can be verified as follows:
$ git verify-tag v1.6.1

Starting with libuv 1.7.0, the tarballs stored in the
[downloads site](http://dist.libuv.org/dist/) are signed and an accomanying
[downloads site](http://dist.libuv.org/dist/) are signed and an accompanying
signature file sit alongside each. Once both the release tarball and the
signature file are downloaded, the file can be verified as follows:

Expand Down
2 changes: 1 addition & 1 deletion deps/uv/appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v1.7.5.build{build}
version: v1.8.0.build{build}

install:
- cinst -y nsis
Expand Down
1 change: 0 additions & 1 deletion deps/uv/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
'target_arch%': 'ia32', # set v8's target architecture
'host_arch%': 'ia32', # set v8's host architecture
'uv_library%': 'static_library', # allow override to 'shared_library' for DLL/.so builds
'component%': 'static_library', # NB. these names match with what V8 expects
'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not using the V8 way
},

Expand Down
2 changes: 1 addition & 1 deletion deps/uv/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

AC_PREREQ(2.57)
AC_INIT([libuv], [1.7.5], [https://github.com/libuv/libuv/issues])
AC_INIT([libuv], [1.8.0], [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])
Expand Down
10 changes: 10 additions & 0 deletions deps/uv/docs/src/fs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,16 @@ API

Equivalent to :man:`readlink(2)`.

.. c:function:: int uv_fs_realpath(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_fs_cb cb)

Equivalent to :man:`realpath(3)` on Unix. Windows uses ``GetFinalPathNameByHandle()``.

.. note::
This function is not implemented on Windows XP and Windows Server 2003.
On these systems, UV_ENOSYS is returned.

.. versionadded:: 1.8.0

.. c:function:: int uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)
.. c:function:: int uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb)

Expand Down
38 changes: 38 additions & 0 deletions deps/uv/docs/src/misc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,41 @@ API
.. note::
Not every platform can support nanosecond resolution; however, this value will always
be in nanoseconds.

.. c:function:: void uv_print_all_handles(uv_loop_t* loop, FILE* stream)

Prints all handles associated with the given `loop` to the given `stream`.

Example:

::

uv_print_all_handles(uv_default_loop(), stderr);
/*
[--I] signal 0x1a25ea8
[-AI] async 0x1a25cf0
[R--] idle 0x1a7a8c8
*/

The format is `[flags] handle-type handle-address`. For `flags`:

- `R` is printed for a handle that is referenced
- `A` is printed for a handle that is active
- `I` is printed for a handle that is internal

.. warning::
This function is meant for ad hoc debugging, there is no API/ABI
stability guarantees.

.. versionadded:: 1.8.0

.. c:function:: void uv_print_active_handles(uv_loop_t* loop, FILE* stream)

This is the same as :c:func:`uv_print_all_handles` except only active handles
are printed.

.. warning::
This function is meant for ad hoc debugging, there is no API/ABI
stability guarantees.

.. versionadded:: 1.8.0
2 changes: 1 addition & 1 deletion deps/uv/docs/src/tcp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ API

.. c:function:: int uv_tcp_init_ex(uv_loop_t* loop, uv_tcp_t* handle, unsigned int flags)

Initialize the handle with the specified flags. At the moment the lower 8 bits
Initialize the handle with the specified flags. At the moment only the lower 8 bits
of the `flags` parameter are used as the socket domain. A socket will be created
for the given domain. If the specified domain is ``AF_UNSPEC`` no socket is created,
just like :c:func:`uv_tcp_init`.
Expand Down
3 changes: 0 additions & 3 deletions deps/uv/gyp_uv.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ def run_gyp(args):
if not any(a.startswith('-Duv_library=') for a in args):
args.append('-Duv_library=static_library')

if not any(a.startswith('-Dcomponent=') for a in args):
args.append('-Dcomponent=static_library')

# Some platforms (OpenBSD for example) don't have multiprocessing.synchronize
# so gyp must be run with --no-parallel
if not gyp_parallel_support:
Expand Down
4 changes: 2 additions & 2 deletions deps/uv/include/uv-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
*/

#define UV_VERSION_MAJOR 1
#define UV_VERSION_MINOR 7
#define UV_VERSION_PATCH 5
#define UV_VERSION_MINOR 8
#define UV_VERSION_PATCH 0
#define UV_VERSION_IS_RELEASE 1
#define UV_VERSION_SUFFIX ""

Expand Down
14 changes: 12 additions & 2 deletions deps/uv/include/uv.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ extern "C" {
#include "uv-errno.h"
#include "uv-version.h"
#include <stddef.h>
#include <stdio.h>

#if defined(_MSC_VER) && _MSC_VER < 1600
# include "stdint-msvc2008.h"
Expand Down Expand Up @@ -424,6 +425,10 @@ UV_EXTERN int uv_is_active(const uv_handle_t* handle);

UV_EXTERN void uv_walk(uv_loop_t* loop, uv_walk_cb walk_cb, void* arg);

/* Helpers for ad hoc debugging, no API/ABI stability guaranteed. */
UV_EXTERN void uv_print_all_handles(uv_loop_t* loop, FILE* stream);
UV_EXTERN void uv_print_active_handles(uv_loop_t* loop, FILE* stream);

UV_EXTERN void uv_close(uv_handle_t* handle, uv_close_cb close_cb);

UV_EXTERN int uv_send_buffer_size(uv_handle_t* handle, int* value);
Expand Down Expand Up @@ -1083,7 +1088,8 @@ typedef enum {
UV_FS_SYMLINK,
UV_FS_READLINK,
UV_FS_CHOWN,
UV_FS_FCHOWN
UV_FS_FCHOWN,
UV_FS_REALPATH
} uv_fs_type;

/* uv_fs_t is a subclass of uv_req_t. */
Expand Down Expand Up @@ -1235,6 +1241,10 @@ UV_EXTERN int uv_fs_readlink(uv_loop_t* loop,
uv_fs_t* req,
const char* path,
uv_fs_cb cb);
UV_EXTERN int uv_fs_realpath(uv_loop_t* loop,
uv_fs_t* req,
const char* path,
uv_fs_cb cb);
UV_EXTERN int uv_fs_fchmod(uv_loop_t* loop,
uv_fs_t* req,
uv_file file,
Expand Down Expand Up @@ -1363,7 +1373,7 @@ UV_EXTERN int uv_chdir(const char* dir);
UV_EXTERN uint64_t uv_get_free_memory(void);
UV_EXTERN uint64_t uv_get_total_memory(void);

UV_EXTERN extern uint64_t uv_hrtime(void);
UV_EXTERN uint64_t uv_hrtime(void);

UV_EXTERN void uv_disable_stdio_inheritance(void);

Expand Down
4 changes: 0 additions & 4 deletions deps/uv/src/inet.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,7 @@ static int inet_ntop4(const unsigned char *src, char *dst, size_t size) {
char tmp[UV__INET_ADDRSTRLEN];
int l;

#ifndef _WIN32
l = snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
#else
l = _snprintf(tmp, sizeof(tmp), fmt, src[0], src[1], src[2], src[3]);
#endif
if (l <= 0 || (size_t) l >= size) {
return UV_ENOSPC;
}
Expand Down
14 changes: 14 additions & 0 deletions deps/uv/src/queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ typedef void *QUEUE[2];
#define QUEUE_DATA(ptr, type, field) \
((type *) ((char *) (ptr) - offsetof(type, field)))

/* Important note: mutating the list while QUEUE_FOREACH is
* iterating over its elements results in undefined behavior.
*/
#define QUEUE_FOREACH(q, h) \
for ((q) = QUEUE_NEXT(h); (q) != (h); (q) = QUEUE_NEXT(q))

Expand Down Expand Up @@ -66,6 +69,17 @@ typedef void *QUEUE[2];
} \
while (0)

#define QUEUE_MOVE(h, n) \
do { \
if (QUEUE_EMPTY(h)) \
QUEUE_INIT(n); \
else { \
QUEUE* q = QUEUE_HEAD(h); \
QUEUE_SPLIT(h, q, n); \
} \
} \
while (0)

#define QUEUE_INSERT_HEAD(h, q) \
do { \
QUEUE_NEXT(q) = QUEUE_NEXT(h); \
Expand Down
7 changes: 1 addition & 6 deletions deps/uv/src/threadpool.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,13 +223,8 @@ void uv__work_done(uv_async_t* handle) {
int err;

loop = container_of(handle, uv_loop_t, wq_async);
QUEUE_INIT(&wq);

uv_mutex_lock(&loop->wq_mutex);
if (!QUEUE_EMPTY(&loop->wq)) {
q = QUEUE_HEAD(&loop->wq);
QUEUE_SPLIT(&loop->wq, q, &wq);
}
QUEUE_MOVE(&loop->wq, &wq);
uv_mutex_unlock(&loop->wq_mutex);

while (!QUEUE_EMPTY(&wq)) {
Expand Down
2 changes: 1 addition & 1 deletion deps/uv/src/unix/android-ifaddrs.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
Copyright (c) 2013, Kenneth MacKay
Copyright (c) 2014, Emergya (Cloud4all, FP7/2007-2013 grant agreement 289016)
Copyright (c) 2014, Emergya (Cloud4all, FP7/2007-2013 grant agreement #289016)
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
8 changes: 7 additions & 1 deletion deps/uv/src/unix/async.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,18 @@ void uv__async_close(uv_async_t* handle) {
static void uv__async_event(uv_loop_t* loop,
struct uv__async* w,
unsigned int nevents) {
QUEUE queue;
QUEUE* q;
uv_async_t* h;

QUEUE_FOREACH(q, &loop->async_handles) {
QUEUE_MOVE(&loop->async_handles, &queue);
while (!QUEUE_EMPTY(&queue)) {
q = QUEUE_HEAD(&queue);
h = QUEUE_DATA(q, uv_async_t, queue);

QUEUE_REMOVE(q);
QUEUE_INSERT_TAIL(&loop->async_handles, q);

if (cmpxchgi(&h->pending, 1, 0) == 0)
continue;

Expand Down
5 changes: 5 additions & 0 deletions deps/uv/src/unix/atomic-ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@

#include "internal.h" /* UV_UNUSED */

#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
#include <atomic.h>
#define __sync_val_compare_and_swap(p, o, n) atomic_cas_ptr(p, o, n)
#endif

UV_UNUSED(static int cmpxchgi(int* ptr, int oldval, int newval));
UV_UNUSED(static long cmpxchgl(long* ptr, long oldval, long newval));
UV_UNUSED(static void cpu_relax(void));
Expand Down
Loading