18ff13c7 | 03-Feb-2020 |
erw7 |
doc: add erw7 to maintainers PR-URL: https://github.com/libuv/libuv/pull/2662 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
doc: add erw7 to maintainers PR-URL: https://github.com/libuv/libuv/pull/2662 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
7b28d360 | 08-Feb-2020 |
Ben Noordhuis |
unix: fix size check in uv_get_process_title() It was checking that the destination buffer was big enough to hold the total capacity of the process title (the total storage of argv)
unix: fix size check in uv_get_process_title() It was checking that the destination buffer was big enough to hold the total capacity of the process title (the total storage of argv) when instead it should be checking that it's big enough to hold the _current_ process title, which is normally much shorter. Fixes: https://github.com/libuv/libuv/issues/2666 PR-URL: https://github.com/libuv/libuv/pull/2668 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 ...
|
ea3a5318 | 08-Feb-2020 |
Ben Noordhuis |
unix: fix error path in uv_setup_args() Only update the `process_title` struct on success, otherwise it points to memory libuv doesn't own. Notably, libuv only owns `argv[0]` _after_
unix: fix error path in uv_setup_args() Only update the `process_title` struct on success, otherwise it points to memory libuv doesn't own. Notably, libuv only owns `argv[0]` _after_ copying the argv table. PR-URL: https://github.com/libuv/libuv/pull/2668 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 ...
|
fb4c5631 | 08-Feb-2020 |
Ben Noordhuis |
docs: uv_setup_args() may take ownership of argv PR-URL: https://github.com/libuv/libuv/pull/2668 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm
docs: uv_setup_args() may take ownership of argv PR-URL: https://github.com/libuv/libuv/pull/2668 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 ...
|
21aff3b4 | 04-Feb-2020 |
Manuel BACHMANN |
unix: make uv_tcp_keepalive predictable Current UNIX systems define various defaults for TCP_KEEPINTVL and TCP_KEEPCNT, which makes the time between TCP_KEEPIDLE delay is reached and
unix: make uv_tcp_keepalive predictable Current UNIX systems define various defaults for TCP_KEEPINTVL and TCP_KEEPCNT, which makes the time between TCP_KEEPIDLE delay is reached and timeout effectively occurs unpredictable (Linux: /proc/sys /net/ipv4/tcp_keepalive_intvl;tcp_keepalive_probes). Do the following: set TCP_KEEPINTVL to 1 second (same as Win32 default) and TCP_KEEPCNT to 10 times (same as Win32 hardcoded value). Fixes: https://github.com/libuv/libuv/issues/2664 PR-URL: https://github.com/libuv/libuv/pull/2669 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
fb5a35ee | 05-Feb-2020 |
Dominique Dumont |
doc: strip ICC profile from 2 jpg files The embedded color profiles are proprietary data. Considering that embedding a color profile in a image is not necessary when color accuracy i
doc: strip ICC profile from 2 jpg files The embedded color profiles are proprietary data. Considering that embedding a color profile in a image is not necessary when color accuracy is not important, it's better to strip them. This was done with: convert -strip docs/src/static/diagrams.key/Data/st0-311.jpg \ docs/src/static/diagrams.key/Data/st0-311.jpg convert -strip docs/src/static/diagrams.key/Data/st1-475.jpg \ docs/src/static/diagrams.key/Data/st1-475.jpg convert command comes from ImageMagick project. Fixes: https://github.com/libuv/libuv/issues/2670 PR-URL: https://github.com/libuv/libuv/pull/2672 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
24d73d06 | 04-Feb-2020 |
Ben Noordhuis |
linux: assume the presence of inotify system calls This lets us get rid of the system call wrappers and simplify the fs event watcher code a great deal. All system calls were ad
linux: assume the presence of inotify system calls This lets us get rid of the system call wrappers and simplify the fs event watcher code a great deal. All system calls were added well before 2.6.32, our baseline kernel. PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
dfd64933 | 04-Feb-2020 |
Ben Noordhuis |
linux: simplify uv__async_eventfd() Assume the presence of the eventfd2() system call on Linux. It was added in 2.6.27 and our baseline is 2.6.32. PR-URL: https://github.com/lib
linux: simplify uv__async_eventfd() Assume the presence of the eventfd2() system call on Linux. It was added in 2.6.27 and our baseline is 2.6.32. PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
1b92af13 | 04-Feb-2020 |
Ben Noordhuis |
unix: fix error handling in uv__make_pipe() This commit checks that setting the close-on-exec and non-blocking flags on the file descriptors succeeds, and closes the file descriptors whe
unix: fix error handling in uv__make_pipe() This commit checks that setting the close-on-exec and non-blocking flags on the file descriptors succeeds, and closes the file descriptors when it fails. PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
23349081 | 04-Feb-2020 |
Ben Noordhuis |
freebsd,linux: simplify uv__make_pipe() Assume the presence of the pipe2() system call. It was added in FreeBSD 10 and Linux 2.6.27. PR-URL: https://github.com/libuv/libuv/pull/
freebsd,linux: simplify uv__make_pipe() Assume the presence of the pipe2() system call. It was added in FreeBSD 10 and Linux 2.6.27. PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
06616db3 | 04-Feb-2020 |
Ben Noordhuis |
unix: fix error handling in uv__make_socketpair() This commit checks that setting the close-on-exec flag on the file descriptors succeeds, and closes the file descriptors when it fails.
unix: fix error handling in uv__make_socketpair() This commit checks that setting the close-on-exec flag on the file descriptors succeeds, and closes the file descriptors when it fails. PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
ab6fc15a | 04-Feb-2020 |
Ben Noordhuis |
freebsd,linux: simplify uv__make_socketpair() Assume the presence of the SOCK_CLOEXEC flag. It was added in FreeBSD 10 and before Linux 2.6.32. PR-URL: https://github.com/libuv/
freebsd,linux: simplify uv__make_socketpair() Assume the presence of the SOCK_CLOEXEC flag. It was added in FreeBSD 10 and before Linux 2.6.32. PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
0574343b | 04-Feb-2020 |
Ben Noordhuis |
linux: simplify uv__dup2_cloexec() Assume the presence of the dup3() system call on Linux. It was added in 2.6.27 and our baseline is 2.6.32. PR-URL: https://github.com/libuv/li
linux: simplify uv__dup2_cloexec() Assume the presence of the dup3() system call on Linux. It was added in 2.6.27 and our baseline is 2.6.32. PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
13e5b0cf | 04-Feb-2020 |
Ben Noordhuis |
linux: assume presence of SOCK_CLOEXEC flag PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretg
linux: assume presence of SOCK_CLOEXEC flag PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
067473ed | 04-Feb-2020 |
Ben Noordhuis |
linux: simplify uv__accept() Assume the presence of the accept4() system call on Linux. It was added in 2.6.28 and our baseline is 2.6.32. That lets us get rid of the system call wra
linux: simplify uv__accept() Assume the presence of the accept4() system call on Linux. It was added in 2.6.28 and our baseline is 2.6.32. That lets us get rid of the system call wrapper and the fallback logic in uv__accept(). PR-URL: https://github.com/libuv/libuv/pull/2665 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
9f1a0520 | 09-Aug-2016 |
Saúl Ibarra Corretgé |
unix: remove support for FreeBSD < 10 PR-URL: https://github.com/libuv/libuv/pull/2663 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@g
unix: remove support for FreeBSD < 10 PR-URL: https://github.com/libuv/libuv/pull/2663 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
018363a1 | 13-Oct-2019 |
Isabella Muerte <63051+slurps-mad-rips@users.noreply.github.com> |
build,cmake: improve buil experience * Add two policies to reduce "regex" if statements * Add CMAKE_MODULE_PATH for custom CMake modules * Remove hard-coded C89 flag * C compiler
build,cmake: improve buil experience * Add two policies to reduce "regex" if statements * Add CMAKE_MODULE_PATH for custom CMake modules * Remove hard-coded C89 flag * C compiler extensions are enabled via CMake * The C standard minimum of C90 is now required (As C89 was never an international standard) * CMAKE_C_VISIBILITY_PRESET is now used to set symbols to hidden instead of a hard-coded compiler flag * Add (unused) LIBUV_BUILD_BENCH option This will allow #1886 to be implemented in a later commit * Add compiler flag checks for gcc-style warnings This allows more compilers to be used with the same compiler settings * Move uv_test_sources to be under the LIBUV_BUILD_TESTS check This clears up a lot of CMakeLists.txt file to allow us to work on the "core" of the project. We will eventually be able to move all the tests to tests/CMakeLists.txt * Make the compiler flag checks more readable * Fix indentation of test sources per request * Fix target_include_directories when installing versus building * Improve performance for unix when creating the libuv.pc.in file * Improve performance when setting `UV_VERSION_MAJOR` * Fix typo in lint-no-unused-parameter generator expression * Fix clang-cl detection on newer CMake versions * Fix targeting newer windows versions * Fix building under Windows with Visual Studio Generator PR-URL: https://github.com/libuv/libuv/pull/2504 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
a6296880 | 29-Nov-2019 |
Witold Kręcicki |
pipe: disallow listening on an IPC pipe PR-URL: https://github.com/libuv/libuv/pull/2559 Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net> |
1ff84206 | 26-Jan-2020 |
Santiago Gimeno |
test: fix fs_event_watch_dir_recursive flakiness This test sometimes times out on `macos` because not all the expected events are received: the create and delete events may coalesce. To
test: fix fs_event_watch_dir_recursive flakiness This test sometimes times out on `macos` because not all the expected events are received: the create and delete events may coalesce. To avoid it, make sure not to start deleting the files until all the create events are received. Also, take into account in the test that a create event of the `subdir` directory can be detected even though we start watching for the events after its creation. PR-URL: https://github.com/libuv/libuv/pull/2648 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
16a05637 | 09-Jan-2020 |
Jameson Nash |
test,udp6: fix udp_ipv6 test flakiness We seem to be receiving unrelated network traffic from other libuv tests. Add some debugging output, in case that happens in the future, and fi
test,udp6: fix udp_ipv6 test flakiness We seem to be receiving unrelated network traffic from other libuv tests. Add some debugging output, in case that happens in the future, and filter out any messages received that we didn't send. Fixes: https://github.com/libuv/libuv/issues/2130 Fixes: https://github.com/libuv/libuv/issues/2467 PR-URL: https://github.com/libuv/libuv/pull/2617 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
1b045d46 | 20-Jan-2020 |
Xu Meng |
ibmi: ensure that pipe backlog is not zero On IBMi PASE, listen(pipe_fd, backlog=0) leads to "Connection refused" error PR-URL: https://github.com/libuv/libuv/pull/2641 Reviewed
ibmi: ensure that pipe backlog is not zero On IBMi PASE, listen(pipe_fd, backlog=0) leads to "Connection refused" error PR-URL: https://github.com/libuv/libuv/pull/2641 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
ed1dc853 | 13-Jan-2020 |
Xu Meng |
ibmi: skip unsupported fs test cases On IBMi PASE, we need to skip some file permission tests for `root`. And the file stat of symbolic links are different as well. PR-URL: http
ibmi: skip unsupported fs test cases On IBMi PASE, we need to skip some file permission tests for `root`. And the file stat of symbolic links are different as well. PR-URL: https://github.com/libuv/libuv/pull/2628 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
2475296c | 18-Jan-2020 |
ssrlive <30760636+ssrlive@users.noreply.github.com> |
build: make code compilable for iOS on Xcode Fixes: https://github.com/libuv/libuv/issues/2638 PR-URL: https://github.com/libuv/libuv/pull/2639 Reviewed-By: Saúl Ibarra Corretgé <sag
build: make code compilable for iOS on Xcode Fixes: https://github.com/libuv/libuv/issues/2638 PR-URL: https://github.com/libuv/libuv/pull/2639 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
8270add4 | 17-Jan-2020 |
David Carlier |
src: android build fix ip_mreq_source struct are not defined in Android NDK <= 16, regardless of the API level. Fixes: https://github.com/libuv/libuv/issues/2633 PR-URL: htt
src: android build fix ip_mreq_source struct are not defined in Android NDK <= 16, regardless of the API level. Fixes: https://github.com/libuv/libuv/issues/2633 PR-URL: https://github.com/libuv/libuv/pull/2637 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
3ac654c8 | 23-Jan-2020 |
cjihrig |
Now working on version 1.34.3 Fixes: https://github.com/libuv/libuv/issues/2646 |