2007-05-24 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-display.c (pygimp_display_new): return None
if we're passed an ID of -1, like the other GIMP object constructors.
svn path=/trunk/; revision=22608
2007-05-24 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-display.c: remove the delete method, PyGimp
objects are supposed to be deleted via gimp.delete()
svn path=/trunk/; revision=22607
2007-05-24 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/pygimp-display.c: added an ID attribute and a
delete method to the Gimp.Display object.
* plug-ins/pygimp/gimpshelf.py (_display_id): use the ID
attribute.
* plug-ins/pygimp/gimpfu.py: enabled support for PF_DISPLAY.
svn path=/trunk/; revision=22605
2005-03-03 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp.h: Make a compatibility wrapper for
PyBool_FromLong for pre-2.3 versions of python.
* plug-ins/pygimp/gimpfu.py
* plug-ins/pygimp/gimpui.py: Update to use some more modern python
features.
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp-display.c
* plug-ins/pygimp/pygimp-drawable.c
* plug-ins/pygimp/pygimp-image.c
* plug-ins/pygimp/pygimp-parasite.c
* plug-ins/pygimp/pygimp-pdb.c
* plug-ins/pygimp/pygimp-tile.c: Throw exceptions on failures for
libgimp wrappers (fixes bug #160136), and make the exception strings
a lot more descriptive to aid debugging. Also return proper Bools when
appropriate. Some new API wrapped as well. Still a work in progress.
* plug-ins/pygimp/gimpplugin.py
* plug-ins/pygimp/gimpshelf.py
* plug-ins/pygimp/plug-ins/clothify.py
* plug-ins/pygimp/plug-ins/foggify.py
* plug-ins/pygimp/plug-ins/sphere.py: Add some whitespace to make
things more readable.
2002-08-30 James Henstridge <james@daa.com.au>
* pygimp-drawable.c (PyGimpDrawable_Type): add getsets for common
drawable attributes.
(PyGimpLayer_Type): convert getattr and setattr to getsets.
(PyGimpChannel_Type): convert to getsets.
* gimpmodule.c (new_parasite): remove. Superceded by
gimp.Parasite constructor.
(pygimp_image_list): rename to match actual API.
* pygimp-parasite.c (PyGimpParasite_Type): switch to getsets.
(para_init): add constructor.
2002-08-28 James Henstridge <james@daa.com.au>
* *.c, pygimp.h: split module into multiple files, and convert
types to Python 2.2 style types. Still need to fix some of the
getattr routines.