6398251a | 07-Apr-2017 |
Brad King |
cygwin: implement support for cygwin and msys2 Cygwin and MSYS2 are POSIX layers implemented on top of Windows. Use our POSIX `poll(2)` implementation of our poll abstraction. For mo
cygwin: implement support for cygwin and msys2 Cygwin and MSYS2 are POSIX layers implemented on top of Windows. Use our POSIX `poll(2)` implementation of our poll abstraction. For most other components we already have dedicated sources implementing them in terms of APIs available on Cygwin or providing non-implementations of components not supported. This leaves only three components that need Cygwin-specific implementations: * uv_uptime: implement using sysinfo * uv_resident_set_memory: add a placeholder returning UV_ENOSYS * uv_cpu_info: add a placeholder returning UV_ENOSYS Update our test suite to account for features not available due to Cygwin platform limitations or our placeholders. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
c108137d | 16-Feb-2017 |
Brad King |
unix: add a uv__io_poll impl using POSIX poll(2) POSIX defines `poll()` as a portable way to wait on file descriptors. Use it to provide an implementation of our poll abstraction for use
unix: add a uv__io_poll impl using POSIX poll(2) POSIX defines `poll()` as a portable way to wait on file descriptors. Use it to provide an implementation of our poll abstraction for use on platforms that do not provide a more specialized polling method. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
77326e86 | 04-Apr-2017 |
Brad King |
unix: factor out reusable procfs exepath impl On Linux we read `/proc/self/exe` for the path to the executable. Factor out a dedicated source file to make this implementation availab
unix: factor out reusable procfs exepath impl On Linux we read `/proc/self/exe` for the path to the executable. Factor out a dedicated source file to make this implementation available for use on other platforms that support it. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
76bcf9f9 | 04-Apr-2017 |
Brad King |
unix: factor out reusable sysinfo loadavg impl On Linux we use `sysinfo(2)` to look up the load average. Factor out a dedicated source file to make this implementation available for
unix: factor out reusable sysinfo loadavg impl On Linux we use `sysinfo(2)` to look up the load average. Factor out a dedicated source file to make this implementation available for use on other platforms that support it. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
ea795b29 | 04-Apr-2017 |
Brad King |
unix: factor out reusable sysinfo memory lookup On Linux we use `sysinfo(2)` to look up available memory. Factor out a dedicated source file to make this implementation available for
unix: factor out reusable sysinfo memory lookup On Linux we use `sysinfo(2)` to look up available memory. Factor out a dedicated source file to make this implementation available for use on other platforms that support it. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
32ef58bf | 21-Feb-2017 |
Brad King |
unix: factor out reusable no-fsevents impl On os390 we implement no support for fsevents. Other platforms may not support fsevents either, so provide a dedicated source file to use in
unix: factor out reusable no-fsevents impl On os390 we implement no support for fsevents. Other platforms may not support fsevents either, so provide a dedicated source file to use in this case. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
773d678c | 21-Feb-2017 |
Brad King |
test: skip fork fsevent cases when lacking support On platforms not supporting fsevents do not run the fork fsevent tests. PR-URL: https://github.com/libuv/libuv/pull/1312 R
test: skip fork fsevent cases when lacking support On platforms not supporting fsevents do not run the fork fsevent tests. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
f4f1f57e | 21-Feb-2017 |
Brad King |
test: factor out fsevents skip explanation Factor out a dedicated test macro for use on platforms that do not support fsevents instead of duplicating the os390 platform condition and
test: factor out fsevents skip explanation Factor out a dedicated test macro for use on platforms that do not support fsevents instead of duplicating the os390 platform condition and explanation text. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
470b0258 | 21-Feb-2017 |
Brad King |
unix: factor out reusable no-proctitle impl On SunOS we implement no support for proctitle. Other platforms may not support proctitle either, so provide a dedicated source file to use i
unix: factor out reusable no-proctitle impl On SunOS we implement no support for proctitle. Other platforms may not support proctitle either, so provide a dedicated source file to use in this case. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
6c2fe3d9 | 19-May-2017 |
Ben Noordhuis |
test: fix -Wstrict-prototypes compiler warnings PR-URL: https://github.com/libuv/libuv/pull/1354 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@
test: fix -Wstrict-prototypes compiler warnings PR-URL: https://github.com/libuv/libuv/pull/1354 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
ff360e7f | 03-May-2017 |
John Barboza |
zos: do not inline OOB data by default It was previously assumed that OOB data had to be inlined but that is incorrect. PR-URL: https://github.com/libuv/libuv/pull/1347 Revi
zos: do not inline OOB data by default It was previously assumed that OOB data had to be inlined but that is incorrect. PR-URL: https://github.com/libuv/libuv/pull/1347 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
573e7fe8 | 03-May-2017 |
John Barboza |
zos: increase timeout for tcp_writealot A small timeout resulted in flaky behaviour on the z/OS test machine. PR-URL: https://github.com/libuv/libuv/pull/1353 Reviewed-By: B
zos: increase timeout for tcp_writealot A small timeout resulted in flaky behaviour on the z/OS test machine. PR-URL: https://github.com/libuv/libuv/pull/1353 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
d8cd08bd | 12-May-2017 |
cjihrig |
unix,win: add uv_os_gethostname() Fixes: https://github.com/libuv/libuv/issues/1315 PR-URL: https://github.com/libuv/libuv/pull/1342 Reviewed-By: Santiago Gimeno <santiago.gimeno@gma
unix,win: add uv_os_gethostname() Fixes: https://github.com/libuv/libuv/issues/1315 PR-URL: https://github.com/libuv/libuv/pull/1342 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
show more ...
|
4d005414 | 09-May-2017 |
Santiago Gimeno |
test: fix flaky tcp-write-queue-order Delay the timer start to be sure all handles are created when `timer_cb` is executed. In some cases this was not the case causing the following
test: fix flaky tcp-write-queue-order Delay the timer start to be sure all handles are created when `timer_cb` is executed. In some cases this was not the case causing the following error: ``` not ok 51 - tcp_write_queue_order exit code 134 Output from process `tcp_write_queue_order`: lt-run-tests: src/unix/core.c:166: uv_close: Assertion `0' failed. ``` PR-URL: https://github.com/libuv/libuv/pull/1338 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Andrius Bentkus <andrius.bentkus@gmail.com>
show more ...
|
22fc9285 | 13-May-2017 |
James McCoy |
build,openbsd: remove kvm-related code Remove the kvm.h include since 38323c9fb replaced the use of kvm_open() with sysctl(), Conditionally check for kvm_open() on non-OpenBSD p
build,openbsd: remove kvm-related code Remove the kvm.h include since 38323c9fb replaced the use of kvm_open() with sysctl(), Conditionally check for kvm_open() on non-OpenBSD platforms so LIBS (and libuv.pc) does not unnecessarily contain "-lkvm". Fixes: https://github.com/libuv/libuv/issues/1340 PR-URL: https://github.com/libuv/libuv/pull/1344 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
1217832e | 15-May-2017 |
cjihrig |
unix: remove FSEventStreamFlushSync() call This call, in the context of file watching, appears to trigger assertion warnings on some macOS configurations. Refs: https://github.c
unix: remove FSEventStreamFlushSync() call This call, in the context of file watching, appears to trigger assertion warnings on some macOS configurations. Refs: https://github.com/nodejs/node/issues/854 Fixes: https://github.com/libuv/libuv/issues/1334 PR-URL: https://github.com/libuv/libuv/pull/1349 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
e11dcd43 | 08-May-2017 |
Marc Schlaich |
unix: do not close udp sockets on bind error This makes Unix behave in the same way as Windows. Fixes: https://github.com/libuv/libuv/issues/1336 PR-URL: https://github.com/libu
unix: do not close udp sockets on bind error This makes Unix behave in the same way as Windows. Fixes: https://github.com/libuv/libuv/issues/1336 PR-URL: https://github.com/libuv/libuv/pull/1337 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
cb0cc734 | 12-Apr-2017 |
John Barboza |
zos: implement uv__io_fork, skip fs event tests Basic implementation of uv__io_fork on z/OS. As of now, since filesystem events are not supported, skip all of those tests on z/OS.
zos: implement uv__io_fork, skip fs event tests Basic implementation of uv__io_fork on z/OS. As of now, since filesystem events are not supported, skip all of those tests on z/OS. PR-URL: https://github.com/libuv/libuv/pull/1303 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
fd39cec4 | 27-Apr-2017 |
Jameson Nash |
build: add -Wstrict-prototypes Fixes: https://github.com/libuv/libuv/pull/1320 PR-URL: https://github.com/libuv/libuv/pull/1326 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Revie
build: add -Wstrict-prototypes Fixes: https://github.com/libuv/libuv/pull/1320 PR-URL: https://github.com/libuv/libuv/pull/1326 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
51f3f56f | 05-Apr-2017 |
Rasmus Christian Pedersen |
test: fix VC++ compilation warning This commit fixes the following warning: warning C4047: char *' differs in levels of indirection from 'char (*)[1]' PR-URL: https://github
test: fix VC++ compilation warning This commit fixes the following warning: warning C4047: char *' differs in levels of indirection from 'char (*)[1]' PR-URL: https://github.com/libuv/libuv/pull/1290 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
196eb8b9 | 14-Apr-2017 |
Keane |
win: remove __declspec(inline) from atomic op __declspec(inline) is completely undocumented, as well as unnecessary. The INLINE preprocessor macro is used throughout libuv, so this
win: remove __declspec(inline) from atomic op __declspec(inline) is completely undocumented, as well as unnecessary. The INLINE preprocessor macro is used throughout libuv, so this simply replaces the only instance of declspec(inline) with the macro version. PR-URL: https://github.com/libuv/libuv/pull/1307 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
bcf62029 | 27-Apr-2017 |
Bartosz Sosnowski |
win,test: support stdout output larger than 1kb Fix a bug in process_copy_output that would cause output larger than 1kb to be incorrectly split into lines. PR-URL: https://gith
win,test: support stdout output larger than 1kb Fix a bug in process_copy_output that would cause output larger than 1kb to be incorrectly split into lines. PR-URL: https://github.com/libuv/libuv/pull/1325 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
73506449 | 26-Apr-2017 |
Jameson Nash |
win: avoid leaking pipe handles to child processes Refs: https://github.com/joyent/libuv/issues/1313 PR-URL: https://github.com/libuv/libuv/pull/1321 Reviewed-By: Colin Ihrig <cjihri
win: avoid leaking pipe handles to child processes Refs: https://github.com/joyent/libuv/issues/1313 PR-URL: https://github.com/libuv/libuv/pull/1321 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
4e610138 | 27-Apr-2017 |
Ben Noordhuis |
doc: update supported linux/glibc baseline Now that RHEL/CentOS 5 is end-of-life, update the baseline from linux >= 2.6.18 + glibc >= 2.5 to linux >= 2.6.32 + glibc >= 2.12. PR-
doc: update supported linux/glibc baseline Now that RHEL/CentOS 5 is end-of-life, update the baseline from linux >= 2.6.18 + glibc >= 2.5 to linux >= 2.6.32 + glibc >= 2.12. PR-URL: https://github.com/libuv/libuv/pull/1324 Refs: https://github.com/nodejs/node/pull/12672 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
d59d6e6f | 25-Apr-2017 |
Saúl Ibarra Corretgé |
doc: add code samples from uvbook (unadapted) PR-URL: https://github.com/libuv/libuv/pull/1246 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gim
doc: add code samples from uvbook (unadapted) PR-URL: https://github.com/libuv/libuv/pull/1246 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|