2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-05 08:22:44 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
Matt Clarkson
f550175c7f
Add the 'errors' attribute to AnsiTerm
When using input in Python3 an exception is thrown because the AnsiTerm does not
have the errors attribute. This patch fixes that.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-09-01 18:33:56 +02:00
Thomas Nagy
9f7e6a1bfb
Revert "it turns out that writeconsole in ansiterm.py is not needed"
This reverts commit 3deaeb241a.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-03-14 21:47:19 +01:00
Thomas Nagy
564c4c1a60 (keep the -1 in ansiterm for now) 2014-01-25 20:26:11 +01:00
Thomas Nagy
1b534ee8d2 ansiterm fix: use FillConsoleOutputCharacterW instead of FillConsoleOutputCharacterA 2014-01-25 19:59:51 +01:00
Thomas Nagy
c395bffed8 Workaround for Issue 1401 - the progress bar cannot display the last character on windows 2014-01-25 02:02:28 +01:00
Thomas Nagy
0cc696faa3
Invalid parameter type c_int passed to FillConsoleOutputCharacterA 2014-01-06 01:14:21 +01:00
Thomas Nagy
5c85d5907d
FillConsoleOutputCharacterA seems to be requiring a c_char, not a c_wchar 2014-01-06 01:01:10 +01:00
Thomas Nagy
001488b8d3
Signatures for the rest of ctype functions 2014-01-06 00:54:35 +01:00
Thomas Nagy
d01f7f36e0
Stop creating range objects in ansiterm 2014-01-05 21:47:21 +01:00
Thomas Nagy
8d8ba52810
Removed the workaround in ansiterm.py 2014-01-05 21:39:39 +01:00
Thomas Nagy
e01695d536
Trying to get rid of the invalid handle errors in ansiterm 2014-01-05 21:31:54 +01:00
Thomas Nagy
107ebc9251
Trying to get rid of the invalid handle errors in ansiterm 2014-01-05 21:30:52 +01:00
Thomas Nagy
ece779b5ed
Temporary workaround for ctype errors (invalid handle is returned sometimes) 2014-01-05 20:53:13 +01:00
Thomas Nagy
68acc6a2b9
Return the column count on windows 2014-01-05 11:23:49 +01:00
Thomas Nagy
3deaeb241a
it turns out that writeconsole in ansiterm.py is not needed 2014-01-05 10:18:57 +01:00
Thomas Nagy
4107a0e29d
New option --color to control the coloring, and split the coloring from the output synchronization code 2014-01-05 01:39:32 +01:00
Thomas Nagy
fa5f149775
removed the is_vista verification, write the text by chunks and default to the default stream writer when not a tty 2014-01-04 23:20:17 +01:00
Thomas Nagy
526620f16d
Cleanup in ansiterm.py 2014-01-04 17:20:19 +01:00
Thomas Nagy
80bc0a65ce
moved the TINY_STEP variable to the module level 2014-01-01 19:59:59 +01:00
Thomas Nagy
118bbfbf4d let ansiterm write to the standard error on windows 2014-01-01 15:11:32 +01:00
Thomas Nagy
c7c299ddf0 unused variable 2013-11-17 13:24:14 +01:00
Thomas Nagy
7b6c4e2c9d inconsistent tabs/spaces 2013-11-10 19:53:56 +01:00
Thomas Nagy
ecc1f63a63 moved imports to the top 2013-11-10 05:32:50 +01:00
Thomas Nagy
6055744a5f Use explicit imports in ansiterm.py 2013-11-10 05:27:18 +01:00
Thomas Nagy
adf2225f76 remove as many bare 'except:' statements as possible 2012-02-11 13:43:47 +01:00
Thomas Nagy
5f2284cad6 typo 2012-01-08 18:24:29 +01:00
Thomas Nagy
72efb7867b Issue 1099 2012-01-08 18:13:50 +01:00
Thomas Nagy
44a967e326 Initial commit 2011-09-10 11:13:51 +02:00