Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-120378: Fix crash caused by integer overflow in `curses` (#124555) | Peter Bierma | 2024-10-02 | 1 | -0/+16 |
| | | | | | | | | | This is actually an upstream problem in curses, and has been reported to them already: https://lists.gnu.org/archive/html/bug-ncurses/2024-09/msg00101.html This is a nice workaround in the meantime to prevent the segfault. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | ||||
* | gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) | Serhiy Storchaka | 2023-12-23 | 1 | -1/+3 |
| | |||||
* | gh-106194: Rename duplicated tests in `test_curses` (#106196) | Nikita Sobolev | 2023-06-28 | 1 | -4/+11 |
| | |||||
* | gh-60436: fix curses textbox backspace/del (#103783) | Aidan Melen | 2023-04-26 | 1 | -0/+71 |
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Michael Blahay <mblahay@gmail.com> | ||||
* | gh-91914: Fix test_curses on non-UTF-8 locale (GH-91919) | Serhiy Storchaka | 2022-04-26 | 1 | -1/+6 |
| | |||||
* | bpo-43988: Use check disallow instantiation helper (GH-26392) | Erlend Egeberg Aasland | 2021-05-27 | 1 | -2/+3 |
| | |||||
* | bpo-43916: Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to selected types (GH-25748) | Erlend Egeberg Aasland | 2021-04-30 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | Apply Py_TPFLAGS_DISALLOW_INSTANTIATION to the following types: * _dbm.dbm * _gdbm.gdbm * _multibytecodec.MultibyteCodec * _sre..SRE_Scanner * _thread._localdummy * _thread.lock * _winapi.Overlapped * array.arrayiterator * functools.KeyWrapper * functools._lru_list_elem * pyexpat.xmlparser * re.Match * re.Pattern * unicodedata.UCD * zlib.Compress * zlib.Decompress | ||||
* | bpo-43084: Return bool instead of int from curses.window.enclose() (GH-24398) | Serhiy Storchaka | 2021-04-05 | 1 | -7/+6 |
| | |||||
* | bpo-43659: Fix test_curses on AIX (GH-25074) | Michael Felt | 2021-03-29 | 1 | -0/+1 |
| | | | | | | curses.update_lines_cols() is only defined when the curses library provides either resizeterm() or resize_term() functions which are optional and are not provided on AIX. | ||||
* | bpo-43231: Correctly calculate the curses color pair limit when checking for ↵ | Pablo Galindo | 2021-02-15 | 1 | -1/+1 |
| | | | | it (GH-24541) | ||||
* | bpo-43231: Fix test.test_curses.TestCurses.test_init_pair when running under ↵ | Pablo Galindo | 2021-02-15 | 1 | -0/+7 |
| | | | | -R (GH-24539) | ||||
* | bpo-43016: Fix test_curses on platform without cursesw (GH-24405) | Serhiy Storchaka | 2021-01-31 | 1 | -5/+23 |
| | |||||
* | bpo-43016: Rewrite tests for curses (GH-24312) | Serhiy Storchaka | 2021-01-31 | 1 | -215/+787 |
| | |||||
* | bpo-42681: Fix test_curses failures related to color pairs (GH-24089) | Serhiy Storchaka | 2021-01-05 | 1 | -12/+41 |
| | | | | | | | On ncurses 6.1 pair numbers are limited by SHORT_MAX-1, even with extended color support. Improve error reporting and tests for color functions. | ||||
* | bpo-42789: Enable using /dev/tty in test_curses. (GH-24085) | Serhiy Storchaka | 2021-01-04 | 1 | -1/+1 |
| | | | It was temporary disabled for debugging. | ||||
* | bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874) | Serhiy Storchaka | 2021-01-03 | 1 | -26/+107 |
| | |||||
* | bpo-42789: Don't skip curses tests on non-tty. (GH-24009) | Serhiy Storchaka | 2021-01-02 | 1 | -38/+62 |
| | | | | | | 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. | ||||
* | bpo-36982: Add support for extended color functions in ncurses 6.1 (GH-17536) | Hans Petter Jansson | 2020-08-04 | 1 | -1/+15 |
| | | | Co-authored-by: Jeffrey Kintscher <websurfer@surf2c.net> | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21449) | Hai Shi | 2020-08-03 | 1 | -1/+2 |
| | |||||
* | bpo-38312: Add curses.{get,set}_escdelay and curses.{get,set}_tabsize. ↵ | Anthony Sottile | 2019-10-31 | 1 | -0/+4 |
| | | | | (GH-16938) | ||||
* | bpo-31680: Add curses.ncurses_version. (GH-4217) | Serhiy Storchaka | 2018-10-30 | 1 | -3/+19 |
| | | | | Use curses.ncurses_version for conditionally skipping a test. | ||||
* | bpo-31924: Fix test_curses on NetBSD 8. (#4228) | Serhiy Storchaka | 2017-11-03 | 1 | -2/+4 |
| | |||||
* | bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). ↵ | Serhiy Storchaka | 2017-11-01 | 1 | -1/+8 |
| | | | | (#4220) | ||||
* | bpo-15037: Add a workaround for getkey() in curses for ncurses 5.7 and ↵ | Serhiy Storchaka | 2017-11-01 | 1 | -0/+3 |
| | | | | | | earlier. (#3826) Skip a test for unget_wch()/get_wch() on OpenBSD since they are broken in ncurses 5.7. | ||||
* | bpo-31919: Fix building the curses module on OpenIndiana. (#4211) | Serhiy Storchaka | 2017-11-01 | 1 | -9/+13 |
| | |||||
* | bpo-31891: Fix building the curses module on NetBSD. (#4165) | Serhiy Storchaka | 2017-10-31 | 1 | -8/+24 |
| | |||||
* | bpo-31629: Add support.SaveSignals (#4183) | Victor Stinner | 2017-10-31 | 1 | -1/+4 |
| | | | | | 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. | ||||
* | [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302) | Serhiy Storchaka | 2017-06-28 | 1 | -1/+10 |
| | | | | | | | Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters. | ||||
* | test_curses - substitute self.skip() with self.skipTest() | Xavier de Gaye | 2017-01-06 | 1 | -2/+2 |
| | |||||
* | Issue #13051: Fixed recursion errors in large or resized curses.textpad.Textbox. | Serhiy Storchaka | 2016-12-28 | 1 | -0/+9 |
| | | | | Based on patch by Tycho Andersen. | ||||
* | Issue #9770: curses.ascii predicates now work correctly with negative integers. | Serhiy Storchaka | 2016-12-28 | 1 | -0/+19 |
| | |||||
* | Issue #27801: Skip test_update_lines_cols when update_lines_cols() is not ↵ | Berker Peksag | 2016-08-19 | 1 | -0/+1 |
| | | | | available | ||||
* | merge 3.4 | Benjamin Peterson | 2016-08-16 | 1 | -0/+2 |
|\ | |||||
| * | fail when negative values are passed to instr() | Benjamin Peterson | 2016-08-16 | 1 | -0/+2 |
| | | |||||
* | | merge 3.4 | Benjamin Peterson | 2016-08-14 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | do not allow reading negative values with getstr() | Benjamin Peterson | 2016-08-14 | 1 | -0/+3 |
| | | |||||
* | | Issue #27294: Numerical state in the repr for Tkinter event objects is now | Serhiy Storchaka | 2016-06-18 | 1 | -0/+54 |
| | | | | | | | | represented as a compination of known flags. | ||||
* | | Fixed an error in previous commit. | Serhiy Storchaka | 2016-05-22 | 1 | -1/+1 |
| | | |||||
* | | Temporary skip curses tests on non-tty (issue #27067). | Serhiy Storchaka | 2016-05-22 | 1 | -0/+2 |
| | | |||||
* | | Issue #27067: Improved curses tests. | Serhiy Storchaka | 2016-05-21 | 1 | -68/+97 |
| | | |||||
* | | Issue #23815: Fixed crashes related to directly created instances of types in | Serhiy Storchaka | 2016-05-08 | 1 | -0/+4 |
| | | | | | | | | _tkinter and curses.panel modules. | ||||
* | | Issue #4254: Adds _curses.update_lines_cols() Patch by Arnon Yaari | Steve Dower | 2015-04-15 | 1 | -0/+7 |
|/ | |||||
* | Issue #16000: Convert test_curses to use unittest | Zachary Ware | 2014-10-17 | 1 | -367/+347 |
| | |||||
* | Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0. | Larry Hastings | 2014-05-04 | 1 | -0/+30 |
| | | | | In porting to Argument Clinic, the first two arguments were reversed. | ||||
* | Issue #20358: Tests for curses.window.overlay and curses.window.overwrite | Larry Hastings | 2014-01-26 | 1 | -2/+2 |
| | | | | no longer specify min{row,col} > max{row,col}. | ||||
* | #18113: avoid segfault if Py_XDECREF triggers code that calls ↵ | Andrew Kuchling | 2013-06-22 | 1 | -0/+9 |
| | | | | | | set_panel_userptr again Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit. | ||||
* | #18113: Objects associated to a curses.panel object with set_userptr() were ↵ | Andrew Kuchling | 2013-06-15 | 1 | -0/+13 |
| | | | | | | leaked. Reported by Atsuo Ishimoto. | ||||
* | Issue #15785: Modify window.get_wch() API of the curses module: return a | Victor Stinner | 2012-08-28 | 1 | -7/+5 |
| | | | | | | 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. | ||||
* | Issue #13415: test_curses skips unencodable characters | Victor Stinner | 2011-11-28 | 1 | -1/+8 |
| | |||||
* | Issue #13415: Help to locate curses.h when _curses module is linked to ncursesw | Victor Stinner | 2011-11-26 | 1 | -1/+4 |
| |