671ad783 | 21-Mar-2017 |
Bartosz Sosnowski |
fsevent: support for files without short name A call to GetShortPathName can fail as files are not guaranteed to have short name. This adds support for such case. Fixes: https:/
fsevent: support for files without short name A call to GetShortPathName can fail as files are not guaranteed to have short name. This adds support for such case. Fixes: https://github.com/libuv/libuv/issues/1258 PR-URL: https://github.com/libuv/libuv/pull/1267 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> 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 ...
|
9d94fd97 | 20-Mar-2017 |
Andreas Hauptmann |
win: fix memory leak inside uv__pipe_getname PR-URL: https://github.com/libuv/libuv/pull/1265 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gime
win: fix memory leak inside uv__pipe_getname PR-URL: https://github.com/libuv/libuv/pull/1265 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 ...
|
87df1448 | 14-Oct-2016 |
Ben Noordhuis |
unix,windows: refactor request init logic Fixes a TODO in src/threadpool.c. Updates the Windows code to drop the unused `loop` parameter in calls to uv_req_init(). PR-URL: http
unix,windows: refactor request init logic Fixes a TODO in src/threadpool.c. Updates the Windows code to drop the unused `loop` parameter in calls to uv_req_init(). PR-URL: https://github.com/libuv/libuv/pull/1091 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 ...
|
463800ff | 17-Mar-2017 |
cjihrig |
win,sunos: stop handle on uv_fs_event_start() err This commit stops the handle in uv_fs_event_start() when an error occurs. Fixes: https://github.com/libuv/libuv/issues/1253
win,sunos: stop handle on uv_fs_event_start() err This commit stops the handle in uv_fs_event_start() when an error occurs. Fixes: https://github.com/libuv/libuv/issues/1253 PR-URL: https://github.com/libuv/libuv/pull/1257 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
7e36c94e | 15-Mar-2017 |
Ben Noordhuis |
tools: add make_dist_html.py script Add a script to generate the http://dist.libuv.org/ download page from the tags in the git repository. The HTML is a work of tearful beauty.
tools: add make_dist_html.py script Add a script to generate the http://dist.libuv.org/ download page from the tags in the git repository. The HTML is a work of tearful beauty. PR-URL: https://github.com/libuv/libuv/pull/1251 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
e7a7ffb1 | 17-Mar-2017 |
cjihrig |
win: free uv__loops once empty This commit moves the allocation of uv__loops into uv__loops_add() and frees all of the memory associated with uv__loops in uv__loops_remove() once the
win: free uv__loops once empty This commit moves the allocation of uv__loops into uv__loops_add() and frees all of the memory associated with uv__loops in uv__loops_remove() once the loop count reaches zero. Fixes: https://github.com/libuv/libuv/issues/1125 Fixes: https://github.com/libuv/libuv/issues/1252 PR-URL: https://github.com/libuv/libuv/pull/1262 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
fd7ce57f | 22-Apr-2016 |
Jason Madden |
unix: make loops and watchers usable after fork() Added the uv_loop_fork() API that must be called in a child process to continue using an existing loop. Internally this calls a uv__io_f
unix: make loops and watchers usable after fork() Added the uv_loop_fork() API that must be called in a child process to continue using an existing loop. Internally this calls a uv__io_fork function for each supported platform, similar to the way uv__platform_loop_init works. After this call, existing and new IO, async and signal watchers will contiue working as before on all platforms, as will the threadpool (although any threads it was using are of course gone). On Linux and BSDs that use kqueue, existing and new fsevent watchers will also continue to work as expected. On OS X, though, directory fsevents will not be able to use the optimized CoreFoundation path if they had already been used in the parent process, instead falling back to the kqueue path used on other BSDs. Existing fsevent watchers will not function on AIX or SunOS. This could be relatively easily fixed by someone with AIX knowledge in the future, but SunOS will require some additional work to keep track if the watchers. A new test file, test/test-fork.c, was added to contain fork-related tests to verify functionality in the child process. PR-URL: https://github.com/libuv/libuv/pull/846 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
7b9f3799 | 15-Mar-2017 |
Ben Noordhuis |
samples: update timer callback prototype The socks5 proxy sample application was still using the old prototype where timer callbacks take a second 'status' parameter but that was rem
samples: update timer callback prototype The socks5 proxy sample application was still using the old prototype where timer callbacks take a second 'status' parameter but that was removed in commit db2a9072 ("unix, windows: removed unused status parameter") from March 2014. PR-URL: https://github.com/libuv/libuv/pull/1250 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
5fc8aecd | 14-Mar-2017 |
Ben Noordhuis |
unix: simplify async watcher dispatch logic Remove the unused `nevents` parameter from `uv__async_event()` and remove the indirection of having a separate `uv__async` type. There is
unix: simplify async watcher dispatch logic Remove the unused `nevents` parameter from `uv__async_event()` and remove the indirection of having a separate `uv__async` type. There is only one instance per event loop these days. This incidentally removes the `assert(n == sizeof(val))` in a Linux-specific code path that some users seem to hit from time to time. The cause is not well-understood and I've never been able to reproduce it myself. Presumably libuv gets an EAGAIN when trying to read from the eventfd but when and why that happens is unclear. Since the byte count is unused, removing the assert seems safe. Worst case, libuv sometimes iterates over the async watcher list when it doesn't have to. Fixes: https://github.com/libuv/libuv/issues/1171 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Supersedes: https://github.com/libuv/libuv/pull/1214
show more ...
|
d7cf7710 | 27-Jan-2017 |
jBarz |
unix: use union to follow strict aliasing rules With strict-aliasing rules, a char* type can be cast to any other pointer type. However, that does not necessarily mean char array typ
unix: use union to follow strict aliasing rules With strict-aliasing rules, a char* type can be cast to any other pointer type. However, that does not necessarily mean char array type. So instead of de-referencing a char array, use a union with an additional char member for aliasing. PR-URL: https://github.com/libuv/libuv/pull/1211 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
f277cb6f | 21-Feb-2017 |
Brad King |
unix: factor out reusable BSD ifaddrs impl Create a dedicated source file to share among platforms on which we find ifaddrs using the BSD getifaddrs API. De-duplicate our existing copie
unix: factor out reusable BSD ifaddrs impl Create a dedicated source file to share among platforms on which we find ifaddrs using the BSD getifaddrs API. De-duplicate our existing copies of this implementation on such platforms. PR-URL: https://github.com/libuv/libuv/pull/1240 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> 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 ...
|
0f84c305 | 18-Feb-2017 |
Brad King |
unix: factor out getifaddrs result filter On platforms using getifaddrs we iterate over the interfaces two or three times. First we count them, then we enumerate them, and then we f
unix: factor out getifaddrs result filter On platforms using getifaddrs we iterate over the interfaces two or three times. First we count them, then we enumerate them, and then we fill in physical addresses. Each loop needs to do the same filtering, so factor out the exclusion test into a helper function for each platform. PR-URL: https://github.com/libuv/libuv/pull/1240 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> 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 ...
|
80c4cf6b | 18-Feb-2017 |
Brad King |
unix: filter getifaddrs results consistently We loop over getifaddrs results multiple times. Fix the filter conditions to be consistent for all passes. PR-URL: https://github.c
unix: filter getifaddrs results consistently We loop over getifaddrs results multiple times. Fix the filter conditions to be consistent for all passes. PR-URL: https://github.com/libuv/libuv/pull/1240 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> 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 ...
|
399b08aa | 09-Mar-2017 |
jBarz |
unix: return UV_EINVAL for NULL env name "setenv" on z/OS returns successfully on a NULL ptr argument for name. Check for this on all unixes. PR-URL: https://github.com/libuv/li
unix: return UV_EINVAL for NULL env name "setenv" on z/OS returns successfully on a NULL ptr argument for name. Check for this on all unixes. PR-URL: https://github.com/libuv/libuv/pull/1243 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 ...
|
c4bd9f48 | 28-Feb-2017 |
cjihrig |
docs: improve UV_ENOBUFS scenario documentation This commit adds additional documentation to the UV_ENOBUFS scenario for several methods. Fixes: https://github.com/libuv/libuv/i
docs: improve UV_ENOBUFS scenario documentation This commit adds additional documentation to the UV_ENOBUFS scenario for several methods. Fixes: https://github.com/libuv/libuv/issues/1179 PR-URL: https://github.com/libuv/libuv/pull/1235 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
53995a38 | 01-Mar-2017 |
cjihrig |
win: add uv__convert_utf8_to_utf16() This is an internal helper function for converting UTF-8 strings to UTF-16 strings. It performs the inverse operation of the existing uv__convert
win: add uv__convert_utf8_to_utf16() This is an internal helper function for converting UTF-8 strings to UTF-16 strings. It performs the inverse operation of the existing uv__convert_utf16_to_utf8() function. Fixes: https://github.com/libuv/libuv/issues/1198 PR-URL: https://github.com/libuv/libuv/pull/1234 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
ee02f60c | 28-Feb-2017 |
cjihrig |
unix,win: add uv_os_{get,set,unset}env() These functions are used to create, retrieve, update, and delete environment variables. Fixes: https://github.com/libuv/libuv/issues/119
unix,win: add uv_os_{get,set,unset}env() These functions are used to create, retrieve, update, and delete environment variables. Fixes: https://github.com/libuv/libuv/issues/1198 PR-URL: https://github.com/libuv/libuv/pull/1234 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
2ba39be6 | 16-Feb-2017 |
Brad King |
unix: factor out reusable POSIX hrtime impl Create a dedicated source file to share among platforms on which we implement hrtime using POSIX `clock_gettime`. De-duplicate our existi
unix: factor out reusable POSIX hrtime impl Create a dedicated source file to share among platforms on which we implement hrtime using POSIX `clock_gettime`. De-duplicate our existing copies of this implementation on such platforms. PR-URL: https://github.com/libuv/libuv/pull/1239 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
45616f54 | 23-Oct-2016 |
Santiago Gimeno |
signal: add uv_signal_start_oneshot method It behaves as `uv_signal_start` but it resets the signal handler as soon as the signal is received. Fixes: https://github.com/libuv/li
signal: add uv_signal_start_oneshot method It behaves as `uv_signal_start` but it resets the signal handler as soon as the signal is received. Fixes: https://github.com/libuv/libuv/issues/1104 PR-URL: https://github.com/libuv/libuv/pull/1106 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
52ae8264 | 15-Feb-2017 |
Fedor Indutny |
unix: remove unused code in `uv__io_start` The code path in `uv__io_start` cannot be reached because `pevents` is always non-zero at that point. PR-URL: https://github.com/libuv
unix: remove unused code in `uv__io_start` The code path in `uv__io_start` cannot be reached because `pevents` is always non-zero at that point. PR-URL: https://github.com/libuv/libuv/pull/1227 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
02dcde08 | 09-Feb-2017 |
Vladimir Matveev |
win,fs: avoid double freeing uv_fs_event_t.dirw Set `dirw` to `pathw` after `uv_fs_event_start` is known to be completed successfully. Fixes: https://github.com/libuv/libuv/issu
win,fs: avoid double freeing uv_fs_event_t.dirw Set `dirw` to `pathw` after `uv_fs_event_start` is known to be completed successfully. Fixes: https://github.com/libuv/libuv/issues/1221 PR-URL: https://github.com/libuv/libuv/pull/1222 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
309d6033 | 07-Feb-2017 |
Santiago Gimeno |
test: fix -Wformat warning Substitute the `z` length modifier with `l` to avoid warnings, as the `z` modifier is defined in the C99 standard. PR-URL: https://github.com/libuv/li
test: fix -Wformat warning Substitute the `z` length modifier with `l` to avoid warnings, as the `z` modifier is defined in the C99 standard. PR-URL: https://github.com/libuv/libuv/pull/1220 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
c355c8b1 | 06-Feb-2017 |
Santiago Gimeno |
test: fix tests on OpenBSD It fixes `process_title`, `poll_bad_fdtype` and `poll_nested_kqueue` tests. Fixes: https://github.com/libuv/libuv/issues/1216 PR-URL: https://gith
test: fix tests on OpenBSD It fixes `process_title`, `poll_bad_fdtype` and `poll_nested_kqueue` tests. Fixes: https://github.com/libuv/libuv/issues/1216 PR-URL: https://github.com/libuv/libuv/pull/1218 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
c42d31ba | 01-Feb-2017 |
cjihrig |
Now working on version 1.11.1 |
60823103 | 01-Feb-2017 |
cjihrig |
Add SHA to ChangeLog |