Commit Graph

4784 Commits

Author SHA1 Message Date
Sven Neumann 9891ed83dd test scripts aren't localized, but should still follow the menu
2006-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/ts-helloworld.scm: test scripts
	aren't localized, but should still follow the menu guidelines.
2006-11-07 11:10:49 +00:00
Sven Neumann f544132ca5 only save a thumbnail if we are saving as XCF. Fixes bug #25272.
2006-11-05  Sven Neumann  <sven@gimp.org>

	* app/file/file-save.c (file_save): only save a thumbnail if we
	are saving as XCF.  Fixes bug #25272.

	* tools/pdbgen/pdb/fileops.pdb: create a libgimp wrapper for the
	"gimp-file-save-thumbnail" procedure.

	* libgimp/gimpfileops_pdb.[ch]: regenerated.

	* plug-ins/common/compressor.c (save_image): ask the core to
save
	a thumbnail for compressed XCF files.
2006-11-06 08:12:37 +00:00
Sven Neumann 24aebd07c4 applied patch from Saul Goode to fix confusion with flip direction (bug
2006-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tileit.c: applied patch from Saul Goode to fix
	confusion with flip direction (bug #365436).
2006-11-05 13:28:51 +00:00
Sven Neumann 099bb0a811 update the configuration dialog when then color configuration is changed.
2006-11-03  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: update the configuration dialog when
	then color configuration is changed.

	* plug-ins/common/lcms.c: be even more robust.
2006-11-03 22:26:39 +00:00
Sven Neumann c422b2b397 use gimp_any_to_utf8().
2006-11-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c: use gimp_any_to_utf8().
2006-11-03 14:46:40 +00:00
Sven Neumann 3788521a04 pass the number of bytes to gimp_parasite_new(), not the number of
2006-11-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: pass the number of bytes to
	gimp_parasite_new(), not the number of characters.
2006-11-03 11:08:24 +00:00
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