7552305d | 03-Jun-2015 |
Miodrag Milanovic |
win: fix compilation warning on MinGW src/win/util.c: In function 'uv_os_homedir': src/win/util.c:1189:46: warning: passing argument 3 of 'GetUserProfileDirectoryW' from incompatible poi
win: fix compilation warning on MinGW src/win/util.c: In function 'uv_os_homedir': src/win/util.c:1189:46: warning: passing argument 3 of 'GetUserProfileDirectoryW' from incompatible pointer type if (!GetUserProfileDirectoryW(token, path, &bufsize)) { ^ In file included from src/win/util.c:39:0: C:/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/userenv.h:52:29: note: expected 'LPDWORD' but argument is of type 'size_t *' USERENVAPI WINBOOL WINAPI GetUserProfileDirectoryW(HANDLE hToken,LPWSTR lpProfileDir,LPDWORD lpcchSize); ^ PR-URL: https://github.com/libuv/libuv/pull/388 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
a0c88152 | 29-May-2015 |
cjihrig |
win: add XP support to uv_os_homedir() The previous Windows implementation used SHGetKnownFolderPath(), which is only supported on Vista and up. This commit switches to GetUserProfil
win: add XP support to uv_os_homedir() The previous Windows implementation used SHGetKnownFolderPath(), which is only supported on Vista and up. This commit switches to GetUserProfileDirectoryW(), which returns the same information, but is supported back to Windows 2000, and is not deprecated. PR-URL: https://github.com/libuv/libuv/pull/375 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
d110a1b6 | 02-Jun-2015 |
Saúl Ibarra Corretgé |
win: fix compilation Yours truly broke compilation on bddd6a8489e4c8cf47841de6f05becd99fc06f3e |
bddd6a84 | 26-May-2015 |
Saúl Ibarra Corretgé |
core: add ability to customize memory allocator This patch is composed by the work done in https://github.com/libuv/libuv/pull/231 and https://github.com/libuv/libuv/pull/287 plus so
core: add ability to customize memory allocator This patch is composed by the work done in https://github.com/libuv/libuv/pull/231 and https://github.com/libuv/libuv/pull/287 plus some changes by yours truly. Thanks @beevik and @mattsta for their work on this! PR-URL: https://github.com/libuv/libuv/pull/368 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
bb2632b3 | 27-May-2015 |
Andrew Paprocki |
aix: add ahafs autoconf detection and README notes The libuv filesystem events API on AIX requires the non-default IBM `bos.ahafs` package to be installed. The library should still comp
aix: add ahafs autoconf detection and README notes The libuv filesystem events API on AIX requires the non-default IBM `bos.ahafs` package to be installed. The library should still compile and work on systems without this package. This patch adds proper detection to `configure.ac` and makes the API return `-ENOSYS` at runtime if the system does not support it. PR-URL: https://github.com/libuv/libuv/pull/372 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
266ee642 | 27-May-2015 |
Andrew Paprocki |
test: fix `platform_output` netmask printing. The implementation will leave the family set to `AF_UNSPEC` if a netmask is not present, but the test driver would always print the unin
test: fix `platform_output` netmask printing. The implementation will leave the family set to `AF_UNSPEC` if a netmask is not present, but the test driver would always print the uninitialized buffer as an `AF_INET4` address. It will now print "none" if there is no netmask (e.g., for loopback interfaces). PR-URL: https://github.com/libuv/libuv/pull/373 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
1816dbc8 | 27-May-2015 |
Saúl Ibarra Corretgé |
unix: make sure UDP send callbacks are asynchronous Fixes: https://github.com/libuv/libuv/issues/301 PR-URL: https://github.com/libuv/libuv/pull/371 Reviewed-By: Ben Noordhuis <info@
unix: make sure UDP send callbacks are asynchronous Fixes: https://github.com/libuv/libuv/issues/301 PR-URL: https://github.com/libuv/libuv/pull/371 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
3ceb260c | 27-May-2015 |
Saúl Ibarra Corretgé |
unix: prevent infinite loop in uv__run_pending If any of the callbacks called in uv__run_pending calls uv__io_feed we enter an infinite loop, because we add the handle to the same qu
unix: prevent infinite loop in uv__run_pending If any of the callbacks called in uv__run_pending calls uv__io_feed we enter an infinite loop, because we add the handle to the same queue we are iterating over. Refs: https://github.com/libuv/libuv/issues/301 PR-URL: https://github.com/libuv/libuv/pull/371 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
7005d295 | 25-May-2015 |
Fedor Indutny |
stream: fix `select()` race condition Call `uv__read()`/`uv__write()` before re-entering `select` thread. Otherwise we might get second event from it, and will block indefinitely on
stream: fix `select()` race condition Call `uv__read()`/`uv__write()` before re-entering `select` thread. Otherwise we might get second event from it, and will block indefinitely on `uv__read()`/`uv__write()`. Fix: https://github.com/libuv/libuv/issues/304 PR-URL: https://github.com/libuv/libuv/pull/365 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
a62c2d59 | 12-May-2015 |
cjihrig |
unix,win: add uv_os_homedir() PR-URL: https://github.com/libuv/libuv/pull/350 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |
d1b5008e | 15-May-2015 |
Ben Noordhuis |
linux: work around epoll bug in kernels < 2.6.37 Old 32 bits kernels (native and compat) have a bug where timeouts larger than (LONG_MAX / CONFIG_HZ) milliseconds are treated as infinite
linux: work around epoll bug in kernels < 2.6.37 Old 32 bits kernels (native and compat) have a bug where timeouts larger than (LONG_MAX / CONFIG_HZ) milliseconds are treated as infinite. Work around that by capping the timeout and polling again if necessary. PR-URL: https://github.com/libuv/libuv/pull/354 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
ccf90a1e | 16-May-2015 |
Igor Soarez |
doc: fix typo in tcp.rst PR-URL: https://github.com/libuv/libuv/pull/355 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> |
b8354c19 | 18-May-2015 |
Jason Williams |
windows: Add VS2015 support to vcbuild.bat gyp supports MSVC 2015, added a check for %VS140COMNTOOLS% and set GYP_MSVS_VERSION=2015. PR-URL: https://github.com/libuv/libuv/pull/
windows: Add VS2015 support to vcbuild.bat gyp supports MSVC 2015, added a check for %VS140COMNTOOLS% and set GYP_MSVS_VERSION=2015. PR-URL: https://github.com/libuv/libuv/pull/341 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
18b857b9 | 03-May-2015 |
Rui Abreu Ferreira |
windows: MSVC 2015 has snprintf() Prior to MSVC 2015, there was no standard compliant snprintf(), added a compiler version check and disabled the snprintf() replacement for MSVC >= 2
windows: MSVC 2015 has snprintf() Prior to MSVC 2015, there was no standard compliant snprintf(), added a compiler version check and disabled the snprintf() replacement for MSVC >= 2015 in test/task.h. PR-URL: https://github.com/libuv/libuv/pull/341 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
a6fa3ca9 | 08-May-2015 |
Saúl Ibarra Corretgé |
unix: don't block for io if any io handle is primed PR-URL: https://github.com/libuv/libuv/pull/347 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
05ef2980 | 07-May-2015 |
Michael Dawson |
aix: fix setsockopt for multicast options On AIX the length of socket options for multicast and ttl options is not always sizeof(char). AIX has the same issue as solaris which w
aix: fix setsockopt for multicast options On AIX the length of socket options for multicast and ttl options is not always sizeof(char). AIX has the same issue as solaris which was fixed under PR-URL: https://github.com/libuv/libuv/pull/243 This PR extends the fix to cover AIX as well. PR-URL: https://github.com/libuv/libuv/pull/345 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
9fe8acc9 | 06-May-2015 |
Saúl Ibarra Corretgé |
Add SHA to ChangeLog |
4e77f74c | 06-May-2015 |
Saúl Ibarra Corretgé |
2015.05.07, Version 1.5.0 (Stable) Changes since version 1.4.2: * doc: clarify that the thread pool primites are not thread safe (Andrius Bentkus) * aix: always dereg
2015.05.07, Version 1.5.0 (Stable) Changes since version 1.4.2: * doc: clarify that the thread pool primites are not thread safe (Andrius Bentkus) * aix: always deregister closing fds from epoll (Michael) * unix: fix glibc-2.20+ macro incompatibility (Massimiliano Torromeo) * doc: add Sphinx plugin for generating links to man pages (Saúl Ibarra Corretgé) * doc: link system and library calls to man pages (Saúl Ibarra Corretgé) * doc: document uv_getnameinfo_t.{host|service} (Saúl Ibarra Corretgé) * build: update the location of gyp (Stephen von Takach) * win: name all anonymous structs and unions (TomCrypto) * linux: work around epoll bug in kernels 3.10-3.19 (Ben Noordhuis) * darwin: fix size calculation in select() fallback (Ole André Vadla Ravnås) * solaris: fix setsockopt for multicast options (Julien Gilli) * test: fix race condition in multithreaded test (Ben Noordhuis) * doc: fix long lines in tty.rst (Ben Noordhuis) * test: use UV_TTY_MODE_* values in tty test (Ben Noordhuis) * unix: don't clobber errno in uv_tty_reset_mode() (Ben Noordhuis) * unix: reject non-tty fds in uv_tty_init() (Ben Noordhuis) * win: fix pipe blocking writes (Alexis Campailla) * build: fix cross-compiling for iOS (Steven Kabbes) * win: remove unnecessary malloc.h * include: use `extern "c++"` for defining C++ code (Kazuho Oku) * unix: reap child on execvp() failure (Ryan Phillips) * windows: fix handle leak on EMFILE (Brian Green) * test: fix tty_file, close handle if initialized (Saúl Ibarra Corretgé) * doc: clarify what uv_*_open accepts (Saúl Ibarra Corretgé) * doc: clarify that we don't maintain external doc resources (Saúl Ibarra Corretgé) * build: add documentation for ninja support (Devchandra Meetei Leishangthem) * doc: document uv_buf_t members (Corey Farrell) * linux: fix epoll_pwait() fallback on arm64 (Ben Noordhuis) * android: fix compilation warning (Saúl Ibarra Corretgé) * unix: don't close the fds we just setup (Sam Roberts) * test: spawn child replacing std{out,err} to stderr (Saúl Ibarra Corretgé) * unix: fix swapping fds order in uv_spawn (Saúl Ibarra Corretgé) * unix: fix potential bug if dup2 fails in uv_spawn (Saúl Ibarra Corretgé) * test: remove LOG and LOGF variadic macros (Saúl Ibarra Corretgé) * win: fix uv_fs_access on directories (Saúl Ibarra Corretgé) * win: fix of double free in uv_uptime (Per Nilsson) * unix: open "/dev/null" instead of "/" for emfile_fd (Alan Rogers) * docs: add some missing words (Daryl Haresign) * unix: clean up uv_fs_open() O_CLOEXEC logic (Ben Noordhuis) * build: set SONAME for shared library in uv.gyp (Rui Abreu Ferreira) * windows: define snprintf replacement as inline instead of static (Rui Abreu Ferreira) * win: fix unlink of readonly files (João Reis) * doc: fix uv_run(UV_RUN_DEFAULT) description (Ben Noordhuis) * linux: intercept syscall when running under memory sanitizer (Keno Fischer) * aix: fix uv_interface_addresses return value (farblue68) * windows: defer reporting TCP write failure until next tick (Saúl Ibarra Corretgé) * test: add test for deferred TCP write failure (Saúl Ibarra Corretgé)
show more ...
|
e6e8124b | 05-May-2015 |
Saúl Ibarra Corretgé |
test: add test for deferred TCP write failure The test exhibits that write failures are deferred to the callback. Refs: https://github.com/libuv/libuv/issues/339 PR_URL: https:/
test: add test for deferred TCP write failure The test exhibits that write failures are deferred to the callback. Refs: https://github.com/libuv/libuv/issues/339 PR_URL: https://github.com/libuv/libuv/pull/344
show more ...
|
710fcf7d | 05-May-2015 |
Saúl Ibarra Corretgé |
unix: squelch compiler warning on release builds Fixes: https://github.com/libuv/libuv/issues/343 |
f880023b | 30-Apr-2015 |
Saúl Ibarra Corretgé |
windows: defer reporting TCP write failure until next tick Fixes: https://github.com/libuv/libuv/issues/339 Reviewed-By: Bert Belder <bertbelder@gmail.com> |
ee9c7bac | 04-Apr-2015 |
farblue68 |
aix: fix uv_interface_addresses return value Make it consistent with other platforms. PR-URL: https://github.com/libuv/libuv/pull/303 Reviewed-By: Ben Noordhuis <info@bnoordhuis
aix: fix uv_interface_addresses return value Make it consistent with other platforms. PR-URL: https://github.com/libuv/libuv/pull/303 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
af0d09bd | 10-Apr-2015 |
Keno Fischer |
linux: intercept syscall when running under memory sanitizer Since libuv has it's own syscall wrappers, the standard libc interception mechanism of the sanitizers do not catch these, lea
linux: intercept syscall when running under memory sanitizer Since libuv has it's own syscall wrappers, the standard libc interception mechanism of the sanitizers do not catch these, leading to false positives for projects using libuv when running under memory sanitizer. Fix this by adding the appropriate calls to unpoison manually. PR-URL: https://github.com/libuv/libuv/pull/311 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
7639dd51 | 29-Apr-2015 |
Ben Noordhuis |
doc: fix uv_run(UV_RUN_DEFAULT) description Saying uv_run() always returns zero is incorrect in the presence of calls to uv_stop(). PR-URL: https://github.com/libuv/libuv/pull/3
doc: fix uv_run(UV_RUN_DEFAULT) description Saying uv_run() always returns zero is incorrect in the presence of calls to uv_stop(). PR-URL: https://github.com/libuv/libuv/pull/337 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
0db81a98 | 21-Apr-2015 |
João Reis |
win: fix unlink of readonly files Unix unlinks files even if they are not writable, windows version should behave similarly. Fixes: https://github.com/joyent/node/issues/3006 PR
win: fix unlink of readonly files Unix unlinks files even if they are not writable, windows version should behave similarly. Fixes: https://github.com/joyent/node/issues/3006 PR-URL: https://github.com/libuv/libuv/pull/327 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|