67f4d1c5 | 16-May-2016 |
Saúl Ibarra Corretgé |
Now working on version 1.9.2 |
fe299214 | 16-May-2016 |
Saúl Ibarra Corretgé |
Add SHA to ChangeLog |
d989902a | 16-May-2016 |
Saúl Ibarra Corretgé |
2016.05.17, Version 1.9.1 (Stable) Changes since version 1.9.0: * test: handle root home directories (cjihrig) * unix: implement uv__fs_futime for AIX 7.1 (Imran Iqbal)
2016.05.17, Version 1.9.1 (Stable) Changes since version 1.9.0: * test: handle root home directories (cjihrig) * unix: implement uv__fs_futime for AIX 7.1 (Imran Iqbal) * test: skip early bind tests if no IPv6 is supported (Saúl Ibarra Corretgé) * win: fix var declaration to be C89 compliant (Michael Fero) * unix: use POLL{IN,OUT,etc} constants directly (Ben Noordhuis) * doc: add ability to live reload and regenerate HTML (Saúl Ibarra Corretgé) * Revert "win,build: remove unused build defines" (cjihrig) * linux: fix fd leaks in uv_cpu_info() error paths (Ben Noordhuis) * linux: don't abort on malformed /proc/stat (Ben Noordhuis) * linux: fix long lines in linux-core.c (Ben Noordhuis) * test: fix fs_event_watch_file_current_dir for AIX (Imran Iqbal) * unix,fs: code cleanup of uv_fs_event_start for AIX (Imran Iqbal) * unix: delay signal handling until after normal i/o (Ben Noordhuis) * android: pthread_sigmask() does not set errno (Oguz Bastemur) * win: work around sharepoint scandir bug (Ben Noordhuis) * unix: guard against clobbering errno in uv__free() (Ben Noordhuis) * unix: remove unneeded SAVE_ERRNO wrappers (Ben Noordhuis) * test: skip fs_event_close_in_callback on AIX (Imran Iqbal) * win: add maxrss, pagefaults to uv_getrusage() (Robert Jefe Lindstaedt) * test: set a big send buffer size for tcp_write_queue_order (Andrius Bentkus) * unix: error on realpath if PATH_MAX is undefined (Myles Borins) * unix: fix bug in barrier fallback implementation (Kári Tristan Helgason) * build: bump android ndk version (Kári Tristan Helgason) * build: always compile with -fvisibility=hidden (Ben Noordhuis) * test: fix -Wformat warnings in platform test (Ben Noordhuis) * win: clarify fsevents handling code (Saúl Ibarra Corretgé) * test: fix POLLHDRUP related failures for AIX (Imran Iqbal) * build, mingw: set LIBS in configure.ac (Tony Theodore) * win: improve uv__convert_utf16_to_utf8 (Saúl Ibarra Corretgé) * win: simplified UTF16 -> UTF8 conversions (Saúl Ibarra Corretgé) * win: remove unneeded condition (Saúl Ibarra Corretgé) * darwin: work around condition variable kernel bug (Ben Noordhuis) * darwin: make thread stack multiple of page size (Ben Noordhuis) * build,win: rename platform to msbuild_platform (João Reis) * gitignore: ignore VS temporary database files (João Reis) * test: skip emfile on AIX (Imran Iqbal) * unix: use system allocator for scandir() (cjihrig) * common: release uv_fs_scandir() array (cjihrig) * win: call uv__fs_scandir_cleanup() (cjihrig) * win,tty: fix read stop in line mode (João Reis) * win,tty: don't duplicate handle for line reads (João Reis) * win,tty: restore cursor after canceling line read (Alexis Campailla)
show more ...
|
9eb13119 | 11-May-2016 |
Alexis Campailla |
win,tty: restore cursor after canceling line read When we send VK_RETURN to make ReadConsole return, a spurious new line is echoed to the screen. This is pretty visible in Node.js, since
win,tty: restore cursor after canceling line read When we send VK_RETURN to make ReadConsole return, a spurious new line is echoed to the screen. This is pretty visible in Node.js, since it calls uv_tty_read_start() and uv_tty_read_stop() in rapid succession during startup. With this change, we save the screen state just before sending VK_RETURN, and restore the cursor position as soon as ReadConsole returns. PR-URL: https://github.com/libuv/libuv/pull/866 Reviewed-by: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
349aa6c0 | 11-May-2016 |
João Reis |
win,tty: don't duplicate handle for line reads Since we cancel ReadConsole by sending a newline, the duplicate handle is no longer necessary. PR-URL: https://github.com/libuv/li
win,tty: don't duplicate handle for line reads Since we cancel ReadConsole by sending a newline, the duplicate handle is no longer necessary. PR-URL: https://github.com/libuv/libuv/pull/866 Reviewed-by: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
e51442bb | 11-May-2016 |
João Reis |
win,tty: fix read stop in line mode Closing the handle does not make ReadConsoleW exit reliably on Windows 7 and above. Thus, after switching from line to raw mode, keypresses were h
win,tty: fix read stop in line mode Closing the handle does not make ReadConsoleW exit reliably on Windows 7 and above. Thus, after switching from line to raw mode, keypresses were held until enter was pressed. This makes ReadConsoleW exit by writing a return keypress to its input buffer, similar to what was already done for raw mode. Fixes: https://github.com/libuv/libuv/issues/852 PR-URL: https://github.com/libuv/libuv/pull/866 Reviewed-by: Bert Belder <bertbelder@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
4e4407b1 | 16-May-2016 |
cjihrig |
win: call uv__fs_scandir_cleanup() This commit adds a previously missing call to uv__fs_scandir_cleanup() to uv_fs_req_cleanup(). This better aligns the Windows and Unix implementati
win: call uv__fs_scandir_cleanup() This commit adds a previously missing call to uv__fs_scandir_cleanup() to uv_fs_req_cleanup(). This better aligns the Windows and Unix implementations. Fixes: https://github.com/libuv/libuv/issues/873 PR-URL: https://github.com/libuv/libuv/pull/874 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
40e7a986 | 16-May-2016 |
cjihrig |
common: release uv_fs_scandir() array uv__fs_scandir_cleanup() releases individual directory entries, but not the container array. This commit frees the array as well. Fixes: ht
common: release uv_fs_scandir() array uv__fs_scandir_cleanup() releases individual directory entries, but not the container array. This commit frees the array as well. Fixes: https://github.com/libuv/libuv/issues/873 PR-URL: https://github.com/libuv/libuv/pull/874 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
4fa89fbc | 16-May-2016 |
cjihrig |
unix: use system allocator for scandir() On unix, scandir() uses the system allocator to allocate memory. This commit releases the memory with free() instead of uv__free(). uv__free(
unix: use system allocator for scandir() On unix, scandir() uses the system allocator to allocate memory. This commit releases the memory with free() instead of uv__free(). uv__free() is still used on Windows, which uses uv__malloc() to request the memory. Fixes: https://github.com/libuv/libuv/issues/873 PR-URL: https://github.com/libuv/libuv/pull/874 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
a1bd1ee8 | 12-May-2016 |
Imran Iqbal |
test: skip emfile on AIX On AIX, if a 'accept' call fails ECONNRESET is set on the socket which causes uv__emfile_trick to not work as intended and this test to fail. Fixes: htt
test: skip emfile on AIX On AIX, if a 'accept' call fails ECONNRESET is set on the socket which causes uv__emfile_trick to not work as intended and this test to fail. Fixes: https://github.com/libuv/libuv/issues/845 PR-URL: https://github.com/libuv/libuv/pull/870 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
31a0132a | 12-May-2016 |
João Reis |
gitignore: ignore VS temporary database files Visual Studio 2015 uses a new database engine, creating temporary files that should be ignored. PR-URL: https://github.com/libuv/li
gitignore: ignore VS temporary database files Visual Studio 2015 uses a new database engine, creating temporary files that should be ignored. PR-URL: https://github.com/libuv/libuv/pull/869 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
11e93aaf | 12-May-2016 |
João Reis |
build,win: rename platform to msbuild_platform This variable is used to select 32 or 64 bit builds when invoking MSBuild. The Visual C++ Build Tools also use the `platform` variable
build,win: rename platform to msbuild_platform This variable is used to select 32 or 64 bit builds when invoking MSBuild. The Visual C++ Build Tools also use the `platform` variable name, resulting in a conflict when vcvarsall.bat is called. Thus, it is necessary to rename it. Ref: https://github.com/libuv/libuv/issues/839 PR-URL: https://github.com/libuv/libuv/pull/868 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
28d160f3 | 10-May-2016 |
Ben Noordhuis |
darwin: make thread stack multiple of page size pthread_attr_setstacksize() expects that the stack size is a multiple of the page size so make sure that it is. Fixes a regressio
darwin: make thread stack multiple of page size pthread_attr_setstacksize() expects that the stack size is a multiple of the page size so make sure that it is. Fixes a regression introduced in commit 3db07cc ("osx: set the default thread stack size to RLIMIT_STACK") that made the program abort under certain configurations; GNU Emacs on OS X apparently sets RLIMIT_STACK to odd values when executing child processes. Fixes: https://github.com/nodejs/node/issues/6563 PR-URL: https://github.com/libuv/libuv/pull/864 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
a8840fb3 | 06-May-2016 |
Ben Noordhuis |
darwin: work around condition variable kernel bug It has been reported that destroying condition variables that have been signalled but not waited on can sometimes result in application
darwin: work around condition variable kernel bug It has been reported that destroying condition variables that have been signalled but not waited on can sometimes result in application crashes. See https://codereview.chromium.org/1323293005. PR-URL: https://github.com/libuv/libuv/pull/860 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
e397caa3 | 05-May-2016 |
Saúl Ibarra Corretgé |
win: remove unneeded condition The size is checked beforehand, no need to check it again. PR-URL: https://github.com/libuv/libuv/pull/859 Reviewed-By: Colin Ihrig <cjihrig@gmail
win: remove unneeded condition The size is checked beforehand, no need to check it again. PR-URL: https://github.com/libuv/libuv/pull/859 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
46d84eae | 05-May-2016 |
Saúl Ibarra Corretgé |
win: simplified UTF16 -> UTF8 conversions PR-URL: https://github.com/libuv/libuv/pull/859 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
4c945f49 | 05-May-2016 |
Saúl Ibarra Corretgé |
win: improve uv__convert_utf16_to_utf8 - take a size parameter - always null terminate the buffer - nullify the output parameter in case of error PR-URL: https://github.com/
win: improve uv__convert_utf16_to_utf8 - take a size parameter - always null terminate the buffer - nullify the output parameter in case of error PR-URL: https://github.com/libuv/libuv/pull/859 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
9386f2ca | 12-Apr-2016 |
Tony Theodore |
build, mingw: set LIBS in configure.ac Instead of doing it instead Makefile.am, this fixes libuv.pc on MinGW. Previous version generates libuv.pc with LIBS = "-lpthread" instead of
build, mingw: set LIBS in configure.ac Instead of doing it instead Makefile.am, this fixes libuv.pc on MinGW. Previous version generates libuv.pc with LIBS = "-lpthread" instead of "-lpthread -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv" on MinGW. Previous version generates the following Makefile.am: am__append_4 = -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv ... LIBS = -lpthread $(am__append_4) and the following configure.ac: AS_IF([test "x$PKG_CONFIG" != "x"], [ AC_CONFIG_FILES([libuv.pc]) ]) AC_CONFIG_FILES([Makefile]) Therefore, Makefile is generated after libuv.pc. Variables from Makefile don't affect config.status and libuv.pc. PR-URL: https://github.com/libuv/libuv/pull/841 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
337e9fd0 | 04-May-2016 |
Imran Iqbal |
test: fix POLLHDRUP related failures for AIX `POLLHDRUP` is not implemented on AIX. Therefore `UV_DISCONNECT` will never be set on `events`. This causes the socket to never be closed and
test: fix POLLHDRUP related failures for AIX `POLLHDRUP` is not implemented on AIX. Therefore `UV_DISCONNECT` will never be set on `events`. This causes the socket to never be closed and the tests to be stuck inside `pollset_poll` indefinitely, resulting in a timeout. This fixes the following tests: - poll_duplex - poll_unidirectional Updated docs to let end users know that `UV_DISCONNECT` can be set, but is unsupported on AIX. Fixes: https://github.com/libuv/libuv/issues/844 PR-URL: https://github.com/libuv/libuv/pull/857 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 ...
|
d43ee0ea | 05-May-2016 |
Saúl Ibarra Corretgé |
win: clarify fsevents handling code The code for handling fs events is quite complex, this commits tries to make it easier to follow. First, there are 2 cases in which we use th
win: clarify fsevents handling code The code for handling fs events is quite complex, this commits tries to make it easier to follow. First, there are 2 cases in which we use the name of the file straight from the event (when watching a directory): - if we cannot create the long path - if the file got renamed or removed So separate this logically, even if the code we need is the same. Second, one way or anothwer we will always have some filename to report, so remove an unnecessary if. Third, nullify filenamew, to avoid having a dangling pointer, should the code change. PR-URL: https://github.com/libuv/libuv/pull/858 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
2753bc1f | 29-Apr-2016 |
Ben Noordhuis |
test: fix -Wformat warnings in platform test Cast the `ru_majflt` and `ru_maxrss` field to `unsigned long long` when printing them with `"%llu"`. Warnings introduced in commit 6
test: fix -Wformat warnings in platform test Cast the `ru_majflt` and `ru_maxrss` field to `unsigned long long` when printing them with `"%llu"`. Warnings introduced in commit 6f17a61 ("win: add maxrss, pagefaults to uv_getrusage()".) PR-URL: https://github.com/libuv/libuv/pull/855 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
4844c75d | 29-Apr-2016 |
Ben Noordhuis |
build: always compile with -fvisibility=hidden The 'visibility%' gyp variable was designed as an override mechanism for old (<=3.4) versions of gcc that don't know about -fvisibility=hid
build: always compile with -fvisibility=hidden The 'visibility%' gyp variable was designed as an override mechanism for old (<=3.4) versions of gcc that don't know about -fvisibility=hidden. It turns out it's fairly easy for embedders to muck up the define, as witnessed by the fact that node.js is currently leaking internal libuv symbols due to not properly setting 'visibility%'. While that could be fixed by tweaking node.js, because we don't support gcc 3.4 anymore and haven't for a long time, making -fvisibility=hidden the default here seems all around easier. PR-URL: https://github.com/libuv/libuv/pull/847 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
4b342554 | 19-Mar-2016 |
Kári Tristan Helgason |
build: bump android ndk version PR-URL: https://github.com/libuv/libuv/pull/790 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
f57bfd4d | 19-Mar-2016 |
Kári Tristan Helgason |
unix: fix bug in barrier fallback implementation There was a memory corruption issue with the pthread barrier implementation on android, where a barrier could still be in use by one
unix: fix bug in barrier fallback implementation There was a memory corruption issue with the pthread barrier implementation on android, where a barrier could still be in use by one thread when being freed by another. This fixes that issue and adds lots of missing error handling. This implementation is now also used for the OSX fallback. Fixes: https://github.com/libuv/libuv/issues/615 PR-URL: https://github.com/libuv/libuv/pull/790 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
f617ccc6 | 25-Apr-2016 |
Myles Borins |
unix: error on realpath if PATH_MAX is undefined Currently when PATH_MAX is undefined realpath will default to using 4096. There is a potential stack overflow attack that can be mitigate
unix: error on realpath if PATH_MAX is undefined Currently when PATH_MAX is undefined realpath will default to using 4096. There is a potential stack overflow attack that can be mitigated by having PATH_MAX defined. This change conservatively errors if a system does not have PATH_MAX defined. This change also explicitly includes `limits.h` to ensure that all platforms have PATH_MAX defined if it is available. Ref: http://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html Refs: https://github.com/nodejs/node/issues/2680#issuecomment-213521708 PR-URL: https://github.com/libuv/libuv/pull/843 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|