Commit graph

4878 commits

Author SHA1 Message Date
Sven Neumann 798c6b924a use g_utf8_casefold() to implement case insensitive sorting.
2006-11-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (utf8_stricmp): use
	g_utf8_casefold() to implement case insensitive sorting.
2006-11-03 09:07:43 +00:00
Kevin Cozens 144dc15c0b Removed USE_STRCASECMP. Use the setting for USE_STRLWR that is used in
2006-11-02  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/Makefile.am: Removed USE_STRCASECMP. Use the
        setting for USE_STRLWR that is used in TinyScheme.

        * plug-ins/script-fu/tinyscheme/Makefile.am: Removed USE_STRCASECMP.

        * plug-ins/script-fu/tinyscheme/scheme.c
        * plug-ins/script-fu/tinyscheme/scheme.h: Added missing SCHEME_EXPORT
        to a couple of function declarations. Eliminated USE_STRCASECMP by
        using internal UTF8 string comparison routine.

        * plug-ins/script-fu/tinyscheme/scheme-private.h: Stop some compiler
        warnings.
2006-11-03 01:57:40 +00:00
Kevin Cozens 0620eaf303 Removed USE_STRCASECMP. Use the setting for USE_STRLWR that is used in
2006-11-02  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/Makefile.am: Removed USE_STRCASECMP. Use the
	setting for USE_STRLWR that is used in TinyScheme.

	* plug-ins/script-fu/tinyscheme/Makefile.am: Removed USE_STRCASECMP.

	* plug-ins/script-fu/tinyscheme/scheme.c
	* plug-ins/script-fu/tinyscheme/scheme.h: Added missing SCHEME_EXPORT
	to a couple of function declarations. Eliminated USE_STRCASECMP by
	using internal UTF8 string comparison routine.

	* plug-ins/script-fu/tinyscheme/scheme-private.h: Stop some compiler
	warnings.
2006-11-02 21:08:12 +00:00
Sven Neumann 255800acb2 moved the hbox code for consistency with flarefx.c 2006-11-02 13:23:18 +00:00
Sven Neumann e2dfb22cba plug-ins/common/flarefx.c (flare_center_create) don't expand the
2006-11-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/flarefx.c (flare_center_create)
	* plug-ins/common/nova.c (nova_center_create): don't expand the
	coordinates widget horizontally.

	* plug-ins/common/lcms.c: added padding.
2006-11-02 13:21:59 +00:00
Sven Neumann b8742dc4ba improved wording.
2006-11-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: improved wording.
2006-11-02 09:22:43 +00:00
Kevin Cozens d3bf82ae7a Added two missing deprecated constants. Updated some comments and removed
2006-11-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c: Added two missing deprecated
	constants. Updated some comments and removed one obsolete comment.

	* plug-ins/script-fu/scripts/test-sphere.scm: Fixed example of how
	to use named constants in a list by using the 'list' function.
2006-11-01 17:14:17 +00:00
Sven Neumann 0370337796 always deal with embedded color profiles.
2006-11-01  Sven Neumann  <sven@gimp.org>

	* app/file/file-open.c: always deal with embedded color profiles.

	* app/dialogs/preferences-dialog.c: reordered items in Color
	Management section, added some spacing.

	* app/config/gimprc-blurbs.h
	* libgimpconfig/gimpcolorconfig.c
	* plug-ins/common/lcms.c: string changes for consistency.
2006-11-01 14:09:29 +00:00
Sven Neumann 7bdcd35ac8 redid the dialog without using markup.
2006-11-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: redid the dialog without using markup.
2006-11-01 12:25:55 +00:00
Sven Neumann a16e7158db improved dialog.
2006-11-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: improved dialog.
2006-11-01 03:09:47 +00:00
Sven Neumann e9a778e0e3 removed debugging output 2006-11-01 01:43:05 +00:00
Sven Neumann 40425620f2 in interactive mode, return an extra boolean indicating the choide for the
2006-11-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: in interactive mode, return an extra
	boolean indicating the choide for the "Don't ask me again"
toggle.

	* app/plug-in/plug-in-icc-profile.c: look for the extra return
	value and update the "color-profile-policy" in gimprc.
2006-11-01 00:30:46 +00:00
Sven Neumann a25b00fcd9 plug-ins/common/plugin-defs.pl link lcms with libgimpui.
2006-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: link lcms with libgimpui.

	* plug-ins/common/lcms.c: added a confirmation dialog, work in
	progress...
2006-10-31 22:54:13 +00:00
Sven Neumann 0b9640e4ca add GTK_LIBS if ui is set, otherwise add GLIB_LIBS.
2006-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl: add GTK_LIBS if ui is set, otherwise
	add GLIB_LIBS.

	* plug-ins/common/plugin-defs.pl: no need to define libdep any
	longer.

	* plug-ins/common/Makefile.am: regenerated. Identical except for
	two plug-ins that incorrectly linked with libgimpui.
2006-10-31 22:41:30 +00:00
Sven Neumann 6ff59cece0 string fixes.
2006-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/py-slice.py: string fixes.
2006-10-31 17:15:21 +00:00
Michael Natterer 47263ca4cb plug-ins/faxg3/Makefile.am removed this file. Apparently it was never
2006-10-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/faxg3/Makefile.am
	* plug-ins/faxg3/run_tbl.c: removed this file. Apparently it
	was never needed.
2006-10-31 09:44:58 +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
Michael Natterer c1041bcdcc plug-ins/Lighting/lighting_apply.c plug-ins/Lighting/lighting_preview.c
2006-10-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/libifs.c
	* plug-ins/gfig/gfig-arc.c
	* plug-ins/gfig/gfig-bezier.c
	* plug-ins/gfig/gfig-circle.c
	* plug-ins/gfig/gfig-ellipse.c
	* plug-ins/gfig/gfig-line.c
	* plug-ins/gfig/gfig-poly.c
	* plug-ins/gfig/gfig-spiral.c
	* plug-ins/gfig/gfig-star.c
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/ppmtool.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/gimpressionist/preview.h
	* plug-ins/gimpressionist/size.h
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/uri/uri-backend-gnomevfs.c
	* plug-ins/uri/uri-backend-libcurl.c
	* plug-ins/uri/uri-backend-wget.c
	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c: another bunch of missing includes,
	missing "static" and wrong declarations found by -Wmissing-foo
2006-10-30 21:36:08 +00:00
Michael Natterer bf36c38796 include our own header file. Minor cosmetics.
2006-10-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-text-console.c: include our own
	header file. Minor cosmetics.
2006-10-30 20:14:00 +00:00
Sven Neumann 655ac187a1 app/plug-in/plug-in-icc-profile.c the plug-in doesn't handle GRAY* images.
2006-10-29  Sven Neumann  <sven@gimp.org>

	*  app/plug-in/plug-in-icc-profile.c
	*  plug-ins/common/lcms.c: the plug-in doesn't handle GRAY*
images.
2006-10-29 17:53:12 +00:00
Manish Singh 2442d17054 refactored, some UI polish.
2006-10-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpcons.py: refactored, some UI polish.

        * plug-ins/pygimp/plug-ins/colorxhtml.py
        * plug-ins/pygimp/plug-ins/foggify.py
        * plug-ins/pygimp/plug-ins/palette-offset.py
        * plug-ins/pygimp/plug-ins/palette-sort.py
        * plug-ins/pygimp/plug-ins/palette-to-gradient.py
        * plug-ins/pygimp/plug-ins/py-slice.py
        * plug-ins/pygimp/plug-ins/shadow_bevel.py: use booleans instead
        of numbers for readability in gettext.install calls.
2006-10-29 06:30:33 +00:00
Kevin Cozens 3e691c6999 plug-ins/script-fu/scripts/paste-as-brush.scm Some variables were not
2006-10-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: Some variables
	were not being declared before first use. Spotted by Saul Goode.
2006-10-29 05:18:44 +00:00
Manish Singh 1fb934b9f8 can't use gettext.install here because sys.displayhook fills
2006-10-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpcons.py: can't use gettext.install
        here because sys.displayhook fills __builtins__._ too and it'd
        be best to maintain that behavior.
2006-10-29 05:12:42 +00:00
Manish Singh c79d7c9499 "Apply" output from the procedure browser windows now replaces the current
2006-10-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpcons.py: "Apply" output from the
        procedure browser windows now replaces the current line, to maintain
        semantics of the old console.
2006-10-28 20:27:29 +00:00
Hans Breuer 3551bbcca0 updated
2006-10-27  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated
2006-10-27 16:04:53 +00:00
Sven Neumann 6fb3b16091 don't hardcode font sizes, moved newlines out of translatable strings.
2006-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: don't hardcode font sizes,
	moved newlines out of translatable strings.
2006-10-27 13:18:38 +00:00
Sven Neumann e3bf33121c configure.in plug-ins/common/plugin-defs.pl reverted changes from
2006-10-27  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: reverted changes from 2006-04-06
	and build screenshot plug-in optionally again. Fixes bug #364852.

	* plug-ins/common/mkgen.pl: reverted addition of 'extralibs'
	parameter that was introduced for the screenshot plug-in only.
2006-10-27 11:50:56 +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
Kevin Cozens ce957a3cc4 Return empty string if sep is at end of string in strbreakup.
2006-10-26  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Return empty
	string if sep is at end of string in strbreakup.
2006-10-27 02:48:52 +00:00
Kevin Cozens 897ed62182 Added strbreakup, strcat, strcmp, string-trim, string-trim-left,
2006-10-26  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added strbreakup,
	strcat, strcmp, string-trim, string-trim-left, string-trim-right, and
	unstrbreakup.
2006-10-27 02:10:10 +00:00
Sven Neumann d08399f645 update the profile information from an idle handler.
2006-10-26  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpimageprofileview.[ch]: update the profile
	information from an idle handler.

	* plug-ins/common/lcms.c: bug fixes and robustness.
2006-10-26 14:11:14 +00:00
Sven Neumann ec43fe20d6 plug-ins/script-fu/scripts/Makefile.am added new script "Difference
2006-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/difference-clouds.scm: added new script
	"Difference Clouds" written by Martin Nordholts (bug #363458).
2006-10-25 13:30:41 +00:00
Sven Neumann 51b4be9d34 plug-ins/script-fu/scripts/erase-rows.scm don't ever use the term
2006-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/erase-rows.scm
	* plug-ins/script-fu/scripts/hsv-graph.scm: don't ever use the term
	"drawable" in user-visible strings.
2006-10-25 12:27:26 +00:00
Sven Neumann a1c0603228 cmsDoTransform takes the number of samples, not the size of the buffer 2006-10-25 09:05:32 +00:00
Sven Neumann 13ba2a52db added signals "parasite-attached" and "parasite-detached".
2006-10-25  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.[ch]: added signals "parasite-attached" and
	"parasite-detached".

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpimageprofileview.[ch]: draft of a new widget
that
	displays color profile information.

	* app/widgets/gimpimagepropview.c: minor cleanup and bug fix.

	* app/dialogs/image-properties-dialog.c: added Color Profile
	information.

	* plug-ins/common/lcms.c: bug fixes.
2006-10-25 07:31:04 +00:00
Manish Singh bc232ef86b remove_stroke is now a Vectors object method. Also implement, get_ID,
2006-10-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-vectors.c: remove_stroke is now a Vectors
        object method. Also implement, get_ID, get_vectors_ID, and get_points
        for VectorsStroke.
2006-10-24 22:05:16 +00:00
Kevin Cozens 57ff74c240 Reworded two error messages. Break out of for loop before i gets updated
2006-10-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c: Reworded two error messages.
	Break out of for loop before i gets updated when error was detected
	to make sure error message reports correct parameter number.
2006-10-24 18:55:09 +00:00
Simon Budig f57321511e app/vectors/Makefile.am app/vectors/vectors-enums.h added new file for the
2006-10-24  Simon Budig  <simon@gimp.org>

	* app/vectors/Makefile.am
	* app/vectors/vectors-enums.h
	* app/vectors/vectors-types.h: added new file for the vectors enums,
	adjusted Makefile.am for the generation of vectors-enums.c

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/vectors.pdb: Added implementation for
	gimp-vectors-stroke-get-points which returns the control points for
	the stroke.
	Renamed gimp-vectors-stroke-remove to gimp-vectors-remove-stroke.

	ATTENTION: this breaks scripts using this function, a simple name
	change is enough to make it work again.
	Also please note that yosh reordered the return values of
	gimp-vectors-stroke-interpolate, so your scripts need adjustment
	there as well.

        * tools/pdbgen/pdb/paths.pdb: deprecate gimp-path-get-points. Yay!

	* libgimp/gimp.def: added new symbol

	* plug-ins/pygimp/pygimp-vectors.c: reflect name change of
	gimp_vectors_remove_stroke ().

	* app/vectors/vectors-enums.c
	* app/pdb/internal_procs.c
	* app/pdb/paths_cmds.c
	* app/pdb/vectors_cmds.c
	* devel-docs/libgimp/tmpl/gimpvectors.sgml
	* libgimp/gimpenums.c.tail
	* libgimp/gimpenums.h
	* libgimp/gimppaths_pdb.[ch]
	* libgimp/gimpvectors_pdb.[ch]
	* tools/pdbgen/enums.pl: regenerated.
2006-10-24 14:23:29 +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
Michael Natterer bfbdbbf7b3 plug-ins/common/plugin-defs.pl plug-ins/common/Makefile.am added "Auntie
2006-10-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am
	* plug-ins/common/antialias.c: added "Auntie Alias" by Adam
	D. Moss, a plug-in which does nice antialiasing on lineart using
	the Scale3X edge-extrapolation algorithm.
2006-10-23 19:15:09 +00:00
Sven Neumann 01f767ea4f removed some fields from the icc-info return values. Changed image-type to
2006-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: removed some fields from the icc-info
	return values.  Changed image-type to "*" for all procedures.
2006-10-23 15:36:03 +00:00
Sven Neumann 14114cde1c link plug-ins with the same libraries and in the same order as defined in
2006-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl: link plug-ins with the same
libraries
	and in the same order as defined in the gimp.pc and gimpui.pc
files.

	* plug-ins/common/Makefile.am: regenerated.

	* plug-ins/common/lcms.c: implemented missing functionality.
2006-10-23 10:22:39 +00:00
Sven Neumann 31282ecc27 reverted Kevin's change. This script should not register a menu entry and
2006-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: reverted Kevin's
	change. This script should not register a menu entry and it
	doesn't need to be translated. It only exists for backward
	compatibility.
2006-10-23 09:05:58 +00:00
Kevin Cozens 51caeda1c3 Moved an out of order entry.
2006-10-23  Kevin Cozens  <kcozens@cvs.gnome.org>

	* Makefile.am: Moved an out of order entry.

	* plug-ins/script-fu/scripts/beveled-button.scm
	* plug-ins/script-fu/scripts/fuzzyborder.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: Formatting changes.

	* plug-ins/script-fu/scripts/coolmetal-logo.scm: Changed two colours
	to named colour.

	* plug-ins/script-fu/scripts/gimp-labels.scm: Moved a double quote.

	* plug-ins/script-fu/scripts/spinning-globe.scm: Fixed duplicate
	variable reference in let block.

	* plug-ins/script-fu/scripts/tileblur.scm: Wrong version got commited.

	* plug-ins/script-fu/scripts/unsharp-mask.scm: Added missing menu
	register block.
2006-10-23 05:15:40 +00:00
Manish Singh f548a6ea7e plug-ins/pygimp/plug-ins/pyconsole.py Make CTRL-D close the console.
2006-10-22  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/pyconsole.py
        * plug-ins/pygimp/plug-ins/gimpcons.py: Make CTRL-D close the
        console.
2006-10-22 22:35:10 +00:00
Manish Singh aa093e8879 Windows is dumb, special case out gimp invocation just like we did for
2006-10-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/pyconsole.py: Windows is dumb, special
        case out gimp invocation just like we did for gtkcons.py
2006-10-21 20:21:32 +00:00
Manish Singh 905a0e46ca clone methods can't be marked as constructors.
2006-10-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.defs: clone methods can't be marked as
        constructors.

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/procbrowser.c: Remove one-off GimpProcBrowserDialog
        wrapper. Nobody but the console should've been using it anyway.

        * plug-ins/pygimp/gimpui.override: overrides for GimpEnumLabel,
        GimpIntComboBox, and GimpProcBrowserDialog constructors, as well
        as gimp_browser_add_search_types.

        * plug-ins/pygimp/plug-ins/pyconsole.py: New console widget,
        taken from GGAP (http://ggap.sourceforge.net)

        * plug-ins/pygimp/plug-ins/gtkcons.py: removed.

        * plug-ins/gimpcons.py: use new console widget, and the
        GimpProcBrowserDialog binding directly. Still a little rough in
        places.

        * plug-ins/pygimp/plug-ins/pdbbrowse.py: removed, it's redundant.

        * plug-ins/pygimp/plug-ins/Makefile.am: reflect above changes.
2006-10-20 18:03:06 +00:00
Kevin Cozens 590c4d0b9f Moved the MIN and MAX entries for image size and resolution to
2006-10-20  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c: Moved the MIN and MAX entries
	for image size and resolution to script_constants structureas they
	are not deprecated constants.

	* plug-ins/script-fu/scripts/script-fu.init: Removed CR in line endings.

	* plug-ins/script-fu/scripts/*.scm: Fixed a number of regressions that
	snuck in during the last big update of the scripts. This update
	reduces the number of differences to the original scripts (other than
	formatting). Some additional formatting changes in a few scripts.
	Updates to use colour names in register block where possible. Fixed a
	bug in burn-in-anim.scm. Minor cleanup of font-map.scm. Simplified
	the bug fix in tile-blur.scm.
2006-10-20 17:55:14 +00:00
Sven Neumann e9f80d1a86 plug-ins/script-fu/script-fu-scripts.c minor cleanups.
2006-10-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c (init_constants):
	* plug-ins/script-fu/script-fu-scripts.c minor cleanups.
2006-10-20 09:54:05 +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 a92d405849 don't load script-fu-compat.init here.
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/script-fu.init: don't load
	script-fu-compat.init here.

	* plug-ins/script-fu/scheme-wrapper.c (tinyscheme_init): load it
	here, from the same place where script-fu.init was found.

	* plug-ins/script-fu/script-fu-interface.c: made the code more
	robust against invalid adjustment types.
2006-10-19 15:25:02 +00:00
Sven Neumann c97fc7a7a5 plug-ins/script-fu/script-fu-interface.[ch]
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.[ch]
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h: don't look at the menu path
	to see if a script is image-based. Instead check the passed and the
	expected parameter types.

	* plug-ins/script-fu/scripts/tileblur.scm: global variables won't
	work with tiny-scheme.
2006-10-19 14:50:47 +00:00
Tor Lillqvist f2a2afaf5d Open files in binary mode.
2006-10-19  Tor Lillqvist  <tml@novell.com>

	* plug-ins/script-fu/tinyscheme/scheme.c
	(file_push, port_rep_from_filename): Open files in binary mode.
2006-10-19 14:25:01 +00:00
Sven Neumann 676b6cc015 search script-fu.init in the scripts search path instead of looking for it
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.[ch]: search script-fu.init in
	the scripts search path instead of looking for it in a hardcoded
	directory.

	* plug-ins/script-fu/script-fu-scripts.[ch]
	* plug-ins/script-fu/script-fu.c: changes needed for above change.
2006-10-19 13:51:42 +00:00
Sven Neumann 558deac406 plug-ins/script-fu/scheme-wrapper.c use g_fopen() from gstdio.h.
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-console.c: use g_fopen() from gstdio.h.

	* plug-ins/script-fu/script-fu-scripts.c: removed unused defines.
2006-10-19 13:08:47 +00:00
Sven Neumann 21556b83e6 changed range for Smoothness value as suggested in bug #363381. Also fixed
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/distress-selection.scm: changed
range
	for Smoothness value as suggested in bug #363381. Also fixed a
typo
	in the menu label.
2006-10-19 12:09:52 +00:00
Sven Neumann 22fb09b338 fixed calculation of display area in preparation of fixing bug #362915.
2006-10-19  Sven Neumann  <sven@gimp.org>

        * app/display/gimpdisplayshell-draw.c (gimp_display_shell_draw_area):
        fixed calculation of display area in preparation of fixing bug #362915.

        * plug-ins/common/whirlpinch.c: removed unused define.
2006-10-19 08:25:04 +00:00
Sven Neumann 9699f30d62 this script should not register in the menus. Also unmarked strings for
2006-10-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: this script should
	not register in the menus. Also unmarked strings for translation.
2006-10-18 12:34:52 +00:00
Sven Neumann 3054a3a2b8 reviewed blurbs and marked them for translation.
2006-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/web-browser.scm: reviewed blurbs and
	marked them for translation.
2006-10-17 15:13:25 +00:00
Sven Neumann 3ad673121c removed null character (bug #362832).
2006-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c (explorer_dialog): removed
	null character (bug #362832).
2006-10-17 12:17:53 +00:00
Sven Neumann 8d6b5e158e added a length parameter to avoid needless string duplication.
2006-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.[ch]
	(script_fu_output_to_console): added a length parameter to avoid
	needless string duplication.

	* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): changed
	accordingly.
	(my_err): in console mode, send error messages to the console.
2006-10-17 09:22:48 +00:00
Kevin Cozens 6bad3b042a Eliminated compiler warnings.
2006-10-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Eliminated compiler warnings.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added 'nil'.
2006-10-16 23:28:38 +00:00
Kevin Cozens 51d54e2333 Trivial format change (moved a closing }). 2006-10-16 23:24:43 +00:00
Kevin Cozens 349a0d7094 Set enable_python to yes if it wasn't set to no. Fixes display of Python
2006-10-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* configure.in: Set enable_python to yes if it wasn't set to no.
	Fixes display of Python status in "Optional Plug-Ins" section.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added
	'the-environment'.
2006-10-16 15:56:50 +00:00
Sven Neumann 82bb56042c plug-ins/winicon/Makefile.am plug-ins/winicon/icodialog.c
2006-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/Makefile.am
	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c
	* plug-ins/winicon/main.h: applied patch from Aurimas Juška that
	adds support for the loading and saving Vista 256x256 PNG
	Compressed Icons (bug #352899).

	* configure.in
	* plug-ins/Makefile.am: don't build the winicon plug-in if PNG
	support has been explicitely disabled.
2006-10-16 13:37:34 +00:00
Sven Neumann 091a12bcc2 plug-ins/winicon/icodialog.c plug-ins/winicon/icoload.c applied patches
2006-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c: applied patches from Aurimas Juška
	that add support for saving 24 bit files and fix a bug in the
	load routines for this format (bug #352899).
2006-10-16 11:23:15 +00:00
Sven Neumann 2fd52b690e fixed some minor user interface and coding style issues.
2006-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: fixed some minor user
	interface and coding style issues.
2006-10-16 09:24:59 +00:00
Kevin Cozens 6239dddda3 With this commit we finally say goodbye to SIOD. This large set of changes
2006-10-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	With this commit we finally say goodbye to SIOD. This large set of
	changes updates the Script-Fu plug-in to use the TinyScheme Scheme
	interpreter. These changes originated with changes originally made
	to Script-Fu which created Tiny-Fu (aka. the gimp-tiny-fu module).

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-scripts.h
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/script-fu/script-fu-text-console.c
	* plug-ins/script-fu/script-fu.c: Updated with the changes made to
	these files as part of the work on the Tiny-Fu project.

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h: Renamed from siod-wrapper.[ch]
	and updated based on differences to ts-wrapper.[ch] from gimp-tiny-fu.

	* plug-ins/script-fu/ftx/*
	* plug-ins/script-fu/re/*
	* plug-ins/script-fu/tinyscheme/*
	* plug-ins/script-fu/scripts/script-fu.init
	* plug-ins/script-fu/scripts/script-fu-compat.init
	* plug-ins/script-fu/scripts/contactsheet.scm
	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm
	* plug-ins/script-fu/scripts/script-fu-util-setpt.scm
	* plug-ins/script-fu/scripts/ts-helloworld.scm: Added all of these
	files and directories from Tiny-Fu. Updated the Makefile.am files
	of ftx, re, and tinyscheme now they are in the GIMP source tree.

	* plug-ins/script-fu/scripts/*.scm: All scripts have been updated as
	needed to ensure they will work with the TinyScheme interpreter. Most
	of the files have been reformatted making it easier to see the syntax
	of Scheme and making them easier to read.

	* plug-ins/script-fu/scripts/Makefile.am: Updated script file lists.

	* plug-ins/script-fu/siod-wrapper.c
	* plug-ins/script-fu/siod-wrapper.h
	* plug-ins/script-fu/siod/*: Removed obsolete files.

	* configure.in: Updated list of files in AC_CONFIG_FILES. Changed
	--disable-script-fu to --without-script-fu which it should have
	been when originally added.

	* INSTALL: Updated to show change to --without-script-fu.
2006-10-16 01:08:54 +00:00
Kevin Cozens 9314c3ea8e Files to ignore during CVS operations. 2006-10-15 23:44:51 +00:00
Michael Natterer a02ac93ee4 use GDK_INVERT instead of GDK_XOR with white foreground color.
2006-10-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/rcm/rcm_callback.c: use GDK_INVERT instead of GDK_XOR
	with white foreground color.
2006-10-14 20:41:32 +00:00
Michael Natterer 750c0cdbce plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_move_sash.c
2006-10-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/imagemap/imap_cmd_move.c
	* plug-ins/imagemap/imap_cmd_move_sash.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_object.c: use GDK_XOR instead of
	GDK_EQUIV. Fixes bug #311621.
2006-10-14 19:15:40 +00:00
Kevin Cozens e81a5a9647 Use more descriptive message when display a result which returns an array
2006-10-13  Kevin Cozens  <kcozens@cvs.gnome.org>

	* tinyscheme/scheme.c: Use more descriptive message when display a
	result which returns an array instead of using the form #<ARRAYn>.
2006-10-13 20:36:28 +00:00
Kevin Cozens 202733c95a Fixed compiler warning by using proper cast.
2006-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/imagemap/imap_main.c (do_data_changed_dialog): Fixed
	compiler warning by using proper cast.
2006-10-12 21:57:53 +00:00
Kevin Cozens 1bb7bbb3bb Missed closing quotes in previous update.
2006-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/gimp-labels.scm: Missed closing quotes in previous update.

	* scripts/sota-chrome-logo.scm: Fixed a finger fumble.

	* scripts/tiny-fu-set-cmap.scm: Added keyboard short cut. Moved to
	better location in menus.
2006-10-12 21:50:06 +00:00
Kevin Cozens ffef8df73b The changes below (except for init.scm) were found during the work of
2006-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>

	The changes below (except for init.scm) were found during the work
	of updating the GIMP Script-Fu plug-in to become Tiny-Fu.

	* tiny-fu/tiny-fu-console.c
	* tiny-fu/tiny-fu-interface.c
	* tiny-fu/tiny-fu-scripts.c
	* tiny-fu/tiny-fu-server.c
	* tiny-fu/tiny-fu-text-console.c
	* tiny-fu/tiny-fu.c: Various minor bug fixes and changes to bring
	Tiny-Fu up-to-date with changes made in Script-Fu.

	* scripts/*.scm: Applied patch from Saul Goode with review and
	localisation of Script-Fu procedure blurbs (bug #351283). Also
	some formatting changes.

	* tinyscheme/init.scm: Updated based on version 1.38 of TinyScheme.
2006-10-12 20:31:33 +00:00
Sven Neumann 24f8cab346 improved warning dialog.
2006-10-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c (bad_bounds_dialog): improved warning dialog.
2006-10-12 10:00:23 +00:00
Sven Neumann af1320b606 Made 2.3.12 development release.
2006-10-11  Sven Neumann  <sven@gimp.org>

        * Made 2.3.12 development release.

        * plug-ins/pygimp/Makefile.am (codegen_files): added missing files.
2006-10-11 15:17:07 +00:00
Manish Singh 7457b3c46e Add slice support to the colors types. Fixes bug #360423.
2006-10-10  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c: Add slice support to the colors
        types. Fixes bug #360423.
2006-10-11 06:02:23 +00:00
Sven Neumann 374b85fc11 applied patch from Aurimas Juška that adds a missing cast which should
2006-10-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/nova.c: applied patch from Aurimas Juška that
	adds a missing cast which should fix bug #340073.
2006-10-10 10:11:00 +00:00
Kevin Cozens a2f1f3741c Added 'butlast' and 'last'.
2006-06-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/script-fu-compat.init: Added 'butlast' and 'last'.
2006-10-10 03:05:51 +00:00
Manish Singh a8855ae632 Don't use Python 2.4 specific functions, nor deprecated sys module
2006-10-07  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Don't use Python 2.4 specific functions,
        nor deprecated sys module attributes. Fixes bug #360411.
2006-10-07 21:07:04 +00:00
William Skaggs 8107d652e7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/convmatrix.c: commit patch from GG that
	cleans up code and adds (commented out) support for larger
	matrices, with some coding style fixes; see bug #357085.
	This plug-in still needs help, though.
2006-10-06 19:36:39 +00:00
Sven Neumann c603af8f1b changed some labels to be more descriptive instead of explaining the
2006-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: changed some labels to be
	more descriptive instead of explaining the meaning in a tooltip.
	Set slider senitivity according to fractal type.
2006-10-06 10:38:20 +00:00
Sven Neumann a8934e009e don't show fractional values for the ITER parameter; it is being used as
2006-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: don't show fractional values
	for the ITER parameter; it is being used as an integer. Also make
	sure that it never becomes zero as that used to crash the plug-in.
2006-10-06 09:05:52 +00:00
Sven Neumann 191930874a save files using g_ascii_formatd() (fixes bug #360095).
2006-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c: save files using
	g_ascii_formatd() (fixes bug #360095).
2006-10-06 08:33:02 +00:00
Sven Neumann f1a49507d1 see bug #352899 2006-10-06 06:42:09 +00:00
Sven Neumann 5b021fc255 applied patch from Saul Goode with review and localisation of Script-Fu
2006-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/*.scm: applied patch from Saul
Goode
	with review and localisation of Script-Fu procedure blurbs
	(bug #351283).
2006-10-05 18:09:29 +00:00
Kevin Cozens 815148c2a6 scripts/tiny-fu.init tiny-fu/ts-wrapper.c tinyscheme/Manual.txt Updates to
2006-10-05  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/tiny-fu.init
	* tiny-fu/ts-wrapper.c
	* tinyscheme/Manual.txt
	* tinyscheme/scheme.c: Updates to reflect that TinyScheme interpreter
	is based on the 1.38 version.
2006-10-05 17:39:54 +00:00
Sven Neumann b5fbef8a81 reverted change for bug #356901.
2006-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c: reverted change for bug #356901.

	* plug-ins/script-fu/scripts/test-sphere.scm: removed superfluous
	comment.
2006-10-05 14:25:25 +00:00
Manish Singh 521fab9316 plug-ins/pygimp/gimpui.defs new style constructors for GimpColorButton and
2006-10-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.defs
        * plug-ins/pygimp/gimpui.override: new style constructors for
        GimpColorButton and GimpColorScale.
2006-10-04 21:14:42 +00:00
Sven Neumann 0b440294d4 minor cleanup.
2006-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/maze/maze_face.c: minor cleanup.
2006-10-04 08:04:57 +00:00
Manish Singh f7c0e8ce13 a FALSE return from gimp_drawable_mask_bounds doesn't mean failure.
2006-10-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c: a FALSE return from
        gimp_drawable_mask_bounds doesn't mean failure. Restore old
        behavior. Fixes bug #357223.
2006-10-04 07:26:12 +00:00
Sven Neumann fe3c3406c9 use a GimpHintBox.
2006-10-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_dialog): use a GimpHintBox.
2006-10-02 23:34:55 +00:00
Kevin Cozens 124c9d5648 Minor formatting changes.
2006-09-30  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/*.scm: Minor formatting changes.
2006-09-30 05:06:28 +00:00
William Skaggs d3f3fec706 Bill Skaggs <weskaggs@primate.ucdavis.ed>
* plug-ins/jpeg/jpeg-exif.c: don't let libexif crash us when
	loading image with exif data but no thumbnail.  Works around
	bug #358117.
2006-09-29 18:55:07 +00:00
Sven Neumann e7403a1bf8 string change 2006-09-29 15:20:43 +00:00
Sven Neumann e727c63aa7 put the stack trace into a scrolled window 2006-09-29 15:16:31 +00:00
Sven Neumann 17812eac9b show a dialog for execution errors.
2006-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: show a dialog for execution errors.
2006-09-29 14:43:30 +00:00
Kevin Cozens cb4f30cab9 Changes for increased compatability with Script-Fu scripts.
2006-09-29  Kevin Cozens  <kcozens@cvs.gnome.org>

	Changes for increased compatability with Script-Fu scripts.

	* tiny-fu/tiny-fu-scripts.c:
	* tiny-fu/ts-wrapper.c: Changed references of tiny-fu*-register to
	script-fu*-register, tiny-fu-path to script-fu-path, and tiny-fu-quit
	to script-fu-quit.

	* scripts/*.scm: All scripts changed to use script-fu-... instead
	of tiny-fu-... in function names and in the register call.
2006-09-29 06:01:39 +00:00
Sven Neumann ad669d27a3 added more procedures that need to be implemented.
2006-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: added more procedures that need to be
	implemented.
2006-09-28 19:43:12 +00:00
Sven Neumann 05c1cb7f66 configure.in plug-ins/common/Makefile.am plug-ins/common/mkgen.pl
2006-09-28  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/lcms.c: build framework for ICC color
conversion
	plug-in using littleCMS.
2006-09-28 18:29:23 +00:00
Sven Neumann 7db31c30db transfer the pixels tile-by-tile instead of doing it row-by-row.
2006-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c (load_image): transfer the pixels
	tile-by-tile instead of doing it row-by-row.
2006-09-26 09:06:07 +00:00
Michael Natterer 03251e6b6a while downloading, use the same progress messages as the gnomevfs backend.
2006-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend-libcurl.c: while downloading, use the
	same progress messages as the gnomevfs backend. Minor whitespace
	and indentation cleanup.
2006-09-25 21:26:01 +00:00
Mukund Sivaraman 54c480c971 plug-ins/uri/uri-backend-libcurl.c plug-ins/uri/Makefile.am
2006-09-24  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/uri/uri-backend-libcurl.c
        * plug-ins/uri/Makefile.am
	* po-plug-ins/POTFILES.in
        * configure.in: added a URI backed which uses the libcurl library
2006-09-24 20:10:06 +00:00
William Skaggs 94de5be39c Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/ripple.c: set min for "period" scale entry
	to 1 instead of 0, and add error check for noninteractive.
	Fixes bug #357431.
2006-09-24 16:05:30 +00:00
William Skaggs 29b9f61217 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/script-fu/scripts/line-nova.scm: Change min for randomness
	from 0 to 1, should fix bug #357433.
2006-09-24 15:46:54 +00:00
Sven Neumann d79ec4556a create output that at least vaguely resembles XHTML.
2006-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/colorxhtml.py: create output that at
	least vaguely resembles XHTML.
2006-09-22 11:48:58 +00:00
Sven Neumann 7275f398ed pass the correct function name to inspect.getsourcefile().
2006-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/colorxhtml.py: pass the correct function
	name to inspect.getsourcefile().
2006-09-22 11:21:57 +00:00
Sven Neumann 9c8f65ee0a plug-ins/pygimp/plug-ins/py-slice.py prepared for translation.
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/py-slice.py
	* plug-ins/pygimp/plug-ins/shadow_bevel.py: prepared for translation.
2006-09-21 14:24:12 +00:00
Sven Neumann 149277029a more work on python i18n 2006-09-21 14:08:04 +00:00
Sven Neumann 65d8363b61 added align-tool (bug #356260).
2006-09-21  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added align-tool (bug #356260).

	* plug-ins/pygimp/plug-ins/palette-to-gradient.py
	* plug-ins/pygimp/plug-ins/pdbbrowse.py: prepared for translation.
2006-09-21 13:51:36 +00:00
Sven Neumann b17946e15e plug-ins/pygimp/plug-ins/palette-offset.py prepared for translation.
2006-09-21  Sven Neumann  <sven@gimp.org>

        * plug-ins/pygimp/plug-ins/palette-offset.py
        * plug-ins/pygimp/plug-ins/palette-sort.py: prepared for translation.
2006-09-21 12:01:54 +00:00
Sven Neumann bd9ec640a8 prepared for translation.
* plug-ins/pygimp/plug-ins/foggify.py: prepared for translation.
2006-09-21 11:38:47 +00:00
Sven Neumann 48e52e674a plug-ins/pygimp/gimpui.override (_wrap_gimp_dialog_new) allow String or
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.override (_wrap_gimp_dialog_new)
	* plug-ins/pygimp/pygimp-drawable.c (drw_set_name): allow String
	or Unicode objects.

	* plug-ins/pygimp/plug-ins/colorxhtml.py: prepared for translation.
2006-09-21 11:19:43 +00:00
Sven Neumann b69be084b1 pass correct parameters to gimp_brush_select_button_new(). Fixes bug
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c: pass correct parameters to
	gimp_brush_select_button_new(). Fixes bug #356901.

	* plug-ins/script-fu/scripts/test-sphere.scm: use 100.0 as the
	default opacity for SF-BRUSH.
2006-09-21 10:20:53 +00:00
Michael Natterer 9ee803df74 use setpgid() instead of setpgrp(), the latter has a different number of
2006-09-21  Michael Natterer  <mitch@gimp.org>

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): use
	setpgid() instead of setpgrp(), the latter has a different number
	of arguments on darwin. Let's see where it breaks now...
2006-09-21 01:14:19 +00:00
Sven Neumann ed5b8b0995 readded a comma 2006-09-20 18:27:47 +00:00
Sven Neumann cf62a51605 use PyUnicode_Check() instead of PyString_Check().
2006-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/pygimp-drawable.c (drw_set_name): use
	PyUnicode_Check() instead of PyString_Check().

	* plug-ins/pygimp/plug-ins/clothify.py: reverted localisation;
	this plug-in isn't installed by default.
2006-09-20 11:52:19 +00:00
Sven Neumann 8ae9aa43fe plug-ins/pygimp/plug-ins/clothify.py need to call gettext.install here,
2006-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/clothify.py
	* plug-ins/pygimp/plug-ins/gimpcons.py: need to call gettext.install
	here, otherwise we can't use _() in the register() call.

	* plug-ins/pygimp/gimpfu.py: don't call gettext.install() for the
	plug-in. Translate the blurb used as a user hint.
2006-09-20 11:33:47 +00:00
Michael Natterer 11abe64f58 if the plug-in is in a different process group than GIMP, kill the entire
2006-09-20  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin.c (gimp_plug_in_close): if the plug-in is
	in a different process group than GIMP, kill the entire group so
	the plug-in's children are killed too.

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): open
	a process group so the wget process gets killed (bug #356643).
2006-09-20 10:31:22 +00:00
Kevin Cozens 46fd26d0eb tiny-fu/ts-wrapper.c Minor update since INT8 and INT8_ARRAY types are
2006-09-18  Kevin Cozens  <kcozens@cvs.gnome.org>

	* tiny-fu/ts-wrapper.c
	* tinyscheme/scheme.c: Minor update since INT8 and INT8_ARRAY types
	are unsigned 8-bit values.
2006-09-19 22:16:55 +00:00
Sven Neumann 8662b2e716 do not use gimp.locale_directory as the fallback but just use None 2006-09-19 15:00:07 +00:00
Sven Neumann a09db726e6 allow to pass a (domain, path) tuple as value for the domain argument of
2006-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: allow to pass a (domain, path) tuple
	as value for the domain argument of the register() call. Document
	the domain argument.
2006-09-19 14:53:41 +00:00
Sven Neumann 3dc50859a7 don't leak the message.
2006-09-19  Sven Neumann  <sven@gimp.org>

	* app/core/gimp.c (gimp_message): don't leak the message.

	* app/file/file-utils.c (file_utils_find_proc): clear the error
	if we found a file procedure by matching the file extension.

	* plug-ins/common/png.c (load_image): don't call gimp_quit() if
	opening the file fails but return with GIMP_PDB_EXECUTION_ERROR.
2006-09-19 14:26:48 +00:00
Manish Singh 20efe460f5 plug-ins/pygimp/Makefile.am plug-ins/pygimp/gimpthumb.defs
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/gimpthumb.defs
        * plug-ins/pygimp/gimpthumb.override
        * plug-ins/pygimp/gimpthumbmodule.c: Bindings for libgimpthumb.
2006-09-17 23:30:42 +00:00
Manish Singh e409f42d6a override implementation of gimp_window_set_transient so we pass the
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.override: override implementation of
        gimp_window_set_transient so we pass the correct type to the
        C function.
2006-09-17 19:05:04 +00:00
Sven Neumann f82f4a3fb6 try to set a reasonable tile cache size for load and save operations.
2006-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: try to set a reasonable tile cache
size
	for load and save operations.
2006-09-17 15:41:10 +00:00
Sven Neumann 1fcac72b1a applied patch from Aurimas Juška which, among other changes, ports the
2006-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lens.c: applied patch from Aurimas Juška
which,
	among other changes, ports the plug-in to GimpZoomPreview
	(bug #324849).
2006-09-17 13:38:41 +00:00
Sven Neumann c61b193310 reverted Bill's change. Applying the delay before the selection makes as
2006-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: reverted Bill's change. Applying
	the delay before the selection makes as much sense as doing it
	afterwards. Do it consistently at least.
2006-09-17 12:21:09 +00:00
Manish Singh d17dcd549a HSV and HSL now handle integer values the same way as the RGB and CMYK
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c: HSV and HSL now handle integer
        values the same way as the RGB and CMYK objects do, for consistency.
2006-09-17 07:44:25 +00:00
Manish Singh 45139b7c8b Use proper return value types for object constructors. Fixes bug #354555.
2006-09-17  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-colors.c: Use proper return value types
        for object constructors. Fixes bug #354555.
2006-09-17 07:05:52 +00:00
Manish Singh a7402fdcbd plug-ins/pygimp/gimpfu.py let the gettext module
2006-09-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/plug-ins/gtkcons.py: let the gettext module

        * po-python/POTFILES.in
        * plug-ins/pygimp/gimpui.py: Mark a couple strings for translation
        here.
2006-09-17 02:58:17 +00:00
William Skaggs 9da34b7e79 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: when shooting a region, apply delay
	_after_ selecting region, applying before is useless.
2006-09-15 16:11:36 +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 336dfacac0 translate strings in the gimp20-python textdomain.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: translate strings in the gimp20-python
	textdomain.

	* plug-ins/pygimp/plug-ins/gtkcons.py: fixed a translation mark.
2006-09-15 09:56:09 +00:00
Sven Neumann 49bbdfa9a2 only store the settings if run interactively. Fixes bug #356044.
2006-09-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (run): only store the settings if run
	interactively. Fixes bug #356044.
2006-09-15 08:01:12 +00:00
Sven Neumann 9f9e956cbc use gtk.CLOSE instead of "Close" to clarify why this string doesn't need
2006-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/gtkcons.py: use gtk.CLOSE instead of
	"Close" to clarify why this string doesn't need to be marked for
	translation.
2006-09-14 08:53:52 +00:00
Sven Neumann 14d80ba157 app/actions/image-actions.c app/dialogs/preferences-dialog.c
2006-09-14  Sven Neumann  <sven@gimp.org>

	* app/actions/image-actions.c
	* app/dialogs/preferences-dialog.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpcontrollereditor.c:
	* plug-ins/common/autocrop.c
	* plug-ins/common/max_rgb.c: resolved conflicting mnemonics, added
	some new ones (bug #355761).
2006-09-14 08:24:05 +00:00
Sven Neumann b7e2ab2d2b marged strings for translation.
2006-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: marged strings for translation.
2006-09-14 06:59:46 +00:00
Sven Neumann ac610f0cf3 Makefile.am configure.in added basic infrastructure for a gimp20-python
2006-09-13  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* configure.in
	* po-python: added basic infrastructure for a gimp20-python
	translation domain.

	* plug-ins/pygimp/plug-ins/gimpcons.py
	* plug-ins/pygimp/plug-ins/gtkcons.py: mark some strings for
	translation, based on a patch from David Gowers (bug #351287).
2006-09-13 19:16:58 +00:00
Sven Neumann eddb6fd084 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl added Lens
2006-09-13  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/lens.c: added Lens Distortion plug-in. Written by
        David Hodson and ported to newer GIMP APIs by Aurimas Juška and me
        (bug #324849).
2006-09-13 14:40:05 +00:00
Sven Neumann a42941ddb9 changed label to not include a "|" which can be easily confused with a
2006-09-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pix.c (query): changed label to not include a
	"|" which can be easily confused with a translation context.
2006-09-13 08:46:25 +00:00
Michael Natterer a584c1312d added a parargaph of the original copyright notice that was forgotten when
2006-09-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tiff.c: added a parargaph of the original
	copyright notice that was forgotten when originally pasting it.
2006-09-12 20:45:51 +00:00
Sven Neumann a03e14af1a app/composite/gimp-composite-generic.c app/core/gimpimage-convert.c
2006-09-12  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite-generic.c
	* app/core/gimpimage-convert.c
	* app/actions/view-actions.c
	* app/dialogs/grid-dialog.c
	* app/dialogs/offset-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/display/gimpnavigationeditor.c
	* app/tools/gimpiscissorstool.c
	* app/widgets/gimptoolbox-image-area.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/exchange.c
	* plug-ins/common/fp.c
	* plug-ins/common/gif.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/laplace.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/nova.c
	* plug-ins/common/psp.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/vpropagate.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c: removed unused macros.
2006-09-12 11:46:10 +00:00
William Skaggs a214aad1d3 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/depthmerge.c (dialogDepthMap2ChangedCallback):
	change "depthMap1Drawable" to "depthMap2Drawable" to fix
	typo introduced in version 1.35 committed on 2004-04-21.
	Should fix bug #355219.
2006-09-10 21:25:55 +00:00
Sven Neumann 619ab19a84 added a thumbnail to the "Rotate Image?" query dialog as suggested in bug
2006-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c: added a thumbnail to the "Rotate
	Image?" query dialog as suggested in bug #355213.
2006-09-10 19:48:25 +00:00
Sven Neumann c75eb914cc hopefully really fixed bug #353227 this time.
2006-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/emboss.c: hopefully really fixed bug #353227
	this time.
2006-09-09 00:52:34 +00:00
Manish Singh c46a34fdf0 plug-ins/pygimp/pygimp-drawable.c reorder includes to avoid preprocessor
2006-09-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-pdb.c: reorder includes to avoid preprocessor
        symbol redefinition warnings.
2006-09-08 21:05:38 +00:00
Manish Singh 793da2025f plug-ins/pygimp/pygimp-drawable.c #define NO_IMPORT_PYGOBJECT, so the
2006-09-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-pdb.c: #define NO_IMPORT_PYGOBJECT, so
        the internal pygobject API symbol is only defined once.
2006-09-08 20:54:10 +00:00
Sven Neumann fd56f0631c added "position" construct-only property to allow construction using
2006-09-07  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpchainbutton.c: added "position" construct-only
	property to allow construction using g_object_new().

	* plug-ins/pygimp/gimpui.defs: use new style constructors for some
	more widgets.
2006-09-07 12:23:42 +00:00
Sven Neumann ac05be7a68 updated the GimpHintBox constructor definition to use pygtk 2.8 features.
2006-09-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.defs: updated the GimpHintBox constructor
	definition to use pygtk 2.8 features.

	* plug-ins/pygimp/gimpui.override: removed hand-written constructor.
2006-09-07 10:28:21 +00:00
Sven Neumann 5ff13881ee also add the procedure to the history if it is called from the "Repeat" or
2006-09-06  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-commands.c (plug_in_run_cmd_callback)
	(plug_in_repeat_cmd_callback): also add the procedure to the
	history if it is called from the "Repeat" or "Re-Show" menus.

	* plug-ins/common/vpropagate.c: changed progress text.
2006-09-06 09:11:55 +00:00
Sven Neumann d00d79fd62 document the new menu registration syntax.
2006-09-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: document the new menu registration
syntax.
2006-09-05 23:27:25 +00:00
Sven Neumann 31b3de0788 plug-ins/pygimp/gimpui.defs wrap the new GimpHintBox widget.
2006-09-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.defs
	* plug-ins/pygimp/gimpui.override: wrap the new GimpHintBox
widget.

	* plug-ins/pygimp/gimpfu.py: use it to display the blurb.

	* plug-ins/pygimp/plug-ins/py-slice.py: added missing verb in
blurb.
2006-09-05 23:11:12 +00:00
Sven Neumann dea33cb255 libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h added simple
2006-09-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimphintbox.[ch]: added simple widget to
display
	a user hint. Having this as a widget will allow us to change the
	look, perhaps even using style properties.

	* libgimpwidgets/gimpwidgets.def: added the new symbols.

	* app/dialogs/keyboard-shortcuts-dialog.c
	* plug-ins/common/colormap-remap.c
	* plug-ins/common/redeye.c: use the new widget instead of
	duplicating the code.
2006-09-05 21:43:07 +00:00
Sven Neumann febf445c04 use the wilber icon / label combination for hints that is also used in
2006-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/redeye.c (dialog): use the wilber icon / label
	combination for hints that is also used in colormap-remap.
2006-09-05 20:38:29 +00:00
Sven Neumann 4bb2851f56 disabled debug spew.
2006-09-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpselectiondata.c: disabled debug spew.

	* plug-ins/common/raw.c: fixed saving of INDEXEDA drawables. Added
	code to load such files. Fixes bug #354034.
2006-09-05 09:26:28 +00:00
Michael Natterer 4233734b86 pop the context before rendering the gradient so we draw the gradient with
2006-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/gradient-example.scm: pop the context
	before rendering the gradient so we draw the gradient with the
	user's colors, not with the ones the script uses temporarily.
2006-09-01 21:27:42 +00:00
Sven Neumann 50a8cde19a fixed a typo.
2006-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/happy-valley-relief.py: fixed a typo.
2006-08-31 16:19:52 +00:00
Sven Neumann d5b605dc06 similar cleanup, removed unused parameters.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c: similar cleanup, removed unused
parameters.
2006-08-30 17:01:47 +00:00
Sven Neumann df52626cdb removed debugging output; minor cleanup.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: removed debugging output; minor
cleanup.
2006-08-30 16:53:44 +00:00
William Skaggs 177cef9d21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c: when saving an IA image, don't load
	the entire image into memory to search for an unused color.
	Fixes bug #308909.
2006-08-30 16:37:55 +00:00
Sven Neumann 33e189cc14 fixed off-by-one error and cleaned up the code a bit. Fixes bug #353227.
2006-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/emboss.c: fixed off-by-one error and cleaned
up
	the code a bit. Fixes bug #353227.
2006-08-30 08:28:16 +00:00
Sven Neumann 11f76bbd96 code cleanup and fix for bug #353381 (crash when Preview option is
2006-08-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (dither_grey): code cleanup and fix
	for bug #353381 (crash when Preview option is selected).
2006-08-29 13:32:22 +00:00
Raphael Quinet a4263ba43d Removed incorrect mention of Gauss IIR in blurb (the plug-in uses the RLE
2006-08-29  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/common/dog.c (query): Removed incorrect mention of
	Gauss IIR in blurb (the plug-in uses the RLE algorithm).
2006-08-29 13:09:19 +00:00
Sven Neumann fb410b52c7 avoid crashing on newer versions of the winicon file format (bug #352899).
2006-08-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c: avoid crashing on newer versions of
	the winicon file format (bug #352899).
2006-08-28 08:11:57 +00:00
Sven Neumann a1b1fb7530 plug-ins/winicon/icodialog.c fixed handling of indexed images (bug
2006-08-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icodialog.c
	* plug-ins/winicon/icosave.c: fixed handling of indexed images
	(bug #342883).
2006-08-24 15:07:04 +00:00
William Skaggs e32ef594e6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* configure.in
	* plug-ins/Makefile.am
	* plug-ins/common/png.c: revert changes accidentally
	committed in previous commit.
2006-08-22 17:40:04 +00:00
William Skaggs 0b51b73164 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgimpbase/gimpbaseenums.c: Don't label Lanczos
	as "best".  Addresses bug #343576.
2006-08-22 17:13:52 +00:00
Sven Neumann cec47fef1f check that the palette name actually refers to an existing palette and use
2006-08-18  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppaletteselectbutton.c
	(gimp_palette_select_button_set_palette): check that the palette
	name actually refers to an existing palette and use the active
	palette if name is NULL or empty (like the other select buttons).

	* plug-ins/pygimp/plug-ins/palette-offset.py: use an integer value
	for a PF_INT parameter.
2006-08-18 10:52:26 +00:00
Sven Neumann cbbc80c24e check if the menupath starts with <Image> instead of checking that it does
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: check if the menupath starts with
	<Image> instead of checking that it does not start with <Toolbox>.
	Makes the scripts in <Palettes> work to some extent.
2006-08-18 09:33:58 +00:00
Sven Neumann 7a7a407195 derive the menupath from the label before adding to _registered_plugins_.
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (register): derive the menupath from
	the label before adding to _registered_plugins_.

	* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
	it doubles the functionality of script-fu-clothify.

	* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
	* plug-ins/pygimp/plug-ins/foggify.py
	* plug-ins/pygimp/plug-ins/palette-sort.py
	* plug-ins/pygimp/plug-ins/palette-to-gradient.py: changed menu
	registration in some places that I missed earlier.
2006-08-18 09:03:02 +00:00
Sven Neumann 8b5b80a375 derive the menu from the label before adding to _registered_plugins_.
2006-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py (register): derive the menu from the
	label before adding to _registered_plugins_.

	* plug-ins/pygimp/Makefile.am: moved clothify.py to test-scripts,
	it doubles the functionality of script-fu-clothify.
2006-08-18 08:53:17 +00:00
Sven Neumann 247fc372d5 added a convenience function to create a layer from a GdkPixbuf.
2006-08-17  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixbuf.[ch]: added a convenience function to create
	a layer from a GdkPixbuf.

	* plug-ins/common/poppler.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/svg.c: use gimp_layer_new_from_pixbuf().

	* libgimp/gimpui.def: updated.
2006-08-17 16:52:25 +00:00
Sven Neumann 476ec672c8 plug-ins/common/poppler.c plug-ins/common/screenshot.c improved progress
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/svg.c: improved progress handling.
2006-08-17 15:41:04 +00:00
Sven Neumann f96049ae6e added an optional menu parameter to the register call to simplify menu
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: added an optional menu parameter to
	the register call to simplify menu registration. Also restored
	menupath specific mangling of the procedure arguments.

	* plug-ins/pygimp/plug-ins/*.py: use the menu parameter instead
	of defining a function to call on query.

	* plug-ins/pygimp/plug-ins/sphere.py: do it old-style here for
	testing.
2006-08-17 14:52:13 +00:00
Sven Neumann d1b2b655b8 when accessing members of tc_byte_array, cast them to guint8.
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod/sliba.c (aref1): when accessing
members
	of tc_byte_array, cast them to guint8.
2006-08-17 06:49:24 +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
Sven Neumann 7728c808e5 allow '-' in procedure and parameter names.
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpfu.py: allow '-' in procedure and
parameter
	names.

	* plug-ins/pygimp/plug-ins/*.py: use canonical procedure and
	parameter names.
2006-08-16 20:48:45 +00:00
Sven Neumann 8ecf3cdf49 use gimp_plugin_menu_register().
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/*.py: use
gimp_plugin_menu_register().
2006-08-16 20:16:05 +00:00
Sven Neumann b15bcfaa56 fixed overzealousness when cropping on a drawable border (bug #337888).
2006-08-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c (autocrop): fixed overzealousness
	when cropping on a drawable border (bug #337888).
2006-08-16 08:15:28 +00:00
Sven Neumann ed15385125 plug-ins/bmp/bmp.[ch] plug-ins/bmp/bmpread.c applied patch from Piotr
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.[ch]
	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c: applied patch from Piotr Filiciak that
	merges the save dialogs and completes the changes in bug #342355.
2006-08-15 17:35:00 +00:00
Sven Neumann 684aa29ccb coding style.
2006-08-15  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf-save.c (xcf_save_tile_rle): coding style.

	* plug-ins/winicon/icodialog.c: removed leftover debug output.
2006-08-15 15:59:09 +00:00
Sven Neumann d47fb429bb moved whirlpinch.py to the test_scripts category to prevent it from being
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am: moved whirlpinch.py to the
	test_scripts category to prevent it from being installed in stable
	releases (bug #46001).
2006-08-15 10:43:55 +00:00
Sven Neumann 307f75f42c has only one return value if called as recompose. Fixes the trigger for
2006-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: has only one return value if called
	as recompose. Fixes the trigger for bug #350226.
2006-08-15 06:26:27 +00:00
Sven Neumann 682bf81548 open the file in binary mode. Pointed out by Aurimas Juska; fixes bug
2006-08-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c: open the file in binary mode.
	Pointed out by Aurimas Juska; fixes bug #172503.
2006-08-14 17:53:35 +00:00
Sven Neumann a994fb3471 wrap gimp_window_set_transient() into a method of GimpDialog.
2006-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/gimpui.defs: wrap gimp_window_set_transient()
	into a method of GimpDialog.

	* plug-ins/pygimp/gimpfu.py: call dialog.set_transient().
2006-08-11 09:00:24 +00:00
Sven Neumann 0b74a671fc pack the main vbox expanding so that the progress bar sticks to the bottom
2006-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: pack the main vbox
	expanding so that the progress bar sticks to the bottom of the
	dialog.

	* plug-ins/pygimp/gimpfu.py: moved blurb label to the top, use
	italic style for it. Add a progress bar unconditionally and use a
	GimpProgressBar for it. Commented out the progress label until it
	is actually used.
2006-08-11 08:36:45 +00:00
Sven Neumann 2c4f513d52 fixed the check for an empty image.
2006-08-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c: fixed the check for an empty
image.
2006-08-10 17:50:09 +00:00
Sven Neumann f4b0133050 set a border width of 12 on the toplevel container.
2006-08-10  Sven Neumann  <sven@gimp.org>

        * plug-ins/metadata/interface.c (metadata_dialog): set a border
        width of 12 on the toplevel container.
2006-08-10 11:16:33 +00:00
Michael Natterer 0ec9784bbc the plug-in has one return value, not two (the trigger of the crasher in
2006-08-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/oilify.c (run): the plug-in has one return
	value, not two (the trigger of the crasher in bug #350555).
2006-08-10 08:58:25 +00:00
Sven Neumann 9f1b9a81a0 applied patch from Robert Ögren to fix a segfault on 64bit architectures
2006-08-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c (diff_prepare_row): applied patch from
	Robert Ögren to fix a segfault on 64bit architectures (bug
#327479).
2006-08-08 17:40:43 +00:00
Sven Neumann 442c66484f added missing call to gimp_window_set_transient(). Fixes bug #348249.
2006-08-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	added missing call to gimp_window_set_transient(). Fixes bug #348249.
2006-08-07 12:02:45 +00:00
Raphael Quinet 7c245e1654 Do not declare a symbol "link" because this conflicts with the system call
2006-08-05  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/imagemap/imap_ncsa.l: Do not declare a symbol "link"
	because this conflicts with the system call declared in
	<unistd.h>.  Renamed that symbol "imap_link".  Fixes bug #349589.

	* plug-ins/imagemap/imap_ncsa_lex.c: Updated by hand in order to
	avoid large changes introduced by more recent versions of flex.
2006-08-04 22:12:44 +00:00
Michael Natterer b1c35145a2 enable "activates-default" on the name entry. Fixes bug #349614. Removed
2006-08-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/pat.c: enable "activates-default" on the name
	entry. Fixes bug #349614. Removed the name entry's callback and
	simply get the string after running the dialog.
2006-08-02 12:32:10 +00:00
Michael Natterer 845cec013a enable "compose_by_drawable" for GIMP_RUN_WITH_LAST_VALS, since these
2006-07-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c (run): enable "compose_by_drawable"
	for GIMP_RUN_WITH_LAST_VALS, since these values are drawable IDs,
	not image IDs. Fixes bug #346859.
2006-07-30 22:40:10 +00:00
David Odin cd2d93f3c1 small cleanups.
* plug-ins/bmp/bmpwrite.c: small cleanups.
2006-07-28 22:18:32 +00:00
Simon Budig 386d400db6 ported to new vectors API, removed some of the cruft (there is plenty
2006-07-28  Simon Budig  <simon@gimp.org>

	* plug-ins/sel2path/sel2path.c: ported to new vectors API,
	removed some of the cruft (there is plenty here...).
2006-07-28 21:58:30 +00:00
William Skaggs c77781de89 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/grid.c: fix my fix.
2006-07-27 18:05:41 +00:00