Commit Graph

59 Commits

Author SHA1 Message Date
Michael Natterer 36bda892a9 libgimpbase/Makefile.am removed.
2007-10-31  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/Makefile.am
	* libgimpbase/xdg-user-dir.[ch]: removed.

	* libgimpbase/gimpbaseenums.[ch]: deprecate enum GimpUserDirectory.

	* libgimpbase/gimpenv.[ch]: deprecate gimp_user_directory() and make
	the implementation call g_get_user_special_dir().

	* libgimp/Makefile.am: #undef GIMP_DISABLE_DEPRECATED in gimpenums.c

	* app/widgets/gimpfiledialog.c: use g_get_user_special_dir() instead.

	* plug-ins/pygimp/gimpmodule.c: #undef GIMP_DISABLE_DEPRECATED.


svn path=/trunk/; revision=24018
2007-10-31 13:09:46 +00:00
Michael Natterer 0d17856e58 libgimpbase/gimpbaseenums.[ch] changed enum GimpUserDirectory and API of
2007-08-11  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]
	* libgimpbase/gimpenv.[ch]: changed enum GimpUserDirectory and API
	of gimp_user_directory() so that g_get_user_special_dir() can be
	used instead as soon as we depend on GLib 2.14.

	* tools/pdbgen/enums.pl: regenerated.

	* app/widgets/gimpfiledialog.c
	* plug-ins/pygimp/gimpmodule.c: changed accordingly.


svn path=/trunk/; revision=23212
2007-08-11 17:15:52 +00:00
Manish Singh 6f26979be4 plug-ins/pygimp/gimpcolormodule.c plug-ins/pygimp/gimpenumsmodule.c
2007-05-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpcolormodule.c
        * plug-ins/pygimp/gimpenumsmodule.c
        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/gimpthumbmodule.c
        * plug-ins/pygimp/gimpuimodule.c
        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-image.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-tile.c: cleanups.

svn path=/trunk/; revision=22644
2007-05-28 22:26:22 +00:00
Manish Singh d98ad07e18 add binding for gimp_user_directory().
2007-05-14  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: add binding for gimp_user_directory().

svn path=/trunk/; revision=22485
2007-05-14 07:37:52 +00:00
Sven Neumann b99f99f16c plug-ins/common/curve_bend.c plug-ins/common/depthmerge.c
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/neon.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/pix.c
	* plug-ins/common/psd.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/metadata/interface.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/pygimp/pygimp-pdb.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/xjt/xjpeg.c
	* plug-ins/xjt/xjt.c: use g_printerr() instead of fprintf().


svn path=/trunk/; revision=21947
2007-02-19 10:37:33 +00:00
Manish Singh 473c0c010f plug-ins/pygimp/pygimp-api.h plug-ins/pygimp/pygimp.h export common object
2006-11-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-api.h
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/gimpmodule.c: export common object types via
        _PyGimp_API, and remove the PDBFunction_Type hack. Also define
        the common object structures here.

        * plug-ins/pygimp/pygimp.h: remove hack for Python < 2.3, since
        we require Python 2.3 now.

        * plug-ins/pygimp/gimpui.override
        * plug-ins/pygimp/gimpui.py: create and use specialized wrappers
        for get/set_active methods for GimpIntComboBox and derived types.
        Fixes #376102.
2006-11-28 09:46:18 +00:00
Manish Singh 67556fd196 bezier_stroke_new_moveto and bezier_stroke_new_ellipse are now class
2006-11-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: bezier_stroke_new_moveto and
        bezier_stroke_new_ellipse are now class methods of
        VectorsBezierStroke.

        * plug-ins/pygimp/gimpmodule.c: vectors import now has better
        error handling and cleanup. Also stick VectorsBezierStroke in
        the gimp namespace so the class is available for constructing.
2006-11-24 09:49:29 +00:00
Simon Budig 29de173de8 follow the function renaming as well. Why didn't this complain when I
2006-11-23  Simon Budig  <simon@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: follow the function renaming
	as well. Why didn't this complain when I compiled earlier?
2006-11-23 22:11:46 +00:00
Simon Budig 3240f87208 added PF_VECTORS type.
2006-11-16  Simon Budig  <simon@gimp.org>

	* plug-ins/pygimp/gimpfu.py: added PF_VECTORS type.

	* plug-ins/pygimp/gimpui.py
	* plug-ins/pygimp/gimpui.override: add code for the vectors combo box

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/pygimp/pygimp-api.h: changed accordingly, untabbified.

	* plug-ins/pygimp/pygimp.h: untabbified.
2006-11-16 21:23:50 +00:00
Sven Neumann f2d055f786 added context_push() and context_pop() methods to the gimp module.
2006-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: added context_push() and
	context_pop() methods to the gimp module.

	* plug-ins/pygimp/plug-ins/sphere.py: use them.
2006-11-07 17:57:44 +00:00
Simon Budig 87e8ad5637 Added missing gimp-version symbols.
2006-10-31  Simon Budig  <simon@gimp.org>

	* libgimp/gimp.def: Added missing gimp-version symbols.

	* tools/pdbgen/pdb/vectors.pdb: force the libgimp-API to return
	success values for the gimp_vectors_new_from_*  functions.

	* libgimp/gimpvectors_pdb.[ch]: regenerated

	* plug-ins/pygimp/gimpmodule.c: changed accordingly, untabbified.

	* plug-ins/common/svg.c: Don't use deprecated API, untabbified.
2006-10-30 23:04:12 +00:00
Manish Singh 7d014b4ae2 wrap gimp_vectors_stroke_new_from_points in the form of a
2006-10-27  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: wrap
        gimp_vectors_stroke_new_from_points in the form of a
        VectorsBezierStroke constructor.

        * plug-ins/pygimp/gimpmodule.c: wrap gimp_vectors_new_from_file
        and gimp_vectors_new_from_string.

        * plug-ins/pygimp/pygimp-pdb.c: PDB_VECTORS should be translated
        into Vectors objects.
2006-10-27 07:17:13 +00:00
Manish Singh e4b08205e3 Vector object wrapper API.
2006-10-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: Vector object wrapper API.

        * plug-ins/pygimp/Makefile.am: add above file.

        * plug-ins/pygimp/gimpshelf.py
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/gimpmodule.c: hook the new objects in.

        * plug-ins/pygimp/pygimp-image.c: get_vectors accessor.
2006-10-24 09:16:14 +00:00
Manish Singh 7f93f53237 plug-ins/pygimp/gimpmodule.c use pygimp_init_pygobject here too. Report
2006-10-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/procbrowser.c: use pygimp_init_pygobject here too.
        Report and patch from Eric Lamarque (fixes bug #363516).
2006-10-20 08:02:24 +00:00
Sven Neumann 6ee3d9c47e added domain_register method.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: added domain_register method.

	* plug-ins/pygimp/gimpfu.py: define N_(). Added an optional
	"domain" parameter to the register() method. Register the domain
	with GIMP and initialize gettext if it is specified.

	* plug-ins/pygimp/plug-ins/gimpcons.py: use N_() to mark menu
	label and blurb for translation. Specify the translation domain.

	* plug-ins/pygimp/plug-ins/gtkcons.py: use gettext API for modules.
2006-09-15 11:48:36 +00:00
Sven Neumann 28d825905f plug-ins/pygimp/Makefile.am added header file for i18n support.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/Makefile.am
	* plug-ins/pygimp/pygimp-intl.h: added header file for i18n support.

	* plug-ins/pygimp/gimpmodule.c: bind to the gimp20-python
	translation domain.

	* plug-ins/pygimp/procbrowser.c: marked a string for translation.
2006-09-15 10:29:19 +00:00
Sven Neumann 7bb7de9294 added menu_register method.
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpmodule.c: added menu_register method.

	* plug-ins/pygimp/plug-ins/*.py: use gimp.menu_register().
2006-08-16 21:26:53 +00:00
Manish Singh cbd3a1930d This is the start of wrapping much more of the GIMP API in Python. It's
2006-07-19  Manish Singh  <yosh@gimp.org>

        This is the start of wrapping much more of the GIMP API in Python.
        It's not complete yet, some things are broken.

        * plug-ins/pygimp/gimpcolormodule.c
        * plug-ins/pygimp/pygimpcolor.h
        * plug-ins/pygimp/pygimpcolor-api.h
        * plug-ins/pygimp/pygimp-colors.c: wrapped GimpHSV, GimpHSL, and
        GimpCMYK. Fleshed out a bit more of GimpRGB as well. Made the API
        exportable to other modules.

        * plug-ins/pygimp/pygimp-rgb.c: removed, subsumed into
        pygimp-colors.c.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-pdb.c: PDB calls receive and create
        gimpcolor.RGB objects now.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-api.h: export pygimp_drawable_new.

        * plug-ins/pygimp/gimpcolor-types.defs
        * plug-ins/pygimp/gimpenums-types.defs
        * plug-ins/pygimp/gimpui.defs
        * plug-ins/pygimp/gimpui.override
        * plug-ins/pygimp/gimpuimodule.c: new module for GIMP UI widget
        bindings.

        * plug-ins/pygimp/gimpui.py
        * plug-ins/pygimp/gimpfu.py: use some of the new widgets.

        * plug-ins/pygimp/Makefile.am: hook all the above into the build
        system.

        * plug-ins/pygimp/plug-ins/palette-sort.py: use new color API.
2006-07-20 04:53:47 +00:00
Raphael Quinet 7d8998a99c automatically removed trailing whitespace from 3460 lines.
2006-01-17  Raphael Quinet  <raphael@gimp.org>

	* (about 130 *.[ch] files): automatically removed trailing
	whitespace from 3460 lines.
2006-01-17 12:43:50 +00:00
Manish Singh 5ee4aab1f9 wrap gimpenv directory functions.
2005-11-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: wrap gimpenv directory functions.
2005-11-09 23:04:48 +00:00
Sven Neumann c623bf512b undeprecated.
2005-09-27  Sven Neumann  <sven@gimp.org>

	* gimpmodule.c (pygimp_progress_install): undeprecated.
2005-09-27 19:56:53 +00:00
Sven Neumann f64b986b48 plug-ins/common/curve_bend.c plug-ins/common/plugin-browser.c
2005-08-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/jpeg/jpeg-load.c: use canonical procedure names with
	gimp_run_procedure().

2005-08-19  Sven Neumann  <sven@gimp.org>

	* gimpmodule.c
	* gimp-drawable.c: use canonical procedure names with
	gimp_run_procedure().
2005-08-19 16:35:48 +00:00
Manish Singh 1612db6507 plug-ins/pygimp/gimpmodule.c revert to old behavior of parasite_find
2005-07-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c: revert to old behavior of
        parasite_find functions returning None when there isn't a parasite
        found. Fixed bug #310666.
2005-07-17 19:49:01 +00:00
Manish Singh e8c7a7a497 plug-ins/pygimp/pygimp-api.h export our API to other modules in a saner
2005-06-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-api.h
        * plug-ins/pygimp/gimpmodule.c: export our API to other modules
        in a saner fashion. Also add checks_get_shades method.

        * plug-ins/pygimp/procbrowser.c: Use new export API.

        * plug-ins/pygimp/pygimp-drawable.c (drw_mask_intersect):
        use Py_BuildValue to build the tuple.

        * plug-ins/pygimp/pygimp-image.c (img_repr): capitalization fix.

        * plug-ins/pygimp/pygimp-rgb.c
        * plug-ins/pygimp/pygimpcolor.h
        * plug-ins/pygimp/gimpcolormodule.c: beginnings of a wrapper to
        libgimpcolor.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/pygimp/gimpenumsmodule.c: use gimp enum API to find out
        our enums.

        * plug-ins/pygimp/Makefile.am: hook in all of the above.
2005-06-04 00:17:06 +00:00
Manish Singh e495900309 plug-ins/pygimp/gimpmodule.c use DL_EXPORT for the init functions, maybe
2005-05-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/procbrowser.c: use DL_EXPORT for the init functions,
        maybe this will help Win32 builds. Also some minor cleanups.
2005-05-28 23:56:07 +00:00
Manish Singh ebe37283ed wrap fonts_refresh and fonts_get_list, clean up some of the other resource
2005-03-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: wrap fonts_refresh and fonts_get_list,
        clean up some of the other resource list plugins.

        * plug-ins/pygimp/pygimp-drawable.c: more keyword args and better
        exception messages.

        * plug-ins/pygimp/pygimp-parasite.c: support keyword args for
        parasite constructor.
2005-03-05 06:17:23 +00:00
Manish Singh 872c501ee6 Make a compatibility wrapper for PyBool_FromLong for pre-2.3 versions of
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.
2005-03-03 08:43:55 +00:00
Manish Singh b91a3dd27e make libgimpprocbrowser a libtooled library.
2004-11-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/dbbrowser/Makefile.am: make libgimpprocbrowser a libtooled
        library.

        * plug-ins/dbbrowser/gimpprocbrowser.[ch]: add a user_data pointer
        for GimpProcBrowserApplyCallback.

        * plug-ins/dbbrowser/gimpprocbrowser.c: only convert the name to
        scheme style if scheme_names in the proc info pane too.

        * plug-ins/dbbrowser/procedure-browser.c
        * plug-ins/script-fu/script-fu-console.c: pass NULL as user_data.

        * plug-ins/script-fu/Makefile.am: reference libgimpprocbrowser.la.

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/procbrowser.c: new module, which wraps
        libgimprocbrowser.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-pdb.c: export GimpPDBFunction so other
        modules can use it.

        * plug-ins/pygimp/plug-ins/pdbbrowse.py
        * plug-ins/pygimp/plug-ins/gimpcons.py: use gimpprocbrowser.
2004-11-17 20:02:23 +00:00
Manish Singh 54f7464829 Compile pygimp with -fno-strict-aliasing if the compiler supports it.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * configure.in:
        * plug-ins/pygimp/Makefile.am: Compile pygimp with
        -fno-strict-aliasing if the compiler supports it.

        * plug-ins/pygimp/gimpui.py: Make "..." into "Browse..." for
        everything but the filesel, for slightly more consistency with
        script-fu. Addresses #124791.

        * plug-ins/pygimp/gimpmodule.c: Wrapped
        gimp_context_{get,set}_gradient and
        gimp_gradient_get_{uniform,custom}_samples. Deprecated the deprecated
        versions of these, and rewrote them in terms of the new functions.
2004-11-17 02:50:53 +00:00
Michael Natterer 35b372ea08 tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "Palette" pdb
2004-09-22  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/palette.pdb: removed the "Palette" pdb group...

	* tools/pdbgen/pdb/context.pdb: and added its functions to the
	"Context" namespace instead.

	* app/pdb/Makefile.am
	* app/pdb/palette_cmds.c: removed.

	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.

	* libgimp/Makefile.am
	* libgimp/gimppalette_pdb.[ch]: removed.

	* libgimp/gimppalette.[ch]: new files holding compat functions
	which call gimp_context_*() functions.

	* libgimp/gimp.h
	* libgimp/gimpui.c: changed accordingly.

	* app/pdb/context_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpcontext_pdb.[ch]: regenerated.

	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/cubism.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/gif.c
	* plug-ins/common/grid.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/mng.c
	* plug-ins/common/mosaic.c
	* plug-ins/common/papertile.c
	* plug-ins/common/png.c
	* plug-ins/common/polar.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/gfli/gfli.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/handy.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
2004-09-22 18:43:09 +00:00
Manish Singh 2c82c9fca0 plug-ins/pygimp/gimpfu.py Hacked up support for the new progress
2004-09-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpmodule.c: Hacked up support for the new
        progress interface. Emphasis on hacked.

        * plug-ins/pygimp/gimpmodule.c: Wrapped gimp_extension_enable(). Minor
        cleanups.

        * plug-ins/pygimp/pygimp-image.c
        * plug-ins/pygimp/pygimp-tile.c: Minor cleanups.
2004-09-01 07:57:15 +00:00
Manish Singh 0518761f23 plug-ins/pygimp/gimpmodule.c plug-ins/pygimp/pygimp-drawable.c
2003-12-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-image.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-tile.c: some cosmetic changes to error
        messages.

        * plug-ins/pygimp/pygimp-drawable.c: accessors for name, tattoo, and
        visible live in the drawable class now, so layer and channel objects
        inherit it.
2003-12-03 21:52:09 +00:00
Michael Natterer 04ddf1edc6 follow change below.
2003-12-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/gimpmodule.c (pygimp_delete): follow change below.
2003-12-03 17:53:21 +00:00
Sven Neumann 85adefe7ba app/core/Makefile.am app/core/core-types.h added filter functionality for
2003-09-04  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpcontainer-filter.[ch]: added filter functionality
	for GimpContainers.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/fonts.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: made the gimp_foo_get_list()
	PDB function somewhat useful by adding a filter parameter that
	allows to specify a regular expression to be used on the list.

	* app/pdb/Makefile.am: had to uglify the ugly hack even more :(

	* app/pdb/brushes_cmds.c
	* app/pdb/fonts_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpfonts_pdb.[ch]
	* libgimp/gimpgradients_pdb.[ch]
	* libgimp/gimppalettes_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]: regenerated.

	* plug-ins/gflare/gflare.c
	* plug-ins/pygimp/gimpmodule.c: changed accordingly.

	* plug-ins/script-fu/scripts/font-map.scm: replaced the font list
	parameter with a more useful regexp filter on the available fonts.
2003-09-04 17:04:36 +00:00
Manish Singh a28b83ae11 updated for new gradient sample API, "reverse" is an optional parameter
2003-08-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: updated for new gradient sample API,
        "reverse" is an optional parameter which defaults to FALSE.
2003-08-18 22:29:13 +00:00
Manish Singh 4c3671b29f slight fix for arg handling, shouldn't have any functional difference.
2003-07-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: slight fix for arg handling, shouldn't
        have any functional difference. This code should be redone at some
        point.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-pdb.c: constify

        * plug-ins/pygimp/plug-ins/sphere.py: use new blend pdb interface
2003-07-25 23:46:40 +00:00
Manish Singh c1e165d32d Missing self. reference. Fixes #115714.
2003-06-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Missing self. reference. Fixes #115714.

        * plug-ins/pygimp/gimpui.py: Move item.show() in Selector so that all
        items are shown. Fixes bug #115715. Thanks to Dave Corrie for catching
        both these.

        * plug-ins/pygimp/gimpfu.py: Always register as type PLUGIN, to
        reflect the recent changes in semantics.

        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: s/extension/plug_in/ to
        reflect above, for consistency.

        * plug-ins/pygimp/gimpfu.py: Add a fail method which uses
        gimp.message and then raises an error.

        * plug-ins/pygimp/gimpmodule.c: remove declarations for
        gimp_extension_ack and gimp_extension_process, they are in gimp.h.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpui.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: Added pygtk.require('2.0').
        Fixes bug #115545.
2003-06-28 00:06:58 +00:00
Manish Singh f6fb0ffff8 gimp_main now takes a GimpPlugInInfo *, and PLUG_IN_INFO is now a static
2003-05-23  Manish Singh  <yosh@gimp.org>

        * libgimp/gimp.[ch]: gimp_main now takes a GimpPlugInInfo *,
        and PLUG_IN_INFO is now a static variable set from that. This
        removes all the special casing for the Win32 and OS/2 ports around
        this. Also added a debugging hook for quit procs.

        * plug-ins/common/mng.c: moved MAIN() to the end so PLUG_IN_INFO is
        declared.

        * plug-ins/gimpressionist/gimpressionist.c: pass &PLUG_IN_INFO
        to gimp_main.

        * plug-ins/pygimp/gimpmodule.c: Here too. Also add a message
        function.
2003-05-23 23:34:13 +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 fe65e90a5f some plugin fixes. 2002-08-30 15:25:51 +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 581a5e6d48 some more plugin updates. 2002-08-29 03:01:30 +00:00
James Henstridge 698bd613cc some more updates 2002-08-28 16:18:18 +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
Michael Natterer 1cd6fcc19c libgimp/.cvsignore libgimp/Makefile.am libgimp/gimp.h removed
2001-05-22  Michael Natterer  <mitch@gimp.org>

	* libgimp/.cvsignore
	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimpfeatures.h.in: removed gimpfeatures.h

	* libgimpbase/.cvsignore
	* libgimpbase/Makefile.am
	* libgimpbase/gimpbase.h
	* libgimpbase/gimpbasetypes.h
	* libgimpbase/gimpversion.h.in: and added it as gimpversion.h

	* configure.in: changed accordingly.

	* app/app_procs.c
	* app/main.c
	* app/gui/about-dialog.c
	* app/gui/splash.c
	* app/pdb/misc_cmds.c
	* tools/pdbgen/pdb/misc.pdb: fixed includes.

	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/ps.c
	* plug-ins/common/tiff.c
	* plug-ins/gdyntext/gdyntextcompat.h
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/perl/Gimp.xs
	* plug-ins/perl/Gimp/Lib.xs
	* plug-ins/pygimp/gimpmodule.c
	* tools/gimp-remote.c: removed all #ifdef GIMP_HAVE_BLAH
	conditionals as they are broken anyway since we changed all
	plug-ins with perl scripts shortly before 1.2. Also, refering to
	intermediate unstable releases is evil.
2001-05-22 00:36:38 +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 1eba6e7b72 This file now autogenerated by tools/pdbgen/enumcode.pl
2000-08-10  Kevin Turner  <acapnotic@users.sourceforge.net>

	* plug-ins/pygimp/gimpenums.py: This file now autogenerated by
	tools/pdbgen/enumcode.pl

	* plug-ins/pygimp/gimpfu.py:
	* plug-ins/pygimp/gimpmodule.c: renaming fixes for libgimp 1.2

	* plug-ins/pygimp/plug-ins/pdbbrowse.py (pars): s/PARAM_/PDB_/
2000-08-10 20:17:21 +00:00