0c9586a6 | 07-Dec-2018 |
Santiago Gimeno |
test: fix test-ipc spawn_helper exit_cb Make sure an ipc test fails if `term_signal` is not zero. This can happen on failing assertions in the child process. PR-URL: https://git
test: fix test-ipc spawn_helper exit_cb Make sure an ipc test fails if `term_signal` is not zero. This can happen on failing assertions in the child process. PR-URL: https://github.com/libuv/libuv/pull/2108 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
85700054 | 06-Jan-2019 |
ptlomholt |
unix: enable IPv6 tests on OpenBSD Refs: https://github.com/libuv/libuv/pull/1576 PR-URL: https://github.com/libuv/libuv/pull/2136 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
unix: enable IPv6 tests on OpenBSD Refs: https://github.com/libuv/libuv/pull/1576 PR-URL: https://github.com/libuv/libuv/pull/2136 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
ec10a787 | 12-Jan-2019 |
Bartosz Sosnowski |
win, tty: fix CreateFileW() return value check CreateFileW() returns INVALID_HANDLE_VALUE on failure, not NULL. Fixes: https://github.com/libuv/libuv/issues/2141 PR-URL: https:/
win, tty: fix CreateFileW() return value check CreateFileW() returns INVALID_HANDLE_VALUE on failure, not NULL. Fixes: https://github.com/libuv/libuv/issues/2141 PR-URL: https://github.com/libuv/libuv/pull/2142 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
d4288bbe | 04-Jan-2019 |
cjihrig |
unix,win: add uv_os_uname() Fixes: https://github.com/libuv/libuv/issues/2126 PR-URL: https://github.com/libuv/libuv/pull/2128 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Rev
unix,win: add uv_os_uname() Fixes: https://github.com/libuv/libuv/issues/2126 PR-URL: https://github.com/libuv/libuv/pull/2128 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
d39959c8 | 11-Jan-2019 |
cjihrig |
win: fix sizeof-pointer-div warning short_path's type changed from WCHAR array to WCHAR* in https://github.com/libuv/libuv/pull/1267, leading to a sizeof-pointer-div warning.
win: fix sizeof-pointer-div warning short_path's type changed from WCHAR array to WCHAR* in https://github.com/libuv/libuv/pull/1267, leading to a sizeof-pointer-div warning. Fixes: https://github.com/libuv/libuv/issues/2138 PR-URL: https://github.com/libuv/libuv/pull/2139 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
ee48e6e4 | 15-Nov-2018 |
Jameson Nash |
thread,mingw64: need intrin.h header for SSE2 MemoryBarrier Needed for compile with `-msse2` (such as implied by `-march=pentium4`) for the i686-w64-mingw64 target triple. This seems lik
thread,mingw64: need intrin.h header for SSE2 MemoryBarrier Needed for compile with `-msse2` (such as implied by `-march=pentium4`) for the i686-w64-mingw64 target triple. This seems like a header mistake, but we can work-around it here by including the header explicitly. Refs: https://sourceforge.net/p/mingw-w64/bugs/712 PR-URL: https://github.com/libuv/libuv/pull/2083 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
2d2af382 | 19-Nov-2018 |
Jameson Nash |
fsevents: really watch files with fsevents on macos 10.7+ In the original PR, the ifdef conditional was reversed, leading to the old code-path still being used. This also reduces som
fsevents: really watch files with fsevents on macos 10.7+ In the original PR, the ifdef conditional was reversed, leading to the old code-path still being used. This also reduces some of the redundancy in the conditional checks, by factoring out the common test. And fixes a divergence in functionality kFSEventsRenamed => kFSEventStreamEventFlagItemRenamed And actually includes the part of the original PR to kqueue that enabled watching files with fsevents! Fixes: https://github.com/libuv/libuv/pull/387 PR-URL: https://github.com/libuv/libuv/pull/2082 Refs: https://github.com/libuv/libuv/pull/1572 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
3be96bb7 | 29-Nov-2018 |
Jameson Nash |
build: support running tests in out-of-tree builds PR-URL: https://github.com/libuv/libuv/pull/2099 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
d2e59bb6 | 12-Dec-2018 |
Bartosz Sosnowski |
tty,win: fix Alt+key under WSL When releasing key with Alt pressed, the reported event has LEFT_ALT_PRESSED state flag set. This confuses libuv, making it think that Alt+numpad combi
tty,win: fix Alt+key under WSL When releasing key with Alt pressed, the reported event has LEFT_ALT_PRESSED state flag set. This confuses libuv, making it think that Alt+numpad combination is used. This fixes this issue by removing the check for state flag. Checking if VirtuakKeyCode is set to VK_MENU is enough to detect the Alt+numpad case. Fixes: https://github.com/libuv/libuv/issues/2111 PR-URL: https://github.com/libuv/libuv/pull/2114 Reviewed-By: Refael Ackermann <refack@gmail.com>
show more ...
|
c560cf93 | 30-Dec-2018 |
Ben Noordhuis |
unix: don't send handle twice on partial write Guard against sending the handle over the UNIX domain socket twice when the first sendmsg() didn't write all bytes. The changes to
unix: don't send handle twice on partial write Guard against sending the handle over the UNIX domain socket twice when the first sendmsg() didn't write all bytes. The changes to src/win partially undo changes made earlier this year, see the referenced pull request for details. Libuv never made promises about the value of `req->send_handle` at different points in time so this should be a safe, non-breaking change. No tests because this particular condition is hard to hit reliably across platforms. I spent a lot of time trying to write one but it turned out hideously complex, and worse, flaky. Fixes: https://github.com/libuv/libuv/issues/2086 PR-URL: https://github.com/libuv/libuv/pull/2097 Refs: https://github.com/libuv/libuv/pull/1843 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
639cc46f | 30-Dec-2018 |
Ben Noordhuis |
unix: refactor uv__write() Refactor uv__write() to make an upcoming fix easier to implement. PR-URL: https://github.com/libuv/libuv/pull/2097 Reviewed-By: Santiago Gimeno <santi
unix: refactor uv__write() Refactor uv__write() to make an upcoming fix easier to implement. PR-URL: https://github.com/libuv/libuv/pull/2097 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
a27b9922 | 30-Dec-2018 |
Ben Noordhuis |
darwin: DRY platform-specific error check PR-URL: https://github.com/libuv/libuv/pull/2097 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> |
7eca15d1 | 30-Dec-2018 |
Ben Noordhuis |
unix: rename WRITE_RETRY_ON_ERROR macro PR-URL: https://github.com/libuv/libuv/pull/2097 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> |
dce03d58 | 25-Dec-2018 |
Gireesh Punathil |
aix: manually trigger fs event monitoring In AIX, fs watch feature leverages AHAFS function. According to AHAFS, monitoring of events does not begin until the monitoring application
aix: manually trigger fs event monitoring In AIX, fs watch feature leverages AHAFS function. According to AHAFS, monitoring of events does not begin until the monitoring application issues a select() or a blocking read() call. In edge cases where the watch request as well as fs event both occurs in single event loop cycle, we miss the event, as the event monitors are created but not yet registered in the current cycle, instead only enqueued into the poll structure, that will be taken up with the OS on the loop edge only. Trigger a select call in-line on the monitoring fd, that tells AHAFS to kick-start the moitoring. Fixes: https://github.com/libuv/libuv/issues/2118 PR-URL: https://github.com/libuv/libuv/pull/2123 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
3233ccf1 | 24-Dec-2018 |
Ben Noordhuis |
Revert "win,fs: retry if uv_fs_rename fails" This reverts commit e94c184c7c4a18f3de569c97caeb83f4ff98a4b2. Concerns were raised about the suitability of this policy and I, for o
Revert "win,fs: retry if uv_fs_rename fails" This reverts commit e94c184c7c4a18f3de569c97caeb83f4ff98a4b2. Concerns were raised about the suitability of this policy and I, for one, agree with them. Fixes: https://github.com/libuv/libuv/issues/2098 PR-URL: https://github.com/libuv/libuv/pull/2122 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
3585e135 | 16-Dec-2018 |
cjihrig |
Now working on version 1.24.2 Fixes: https://github.com/libuv/libuv/issues/2109 |
704887e8 | 16-Dec-2018 |
cjihrig |
Add SHA to ChangeLog |
274f2bd3 | 16-Dec-2018 |
cjihrig |
2018.12.17, Version 1.24.1 (Stable) Changes since version 1.24.0: * test: fix platform_output test on cygwin (damon-kwok) * gitignore: ignore build/ directory (Damon Kwok)
2018.12.17, Version 1.24.1 (Stable) Changes since version 1.24.0: * test: fix platform_output test on cygwin (damon-kwok) * gitignore: ignore build/ directory (Damon Kwok) * unix: zero epoll_event before use (Ashe Connor) * darwin: use runtime check for file cloning (Ben Noordhuis) * doc: replace deprecated build command on macOS (Rick) * warnings: fix code that emits compiler warnings (Jameson Nash) * doc: clarify expected memory management strategy (Ivan Krylov) * test: add uv_inet_ntop(AF_INET) coverage (Ben Noordhuis) * unix: harden string copying, introduce strscpy() (Ben Noordhuis) * linux: get rid of strncpy() call (Ben Noordhuis) * aix: get rid of strcat() calls (Ben Noordhuis) * aix: fix data race in uv_fs_event_start() (Ben Noordhuis) * win: fs: fix `FILE_FLAG_NO_BUFFERING` for writes (Joran Dirk Greef) * build: don't link against -lpthread on Android (Michael Meier)
show more ...
|
67e771fe | 11-Dec-2018 |
Michael Meier |
build: don't link against -lpthread on Android On Android, pthread is part of the C standard library. Hence, there is no need to specify -lpthread when building for Android. PR-
build: don't link against -lpthread on Android On Android, pthread is part of the C standard library. Hence, there is no need to specify -lpthread when building for Android. PR-URL: https://github.com/libuv/libuv/pull/2110 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
7a2c889f | 30-Nov-2018 |
Joran Dirk Greef |
win: fs: fix `FILE_FLAG_NO_BUFFERING` for writes On Windows, `fs__open()` maps `UV_FS_O_DIRECT` to `FILE_FLAG_NO_BUFFERING`. When `access` is only `FILE_GENERIC_READ` this succe
win: fs: fix `FILE_FLAG_NO_BUFFERING` for writes On Windows, `fs__open()` maps `UV_FS_O_DIRECT` to `FILE_FLAG_NO_BUFFERING`. When `access` is only `FILE_GENERIC_READ` this succeeds, but when `access` is `FILE_GENERIC_WRITE` this returns an error: ``` 0x00000057, ERROR_INVALID_PARAMETER, The parameter is incorrect. ``` The reason is that `FILE_GENERIC_WRITE` includes `FILE_APPEND_DATA`, but `FILE_APPEND_DATA` and `FILE_FLAG_NO_BUFFERING` are mutually exclusive: ``` FILE_GENERIC_WRITE = STANDARD_RIGHTS_WRITE | FILE_WRITE_DATA | FILE_WRITE_ATTRIBUTES | FILE_WRITE_EA | FILE_APPEND_DATA | SYNCHRONIZE ``` This incompatibility between access and attribute flags does not appear to be documented by Microsoft for `FILE_FLAG_NO_BUFFERING` but it is indirectly documented under [NtCreateFile](https://bit.ly/2rm5wRT): ``` FILE_NO_INTERMEDIATE_BUFFERING The file cannot be cached or buffered in a driver's internal buffers. This flag is incompatible with the DesiredAccess FILE_APPEND_DATA flag. ``` The solution is to remove `FILE_APPEND_DATA` from the access flags when `FILE_FLAG_NO_BUFFERING` is set. Note that this does not prevent appends, since `FILE_GENERIC_WRITE` also includes `FILE_WRITE_DATA`, which in turn allows appends. PR-URL: https://github.com/libuv/libuv/pull/2102 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
f4feea33 | 03-Dec-2018 |
Ben Noordhuis |
aix: fix data race in uv_fs_event_start() Don't use a buffer with static lifetime to store intermediate results, use a stack-allocated one. PR-URL: https://github.com/libuv/libu
aix: fix data race in uv_fs_event_start() Don't use a buffer with static lifetime to store intermediate results, use a stack-allocated one. PR-URL: https://github.com/libuv/libuv/pull/2065 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
bc50d106 | 03-Dec-2018 |
Ben Noordhuis |
aix: get rid of strcat() calls Insecure and unnecessary. Replace them with a call to snprintf(). PR-URL: https://github.com/libuv/libuv/pull/2065 Reviewed-By: Refael Ackermann <
aix: get rid of strcat() calls Insecure and unnecessary. Replace them with a call to snprintf(). PR-URL: https://github.com/libuv/libuv/pull/2065 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
3909e7f6 | 03-Dec-2018 |
Ben Noordhuis |
linux: get rid of strncpy() call While correctly used, it looks suspect and is slightly less efficient because the string is scanned twice for its terminating nul byte. PR-URL:
linux: get rid of strncpy() call While correctly used, it looks suspect and is slightly less efficient because the string is scanned twice for its terminating nul byte. PR-URL: https://github.com/libuv/libuv/pull/2065 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
8972e65b | 03-Dec-2018 |
Ben Noordhuis |
unix: harden string copying, introduce strscpy() Replace calls to strcpy() and strncpy() with the newly introduced uv__strscpy() function that is meticulous about zero-terminating th
unix: harden string copying, introduce strscpy() Replace calls to strcpy() and strncpy() with the newly introduced uv__strscpy() function that is meticulous about zero-terminating the destination buffer. PR-URL: https://github.com/libuv/libuv/pull/2065 Refs: https://www.kernel.org/doc/htmldocs/kernel-api/API-strscpy.html Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
fe77e34c | 03-Dec-2018 |
Ben Noordhuis |
test: add uv_inet_ntop(AF_INET) coverage Libuv had coverage for the AF_INET6 path but not the AF_INET path. Now it does. PR-URL: https://github.com/libuv/libuv/pull/2065 Rev
test: add uv_inet_ntop(AF_INET) coverage Libuv had coverage for the AF_INET6 path but not the AF_INET path. Now it does. PR-URL: https://github.com/libuv/libuv/pull/2065 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|