History log of /libuv/test/test-tty.c (Results 26 – 45 of 45)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v1.7.5, v1.7.4, v1.7.3, v1.7.2, v1.7.1, v1.7.0, v1.6.1, v1.6.0, v1.5.0
# cdc10a90 10-Apr-2015 Saúl Ibarra Corretgé

test: remove LOG and LOGF variadic macros

Initial patch by @simar7, thanks!

PR-URL: https://github.com/libuv/libuv/pull/313
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>

# 34da61b3 20-Mar-2015 Saúl Ibarra Corretgé

test: fix tty_file, close handle if initialized

If the handle is closed when it wasn't initialized, uv_close will fail.

PR-URL: https://github.com/libuv/libuv/pull/279
Reviewed-

test: fix tty_file, close handle if initialized

If the handle is closed when it wasn't initialized, uv_close will fail.

PR-URL: https://github.com/libuv/libuv/pull/279
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>

show more ...

# fc9e66e5 11-Mar-2015 Ben Noordhuis

unix: reject non-tty fds in uv_tty_init()

Reject file descriptors that correspond to regular files or char/block
devices. Such file descriptors are incompatible with epoll and trigger

unix: reject non-tty fds in uv_tty_init()

Reject file descriptors that correspond to regular files or char/block
devices. Such file descriptors are incompatible with epoll and trigger
a run-time assert.

Fixes: https://github.com/libuv/libuv/issues/255
PR-URL: https://github.com/libuv/libuv/pull/259
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>

show more ...

# 1df46fe4 11-Mar-2015 Ben Noordhuis

unix: don't clobber errno in uv_tty_reset_mode()

uv_tty_reset_mode() is designed to be async signal-safe and is therefore
not allowed to clobber errno.

PR-URL: https://github.co

unix: don't clobber errno in uv_tty_reset_mode()

uv_tty_reset_mode() is designed to be async signal-safe and is therefore
not allowed to clobber errno.

PR-URL: https://github.com/libuv/libuv/pull/259
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>

show more ...

# 25d4abba 11-Mar-2015 Ben Noordhuis

test: use UV_TTY_MODE_* values in tty test

The UV_TTY_MODE_* enumeration values were introduced in commit 025602d
("tty: implement binary I/O terminal mode") but the test was not updated

test: use UV_TTY_MODE_* values in tty test

The UV_TTY_MODE_* enumeration values were introduced in commit 025602d
("tty: implement binary I/O terminal mode") but the test was not updated
to use them. This commit rectifies that.

PR-URL: https://github.com/libuv/libuv/pull/259
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>

show more ...

Revision tags: v0.10.36, v1.4.2, v0.10.35, v1.4.1, v0.10.34, v1.4.0, v1.3.0, v0.10.33, v1.2.1, v1.2.0, v0.10.32, v1.1.0, v0.10.31, v1.0.2, v0.10.30
# e157dc9c 02-Dec-2014 Saúl Ibarra Corretgé

test: skip tty test if detected width and height are 0

This happens in certain build environments such as Jenkins if
some tweaking is not performed in the host system.

PR-URL: h

test: skip tty test if detected width and height are 0

This happens in certain build environments such as Jenkins if
some tweaking is not performed in the host system.

PR-URL: https://github.com/libuv/libuv/pull/22

show more ...

Revision tags: v1.0.1, v1.0.0, v0.10.29, v1.0.0-rc2, v1.0.0-rc1, v0.11.29, v0.11.28, v0.11.27, v0.10.28, v0.11.26, v0.10.27, v0.11.25, v0.11.24, v0.11.23, v0.10.26, v0.11.22, v0.11.21, v0.11.20, v0.10.25, v0.11.19, v0.10.24, v0.11.18, v0.10.23, v0.10.22, v0.11.17, v0.10.21, v0.11.16, v0.10.20, v0.11.15, v0.10.19, v0.11.14, v0.10.18
# 6462eaf4 29-Sep-2013 Luca Bruno

test: relax TTY availability assumptions

test-tty.c currently assumes that a TTY is available to the test runner,
and fails hard if not. This may not be true on some autobuilding
env

test: relax TTY availability assumptions

test-tty.c currently assumes that a TTY is available to the test runner,
and fails hard if not. This may not be true on some autobuilding
environment, making the build fail as shown in [0].
Instead, let's properly skip the test in such cases.

[0] http://ur1.ca/fr5bd

Signed-off-by: Luca Bruno <lucab@debian.org>

show more ...

Revision tags: v0.10.17, v0.10.16, v0.11.13, v0.11.12, v0.11.11, v0.11.10, v0.10.15, v0.11.9, v0.10.14, v0.11.8, v0.11.7, v0.10.13, v0.11.6, v0.10.12, v0.11.5
# 6607e702 18-Jun-2013 Ben Noordhuis

test: open stdout fd in write-only mode

Fixes #771.

Revision tags: v0.10.11, v0.10.10, v0.11.4, v0.10.9, v0.10.8, v0.11.3, v0.10.7, v0.10.6, v0.11.2, v0.10.5
# fe2a3150 15-Apr-2013 Miroslav Bajtoš

test: add error logging to tty unit test

Revision tags: v0.10.4, v0.11.1, node-v0.11.0, v0.10.2, node-v0.7.3, node-v0.7.7, node-v0.7.5, node-v0.5.3, node-v0.10.1, node-v0.10.0, node-v0.9.12, node-v0.9.11, node-v0.8.21, node-v0.8.19, node-v0.9.10, node-v0.9.7
# 4ba03ddd 16-Jan-2013 Ben Noordhuis

unix, windows: rename uv_run2 to uv_run

This changes the prototype of uv_run() from:

int uv_run(uv_loop_t* loop);

To:

int uv_run(uv_loop_t* loop, uv_run_mode m

unix, windows: rename uv_run2 to uv_run

This changes the prototype of uv_run() from:

int uv_run(uv_loop_t* loop);

To:

int uv_run(uv_loop_t* loop, uv_run_mode mode);

Where `mode` is UV_RUN_DEFAULT, UV_RUN_ONCE or UV_RUN_NOWAIT.

Fixes #683.

show more ...

Revision tags: node-v0.9.6, node-v0.9.4, node-v0.8.17, node-v0.8.15, node-v0.9.3
# 47eb0349 16-Oct-2012 Bert Belder

test: move loop cleanup code to the individual tests

Revision tags: node-v0.8.12, node-v0.8.10, node-v0.9.2, node-v0.8.9, node-v0.9.1, node-v0.8.8, node-v0.8.7, node-v0.8.6, node-v0.8.5, node-v0.6.21, node-v0.8.3, node-v0.9.0, node-v0.8.2, node-v0.8.1, node-v0.8.0, node-v0.7.12, node-v0.7.11, node-v0.7.10, node-v0.6.19, node-v0.7.9, node-v0.6.18, node-v0.6.16, node-v0.6.17, node-v0.7.8, node-v0.6.15, node-v0.6.14, node-v0.6.13, node-v0.7.6
# 8c78cb40 09-Mar-2012 Ben Noordhuis

unix: replace C99/C++ comments, fix build

# e53d7e3a 08-Mar-2012 Bert Belder

Make test-tty pass with redirected stdio

Revision tags: node-v0.6.12, node-v0.6.11, node-v0.7.4, node-v0.6.10, node-v0.7.2, node-v0.6.9, node-v0.7.1
# bf8ccfce 17-Jan-2012 Ben Noordhuis

unix: fix segfault in uv_guess_handle()

Fixes #293.

Revision tags: node-v0.7.0, node-v0.6.8, node-v0.6.7, node-v0.6.6, node-v0.6.4
# d513d9bb 30-Nov-2011 Bruce Mitchener

Fix typos.

Revision tags: node-v0.6.3, node-v0.6.2, node-v0.6.1, node-v0.6.0, node-v0.5.10, node-v0.5.9
# 5656e3c8 10-Oct-2011 Ryan Dahl

Prepare for writable TTY to be blocking

Revision tags: node-v0.5.8
# 153d3c7c 30-Sep-2011 Ryan Dahl

unix: allow tty raw mode to be turned off

# 03d0c57e 23-Sep-2011 Ryan Dahl

Remove uv_is_tty. Use uv_guess_handle instead.

# 03652596 23-Sep-2011 Ryan Dahl

unix: add uv_guess_handle and uv_tty_get_winsize

Revision tags: node-v0.5.7
# c1374ba5 15-Sep-2011 Ryan Dahl

Add uv_is_tty()

12