Commit Graph

122 Commits

Author SHA1 Message Date
Michael Natterer fc677ae7b4 added GIMP_PROGRESS_COMMAND_PULSE.
2005-02-12  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.h (enum GimpProgressCommand):
	added GIMP_PROGRESS_COMMAND_PULSE.

	* libgimpbase/gimpbaseenums.c
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimppdbprogress.c: implement GimpProgress::pulse()
	and send a PULSE command to the callback.

	* libgimp/gimpprogress.c: handle PULSE by calling the set_value()
	callback with a value of -1 and document that hack in the API docs.

	* libgimp/gimpprogressbar.c: interpret -1 as request to pulse.
2005-02-12 15:46:31 +00:00
Manish Singh 3609a68fc5 install sphere.py in unstable releases only.
2005-02-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am: install sphere.py in unstable
        releases only.
2005-02-08 19:32:12 +00:00
Manish Singh 47770c91bf plug-ins/pygimp/plug-ins/sphere.py plug-ins/pygimp/plug-ins/gimpcons.py
2005-02-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/sphere.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: Just leave imagetypes empty,
        since we don't operate on existing images here. Fixes bug #166650.
2005-02-08 19:24:20 +00:00
Bill Skaggs 51fdb93bf5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
added dependencies in wrong spot, fixed.  Same list of
	files as for previous commit.

2005-02-04  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* libgimpwidgets/Makefile.am
	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/jpeg/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/pygimp/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/twain/Makefile.am
	* plug-ins/winicon/Makefile.am
	* plug-ins/winsnap/Makefile.am
	* plug-ins/xjt/Makefile.am: ouch, broke build badly, needed to
	add libgimpconfig dependencies after moving gimppropwidgets.
2005-02-04 22:31:58 +00:00
William Skaggs 6bc832918e Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpwidgets/Makefile.am
	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/jpeg/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/pygimp/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/twain/Makefile.am
	* plug-ins/winicon/Makefile.am
	* plug-ins/winsnap/Makefile.am
	* plug-ins/xjt/Makefile.am: ouch, broke build badly, needed to
	add libgimpconfig dependencies after moving gimppropwidgets.
2005-02-04 21:55:06 +00:00
Sven Neumann f430627282 app/pdb/drawable_transform_cmds.c libgimp/gimpenums.h
2005-01-11  Sven Neumann  <neumann@jpk.com>

	* app/pdb/drawable_transform_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated after change of
	GimpInterpolationType enum.
2005-01-11 18:36:58 +00:00
Manish Singh 9a303fd101 plug-ins/pygimp/plug-ins/clothify.py Add layers to images before using
2005-01-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py: Add layers to images before
        using then. Fixes bug #162707.
2005-01-02 09:05:31 +00:00
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
William Skaggs 3bfe3cf98d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/pygimp/gimpfu.py: display PF_RADIO options vertically
	instead of horizontally, as suggested by Joao S. O. Bueno Calligaris.
	Fixes bug #160546.
2004-12-13 19:40:52 +00:00
Manish Singh 83f280fa0a s/colorhtml/colorxhtml/, so it doesn't clash with the perl version.
2004-11-27  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/colorxhtml.py: s/colorhtml/colorxhtml/,
        so it doesn't clash with the perl version.

        * plug-ins/pygimp/plug-ins/Makefile.am: reflect filename change.
2004-11-27 22:57:57 +00:00
Manish Singh e995d8d6e7 plug-ins/pygimp/Makefile.am New pygimp logo, by Carol Spears.
2004-11-22  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/pygimp-logo.png: New pygimp logo, by Carol Spears.

        * plug-ins/pygimp/gimpfu.py: Use new external logo file, some layout
        tweaks.
2004-11-23 02:35:54 +00:00
Hans Breuer 696663a611 [new file] app/dialogs/Makefile.am : added to EXTRA_DIST
2004-09-21  Hans Breuer  <hans@breuer.org>

	* app/dialogs/makefile.msc : [new file]
	  app/dialogs/Makefile.am : added to EXTRA_DIST

	* **/makefile.msc app/gimpcore.def : updated

	* app/gimp.rc : let wilber be first

	* app/widgets/gimppropwidgets.c : msvc6 can't cast uint64 either

	* libgimpbase/gimpwin32-io.h : make up recent loss of ftruncate in GLib

	* libgimpthumbnail/gimpthumbnail.c : <process.h> for getpid() on win32

	* plug-ins/helpbrowser/dialog.c : include gimpwin32-io.h

	* plug-ins/script-fu/siodwrapper.c plug-ins/script-fu/scrip-fu.c : there
	is no script-fu-server on win32
2004-11-21 14:22:45 +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 ed0ff9f519 Handle placeholder defaults for gimp objects (bug #158392). Patch by Joao
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Handle placeholder defaults for gimp
        objects (bug #158392). Patch by Joao S. O. Bueno.
2004-11-17 03:14:13 +00:00
Manish Singh 027a85b17b Use img.name if filename is not available (bug #158392). Patch by Joao S.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Use img.name if filename is not
        available (bug #158392). Patch by Joao S. O. Bueno.
2004-11-17 03:11:46 +00:00
Manish Singh 007d7549b4 plug-ins/common/gimpfu.py Add a palette selector (bug #155325). Patch by
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gimpfu.py
        * plug-ins/common/gimpui.py: Add a palette selector (bug #155325).
        Patch by Joao S. O. Bueno.
2004-11-17 03:02:54 +00:00
Manish Singh f499a2aacd Fix -fu slider behavior (bug #155103). Patch by Joao S. O. Bueno.
2004-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gimpfu.py: Fix -fu slider behavior (bug #155103).
        Patch by Joao S. O. Bueno.
2004-11-17 02:58:50 +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 3d8e4d1224 plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c
2004-11-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/CEL.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/ccanalyze.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/film.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/grid.c
	* plug-ins/common/header.c
	* plug-ins/common/mng.c
	* plug-ins/common/normalize.c
	* plug-ins/common/pcx.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/tile.c
	* plug-ins/common/vinvert.c
	* plug-ins/common/winclipboard.c
	* plug-ins/common/winprint.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/common/xwd.c
	* plug-ins/fits/fits.c
	* plug-ins/gfli/gfli.c
	* plug-ins/imagemap/imap_preview.c
	* plug-ins/print/print.c
	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/winicon/main.c: use the new "colormap" functions
	instead of the deprecated "cmap" ones.
2004-11-02 12:00:25 +00:00
Sven Neumann 57eec590ae Added new drawable transform API to the PDB. Largely based on patches from
2004-10-26  Sven Neumann  <sven@gimp.org>

	Added new drawable transform API to the PDB. Largely based on
	patches from Joao S. O. Bueno. Fixes bug #137053.

	* app/core/gimpdrawable-transform.[ch]: added missing parameters
	to gimp_drawable_transform_flip().

	* tools/pdbgen/pdb/transform_tools.pdb: changed accordinly.

	* app/base/base-enums.h
	* app/core/core-enums.h: removed pdp-skip for GimpInterpolationType
	and GimpTransformDirection enums.

	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl
	* tools/pdbgen/groups.pl: regenerated.

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/drawable_transform.pdb: added new file defining
	the new PDB calls.

	* app/pdb/Makefile.am
	* app/pdb/drawable_transform_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
2004-10-26 17:50:52 +00:00
Manish Singh 6387c6a38f applied slightly tweaked patch from Joao S. O. Bueno, which adds a
2004-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpfu.py: applied slightly tweaked patch
        from Joao S. O. Bueno, which adds a mutliline text field (PF_TEXT) and
        untabbifies things. Closes bug #153921.

        * plug-ins/pygimp/plug-ins/gimpplugin.py
        * plug-ins/pygimp/plug-ins/gimpshelf.py
        * plug-ins/pygimp/plug-ins/gimpui.py: Untabbify.
2004-09-29 23:09:30 +00:00
Manish Singh c1f29141ec minor tweak to history behavior.
2004-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gtkcons.py: minor tweak to history
        behavior.

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/gtkcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py
        * plug-ins/pygimp/plug-ins/shadow_bevel.py
        * plug-ins/pygimp/plug-ins/sphere.py
        * plug-ins/pygimp/plug-ins/whirlpinch.py: Untabbify
2004-09-29 23:04:31 +00:00
Kevin Turner 4e6bb34252 plug-ins/pygimp/gimpfu.py (register): clean up errors in parameter checking.
Fixes "TypeError: cannot concatenate 'str' and 'int' objects"
2004-09-22 22:08:50 +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 a0aa2e5c2a plug-ins/pygimp/plug-ins/gimpcons.py remove deprecated mainloop calls.
2004-08-31  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: remove deprecated mainloop
        calls.
2004-09-01 05:30:47 +00:00
Michael Natterer 509b88e815 Brought the PDB progress into a working state. Fixes bug #6010, addressed
2004-08-30  Michael Natterer  <mitch@gimp.org>

	Brought the PDB progress into a working state. Fixes bug #6010,
	addressed bugs #97266 and #135185 and unfortunately reopens bug
	#150194 (will fix that later).

	* libgimpbase/gimpbaseenums.h: added enum GimpProgressCommand.

	* app/core/gimppdbprogress.c
	* libgimp/gimpprogress.c: use the enum instead of integer
	constants for the different progress commands. Cleanup.

	* app/plug-in/plug-in-progress.c
	* app/plug-in/plug-in-run.c
	* app/plug-in/plug-in.c: switch bach to real refcouting for
	plug_in->progress (reopens bug #150194) and enabled the PDB
	progress code.

	* plug-ins/script-fu/script-fu-scripts.c: cleaned up the
	progress stuff and the script-fu interface a bit.

	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-08-30 14:57:24 +00:00
Michael Natterer d2292ffe35 removed enum SizeType.
2004-07-05  Michael Natterer  <mitch@gimp.org>

	* app/core/core-types.h: removed enum SizeType.

	* app/text/text-enums.h: added it as enum GimpSizeType and added
	comment that it's for backward compatibility only.

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/text_tool.pdb: changed accordingly.

	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated (pdbgen insisted on
	reordering the enums).
2004-07-05 20:55:05 +00:00
William Skaggs 93d6fdef05 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/script-fu/scripts: HIG-ified capitalization on
	all.  Finishes this for everything in plug-ins.  Bug #123699 is
	now mostly fixed.
2004-06-22 18:20:03 +00:00
Michael Natterer c399ae1fe9 renamed the values of the GimpGradientSegment* enums from GIMP_GRAD_* to
2004-06-01  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h: renamed the values of the
	GimpGradientSegment* enums from GIMP_GRAD_* to
	GIMP_GRADIENT_SEGMENT_* because they are exported now.

	* app/core/gimp-gradients.c
	* app/core/gimpgradient.c
	* app/actions/gradient-editor-actions.c: changed accordingly.

	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-06-01 18:49:50 +00:00
Michael Natterer 421024cc5c app/core/core-enums.h app/core/gimpgradient.[ch] app/pdb/Makefile.am
2004-05-31  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h
	* app/core/gimpgradient.[ch]
	* app/pdb/Makefile.am
	* app/widgets/gimpgradienteditor.c
	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/gradient_edit.pdb: applied a patch from Shlomi
	Fish that adds lots of gradient edit functions to
	gimpgradient.[ch] and makes them available through the PDB.
	Fixes bug #129675 and bug #129678.

	Did some cleanups / enhancments to the patch:

	* app/core/gimpgradient.[ch]: changed the naming scheme of the new
	functions and changed old functions to match the new scheme.
	Introduce a "freeze_count" and public freeze()/thaw() API which
	enables subsequent gradient changes without "dirty" being emitted
	all the time.  Added GimpGradient parameters to all functions
	which modify the gradient.

	* app/widgets/gimpgradienteditor.c: use the new freeze/thaw
	stuff to keep the gradient from updating when not in
	"Instant Update" mode.

	* app/actions/gradient-editor-commands.c: removed all gradient
	editing code and call the new core functions.

	* libgimp/Makefile.am
	* tools/pdbgen/pdb/gradient_edit.pdb: changed the namespace of all
	added functions. Generate libgimp wrappers for them..

	* app/pdb/gradient_edit_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpenums.h
	* libgimp/gimpgradientedit_pdb.[ch]
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: (re)generated.
2004-05-30 22:04:16 +00:00
Manish Singh a63a2e86d6 Actually return values from the run function. Fixes #141338.
2004-05-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Actually return values from the run
        function. Fixes #141338.
2004-05-20 02:33:59 +00:00
Michael Natterer 3fb934b2a4 Allow plug-ins to register menu icons. Fixes bug #120500.
2004-05-18  Michael Natterer  <mitch@gimp.org>

	Allow plug-ins to register menu icons. Fixes bug #120500.

	* app/core/core-enums.[ch]: added enum GimpIconType which can
	be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.

	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
	* app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
	functions which write/parse raw binary data. Needed for storing
	inline pixbufs in pluginrc.

	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
	new function which writes out an unquoted and unescaped string.

	* app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
	new members "icon_type", "icon_data_length" and "icon_data".
	Reordered members so file_proc specific stuff is at the end.

	(plug_in_proc_def_get_stock_id)
	(plug_in_proc_def_get_pixbuf): new functions to access the
	procedure's icon.

	* app/plug-in/plug-in-rc.c: save/restore the registered icons.

	* app/actions/file-dialog-actions.c
	* app/actions/plug-in-actions.c: set the action's stock ID from
	the procedure's stock ID.

	* app/widgets/gimppluginaction.c
	(gimp_plug_in_action_connect_proxy): if the procedure provides a
	pixbuf, set it as icon for the menu item.

	* app/menus/file-dialog-menu.[ch]
	* app/menus/file-open-menu.c
	* app/menus/file-save-menu.c
	* app/xcf/xcf.c: changed accordingly.

	* tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
	function which can be called during query().

	* tools/pdbgen/enums.pl
	* app/pdb/internal_procs.c
	* app/pdb/plug_in_cmds.c
	* libgimp/gimpenums.h
	* libgimp/gimpplugin_pdb.c
	* libgimp/gimpplugin_pdb.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c: regenerated.

	* plug-ins/common/plugindetails.c
	* plug-ins/common/uniteditor.c
	* plug-ins/print/print.c: register stock_id icons.

	* plug-ins/common/screenshot.c: register an inline_pixbuf icon for
	testing purposes (used emblem-camera.png from gnome-icon-theme).

	* app/actions/dialogs-actions.c
	* app/actions/file-actions.c: unrelated: added some more icons
	to menu items.
2004-05-18 21:19:43 +00:00
Manish Singh 3d293ea0f7 Quick fix to make uppercase tags work properly.
2004-04-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/py-slice.py: Quick fix to make uppercase
        tags work properly.
2004-04-29 16:09:09 +00:00
Manish Singh 7ef0073577 When using a separate dir for images, actually prepend the dir to the img
2004-04-11  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/py-slice.py: When using a separate dir for
        images, actually prepend the dir to the img srcs in the html. Allow
        only horizontal or vertical guides in an image, do not require both.
        A bit smarter path handling. Addresses most of bug #138714.
2004-04-11 17:00:39 +00:00
Manish Singh 960735fba3 don't pass extra parameters to undo group functions. Fixes #136524.
2004-03-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/shadow_bevel.py: don't pass extra
        parameters to undo group functions. Fixes #136524.
2004-03-08 08:12:11 +00:00
Manish Singh db856068bb Disable PF_*ARRAY for now. Addresses #122049.
2004-03-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Disable PF_*ARRAY for now. Addresses
        #122049.
2004-03-02 18:25:29 +00:00
Manish Singh d34136153f Moved to the Test menu, to clarify its station in life.
2004-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/pygimp/plug-ins/sphere.py: Moved to the Test menu,
        to clarify its station in life.
2004-02-20 08:55:10 +00:00
Manish Singh 843e4a30ba Do some simple validation on the GUI input. Arrays are still kinda hokey
2004-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/pygimp/gimpfu.py: Do some simple validation on the
        GUI input. Arrays are still kinda hokey though. Based on Dave Neary's
        patch, addresses bug #122049.

        * plug-ins/common/pygimp/plug-ins/sphere.py: Make sure radius is at
        least 1. Thanks to Florian Traverse for noticing. (Also in #122049)
2004-02-20 08:41:00 +00:00
Manish Singh 11410ff7f0 Translate None to NULL when passing strings.
2004-02-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pygimp_param_from_tuple): Translate
        None to NULL when passing strings.
2004-02-05 09:17:19 +00:00
Manish Singh 9db6153f09 modernized, made a lot of things m4 macros, and made versioning a lot more
2004-01-21  Manish Singh  <yosh@gimp.org>

        * configure.in: modernized, made a lot of things m4 macros, and made
        versioning a lot more finegrained, in anticipation for post-2.0.

        * autogen.sh: bumped up libtool and glib minimum requirements to match
        reality.

        * gimp-2.0.pc.in
        * gimpthumb-2.0.pc.in
        * gimpui-2.0.pc.in: adapted to new versioning variables, and bring
        in RT_LIBS when needed.

        * */*/Makefile.am: adapted to new versioning variables.
2004-01-22 03:51:46 +00:00
David Odin 31c507c288 Show the description of params in dialog boxes, rather than the internal
* plug-ins/pygimp/gimpfu.py: Show the description of params in dialog
	boxes, rather than the internal variable name.  This is more
	consistent with script-fu.  (reported by Florian Traverse)
2004-01-17 14:05:40 +00:00
Michael Natterer 8394e9e0f1 removed GimpChannelLutType enum and export GimpHistogramChannel to the
2004-01-13  Michael Natterer  <mitch@gimp.org>

	* app/base/base-enums.h: removed GimpChannelLutType enum and
	export GimpHistogramChannel to the PDB. The removed enum was just
	there for libgimp compatibility.

	* tools/pdbgen/pdb/color.pdb: changed accordingly.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: added compat cruft.

	* app/pdb/color_cmds.c
	* libgimp/gimpcolor_pdb.[ch]
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-01-13 16:19:50 +00:00
Henrik Brix Andersen c633a419ea use gimp_edit_bucket_fill() and gimp_edit_blend() instead of deprecated
2004-01-06 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/pygimp/plug-ins/sphere.py (python_sphere): use
gimp_edit_bucket_fill() and gimp_edit_blend() instead of
deprecated functions.
2004-01-06 16:16:30 +00:00
Michael Natterer dec20d8214 Enabled skipping enum values for either the PDB or GType registration
2004-01-06  Michael Natterer  <mitch@gimp.org>

	Enabled skipping enum values for either the PDB or GType
	registration (don't always skip both targets):

	* tools/gimp-mkenums: skip enum values only if there is a literal
	"skip" (don't match "pdb-skip").

	* tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip"
	ones.

	* app/base/base-enums.h
	* app/core/core-enums.h
	* app/paint/paint-enums.h
	* libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip"
	combination to skip enum values. Changed comments accordingly.

	Cleaned up the fill functions:

	* app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to
	the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB
	because it's completely useless to export a NOP.

	* app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal):
	handle pattern fill requests.

	* app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern
	parameter and fill with it if it's non-NULL.

	(gimp_drawable_fill_by_type): handle pattern fill and pass the
	current pattern to gimp_drawable_fill().

	* app/text/gimptextlayer.c: changed accordingly.

	* app/gui/edit-commands.c
	* app/gui/image-menu.c: use gimp_edit_fill() instead of
	gimp_drawable_bucket_fill() for FG, BG and pattern filling.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat
	enum value. It should have never been exported to the PDB.

	* app/pdb/drawable_cmds.c
	* app/pdb/edit_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-01-06 14:02:08 +00:00
Manish Singh e211f6f73b check for shm_open in libc too, and define RT_LIBS accordingly.
2004-01-03  Manish Singh  <yosh@gimp.org>

        * configure.in: check for shm_open in libc too, and define RT_LIBS
        accordingly.

        * gimptool-1.3.in
        * app/Makefile.am
        * libgimp/Makefile.am
        * plug-ins/*/Makefile.am
        * plug-ins/common/mkgen.pl: use RT_LIBS.
2004-01-03 22:41:09 +00:00
Manish Singh 270c8d9c33 add undo_group_{start,end} methods.
2003-12-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: add undo_group_{start,end} methods.

        * plug-ins/pygimp/foggify.py
        * plug-ins/pygimp/shadow_bevel.py: and use them here, instead of
        deprecated PDB functions.
2003-12-25 06:14:15 +00:00
Manish Singh 9fe4d3bbc3 remove add/remove_layer_mask methods...
2003-12-23  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: remove add/remove_layer_mask
        methods...

        * plug-ins/pygimp/pygimp-drawable.c: ... and put them here, as methods
        of the layer object.

        * plug-ins/pygimp/plug-ins/foggify.py: update for the above new API.
2003-12-24 00:41:12 +00:00
Manish Singh 2f78ef6d1f use get_name for the repr instead of get_filename, to be more consistent.
2003-12-14  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: use get_name for the repr instead
        of get_filename, to be more consistent.
2003-12-14 22:29:03 +00:00
Hans Breuer 1baa2d4581 [ I've postponed my reservations against pangoft2/fontconfig/freetype2
2003-12-12  Hans Breuer  <hans@breuer.org>

	[
	 I've postponed my reservations against pangoft2/fontconfig/freetype2
	 usage, so The Gimp should now build with msvc without patching it.
	]

	* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.

	* libgimpthumb/makefile.msc : (new file)
	* makefile.msc : added libgimpthumb

	* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
	* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
	with GIMP_THUMB_SIZE_FAIL but *size

	* plug-ins/makefile.msc : handle libgimpoldpreview

	* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__

	* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h

	* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
	but still win32/msvc has no unistd.h

	* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
	need to patch glib, see bug #98737

	* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"

	* **/Makefile.am : added makefile.msc to EXTRA_DIST
2003-12-13 01:35:19 +00:00