Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always call tparm with 10 arguments. It seems it's not varargs i | Michael W. Hudson | 2002-11-21 | 1 | -43/+3 |
| | | | | | | | | more often than it is. In response to bug: [ 641808 ] Portability of Modules/_cursesmodule.c submitted by Nick Mclaren. | ||||
* | [Patch #633635 from David M. Cooke] | Andrew M. Kuchling | 2002-11-06 | 1 | -6/+14 |
| | | | | | | Make keyname raise ValueError if passed -1, avoiding a segfault Make getkey() match the docs and raise an exception in nodelay mode The return type of getch() is int, not chtype | ||||
* | Use personal e-mail address | Andrew M. Kuchling | 2002-10-30 | 1 | -2/+1 |
| | |||||
* | Remove duplicate definitions of _XOPEN_SOURCE_EXTENDED. | Martin v. Löwis | 2002-10-26 | 1 | -2/+0 |
| | |||||
* | Patch #615069: Fix build problems on SCO Open Server 5. Backported to 2.2. | Martin v. Löwis | 2002-09-30 | 1 | -1/+1 |
| | |||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | I think this fixes | Michael W. Hudson | 2002-01-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | [ #510644 ] test_curses segfaults If we use the *object* *allocator*, we should use the *object* *deallocator*, not the *raw memory* deallocator (confused yet?). I think this was what caused segfaults when pymalloc was enabled. Even if it wasn't the cause, it's still wrong. 2.2.1 candidate. | ||||
* | Patch #477752: Drop old-style getargs from curses. | Martin v. Löwis | 2002-01-17 | 1 | -331/+286 |
| | |||||
* | Change some spaces to tabs. I don't *think* that was me, but it | Michael W. Hudson | 2002-01-16 | 1 | -2/+2 |
| | | | | might have been... | ||||
* | Fix for | Michael W. Hudson | 2002-01-16 | 1 | -8/+8 |
| | | | | | | | [ #504284 ] Last build problems on AIX I'm ignoring the suggestion that this should be an autoconf test in the interests of having a fix today. Feel free to quibble. | ||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment. | ||||
* | Limit string size on one-character-strings. Fixes #480384. | Martin v. Löwis | 2001-11-11 | 1 | -2/+2 |
| | |||||
* | Patch in bug report #477700: Fix memory leaks in gdbm & curses. | Martin v. Löwis | 2001-11-11 | 1 | -0/+1 |
| | |||||
* | Check for HP/UX curses problems. Define _XOPEN_SOURCE_EXTENDED and | Martin v. Löwis | 2001-10-24 | 1 | -7/+40 |
| | | | | | | STRICT_SYSV_CURSES when compiling curses module on HP/UX. Generalize access to _flags on systems where WINDOW is opaque. Fixes bugs #432497, #422265, and the curses parts of #467145 and #473150. | ||||
* | Add two forgotten 'break' statements | Andrew M. Kuchling | 2001-10-20 | 1 | -15/+40 |
| | | | | | | | | Allow passing strings to the .border() method Correct some error messages ("1 or 4" -> "1 to 4") Bump version number Tweak code formatting Update my e-mail address | ||||
* | Test for __sun instead of __sun__, since SUNWspro only defines the latter; | Martin v. Löwis | 2001-10-13 | 1 | -1/+1 |
| | | | | gcc defines both. | ||||
* | [Bug #457654] bkgd() used a hard-coded A_NORMAL attribute, when it should | Andrew M. Kuchling | 2001-09-04 | 1 | -1/+1 |
| | | | | have used the attribute argument provided as a parameter | ||||
* | Remove warnings from the SGI compiler. | Fred Drake | 2001-07-19 | 1 | -6/+3 |
| | | | | This is part of SF patch #434992. | ||||
* | Fix bug #417212: "curses.newwin can return pads" by changing the Python | Andrew M. Kuchling | 2001-07-14 | 1 | -3/+2 |
| | | | | | newwin() wrapper to always return a window, and never a pad. This makes the code match the documentation. | ||||
* | Properly use &&. Closes bug #434988. | Martin v. Löwis | 2001-06-23 | 1 | -2/+2 |
| | |||||
* | Include py_curses.h *after* defining _XOPEN_SOURCE_EXTENDED. | Guido van Rossum | 2001-04-10 | 1 | -2/+3 |
| | | | | | | Michael Hudson suggested this fox for the Tru64 problem (SF bug 232597). It looks reasonable, it works on Tru64, and it doesn't beak anything on Linux, so I say go for it. | ||||
* | Patch #103485 from Donn Cave: patches to make the module compile on AIX and | Andrew M. Kuchling | 2001-01-29 | 1 | -0/+36 |
| | | | | NetBSD | ||||
* | Rename 'lines' variable to 'nlines' to avoid conflict with a macro defined | Andrew M. Kuchling | 2001-01-29 | 1 | -7/+7 |
| | | | | in term.h | ||||
* | Bug #130117: add a prototype required to compile cleanly on IRIX | Andrew M. Kuchling | 2001-01-28 | 1 | -0/+1 |
| | | | | (contributed by Paul Jackson) | ||||
* | Support building this as a DLL under Cygwin. | Guido van Rossum | 2001-01-19 | 1 | -2/+5 |
| | |||||
* | Add the curses constants ERR and OK to the module at TG's suggestion | Andrew M. Kuchling | 2000-12-26 | 1 | -0/+3 |
| | |||||
* | Export C API from this module. | Andrew M. Kuchling | 2000-12-22 | 1 | -99/+47 |
| | | | | Remove several macros and #includes; py_curses.h contains them now. | ||||
* | Another patch from Thomas Gellekum: add .overlay() and .overwrite() | Andrew M. Kuchling | 2000-12-21 | 1 | -3/+81 |
| | | | | window methods | ||||
* | Wrapper for napms() function, contributed by Thomas Gellekum <tg@FreeBSD.org> | Andrew M. Kuchling | 2000-12-15 | 1 | -1/+50 |
| | |||||
* | Patch #102412 from mwh: Add support for the setupterm() function, to | Andrew M. Kuchling | 2000-11-18 | 1 | -15/+76 |
| | | | | initialize the terminal without necessarily calling initscr() | ||||
* | Patch #102278: add tparm() function to _curses module | Andrew M. Kuchling | 2000-11-07 | 1 | -4/+55 |
| | |||||
* | Patch from Randall Hopper to fix PR #116172, "curses module fails to | Andrew M. Kuchling | 2000-11-01 | 1 | -4/+38 |
| | | | | | | | build on SGI": * Check for 'sgi' preprocessor symbol, not '__sgi__' * Surround individual character macros with #ifdef's, instead of making them all rely on STRICT_SYSV_CURSES | ||||
* | Don't call Py_FatalError in module initialization | Jeremy Hylton | 2000-09-01 | 1 | -4/+0 |
| | | | | (leaving the rest of the modules for Barry) | ||||
* | Add alias for old function name -- removing it broke Alexei Gilchrist's cfm | Andrew M. Kuchling | 2000-08-20 | 1 | -0/+2 |
| | |||||
* | Added list of missing functions as a comment | Andrew M. Kuchling | 2000-07-27 | 1 | -0/+26 |
| | |||||
* | Comment out a debugging print (spotted by Michael Deegan) | Andrew M. Kuchling | 2000-07-26 | 1 | -1/+1 |
| | |||||
* | Added wrappers for tiget{flag,num,str}, for querying terminfo capabilities | Andrew M. Kuchling | 2000-07-26 | 1 | -0/+47 |
| | |||||
* | Modified version of patch #100963 from Mark Favas: has_key() is an | Andrew M. Kuchling | 2000-07-25 | 1 | -5/+5 |
| | | | | ncurses extension, so it's made conditional depending on STRICT_SYSV_CURSES | ||||
* | Bug report and partial patch from Michael Deegan <michael@ucc.gu.uwa.edu.au>: | Andrew M. Kuchling | 2000-07-24 | 1 | -4/+4 |
| | | | | | reversed tests resulted in an exception when you supplied the correct number of arguments | ||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;) | ||||
* | Patch from Peter Schneider-Kamp: convert curses module to ANSI prototypes, | Andrew M. Kuchling | 2000-07-09 | 1 | -377/+221 |
| | | | | and substitute the conventional "args" instead of "arg". | ||||
* | Python 2.0 is not supposed to use string exceptions in the standard library | Fred Drake | 2000-07-06 | 1 | -1/+1 |
| | | | | | & extensions, so create exceptions in extension modules using the PyErr_NewException() API. | ||||
* | Removed unused variables. | Andrew M. Kuchling | 2000-07-06 | 1 | -3/+4 |
| | | | | Added two functions that were left out of the method definition table. | ||||
* | Fixes for compiling on Tru64. | Andrew M. Kuchling | 2000-06-27 | 1 | -8/+13 |
| | | | | | Define a STRICT_SYSV_CURSES macro on SGI, Sun, and Tru64, to mark systems that don't support some features. | ||||
* | Fix two typos (, instead of ;) | Andrew M. Kuchling | 2000-06-27 | 1 | -3/+2 |
| | |||||
* | Added support for mouse functions: mousemask(), mouseinterval(), | Andrew M. Kuchling | 2000-06-27 | 1 | -0/+130 |
| | | | | | getmouse(), ungetmouse(), and window.enclose(). wmouse_trafo() seems of marginal importance at the moment. | ||||
* | Release the global interpreter lock around the most important | Andrew M. Kuchling | 2000-06-23 | 1 | -12/+45 |
| | | | | functions that might block or pause | ||||
* | Added .timeout() method and .typeahead() function | Andrew M. Kuchling | 2000-06-21 | 1 | -0/+19 |
| | |||||
* | Renamed the C extension for ncurses support from 'curses' to '_curses'. | Andrew M. Kuchling | 2000-06-10 | 1 | -4/+4 |
| | | | | (The SourceForge admins have been asked to rename the ,v file.) | ||||
* | Changes by AMK: Use HAVE_NCURSES_H to include correct header file | Andrew M. Kuchling | 2000-05-23 | 1 | -133/+124 |
| | | | | | | | | | Lots of typo fixes (a bit too much cut-and-paste in this module) Aliases removed: attr_on, attr_off, attr_set Lowercased the names COLOR_PAIR and PAIR_NUMBER #ifdef's for compiling on Solaris added (need to understand SYSV curses versions better and generalize this) Bumped version number bumped to 1.6 |