| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
NetBSD, IRIX and platforms with term.h that makes "lines" a macro
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is supposed to fix compilation problems of the curses
module on SGI, and is based on the patch from 2.39 to 2.40
This should fix bug #116172
From the 2.39->2.40 log:
* Check for 'sgi' preprocessor symbol, not '__sgi__'
* Surround individual character macros with #ifdef's, instead of making them
all rely on STRICT_SYSV_CURSES
Metacomment: this is as much to test procedures as it is
to actually fix the bug. If you're a CVS wizard please look
at the checkin message to see I'm commiting correctly,
and e-mail me if not, and I'll do my best to back it out and
reread the docos.
Good luck to me.
|
| |
|
|
| |
(leaving the rest of the modules for Barry)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
ncurses extension, so it's made conditional depending on STRICT_SYSV_CURSES
|
| |
|
|
|
| |
reversed tests resulted in an exception when you supplied the correct number
of arguments
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 ;)
|
| |
|
|
| |
and substitute the conventional "args" instead of "arg".
|
| |
|
|
|
| |
& extensions, so create exceptions in extension modules using the
PyErr_NewException() API.
|
| |
|
|
| |
Added two functions that were left out of the method definition table.
|
| |
|
|
|
| |
Define a STRICT_SYSV_CURSES macro on SGI, Sun, and Tru64, to mark systems
that don't support some features.
|
| | |
|
| |
|
|
|
| |
getmouse(), ungetmouse(), and window.enclose(). wmouse_trafo() seems
of marginal importance at the moment.
|
| |
|
|
| |
functions that might block or pause
|
| | |
|
| |
|
|
| |
(The SourceForge admins have been asked to rename the ,v file.)
|
| |
|
|
|
|
|
|
|
| |
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
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.)
|
| |
|
|
| |
w.scroll(). (It then calls wscrl(win, nlines) instead of scoll(win).)
|
| | |
|
| |
|
|
| |
on BeOS or Windows.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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!
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
renaming hacks
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
|
|
contributed a curses interface.
Setup.in uses .c instead of .o now.
|