| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(cherry picked from commit a1e9a1e120a11c563e166c15721169184c802f8b)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
| |
|
|
|
| |
(cherry picked from commit d64fd4bb5bb4fd2e3277f39d3ad99b5a8d193e1b).
(cherry picked from commit e9d4960d15c5282904cf26e469ce7cee39f634f7)
|
| |
|
|
|
|
|
|
|
|
| |
(GH-24089) (GH-24113) (GH-24116)
On ncurses 6.1 pair numbers are limited by SHORT_MAX-1.
Improve error reporting and tests for color functions.
(cherry picked from commit 59f9b4e4509be67494f3d45489fa55523175ff69)
(cherry picked from commit 9b3a53a8264d4c469a3f3d8c037e74c010be3e5c)
|
| |
|
|
|
|
|
| |
(GH-23874). (GH-24077) (GH-24079)
(cherry picked from commit 1470edd6131c29b8a09ce012cdfee3afa269d553)
(cherry picked from commit b0ee2b492dbf550fbd2a63b82de0a4dc9d67f32e)
|
| |
|
|
|
|
|
|
|
|
|
| |
(GH-24076) (GH-24078)
If __stdout__ is not attached to terminal, try to use __stderr__
if it is attached to terminal, or open the terminal device, or
use regular file as terminal, but some functions will be untested
in the latter case.
(cherry picked from commit 607501abb488fb37e33cf9d35260ab7baefa192f)
(cherry picked from commit 0303008ebceb6ac6035cd9722d1393267304171d)
|
| |
|
|
| |
Use curses.ncurses_version for conditionally skipping a test.
|
| | |
|
| |
|
|
| |
(#4220)
|
| |
|
|
|
|
| |
earlier. (#3826)
Skip a test for unget_wch()/get_wch() on OpenBSD since they are broken
in ncurses 5.7.
|
| | |
|
| | |
|
| |
|
|
|
| |
test_curses now saves/restores signals. On FreeBSD, the curses module
sets handlers of some signals, but don't restore old handlers when
the module is deinitialized.
|
| |
|
|
|
|
|
| |
Based on patch by Victor Stinner.
Add private C API function _PyUnicode_AsUnicode() which is similar to
PyUnicode_AsUnicode(), but checks for null characters.
|
| | |
|
| |
|
|
| |
Based on patch by Tycho Andersen.
|
| | |
|
| |
|
|
| |
available
|
| |\ |
|
| | | |
|
| |\ \
| |/ |
|
| | | |
|
| | |
| |
| |
| | |
represented as a compination of known flags.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
_tkinter and curses.panel modules.
|
| |/ |
|
| | |
|
| |
|
|
| |
In porting to Argument Clinic, the first two arguments were reversed.
|
| |
|
|
| |
no longer specify min{row,col} > max{row,col}.
|
| |
|
|
|
|
| |
set_panel_userptr again
Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
|
| |
|
|
|
|
| |
leaked.
Reported by Atsuo Ishimoto.
|
| |
|
|
|
|
| |
character for most keys, and an integer for special keys, instead of always
returning an integer. So it is now possible to distinguish special keys like
keypad keys.
|
| | |
|
| | |
|
| |
|
|
|
| |
when it is linked to the ncurses library. It encodes also Unicode strings to
the locale encoding instead of UTF-8.
|
| |\
| |
| |
| |
| |
| |
| | |
of a Unicode string.
This is an incompatible change, but putp() is used to emit terminfo commands,
which are bytes strings, not Unicode strings.
|
| | |
| |
| |
| |
| |
| |
| | |
Unicode string.
This is an incompatible change, but putp() is used to emit terminfo commands,
which are bytes strings, not Unicode strings.
|
| |\ \
| |/
| |
| |
| |
| | |
instead of a Unicode string.
This is an incompatible change, but the previous behaviour was completly wrong.
|
| | |
| |
| |
| |
| |
| | |
Unicode string.
This is an incompatible change, but the previous behaviour was completly wrong.
|
| | |
| |
| |
| |
| |
| | |
Skip the test if the function is missing. Use U+0061 (a) instead of U+00E9 (é)
because U+00E9 raises a _curses.error('unget_wch() returned ERR') on some
buildbots. It's maybe because of the locale encoding.
|
| | |
| |
| |
| | |
Push a character so the next get_wch() will return it.
|
| |/ |
|
| |
|
|
| |
ncurses.
|
| |
|
|
|
|
|
|
| |
the curses module must be linked against ncurses as well. Otherwise it
is not safe to load both the readline and curses modules in an application.
Thanks Thomas Dickey for answering questions about ncurses/ncursesw
and readline!
|
| |
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78281 | mark.dickinson | 2010-02-21 13:37:53 +0000 (Sun, 21 Feb 2010) | 1 line
Issue #7384: skip test_curses on FreeBSD, in order to allow other buildbot tests to complete.
........
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Merged revisions 75518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines
Only run test_curses when sys.__stdout__ is a tty. This eliminates the
last false positive when running regrtest with -j.
........
|
| |
|
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75066 | andrew.kuchling | 2009-09-25 17:23:54 -0500 (Fri, 25 Sep 2009) | 4 lines
#6243: fix segfault when keyname() returns a NULL pointer.
Bug noted by Trundle, patched by Trundle and Jerry Chen.
........
|
| |
|
|
|
| |
By using __stdout__ directly, test_curses caused regrtest.py
to duplicate the output of some test results.
|
| |
|
|
|
|
|
|
|
|
|
| |
svn+ssh://pythondev@svn.python.org/python/trunk
........
r73328 | amaury.forgeotdarc | 2009-06-10 01:37:11 +0200 (mer., 10 juin 2009) | 3 lines
Missing import in test_curses, uncovered by some buildbots.
(There are still a few test files that don't use the standard layout)
........
|