Commit Graph

20 Commits

Author SHA1 Message Date
Sven Neumann a0d0a355ca added $(pygimp_DATA) to EXTRA_DIST.
2004-12-19  Sven Neumann  <sven@gimp.org>

	* Makefile.am: added $(pygimp_DATA) to EXTRA_DIST.
2004-12-19 17:13:03 +00:00
Manish Singh f8861444f9 use dialog.run() for sub dialogs, since the main dialog is also doing
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-02-08 19:36:00 +00:00
Manish Singh 6423b26881 import gtkcons only when we're about to use it. This and below allows
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.
2003-01-08 23:44:08 +00:00
Sven Neumann 2368c1f38e added missing file (#98034).
2002-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/Makefile.am (EXTRA_DIST): added missing file (#98034).
2002-11-08 17:06:45 +00:00
James Henstridge ed2dac22b5 (_interact): swap order of buttons to match other dialogs. 2002-08-31 01:47:22 +00:00
James Henstridge d6b394e1de add PF_RADIO support to gimpfu based on Yosh's patch.
2002-08-31  James Henstridge  <james@daa.com.au>

    * gimpfu.py (RadioEntry): add PF_RADIO support to gimpfu based on
    Yosh's patch.
2002-08-30 17:09:13 +00:00
James Henstridge e7d1c4fa91 update to list all methods. Convert no arg functions to METH_NOARG (slight
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 15:00:00 +00:00
James Henstridge 29aa6f5037 add getsets for common drawable attributes. (PyGimpLayer_Type): convert
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 12:46:27 +00:00
James Henstridge 430a9f5d55 convert to use getsets. (PyGimpTile_Type): convert to use getsets.
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-30 03:01:35 +00:00
James Henstridge 1a9de76944 check if gimp_image_get_filename() returns NULL.
2002-08-29  James Henstridge  <james@daa.com.au>

    * pygimp-image.c (img_repr): check if gimp_image_get_filename()
    returns NULL.
2002-08-29 13:40:48 +00:00
James Henstridge 8c39c19a11 fix up plugin, so that I can test the rest of pygimp.
2002-08-29  James Henstridge  <james@daa.com.au>

    * plug-ins/gimpcons.py: fix up plugin, so that I can test the rest
    of pygimp.
2002-08-29 11:26:07 +00:00
James Henstridge 47f86d9f89 many updates to Python code to work with new PyGTK. I can start a plug in
2002-08-29  James Henstridge  <james@daa.com.au>

    * *.py, plug-ins/*.py: many updates to Python code to work with
    new PyGTK.  I can start a plug in now.
2002-08-29 01:53:26 +00:00
James Henstridge dc70b17ac0 split module into multiple files, and convert types to Python 2.2 style
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 15:17:29 +00:00
James Henstridge 47d24dded1 various updates to get it to compile with latest gimp. Still need to merge
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.
2002-08-28 03:30:25 +00:00
Kevin Turner ecddfcb9c7 use correct type for enums.
* 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.
2000-09-24 00:52:29 +00:00
Kevin Turner 7493742149 Oops. When we did s/PARAM_/PDB_/, we forgot to do s/6/4/ (the length of
* 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).
2000-09-20 21:19:35 +00:00
Kevin Turner 4c33487b46 This file now autogenerated by tools/pdbgen/enumcode.pl
* gimpenums.py: This file now autogenerated by
	tools/pdbgen/enumcode.pl

	* gimpfu.py:
	* gimpmodule.c: renaming fixes for libgimp 1.2

	* plug-ins/pdbbrowse.py (pars): s/PARAM_/PDB_/
2000-08-10 20:14:55 +00:00
Kevin Turner 47d742cce9 under "layer", remove the call to gimp_channel_get_layer_id() as this
* 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.
2000-08-10 05:07:17 +00:00
James Henstridge 36fb075f99 updated documentation.
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-11-11 14:21:23 +00:00
James Henstridge 910e7cb689 added pygimp to tree, as organised with Marc Lehmann. I have not hooked it
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.
1999-09-05 15:46:57 +00:00