f57bfd4d | 19-Mar-2016 |
Kári Tristan Helgason |
unix: fix bug in barrier fallback implementation There was a memory corruption issue with the pthread barrier implementation on android, where a barrier could still be in use by one
unix: fix bug in barrier fallback implementation There was a memory corruption issue with the pthread barrier implementation on android, where a barrier could still be in use by one thread when being freed by another. This fixes that issue and adds lots of missing error handling. This implementation is now also used for the OSX fallback. Fixes: https://github.com/libuv/libuv/issues/615 PR-URL: https://github.com/libuv/libuv/pull/790 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
f617ccc6 | 25-Apr-2016 |
Myles Borins |
unix: error on realpath if PATH_MAX is undefined Currently when PATH_MAX is undefined realpath will default to using 4096. There is a potential stack overflow attack that can be mitigate
unix: error on realpath if PATH_MAX is undefined Currently when PATH_MAX is undefined realpath will default to using 4096. There is a potential stack overflow attack that can be mitigated by having PATH_MAX defined. This change conservatively errors if a system does not have PATH_MAX defined. This change also explicitly includes `limits.h` to ensure that all platforms have PATH_MAX defined if it is available. Ref: http://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html Refs: https://github.com/nodejs/node/issues/2680#issuecomment-213521708 PR-URL: https://github.com/libuv/libuv/pull/843 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
5c6c2681 | 17-Mar-2016 |
Andrius Bentkus |
test: set a big send buffer size for tcp_write_queue_order We set the maximum buffer size of the client socket to a specific value so unreasonable OS settings won't trigger assert failur
test: set a big send buffer size for tcp_write_queue_order We set the maximum buffer size of the client socket to a specific value so unreasonable OS settings won't trigger assert failures. Fixes: https://github.com/libuv/libuv/issues/764 Refs: https://github.com/libuv/libuv/pull/767 PR-URL: https://github.com/libuv/libuv/pull/768 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
6f17a617 | 04-Apr-2016 |
Robert Jefe Lindstaedt |
win: add maxrss, pagefaults to uv_getrusage() This commit populates the ru_majflt and ru_maxrss fields of uv_getrusage() on Windows. PR-URL: https://github.com/libuv/libuv/pull/
win: add maxrss, pagefaults to uv_getrusage() This commit populates the ru_majflt and ru_maxrss fields of uv_getrusage() on Windows. PR-URL: https://github.com/libuv/libuv/pull/805 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
faea76d8 | 19-Apr-2016 |
Imran Iqbal |
test: skip fs_event_close_in_callback on AIX The file descriptor that you receive from ahafs has to be part of the pollset_poll set of interest in order to receive events. This does not
test: skip fs_event_close_in_callback on AIX The file descriptor that you receive from ahafs has to be part of the pollset_poll set of interest in order to receive events. This does not happen until we are in the event loop causing the test to hang and therefore timeout. PR-URL: https://github.com/libuv/libuv/pull/838 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
b9324acb | 18-Apr-2016 |
Ben Noordhuis |
unix: remove unneeded SAVE_ERRNO wrappers uv__close() won't clobber errno so there is no need to guard calls with a SAVE_ERRNO(...) wrapper. PR-URL: https://github.com/libuv/lib
unix: remove unneeded SAVE_ERRNO wrappers uv__close() won't clobber errno so there is no need to guard calls with a SAVE_ERRNO(...) wrapper. PR-URL: https://github.com/libuv/libuv/pull/837 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
322de63a | 18-Apr-2016 |
Ben Noordhuis |
unix: guard against clobbering errno in uv__free() Libuv expects that free() does not clobber errno. The system allocator honors that assumption but custom allocators may not be so care
unix: guard against clobbering errno in uv__free() Libuv expects that free() does not clobber errno. The system allocator honors that assumption but custom allocators may not be so careful. PR-URL: https://github.com/libuv/libuv/pull/837 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
d03abfd4 | 01-Dec-2015 |
Ben Noordhuis |
win: work around sharepoint scandir bug It has been reported that for SharePoint connections mapped as a drive, uv_fs_scandir() returns "." and ".." entries when the expectation is t
win: work around sharepoint scandir bug It has been reported that for SharePoint connections mapped as a drive, uv_fs_scandir() returns "." and ".." entries when the expectation is that they should be filtered out. After some investigation it looks like the driver returns ".\0" and "..\0" for those entries, that is, it includes the zero byte in the filename length. Rewrite the filter to catch those entries as well. Fixes: https://github.com/nodejs/node/issues/4002 PR-URL: https://github.com/libuv/libuv/pull/636 Reviewed-By: Alexis Campailla <orangemocha@nodejs.org> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
70d50142 | 14-Apr-2016 |
Oguz Bastemur |
android: pthread_sigmask() does not set errno Originally intended workaround is especially needed for Android <4.4. However it fails to compare errno collected from pthread_sigmask.
android: pthread_sigmask() does not set errno Originally intended workaround is especially needed for Android <4.4. However it fails to compare errno collected from pthread_sigmask. This has been fixed separately in JXcore. See issue: https://github.com/jxcore/jxcore-cordova/issues/55 PR-URL: https://github.com/libuv/libuv/pull/833 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
4a5b3f98 | 06-Nov-2015 |
Ben Noordhuis |
unix: delay signal handling until after normal i/o It was reported that some node.js tests fail on AIX because the exit event sometimes comes before the final stdio output of a child pro
unix: delay signal handling until after normal i/o It was reported that some node.js tests fail on AIX because the exit event sometimes comes before the final stdio output of a child process. Work around that by deferring the signal watcher that is used for process management until after the dispatch of regular i/o watchers. Fixes: https://github.com/libuv/libuv/issues/610 PR-URL: https://github.com/libuv/libuv/pull/611 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
572d3159 | 12-Apr-2016 |
Imran Iqbal |
unix,fs: code cleanup of uv_fs_event_start for AIX Remove unused variables and code. Also remove some code duplication. End result is code is cleaner, readable and easier to step through
unix,fs: code cleanup of uv_fs_event_start for AIX Remove unused variables and code. Also remove some code duplication. End result is code is cleaner, readable and easier to step through when debugging. PR-URL: https://github.com/libuv/libuv/pull/825 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
f28a1122 | 12-Apr-2016 |
Imran Iqbal |
test: fix fs_event_watch_file_current_dir for AIX PR-URL: https://github.com/libuv/libuv/pull/828 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
60ef1e7f | 11-Apr-2016 |
Ben Noordhuis |
linux: fix long lines in linux-core.c Introduced in commit 6798876a, "linux: fix cpu count". PR-URL: https://github.com/libuv/libuv/pull/822 Reviewed-By: Colin Ihrig <cjihrig@gm
linux: fix long lines in linux-core.c Introduced in commit 6798876a, "linux: fix cpu count". PR-URL: https://github.com/libuv/libuv/pull/822 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
732fb03a | 11-Apr-2016 |
Ben Noordhuis |
linux: don't abort on malformed /proc/stat Return an error instead of aborting when /proc/stat doesn't have the expected format. PR-URL: https://github.com/libuv/libuv/pull/822
linux: don't abort on malformed /proc/stat Return an error instead of aborting when /proc/stat doesn't have the expected format. PR-URL: https://github.com/libuv/libuv/pull/822 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
2bf7b385 | 11-Apr-2016 |
Ben Noordhuis |
linux: fix fd leaks in uv_cpu_info() error paths Introduced in commit 6798876a, "linux: fix cpu count". PR-URL: https://github.com/libuv/libuv/pull/822 Reviewed-By: Colin Ihrig
linux: fix fd leaks in uv_cpu_info() error paths Introduced in commit 6798876a, "linux: fix cpu count". PR-URL: https://github.com/libuv/libuv/pull/822 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
be8e237a | 11-Apr-2016 |
cjihrig |
Revert "win,build: remove unused build defines" This reverts commit 60db5b5a1bb446e4b8a6d15ce277d5f7987bf07a. Removing the WIN32_LEAN_AND_MEAN definition caused build errors on mingw
Revert "win,build: remove unused build defines" This reverts commit 60db5b5a1bb446e4b8a6d15ce277d5f7987bf07a. Removing the WIN32_LEAN_AND_MEAN definition caused build errors on mingw64. Fixes: https://github.com/libuv/libuv/issues/820 PR-URL: https://github.com/libuv/libuv/pull/821 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
34109740 | 10-Apr-2016 |
Saúl Ibarra Corretgé |
doc: add ability to live reload and regenerate HTML PR-URL: https://github.com/libuv/libuv/pull/819 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
375ba2d7 | 09-Apr-2016 |
Ben Noordhuis |
unix: use POLL{IN,OUT,etc} constants directly Remove the UV__POLL defines and use POLL{IN,OUT,etc} directly. On Linux, we lean on the fact that the POLL constants correspond one-to-o
unix: use POLL{IN,OUT,etc} constants directly Remove the UV__POLL defines and use POLL{IN,OUT,etc} directly. On Linux, we lean on the fact that the POLL constants correspond one-to-one to their EPOLL counterparts. Fixes: https://github.com/libuv/libuv/issues/816 PR-URL: https://github.com/libuv/libuv/pull/817 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
3819e482 | 08-Apr-2016 |
Michael Fero |
win: fix var declaration to be C89 compliant Visual Studio 2013+ relaxed variable declaration C89 compliance; older compilers are strict (e.g. VS 2008 - 2012). PR-URL: https://g
win: fix var declaration to be C89 compliant Visual Studio 2013+ relaxed variable declaration C89 compliance; older compilers are strict (e.g. VS 2008 - 2012). PR-URL: https://github.com/libuv/libuv/pull/815 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
7acb6bd8 | 07-Apr-2016 |
Saúl Ibarra Corretgé |
test: skip early bind tests if no IPv6 is supported PR-URL: https://github.com/libuv/libuv/pull/814 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
4aeed1ac | 14-Mar-2016 |
Imran Iqbal |
unix: implement uv__fs_futime for AIX 7.1 'futimens' is only implemented on AIX 7.1. Other functions like 'utimes' and 'utimes' are merely stub functions that return ENOSYS on AIX 6
unix: implement uv__fs_futime for AIX 7.1 'futimens' is only implemented on AIX 7.1. Other functions like 'utimes' and 'utimes' are merely stub functions that return ENOSYS on AIX 6.1 and below. Skip test fs_futime for AIX versions below 7.1. PR-URL: https://github.com/libuv/libuv/pull/811 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
a84caf6f | 07-Apr-2016 |
cjihrig |
test: handle root home directories Currently, the tests assert that the home directory doesn't end in a slash. However, if the home directory is / or something like C:\, then this as
test: handle root home directories Currently, the tests assert that the home directory doesn't end in a slash. However, if the home directory is / or something like C:\, then this assertion is incorrect. This commit adds special handling for these cases. Fixes: https://github.com/libuv/libuv/issues/812 PR-URL: https://github.com/libuv/libuv/pull/813 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
d476185b | 07-Apr-2016 |
Saúl Ibarra Corretgé |
Now working on version 1.9.1 |
4b444d3f | 07-Apr-2016 |
Saúl Ibarra Corretgé |
Add SHA to ChangeLog |
229b3a4c | 07-Apr-2016 |
Saúl Ibarra Corretgé |
2016.04.08, Version 1.9.0 (Stable) Changes since version 1.8.0: * win: wait for full timeout duration (João Reis) * unix: fix support for uClibc-ng (Martin Bark) *
2016.04.08, Version 1.9.0 (Stable) Changes since version 1.8.0: * win: wait for full timeout duration (João Reis) * unix: fix support for uClibc-ng (Martin Bark) * doc: indicate where new test files need to be added (Dave) * test,unix: fix logic error in test runner (Ben Noordhuis) * fs: don't nullify req->bufs on EINTR (Dave) * osx: set the default thread stack size to RLIMIT_STACK (Saúl Ibarra Corretgé) * build: invoke libtoolize with --copy (Ben Noordhuis) * test: fixup eintr_handling (Saúl Ibarra Corretgé) * osx: avoid compilation warning with Clang (Saúl Ibarra Corretgé) * test,win: fix compilation with shared lib (Alexis Murzeau) * test: fix race condition in pipe-close-stdout (Imran Iqbal) * unix,win: add uv_os_tmpdir() (cjihrig) * ios: fix undefined PTHREAD_STACK_MIN (Didiet) * test: fix threadpool_multiple_event_loops for AIX (Imran Iqbal) * unix: report errors for unpollable fds (Ben Noordhuis) * win: fix watching root files (Nicholas Vavilov) * build,win: print the Visual Studio version in use (Saúl Ibarra Corretgé) * build,win: remove unneeded condition from GYP file (Saúl Ibarra Corretgé) * test,win: fix compilation warning (Saúl Ibarra Corretgé) * test: use uv_loop_close and assert its result (Nan Xiang) * build: map 'AMD64' host arch to 'x64' (Ben Noordhuis) * osx: protected use of potentially undefined macro (Samuel Lorétan) * linux: fix compilation with musl (Saúl Ibarra Corretgé) * doc: describe how to make release builds on Unix (Saúl Ibarra Corretgé) * doc: add missing link in README (Saúl Ibarra Corretgé) * build: python 2.x/3.x consistent print usage (Rasmus Christian Pedersen) * test: assume no IPv6 if interfaces cannot be listed (Nan Xiang) * darwin: replace F_FULLFSYNC with fdatasync syscall (Saúl Ibarra Corretgé) * doc: add missing write callback to example (Nándor István Krácser) * build: compile with -D_THREAD_SAFE on AIX (Imran Iqbal) * test: fix threadpool_multiple_event_loops on PPC (Imran Iqbal) * test: reduce timeout in tcp_close_while_connecting (Imran Iqbal) * unix, win: consistently null-terminate buffers (Saúl Ibarra Corretgé) * unix, win: count null byte on UV_ENOBUFS (Saúl Ibarra Corretgé) * test: fix deadlocks in uv_cond_wait (Katsutoshi Horie) * linux: fix cpu count (Lukasz Jagiello) * unix: fix uv__handle_type for AIX (Imran Iqbal) * linux: call fclose(), fix fdopen() memory leak (Ben Noordhuis) * win: remove unneeded condition (Saúl Ibarra Corretgé) * unix: fix compile error in Android using bionic (Robert Chiras) * linux: add braces to multi-statement if (Kári Tristan Helgason) * doc: add @cjihrig as a maintainer (Saúl Ibarra Corretgé) * unix: add fork-safe open file function (Kári Tristan Helgason) * linux: replace calls to fopen with uv__open_file (Kári Tristan Helgason) * linux: remove redundant call to rewind() (Krishnaraj Bhat) * win: remove duplicated code when processing fsevents (Saúl Ibarra Corretgé) * test: fix poll_bad_fdtype for AIX (Imran Iqbal) * linux: fix error checking in uv__open_file (Saúl Ibarra Corretgé) * poll: add UV_DISCONNECT event (Santiago Gimeno) * fs: realpath: fix string size before converting (Yuval Brik) * win: use native APIs for UTF conversions (cjihrig) * doc: clarify uv_loop_close() (Ben Noordhuis) * unix: retry ioctl(TIOCGWINSZ) on EINTR (Ben Noordhuis) * win,build: remove unused build defines (Saúl Ibarra Corretgé) * win: fix buffer overflow in fs events (Joran Dirk Greef) * win: fix uv_relative_path and remove dead branch (Joran Dirk Greef) * unix: use open(2) with O_CLOEXEC on OS X (Kári Tristan Helgason) * test: add missing copyright header (cjihrig) * aix: fix 'POLLRDHUP undeclared' build error (Ben Noordhuis) * unix,win: add uv_get_passwd() (cjihrig) * process: fix uv_spawn edge-case (Santiago Gimeno) * test: use %ld for printing uid/gid (Ben Noordhuis) * aix: fix ahafs implementation (Imran Iqbal) * aix: do not store absolute path to ahafs (Imran Iqbal) * process: close process pipes safely (Santiago Gimeno) * unix: open ttyname instead of /dev/tty (Enno Boland) * unix: remove outdated comment (Kári Tristan Helgason)
show more ...
|