2003-02-08 Manish Singh <yosh@gimp.org>
* gimpui.py: use dialog.run() for sub dialogs, since the main dialog
is also doing that. This does break consistency with the rest of
gimp, but will do for now. I wish there was a similar API that didn't
set the dialog modal. Fixed brush and pattern list to use the new
PDB names. Also make the filesel really have a title of "Files"
* gimpshelf.py: minor clean up, use cStringIO if available
* gimpfu.py: add support for Load/Save plug-ins. Use GtkImage
instead of deprecated GtkPixmap.
* gimpenums.py: regenerated
* plug-ins/Makefile.am
* plug-ins/colorhtml.py: the return of colorhtml to 1.3
2003-01-08 Manish Singh <yosh@gimp.org>
* plug-ins/gimpcons.py: import gtkcons only when we're about to use
it. This and below allows plug-in query to work even without an
interface.
* plug-ins/pdbbrowse.py: define BrowseWin (which needs gtk) only
when we need it and are guaranteed a gui setup.
2002-08-30 James Henstridge <james@daa.com.au>
* pygimp-*.c: update to list all methods. Convert no arg
functions to METH_NOARG (slight code size reduction).
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-30 James Henstridge <james@daa.com.au>
* pygimp-tile.c (PyGimpPixelRgn_Type): convert to use getsets.
(PyGimpTile_Type): convert to use getsets.
* pygimp-image.c (PyGimpImage_Type): convert getattr and setattr
routines into getsets.
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.
2002-08-28 James Henstridge <james@daa.com.au>
* gimpmodule.c: various updates to get it to compile with latest
gimp. Still need to merge in changes to toplevel configure.in.
* plug-ins/pygimp/gimpmodule.c (newpfobject): use correct type for
enums.
* plug-ins/pygimp/plug-ins/gtkcons.py (Console.run): set _ after
evaluating a statement, so _ may be used as it is in the python
interpreter.
If I keep this up, I may actually learn Python.
* plug-ins/pdbbrowse.py (pars): Oops. When we did
s/PARAM_/PDB_/, we forgot to do s/6/4/ (the length
of the prefix changed).
* gimpmodule.c: Filter this through remove_cruft,
finishing the libgimp renaming (and further ensuring
that it won't work with older libgimps).
* gimpmodule.c (chn_getattr): under "layer", remove the call to
gimp_channel_get_layer_id() as this function does not exist. It
would be well for someone who knows pygimp better than I to review
this change, but it keeps pygimp from being *completely* broken.
1999-11-11 James Henstridge <james@daa.com.au>
* doc/pygimp.sgml: updated documentation.
* gimpmodule.c: applied patches from Hans Breuer to fix portability
problems and also win32 compatibility.
(lay_getattr): take is_rgb as a synonym for is_color/is_colour.
(drw_parasite_attach):
(drw_parasite_detach): change to new naming scheme.
(img_parasite_attach):
(img_parasite_detach): same here.
(gimp_Parasite_find):
(gimp_Parasite_attach):
(gimp_Parasite_detach): same here.
(chn_getattr): added is_rgb as a synonym for is_colour, and
is_layer_mask as a synonym for layer_mask.
1999-09-05 James Henstridge <james@daa.com.au>
* plug-ins/pygimp/*: added pygimp to tree, as organised with Marc
Lehmann. I have not hooked it into the main makefile yet. That
should not be difficult though.