#
d8669609 |
| 12-Oct-2023 |
Pleuvens |
test: switch from ASSERT_* to ASSERT_PTR_* (#4163) Also introduce a new ASSERT_PTR_LT macro.
|
#
011a1ac1 |
| 06-Oct-2023 |
Pleuvens |
test: switch to new-style ASSERT_EQ macros (#4159) Switch from old-style ASSERT macro to new-style ASSERT_EQ,... macros. Using new-style macros makes it easier to debug test failure
test: switch to new-style ASSERT_EQ macros (#4159) Switch from old-style ASSERT macro to new-style ASSERT_EQ,... macros. Using new-style macros makes it easier to debug test failures Fixes: https://github.com/libuv/libuv/issues/2974
show more ...
|
#
91a7e498 |
| 12-Mar-2023 |
Trevor Norris |
test: silence more valgrind warnings (#3917) Pass the loop to MAKE_VALGRIND_HAPPY() so it's explicit on which loop needs to be cleaned up. Since it asserts on uv_loop_close(), need to
test: silence more valgrind warnings (#3917) Pass the loop to MAKE_VALGRIND_HAPPY() so it's explicit on which loop needs to be cleaned up. Since it asserts on uv_loop_close(), need to remove a couple of those that were being done before the call. Cleanup where loop was assigned, so the entire test either uses loop or uv_default_loop(). Not both. Also take care of any reqs that may have been left uncleaned.
show more ...
|
#
f1b4c766 |
| 31-Jan-2023 |
Ben Noordhuis |
test: remove bad tty window size assumption (#3895) Fixes: https://github.com/libuv/libuv/issues/3894
|
#
5102b2c0 |
| 28-Nov-2022 |
Ben Noordhuis |
unix: drop kfreebsd support (#3835) Because kFreeBSD is dead. RIP. Fixes: https://github.com/libuv/libuv/issues/3833
|
Revision tags: v1.41.0, v1.40.0 |
|
#
97a90330 |
| 20-Sep-2020 |
gengjiawen |
build: add asan checks Fixes: https://github.com/libuv/libuv/issues/2999 PR-URL: https://github.com/libuv/libuv/pull/2998 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed
build: add asan checks Fixes: https://github.com/libuv/libuv/issues/2999 PR-URL: https://github.com/libuv/libuv/pull/2998 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
Revision tags: v1.39.0 |
|
#
b2cec846 |
| 07-Aug-2020 |
Jiawen Geng |
build: add more failed test, for qemu version bump Fixes: https://github.com/libuv/libuv/pull/2937 PR-URL: https://github.com/libuv/libuv/pull/2939 Reviewed-By: Jameson Nash <vtjnash
build: add more failed test, for qemu version bump Fixes: https://github.com/libuv/libuv/pull/2937 PR-URL: https://github.com/libuv/libuv/pull/2939 Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
Revision tags: v1.38.1, v1.38.0, v1.37.0, v1.36.0 |
|
#
4878e828 |
| 25-Mar-2020 |
Kevin Adler |
test: Test EBADF tty handling PR-URL: https://github.com/libuv/libuv/pull/2753 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com> |
Revision tags: v1.35.0, v1.34.2, v1.34.1, v1.34.0, v1.33.1, v1.33.0, v1.32.0, v1.31.0, v1.30.1, v1.30.0, v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0 |
|
#
c5593b51 |
| 05-Nov-2018 |
Jameson Nash |
warnings: fix code that emits compiler warnings PR-URL: https://github.com/libuv/libuv/pull/2066 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack
warnings: fix code that emits compiler warnings PR-URL: https://github.com/libuv/libuv/pull/2066 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com>
show more ...
|
Revision tags: v1.23.2, v1.23.1 |
|
#
b9a08403 |
| 17-Sep-2018 |
Bartosz Sosnowski |
tty, win: fix read stop for raw mode New Windows version requires `EventType` to be set to something meaningful, otherwise WriteConsoleInputW() will fail with `ERROR_INVALID_PARAMETE
tty, win: fix read stop for raw mode New Windows version requires `EventType` to be set to something meaningful, otherwise WriteConsoleInputW() will fail with `ERROR_INVALID_PARAMETER`. This sets it to `FOCUS_EVENT` which is ignored by `uv_process_tty_read_raw_req()`. Fixes: https://github.com/nodejs/node/issues/21773 PR-URL: https://github.com/libuv/libuv/pull/1989 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
#
40498795 |
| 28-Aug-2018 |
Jameson Nash |
stream: autodetect direction Previously, we required the user to specify the expected read/write flags for a pipe or tty. But we've already been asking the OS to tell us what they ac
stream: autodetect direction Previously, we required the user to specify the expected read/write flags for a pipe or tty. But we've already been asking the OS to tell us what they actually are (fcntl F_GETFL), so we can hopefully just use that information directly. Fixes: https://github.com/libuv/libuv/issues/1936 PR-URL: https://github.com/libuv/libuv/pull/1964 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.23.0, v1.22.0 |
|
#
619937c7 |
| 28-Jun-2018 |
Ben Noordhuis |
unix,win: merge handle flags Some long overdue refactoring that unifies more of the UNIX and Windows backends. PR-URL: https://github.com/libuv/libuv/pull/1904 Reviewed-By:
unix,win: merge handle flags Some long overdue refactoring that unifies more of the UNIX and Windows backends. PR-URL: https://github.com/libuv/libuv/pull/1904 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.21.0, v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1, v1.19.0, v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0, v1.13.1, v1.13.0, v1.12.0 |
|
#
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 ...
|
Revision tags: v1.11.0 |
|
#
67a5c86b |
| 30-Jan-2017 |
Bert Belder |
win,test: don't write uninitialized buffer to tty Fixes an issue where the Windows-only tty_large_write attempts to write an uninitialized buffer to the console. PR-URL: https:/
win,test: don't write uninitialized buffer to tty Fixes an issue where the Windows-only tty_large_write attempts to write an uninitialized buffer to the console. PR-URL: https://github.com/libuv/libuv/pull/1212 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.10.2, v1.10.1 |
|
#
c2f0e4f6 |
| 16-Nov-2016 |
Santiago Gimeno |
win,tty: fix MultiByteToWideChar output buffer Make sure there's enough room in the output buffer by dynamically allocating memory in case the size of the buffer needs to be greater
win,tty: fix MultiByteToWideChar output buffer Make sure there's enough room in the output buffer by dynamically allocating memory in case the size of the buffer needs to be greater than 8192 characters. PR-URL: https://github.com/libuv/libuv/pull/1143 Refs: https://github.com/libuv/libuv/pull/1138 Refs: https://github.com/libuv/libuv/pull/889 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Imran Iqbal <imran@imraniqbal.org>
show more ...
|
#
445e3a1f |
| 16-Nov-2016 |
Santiago Gimeno |
Revert "Revert "win,tty: add support for ANSI codes in win10 v1511"" To bring back support for ANSI codes in win10 v1511. This reverts commit 8cbabaa81709562de68bcac0554e4e7af2f72cf
Revert "Revert "win,tty: add support for ANSI codes in win10 v1511"" To bring back support for ANSI codes in win10 v1511. This reverts commit 8cbabaa81709562de68bcac0554e4e7af2f72cf6. PR-URL: https://github.com/libuv/libuv/pull/1143 Refs: https://github.com/libuv/libuv/pull/1138 Refs: https://github.com/libuv/libuv/pull/889 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Imran Iqbal <imran@imraniqbal.org>
show more ...
|
#
8cbabaa8 |
| 15-Nov-2016 |
Ben Noordhuis |
Revert "win,tty: add support for ANSI codes in win10 v1511" Causes regressions on Windows 10 in applications that use ANSI codes. Also reverts commit 0895ccf ("win: fix typo in type
Revert "win,tty: add support for ANSI codes in win10 v1511" Causes regressions on Windows 10 in applications that use ANSI codes. Also reverts commit 0895ccf ("win: fix typo in type name") and commit d0c2641 ("win, tty: handle empty buffer in uv_tty_write_bufs".) This reverts commit d0c26414b4287628b2fef25aa7e3971240a92383. This reverts commit 0895ccfc8ced0c2442c8aab75ccef1f1a6b3938e. This reverts commit 58ccfd4c210d3cc1a36dd82474976aac296589f2. PR-URL: https://github.com/libuv/libuv/pull/1138 Refs: https://github.com/libuv/libuv/issues/1135 Refs: https://github.com/libuv/libuv/pull/889 Refs: https://github.com/nodejs/node/issues/9542 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Imran Iqbal <imran@imraniqbal.org> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
#
d0c26414 |
| 13-Nov-2016 |
Hitesh Kanwathirtha |
win, tty: handle empty buffer in uv_tty_write_bufs In uv_tty_write_bufs, if the console supports Virtual Terminal sequences, we try to convert the passed in utf8 buffer to utf16. However
win, tty: handle empty buffer in uv_tty_write_bufs In uv_tty_write_bufs, if the console supports Virtual Terminal sequences, we try to convert the passed in utf8 buffer to utf16. However, we need to check if the buffer is of non-zero length- otherwise, MultiByteToWideChar returns an error. Fixes: https://github.com/libuv/libuv/issues/1135 Fixes: https://github.com/nodejs/node/issues/9542 PR-URL: https://github.com/libuv/libuv/pull/1139 Refs: https://github.com/libuv/libuv/pull/889 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Imran Iqbal <imran@imraniqbal.org>
show more ...
|
Revision tags: v1.10.0 |
|
#
2112e7a6 |
| 04-Sep-2016 |
Saúl Ibarra Corretgé |
test: fix building pty test on Android Fixes: https://github.com/libuv/libuv/issues/1029 PR-URL: https://github.com/libuv/libuv/pull/1030 Reviewed-By: Ben Noordhuis <info@bnoordhuis.
test: fix building pty test on Android Fixes: https://github.com/libuv/libuv/issues/1029 PR-URL: https://github.com/libuv/libuv/pull/1030 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
#
0a4b51fc |
| 28-Jul-2016 |
Jeffrey Clark |
build: GNU/kFreeBSD support autotools support only, gvp does not support kfreebsd detection. PR-URL: https://github.com/libuv/libuv/pull/960 Reviewed-By: Ben Noordhuis <info@bno
build: GNU/kFreeBSD support autotools support only, gvp does not support kfreebsd detection. PR-URL: https://github.com/libuv/libuv/pull/960 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
791c8178 |
| 05-Aug-2016 |
sunjin.lee |
test: fix android build error. Do not compile 'tty_pty' test for android. PR-URL: https://github.com/libuv/libuv/pull/975 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Review
test: fix android build error. Do not compile 'tty_pty' test for android. PR-URL: https://github.com/libuv/libuv/pull/975 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
7b9e25a9 |
| 19-Jun-2016 |
Luca Bruno |
test: skip tty_pty test if pty is not available Do not let `tty_pty` test fail if no terminals are available to `openpty()`. PR-URL: https://github.com/libuv/libuv/pull/919
test: skip tty_pty test if pty is not available Do not let `tty_pty` test fail if no terminals are available to `openpty()`. PR-URL: https://github.com/libuv/libuv/pull/919 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v0.10.37, v1.9.1 |
|
#
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 ...
|
Revision tags: v1.9.0 |
|
#
387102b2 |
| 23-Mar-2016 |
Enno Boland |
unix: open ttyname instead of /dev/tty Find the real name of the tty using ttyname_r(3) instead of opening "/dev/tty" which causes trouble if the fd doesn't point to the controlling
unix: open ttyname instead of /dev/tty Find the real name of the tty using ttyname_r(3) instead of opening "/dev/tty" which causes trouble if the fd doesn't point to the controlling terminal. PR-URL: https://github.com/libuv/libuv/pull/779 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.8.0 |
|
#
f5796d2f |
| 20-Nov-2015 |
Imran Iqbal |
test: fix test/test-tty.c for AIX '/dev/random' causes 'isatty()' to return 1 on AIX[1]. This causes an issue where 'dev/tty' is opened (hard coded in src/unix/tty.c:uv_tty_init). Tr
test: fix test/test-tty.c for AIX '/dev/random' causes 'isatty()' to return 1 on AIX[1]. This causes an issue where 'dev/tty' is opened (hard coded in src/unix/tty.c:uv_tty_init). Tried to replace the hardcoded value with what is returned by 'ttyname()' but on AIX all that is returned is '/dev/'. This seems to be a bug with the AIX kernel. [1]http://goo.gl/wGa7mf PR-URL: https://github.com/libuv/libuv/pull/624 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|