summaryrefslogtreecommitdiffstats
path: root/Modules/_cursesmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-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. Kuchling2000-07-091-377/+221
| | | | and substitute the conventional "args" instead of "arg".
* Python 2.0 is not supposed to use string exceptions in the standard libraryFred Drake2000-07-061-1/+1
| | | | | & extensions, so create exceptions in extension modules using the PyErr_NewException() API.
* Removed unused variables.Andrew M. Kuchling2000-07-061-3/+4
| | | | Added two functions that were left out of the method definition table.
* Fixes for compiling on Tru64.Andrew M. Kuchling2000-06-271-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. Kuchling2000-06-271-3/+2
|
* Added support for mouse functions: mousemask(), mouseinterval(),Andrew M. Kuchling2000-06-271-0/+130
| | | | | getmouse(), ungetmouse(), and window.enclose(). wmouse_trafo() seems of marginal importance at the moment.
* Release the global interpreter lock around the most importantAndrew M. Kuchling2000-06-231-12/+45
| | | | functions that might block or pause
* Added .timeout() method and .typeahead() functionAndrew M. Kuchling2000-06-211-0/+19
|
* Renamed the C extension for ncurses support from 'curses' to '_curses'.Andrew M. Kuchling2000-06-101-4/+4
| | | | (The SourceForge admins have been asked to rename the ,v file.)
* Changes by AMK: Use HAVE_NCURSES_H to include correct header fileAndrew M. Kuchling2000-05-231-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
* Oliver Andrich's ncurses-specific curses module, version 1.5b1Andrew M. Kuchling2000-05-231-948/+1607
|
* Vladimir Marangozov's long-awaited malloc restructuring.Guido van Rossum2000-05-031-4/+4
| | | | | | | | | | For more comments, read the patches@python.org archives. For documentation read the comments in mymalloc.h and objimpl.h. (This is not exactly what Vladimir posted to the patches list; I've made a few changes, and Vladimir sent me a fix in private email for a problem that only occurs in debug mode. I'm also holding back on his change to main.c, which seems unnecessary to me.)
* Patch by Charles Waldman to implement an optional nlines argument toGuido van Rossum1999-01-051-2/+18
| | | | w.scroll(). (It then calls wscrl(win, nlines) instead of scoll(win).)
* Chris Herborth discovered a typo in the arrow key symbols.Guido van Rossum1998-12-231-1/+2
|
* Add DL_EXPORT() to all modules that could possibly be usedGuido van Rossum1998-12-041-1/+1
| | | | on BeOS or Windows.
* Make the version variable static (it has no business being exported).Guido van Rossum1998-10-071-1/+1
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-5/+1
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Avoid warning from gcc on Linux about dropping const.Guido van Rossum1997-05-091-1/+1
|
* Keep gcc -Wall happy.Guido van Rossum1996-12-051-3/+11
|
* Include ncurses.h where neededGuido van Rossum1996-02-251-0/+5
|
* Added some (method) casts.Sjoerd Mullender1995-03-171-42/+42
|
* more fixes by Steve CliftGuido van Rossum1995-02-241-61/+154
|
* bump version, add __version__ back inGuido van Rossum1995-02-171-4/+7
|
* Steve Clifts versionGuido van Rossum1995-02-171-406/+434
|
* clear errors between failing calls to PyArg_ParseGuido van Rossum1995-02-071-1/+13
|
* cosmetic changes so these modules will work with the strict new naming schemeGuido van Rossum1995-01-101-1/+1
|
* * various modules: #include "Python.h" and remove most remporaryGuido van Rossum1994-09-141-5/+1
| | | | renaming hacks
* Setup.in: added tkinter; rearranged the definition of PYTHONPATH soGuido van Rossum1994-09-071-1/+4
| | | | | | | | | | | | | | that the module-specific components are in the section for that module. cursesmodule.c: patched it so it actually works. tkintermodule.c: call Py_AtExit instead of atexit(). signalmodule.c: converted to new naming style; added BGN/END SAVE around pause() call. socketmodule.c: added setblocking() after Tommy Burnette.
* Lance's release 1.1 -- fixes some problems with 1.0Guido van Rossum1994-08-311-36/+52
|
* Release 1.0 by LanceGuido van Rossum1994-08-311-1/+131
|
* Lance has converted his modules to the new naming conventions, andGuido van Rossum1994-08-301-0/+1298
contributed a curses interface. Setup.in uses .c instead of .o now.