Commit graph

2132 commits

Author SHA1 Message Date
Seth Burgess 005f3b0713 fixed file_png_set_defaults; wrong # of return values, missing "set"
* plug-ins/common/png.c: fixed file_png_set_defaults; wrong # of
          return values, missing "set" if/else set, wrong set param count,
          and off by one error in the parameter indexes.  Thanks to Kevin
          on helping track these down.
2006-06-05 03:40:15 +00:00
Sven Neumann 3a7629733a always look at $plugins{$_}->{cflags}.
2006-06-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl: always look at $plugins{$_}->{cflags}.

	* plug-ins/common/plugin-defs.pl: use MMX_EXTRA_CFLAGS for the
	selective gaussian blur plug-in.

	* plug-ins/common/Makefile.am: regenerated.
2006-06-02 13:33:10 +00:00
Sven Neumann fd972c23dc need to test for GIMP_COMPOSITE_OPTION_NOEXTENSIONS.
2006-06-02  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.c (gimp_composite_use_cpu_accel):
	need to test for GIMP_COMPOSITE_OPTION_NOEXTENSIONS.

	* libgimp/gimp.c (gimp_config): call gimp_set_use_cpu_accel() from
	here, not in gimp_main().

	* plug-ins/common/sel_gauss.c: applied patch from Loren Merritt
	that adds MMX code to boost the plug-in speed (bug #342860).
2006-06-02 11:36:16 +00:00
Sven Neumann a3e967f4e8 applied patch from Loren Merritt that replaces the floating-point
2006-06-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sel_gauss.c: applied patch from Loren Merritt
	that replaces the floating-point implementation of selective
	gaussian blur with a fixed-point version (bug #342860).
2006-06-01 10:16:56 +00:00
Manish Singh c7ba1223c3 app/errors.c app/main.c app/file/gimprecentlist.c libgimp/gimp.c
2006-05-29  Manish Singh  <yosh@gimp.org>

        * app/errors.c
        * app/main.c
        * app/file/gimprecentlist.c
        * libgimp/gimp.c
        * libgimpbase/gimpsignal.c
        * modules/cdisplay_lcms.c
        * modules/cdisplay_proof.c
        * modules/controller_midi.c
        * plug-ins/common/gqbist.c
        * plug-ins/metadata/xmp-schemas.h: miscellaneous fixes for building
        with -ansi -pedantic. Mostly #define _FOO_SOURCE stuff. Thanks to
        Daniel Richard G. for the patch. Fixes bug #342390.
2006-05-30 01:55:42 +00:00
Michael Natterer 52d56985c1 applied patch from Martin Collins which adds PBM (bitmap) support. Fixes
2006-05-28  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/pnm.c: applied patch from Martin Collins which
	adds PBM (bitmap) support. Fixes bug #167578. Did some additional
	cleanups and sprinkled some gimp_progress_update(1.0).
2006-05-28 21:29:59 +00:00
William Skaggs db1a049927 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/dicom.c: applied patch from Dov Grobgeld
	with several fixes for dicom loading, fixes bug #163256.
2006-05-26 16:19:24 +00:00
Michael Natterer a188d09bbc moved "Load defaults" and "Save defaults" buttons to a separate line.
2006-05-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/png.c: moved "Load defaults" and "Save defaults"
	buttons to a separate line. Fixes bug #310291.
2006-05-24 20:24:02 +00:00
Sven Neumann c03e117e48 use a GtkFileChooserButton instead of a GimpFileEntry widget.
2006-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/raw.c (load_dialog): use a GtkFileChooserButton
	instead of a GimpFileEntry widget.

	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h: use GtkFileChooserButton
	for SF_FILENAME and SF_DIRNAME parameters.
2006-05-24 14:53:40 +00:00
William Skaggs 5e81a4a012 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/png.c: fix remapping of colors when
	saving IndexedA images; fixes bug #303864.
2006-05-22 17:13:30 +00:00
Manish Singh b9416956f8 Fixes to address -ansi -pedantic compilation (bug #342390). Thanks goes to
2006-05-20  Manish Singh  <yosh@gimp.org>

        Fixes to address -ansi -pedantic compilation (bug #342390).
        Thanks goes to Daniel Richard G. for noticing and suggesting
        fixes.

        * libgimpbase/gimpsignal.c: #include "config.h" and define
        __POSIX_SOURCE for sigaction stuff.

        * app/base/tile-swap.c (tile_swap_test): use more portable
        S_IRUSR and S_IWUSR, instead of S_IREAD and S_IWRITE.

        * plug-ins/common/ripple.c
        * plug-ins/imagemap/imap_main.c: use C89 comments.

        * plug-ins/Lighting/lighting_preview.h: don't define spin widget
        variables here...

        * plug-ins/Lighting/lighting_ui.[ch]: ... and instead take care
        of them here.
2006-05-20 07:18:25 +00:00
William Skaggs 5e78e9a2c5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/vpropagate.c: swap meanings of "dilate"
	and "erode"; fixes bug #156545.
2006-05-19 16:31:48 +00:00
William Skaggs 34e144e1eb Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/tga.c: gracefully handle incorrect alpha
	info in header; fixes bug #306675.
2006-05-19 16:10:07 +00:00
Sven Neumann a450ba46bb declared GimpPlugInInfo and GimpParamDef arrays as const.
2006-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/*/*.c: declared GimpPlugInInfo and GimpParamDef arrays
	as const.
2006-05-16 12:26:20 +00:00
Hans Breuer 429d71e5e2 updated dont include "config/gimpbaseconfig.c", it gives an redefinition
2006-05-13  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated
	* app/core/gimp-util.c : dont include "config/gimpbaseconfig.c", it
	gives an redefinition error with msvc. Instead include
	config/gimpbaseconfig.h and libgimpconfig/gimpconfig-path.h

	* plug-ins/common/psd_save.c : fix c99isms (declarations only at the
	start of a block)
2006-05-13 17:05:15 +00:00
Simon Budig 3a7341d6e6 fix typo...
2006-05-08  Simon Budig  <simon@gimp.org>

	* plug-ins/common/postscript.c: fix typo...
2006-05-08 14:08:31 +00:00
Simon Budig a108ac9967 improve the error message when spawning ghostscript does not work. See bug
2006-05-08  Simon Budig  <simon@gimp.org>

	* plug-ins/common/postscript.c: improve the error message when
	spawning ghostscript does not work. See bug #340996. Untabbified.
2006-05-08 12:23:32 +00:00
Manish Singh 70eeb8ce7c Revert back to unsigned chars for the buffer, and only cast to gchar if we
2006-05-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gifload.c (DoExtension): Revert back to unsigned
        chars for the buffer, and only cast to gchar if we know we're dealing
        with a comment. Fixes bug #339865.
2006-05-06 05:32:39 +00:00
Sven Neumann ce320fdf6b removed some unused code, untabified.
2006-05-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gifload.c: removed some unused code, untabified.
2006-05-03 15:26:48 +00:00
Sven Neumann afe5311a3e some cleanup, still a mess.
2006-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c: some cleanup, still a mess.
2006-04-27 11:33:51 +00:00
Sven Neumann dd15c31d73 minor cleanup for my last commit 2006-04-26 13:19:56 +00:00
Sven Neumann 97e6e61f58 use gimp_progress_set_text() instead of gimp_progress_init() to change the
2006-04-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: use gimp_progress_set_text() instead
	of gimp_progress_init() to change the progress text.
2006-04-26 13:13:38 +00:00
Sven Neumann bf5750d99f implement a thumbnail load procedure that loads only the first frame of a
2006-04-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gifload.c: implement a thumbnail load procedure
	that loads only the first frame of a GIF animation.
2006-04-24 10:47:10 +00:00
David Odin 7c79798b86 plug-ins/common/redeye.c: use a zoom preview instead of a drawable one. 2006-04-24 09:56:39 +00:00
Sven Neumann 9027a192c0 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl added Redeye
2006-04-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/redeye.c: added Redeye Removal plug-in, written
	by Robert Merkel and Andreas Røsdal. Fixes bug #91795.
2006-04-23 12:14:13 +00:00
Manish Singh e0d487251b use PNG_CFLAGS for the png plugin.
2006-04-23  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/plugin-defs.pl: use PNG_CFLAGS for the png plugin.

        * plug-ins/common/Makefile.am: regenerated.
2006-04-23 07:22:27 +00:00
Manish Singh f7d7c238f6 don't use long deprecated libpng API, and drop support for ancient libpng
2006-04-23  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: don't use long deprecated libpng API, and
        drop support for ancient libpng versions. Fixes bug #339402.

        * configure.in: use pkg-config to detect libpng. This means we now
        require at least libpng 1.2.2, but that's over four years old, so
        that shouldn't be that big a deal.
2006-04-23 07:19:41 +00:00
Simon Budig e7d2f8f220 only access existing toggle buttons. Fixes bug #339124
2006-04-20  Simon Budig  <simon@gimp.org>

	* plug-ins/common/convmatrix.c: only access existing toggle buttons.
	Fixes bug #339124

	* devel-docs/debug-plug-ins.txt: Added hint how to run a plugin
	in the gdb when GIMP_PLUGIN_DEBUG is active.
2006-04-20 12:15:16 +00:00
Sven Neumann 2ce080c9fc fixed bug in range calculation that caused display errors in the last row
2006-04-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: fixed bug in range calculation
	that caused display errors in the last row (bug #338378).
2006-04-19 12:11:00 +00:00
Sven Neumann 5659ef741d code cleanup by Clarence Risher (bug #338002).
2006-04-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c: code cleanup by Clarence Risher
	(bug #338002).
2006-04-13 11:16:13 +00:00
Sven Neumann a883043bac add layers in the expected order.
2006-04-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: add layers in the expected order.

	* plug-ins/common/decompose.c: fixed out-of-bounds access to layer
	array (bug #322310).
2006-04-06 08:49:32 +00:00
Michael Schumacher 971edd0c2c plug-ins/common/mkgen.pl introduced a new parameter 'extralibs' and
2006-04-06  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/mkgen.pl
	* plug-ins/common/plugin-defs.pl: introduced a new parameter
	'extralibs' and changed mkgen.pl to treat this equally to
	'optional' for non-optional plug-ins that needs different libs on
	different platforms
	* plug-ins/common/Makefile.am: regenerated
2006-04-06 01:31:39 +00:00
Michael Schumacher b40a1df299 don't exclude the screenshot plug-in on os_win32 change $(SCREENSHOT) into
2006-04-05  Michael Schumacher  <schumaml@cvs.gnome.org>

	* configure.in: don't exclude the screenshot plug-in on os_win32
	* plug-ins/common/Makefile.am: change $(SCREENSHOT) into screenshot
	to make the screenshot plug-in build and install on the Microsoft
	Windows platform.
2006-04-06 00:21:09 +00:00
Sven Neumann 519a51f226 pulse the progress when loading an animation because we cannot tell
2006-04-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gifload.c: pulse the progress when loading an
	animation because we cannot tell beforehand how many frames are to
	be loaded.
2006-04-05 11:31:06 +00:00
Sven Neumann 764cdb9d95 nicer progress update when saving GIF animations.
2006-04-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c (save_image): nicer progress update when
	saving GIF animations.
2006-04-04 14:03:00 +00:00
Michael Natterer 763bc2d14f update the progress text to show the frame number when loading multi-frame
2006-04-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gifload.c (ReadImage): update the progress text
	to show the frame number when loading multi-frame GIFs.
2006-04-04 12:51:13 +00:00
Sven Neumann 5e969a4a10 applied a patch from Guillermo S. Romero that adds basic support for
2006-03-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: applied a patch from Guillermo
	S. Romero that adds basic support for saving layer masks.
2006-03-31 05:55:33 +00:00
Tor Lillqvist a569559b4a Make it compile again, add missing parameter to gimp_install_procedure().
2006-03-29  Tor Lillqvist  <tml@novell.com>

	* plug-ins/common/winprint.c (query): Make it compile again, add
	missing parameter to gimp_install_procedure().
2006-03-29 09:45:42 +00:00
Sven Neumann 20ef3ba43c plug-ins/common/psd.c did a global gimage -> image substitution.
* plug-ins/common/psd.c
	* plug-ins/rcm/rcm_misc.c: did a global gimage -> image substitution.
2006-03-28 17:10:50 +00:00
Sven Neumann 86eab9bf5e plug-ins/common/mapcolor.c avoid using FG and BG.
2006-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mapcolor.c
	* plug-ins/common/warp.c: avoid using FG and BG.
2006-03-24 11:17:55 +00:00
Sven Neumann d65622407a renamed from "Rect Select" to "Rectangle Select" (bug #335715).
2006-03-24  Sven Neumann  <sven@gimp.org>

        * app/tools/gimprectselecttool.c: renamed from "Rect Select" to
        "Rectangle Select" (bug #335715).

        * app/core/gimpchannel-select.c (gimp_channel_select_rectangle):
        string change (bug #335715).

        * plug-ins/common/svg.c: follow the change to the file format
        label done in the shared-mime-info package (bug #335716).

        * configure.in: fixed the --without-libtiff case in the summary
        (bug #335764).
2006-03-24 08:15:01 +00:00
Sven Neumann d6b20db79c plug-ins/common/psd.c converted shorts to gint16 and longs to gint32 to
2006-03-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c: converted shorts to gint16 and longs
	to gint32 to fix 64bit problems as reported in bug #335130.
2006-03-23 11:21:39 +00:00
Sven Neumann e14cc3b4e3 removed version number from dialog title, improved progress update.
2006-03-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/randomize.c: removed version number from dialog
	title, improved progress update.
2006-03-23 10:38:57 +00:00
Sven Neumann be86c4f1fa ooops, I didn't mean to commit this (yet) 2006-03-17 15:43:15 +00:00
Sven Neumann 22a71aa883 applied a patch from Karine Delvare that fixes a performance problem in
2006-03-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lic.c: applied a patch from Karine Delvare that
	fixes a performance problem in the Van Gogh plug-in (bug #113615).
2006-03-17 15:41:25 +00:00
Sven Neumann 724dd6b8e7 removed some more periods that I missed earlier 2006-03-17 10:55:22 +00:00
Sven Neumann 0486d1c9df removed trailing period from procedure blurbs.
2006-03-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/*.c: removed trailing period from procedure blurbs.
2006-03-17 09:29:48 +00:00
William Skaggs a8a732c414 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/AlienMap2.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/autocrop.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/blinds.c
	* plug-ins/common/blur.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/cartoon.c
	* plug-ins/common/ccanalyze.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/decompose.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/destripe.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/displace.c
	* plug-ins/common/dog.c
	* plug-ins/common/edge.c
	* plug-ins/common/emboss.c
	* plug-ins/common/engrave.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/fp.c
	* plug-ins/common/fractaltrace.c
	* plug-ins/common/gauss.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/gnomeprint.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/grid.c
	* plug-ins/common/guillotine.c
	* plug-ins/common/hot.c
	* plug-ins/common/illusion.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/laplace.c
	* plug-ins/common/lic.c
	* plug-ins/common/mail.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/mblur.c
	* plug-ins/common/mosaic.c
	* plug-ins/common/neon.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/noisify.c
	* plug-ins/common/normalize.c
	* plug-ins/common/nova.c
	* plug-ins/common/oilify.c
	* plug-ins/common/papertile.c
	* plug-ins/common/photocopy.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plasma.c
	* plug-ins/common/plugin-browser.c
	* plug-ins/common/polar.c
	* plug-ins/common/procedure-browser.c
	* plug-ins/common/randomize.c
	* plug-ins/common/retinex.c
	* plug-ins/common/ripple.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/shift.c
	* plug-ins/common/sinus.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/tile.c
	* plug-ins/common/tileit.c
	* plug-ins/common/tiler.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/video.c
	* plug-ins/common/vinvert.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/waves.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/common/wind.c
	* plug-ins/common/winprint.c
	* plug-ins/common/zealouscrop.c: Give "helpful" blurbs to menu-
	accessible plugins, and mark them for translation.  Probably there
	is room for improvement in some of them.  Still needs to be done for
	plug-ins not in "common".
2006-03-15 21:10:34 +00:00
Sven Neumann 7b2b56b2fe use the procedure blurb as tooltip.
2006-03-10  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c (plug_in_actions_add_proc): use
	the procedure blurb as tooltip.

	* plug-ins/common/blur.c
	* plug-ins/common/gauss.c
	* plug-ins/common/mblur.c: rephrased some blurbs and marked them
	for translation.

	* app/pdb/procedural-db-query.c: formatting.
2006-03-10 10:08:35 +00:00
Sven Neumann 37848a53ec create empty layers of image size instead of skipping empty layers in PSD
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c: create empty layers of image size instead
	of skipping empty layers in PSD files (bug #317044).
2006-03-09 11:17:02 +00:00