summaryrefslogtreecommitdiffstats
path: root/Modules/_curses_panel.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18408: Fix PyInit__curses_panel(), handle import_curses() failureVictor Stinner2013-07-181-0/+2
| | | | | Don't call PyErr_NewException() if an exception is set, or type_call() would fail with an assertion error.
* Issue #18203: Replace malloc() with PyMem_Malloc() in Python modulesVictor Stinner2013-07-071-3/+3
| | | | | Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise.
* #18113: avoid segfault if Py_XDECREF triggers code that calls ↵Andrew Kuchling2013-06-221-3/+8
| | | | | | 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 Kuchling2013-06-151-0/+4
| | | | | | leaked. Reported by Atsuo Ishimoto.
* Issue #14936: curses_panel was converted to PEP 3121 and PEP 384 API.Martin v. Löwis2012-06-141-43/+29
| | | | Patch by Robin Schreiber.
* Issue #14936: curses_panel was converted to PEP 3121 API.Martin v. Löwis2012-06-141-12/+42
| | | | Patch by Robin Schreiber.
* Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou2010-05-091-113/+113
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........
* Merged revisions 78635 via svnmerge fromVictor Stinner2010-03-031-5/+8
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78635 | victor.stinner | 2010-03-03 22:53:41 +0100 (mer., 03 mars 2010) | 5 lines Issue #3299: fix curses.panel.new_panel() error handler, replace PyObject_DEL() by Py_DECREF() to avoid a crash in pydebug mode. Use po->wo==NULL to detect than the panel is in the lop list or not. ........
* Issue #1717: rename tp_compare to tp_reserved. I'll change theMark Dickinson2009-02-021-1/+1
| | | | | type of tp_compare in a separate commit, for ease of reversion should things go wrong.
* #3247: get rid of Py_FindMethodAmaury Forgeot d'Arc2008-07-021-9/+18
| | | | Third step: unix-only modules. Really remove the function this time.
* Implement PEP 3121: new module initialization and finalization API.Martin v. Löwis2008-06-111-3/+17
|
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT.Christian Heimes2007-12-191-2/+2
|
* Convert a bunch of constant strings in C to unicode.Neal Norwitz2007-08-231-1/+1
|
* Merged revisions 56467-56482 via svnmerge fromMartin v. Löwis2007-07-211-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ................ r56477 | martin.v.loewis | 2007-07-21 09:04:38 +0200 (Sa, 21 Jul 2007) | 11 lines Merged revisions 56466-56476 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r56476 | martin.v.loewis | 2007-07-21 08:55:02 +0200 (Sa, 21 Jul 2007) | 4 lines PEP 3123: Provide forward compatibility with Python 3.0, while keeping backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. ........ ................ r56478 | martin.v.loewis | 2007-07-21 09:47:23 +0200 (Sa, 21 Jul 2007) | 2 lines PEP 3123: Use proper C inheritance for PyObject. ................ r56479 | martin.v.loewis | 2007-07-21 10:06:55 +0200 (Sa, 21 Jul 2007) | 3 lines Add longintrepr.h to Python.h, so that the compiler can see that PyFalse is really some kind of PyObject*. ................ r56480 | martin.v.loewis | 2007-07-21 10:47:18 +0200 (Sa, 21 Jul 2007) | 2 lines Qualify SHIFT, MASK, BASE. ................ r56482 | martin.v.loewis | 2007-07-21 19:10:57 +0200 (Sa, 21 Jul 2007) | 2 lines Correctly refer to _ob_next. ................
* Coverity-found bug: don't use temp->next *before* checking it for NULL. AlsoThomas Wouters2006-03-071-2/+4
| | | | return rather than use it again.
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
| | | | Probably should be backported.
* Bug #1400115, Fix segfault when calling curses.panel.userptr()Neal Norwitz2006-01-091-0/+5
| | | | | | without prior setting of the userptr. Will backport.
* Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototypeMark Hammond2002-08-021-1/+1
| | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
* Fix whitespaceNeal Norwitz2002-03-311-2/+1
|
* Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS.Neal Norwitz2002-03-251-12/+7
|
* Oh look, another one.Michael W. Hudson2002-01-301-1/+1
| | | | 2.2.1 candiate (he says, largely talking to himself :)
* Patch #477752: Drop old-style getargs from curses.Martin v. Löwis2002-01-171-41/+23
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-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.
* Cast argument to set_panel_userptr to void*. Fixes bug #417240.Martin v. Löwis2001-10-131-1/+1
|
* init_curses_panel(): Be more consistent with indentation and blank lines.Fred Drake2001-01-271-5/+3
|
* SF Patch #103185, by jlt63: Some more standard modules cleanup for CygwinGuido van Rossum2001-01-221-2/+5
|
* Minor patch from Thomas Gellekum:Andrew M. Kuchling2001-01-191-8/+3
| | | | | | * Deletes the Panel_NoArgReturnStringFunction() macro, which isn't used anymore * Adjusts two comments.
* Shortened / wrapped some long lines.Fred Drake2000-12-231-8/+11
| | | | Removed warning on use of panel_userptr() in PyCursesPanel_userptr().
* Add correction caught by Thomas Gellekum (and sitting in my e-mail)Andrew M. Kuchling2000-12-221-1/+2
|
* Patch #102813: add a wrapper for the panel library included with ncurses.Andrew M. Kuchling2000-12-221-0/+495
Original version written by Thomas Gellekum, reshaped into a separate module by AMK.