Commit graph

1348 commits

Author SHA1 Message Date
Maurits Rijk ab566982ef Fix for #119963 (crash in Sphere designer plug-in) plus minor code cleanup. 2003-08-16 18:22:08 +00:00
Michael Natterer 6b85b99952 convert the stuff returned by strftime() to UTF-8 before displaying it.
2003-08-14  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/plugindetails.c (get_plugin_info): convert the
	stuff returned by strftime() to UTF-8 before displaying it. Fixes
	bug #119316.
2003-08-13 23:50:27 +00:00
Adam D. Moss 668ca1e4a3 revert one of Sven's -pedantic changes from July which caused GIF-loading
* plug-ins/common/gifload.c: revert one of Sven's -pedantic
	changes from July which caused GIF-loading bogosity.
2003-08-12 13:13:14 +00:00
Henrik Brix Andersen f36a63f68c removed function gimp_menu_path_strip_uline() ...
2003-08-09 Henrik Brix Andersen <brix@gimp.org>

* gimp/app/widgets/gimpwidgets-utils.[ch]: removed function
gimp_menu_path_strip_uline() ...

* gimp/libgimpbase/gimputils.[ch]: ... and added it here under the
name gimp_strip_uline()

* gimp/devel-docs/libgimpbase/libgimpbase-sections.txt: added
gimp_strip_uline to gimputils section

* gimp/app/plug-in/plug-in.c
* gimp/app/widgets/gimpitemfactory.c
* gimp/app/widgets/gimptoolbox.
* gimp/app/gui/plug-in-menus.c: changed accordingly

* gimp/plug-ins/script-fu/script-fu-scripts.c
(script_fu_interface): use gimp_strip_uline() to strip mnemonics
from script-fu menu paths

* gimp/app/gui/vectors-menu.c
* gimp/app/gui/templates-menu.c
* gimp/app/gui/qmask-menu.c
* gimp/app/gui/palettes-menu.c
* gimp/app/gui/palette-editor-menu.c
* gimp/app/gui/images-menu.c
* gimp/app/gui/gradients-menu.c
* gimp/app/gui/gradient-editor-menu.c
* gimp/app/gui/documents-menu.c
* gimp/app/gui/dialogs-menu.c
* gimp/app/gui/colormap-editor-menu.c
* gimp/app/gui/channels-menu.c
* gimp/app/gui/buffers-menu.c
* gimp/app/gui/brushes-menu.c
* gimp/app/gui/layers-menu.c
* gimp/plug-ins/pygimp/plug-ins/clothify.py
* gimp/plug-ins/pygimp/plug-ins/shadow_bevel.py
* gimp/plug-ins/pygimp/plug-ins/whirlpinch.py
* gimp/plug-ins/pygimp/plug-ins/foggify.py
* gimp/plug-ins/script-fu/scripts/*.scm
* gimp/plug-ins/script-fu/script-fu.c: added mnemonics fixing more
of bug #106991

* gimp/app/gui/error-console-menu.c (error_console_menu_update):
updated menu item names, added mnemonics

* gimp/plug-ins/common/animoptimize.c *
gimp/plug-ins/common/animationplay.c: don't prepend every menu
entry with "Animation"
2003-08-11 17:14:32 +00:00
Maurits Rijk d814209e56 Committing this for Maurits, since he seems to have forgotten to.
Committing this for Maurits, since he seems to have forgotten to.

2003-08-09  Maurits Rijk  <lpeek.mrijk@consunet.nl>

         * plug-ins/common/iwarp.c (iwarp): added undo group to fix #119438.
2003-08-10 12:09:46 +00:00
Dave Neary 74492a8852 Fixed bug #119440 with Raphael Quinet. The bug was caused by missing a
2003-08-09  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/iwarp.c: Fixed bug #119440 with Raphael Quinet.
	The bug was caused by missing a channel in the dest drawable when
	the original drawable didn't have an alpha channel.
2003-08-08 23:02:28 +00:00
David Neary 6baf9b6d18 Fix for #83970 2003-08-08 20:16:29 +00:00
Maurits Rijk 9d492e6e2a Fix for #119192 plus adding mnemonics and minor code cleanup. 2003-08-06 15:12:58 +00:00
Raphael Quinet f59c0c2770 increase the default quality setting from 0.75 to 0.85, as requested in
2003-08-05  Raphael Quinet  <quinet@gamers.org>

	* plug-ins/common/jpeg.c (DEFAULT_QUALITY): increase the default
	quality setting from 0.75 to 0.85, as requested in bug #61088 and
	in bug #63610.  This seems to be a more reasonable default for
	most users.  The correct way to solve this problem would be to
	implement the persistent preferences as described in bug #63610,
	but this quick fix should take care of the most annoying problem.
2003-08-05 07:43:25 +00:00
Henrik Brix Andersen 57477e471a plug-ins/common/align_layers.c app/gui/image-menu.c plug-ins/fp/fp.c
2003-08-05 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/align_layers.c
* app/gui/image-menu.c
* plug-ins/fp/fp.c
* plug-ins/common/compose.c
* plug-ins/common/ccanalyze.c: added even more mnemonics to fix more of
#106991. Many more to follow...
2003-08-04 22:24:41 +00:00
Henrik Brix Andersen 449f0eeedd plug-ins/common/align_layers.c app/gui/image-menu.c plug-ins/fp/fp.c
2003-08-05 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/common/align_layers.c
* app/gui/image-menu.c
* plug-ins/fp/fp.c
* plug-ins/common/compose.c
* plug-ins/common/ccanalyze.c: added even more mnemonics to fix more of
#106991. Many more to follow...
2003-08-04 22:05:58 +00:00
Henrik Brix Andersen 33e315dd70 plug-ins/pygimp/plug-ins/sphere.py plug-ins/pygimp/plug-ins/pdbbrowse.py
2003-08-04 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/pygimp/plug-ins/sphere.py
* plug-ins/pygimp/plug-ins/pdbbrowse.py
* plug-ins/pygimp/plug-ins/gimpcons.py
* plug-ins/maze/maze.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/gfig/gfig.c
* plug-ins/FractalExplorer/FractalExplorer.c
* plug-ins/flame/flame.c
* plug-ins/dbbrowser/dbbrowser.c
* plug-ins/common/CML_explorer.c
* app/gui/image-menu.c: added even more mnemonics to fix more of
bug #106991. Still more to follow...
2003-08-04 18:33:25 +00:00
Sven Neumann a7b6bb7654 Sprinkled the code with const qualifiers. Fixed transfer of pixel data
2003-09-11  Sven Neumann  <sven@gimp.org>

	* gimp-plugin/svg.c: Sprinkled the code with const qualifiers.
	Fixed transfer of pixel data from pixbuf to pixel region. The
	old code was wrong for pixbufs with rowstride != width * bpp.
2003-08-02 13:45:47 +00:00
Dom Lachowicz 3fb7004be4 fix building with gimp 1.3.17 2003-08-02 13:45:47 +00:00
Henrik Brix Andersen 2002b583c2 plug-ins/rcm/rcm.c plug-ins/print/print.c plug-ins/pagecurl/pagecurl.c
2003-08-01 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/rcm/rcm.c
* plug-ins/print/print.c
* plug-ins/pagecurl/pagecurl.c
* plug-ins/mosaic/mosaic.c
* plug-ins/MapObject/mapobject_main.c
* plug-ins/Lighting/lighting_main.c
* plug-ins/imagemap/imap_main.c
* plug-ins/gimpressionist/gimp.c
* plug-ins/gflare/gflare.c
* plug-ins/common/mapcolor.c
* app/gui/toolbox-menu.c: added more mnemonics to fix bug
#106991. More will follow soon...
2003-08-01 18:00:20 +00:00
Manish Singh e53a776325 plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl new plug-in,
2003-07-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/Makefile.am
        * plug-ins/common/plugin-defs.pl
        * plug-ins/common/ccanalyze.c: new plug-in, Colorcube Analysis
        (counts colors in an image, an often requested feature)
2003-07-31 01:12:00 +00:00
Dave Neary 0756a06d46 plug-ins/common/edge.c: Trivial clean-up.
2003-07-30  Dave Neary  <bolsh@gimp.org>

        plug-ins/common/edge.c: Trivial clean-up.
2003-07-30 06:42:05 +00:00
Dave Neary f716f07e2f Added several new edge detection algorithms. There are more complicated
2003-07-29  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/edge.c: Added several new edge detection
        algorithms. There are more complicated ways these could be
        done (using the rotations of the kernels in the plug-in) but
        this is a nice mix between speed and complexity. The
        algorithms, heavily modified, come from iccii's thin_line
        plug-in.
2003-07-29 20:55:37 +00:00
Adam D. Moss 5d0845bcf7 Trivial -- tabs-to-spaces.
* plug-ins/common/gif.c: Trivial -- tabs-to-spaces.
2003-07-29 10:30:55 +00:00
Dave Neary ebc79a6559 Include a patch by Cameron Gergory <cameron@bloke.com> which allows a
2003-07-29  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/gif.c: Include a patch by Cameron Gergory
        <cameron@bloke.com> which allows a compile-time choice of the
        comression algorithm to be used in the gif plug-in.

        * configure.in: Added --with-gif-compress flag to allow
        specification of compression algorithm via configure.
2003-07-29 06:52:41 +00:00
Tor Lillqvist f62a884ea1 Merge from stable: On Win32 (with no X11), don't include <X11/Xlib.h>. (Do
2003-07-27  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/common/xpm.c: Merge from stable: On Win32 (with no
	X11), don't include <X11/Xlib.h>. (Do include <X11/xpm.h>, though,
	as such a file is provided by the libXpm-noX package.)
	(parse_colors): If XPM_NO_X (Win32), use GDK to parse color names.
2003-07-27 09:46:38 +00:00
Maurits Rijk 198e74fb15 Fix for #118081 (right alignment of Help menu) and removed deprecated gtk widgets from polar plug-in. 2003-07-24 19:55:37 +00:00
Sven Neumann 56b05f9546 fixed confusion of GimpImageType and GimpImageBaseType enums that broke
2003-07-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: fixed confusion of GimpImageType and
	GimpImageBaseType enums that broke the plug-in for non-RGB images.
2003-07-20 20:46:05 +00:00
Jakub Steiner 517cd3651e added mnemonics for plugins
2003-07-17  Jakub Steiner <jimmac@ximian.com>

* plug-ins/common/*.c: added mnemonics for plugins
2003-07-17 15:47:18 +00:00
Sven Neumann b64dfbee05 use the new CMYK->RGB conversion routine to handle CMYK in PSD files.
2003-07-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c: use the new CMYK->RGB conversion routine to
	handle CMYK in PSD files.
2003-07-15 14:36:57 +00:00
Sven Neumann 28bbeb4d76 applied GIMP coding style. UTF8-validate the image description before
2003-07-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c: applied GIMP coding style. UTF8-validate
	the image description before accepting it as a comment. Check for
	ASCII-only comment before saving it as an image description.
2003-07-15 12:35:39 +00:00
Sven Neumann 6b99ae0405 applied a patch from S. Mukund that fixes a problem with newer versions of
2003-07-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c: applied a patch from S. Mukund that fixes
	a problem with newer versions of libmng (bug #115544).
2003-07-07 13:49:45 +00:00
Sven Neumann aa28c532ab refuse to write comments that contain non-ASCII characters.
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c (save_image): refuse to write comments that
	contain non-ASCII characters.
2003-07-03 17:45:12 +00:00
Sven Neumann c7f573cc55 added a toggle that allows to disable saving of the image comment.
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added a toggle that allows to disable
	saving of the image comment.
2003-07-03 15:13:29 +00:00
Sven Neumann 2a35ff7f1d plug-ins/common/blur.c plug-ins/common/gifload.c plug-ins/common/gih.c
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/pcx.c
	* plug-ins/common/png.c
	* plug-ins/common/ps.c
	* plug-ins/common/psd.c
	* plug-ins/common/psp.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/snoise.c
	* plug-ins/common/tga.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/fp/fp.h
	* plug-ins/fp/fp_gdk.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/paper.c
	* plug-ins/gimpressionist/ppmtool.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/ifscompose/ifscompose_utils.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/xjt/xjt.c: fixed some minor code issues found compiling
	with -pedantic.
2003-07-03 13:26:06 +00:00
Manish Singh 122c006564 fix spelling of "quality" in comment
2003-07-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c: fix spelling of "quality" in comment

        * tools/pdbgen/*.pl: update copyright strings to 2003

        * libgimp/gimpenums.h
        * libgimp/*_pdb.[ch]
        * app/pdb/*_cmds.[ch]
        * app/pdb/internal_procs.[ch]
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/script-fu/script-fu-constants.c: regenerated
2003-07-03 00:47:26 +00:00
Sven Neumann 532975823f g_utf8_validate the iTXt chunk, just to be sure 2003-07-03 00:37:41 +00:00
Sven Neumann 5f63d557f1 added support for reading and writing comments. Handles tTXt (ISO-8859-1)
2003-07-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added support for reading and writing
	comments. Handles tTXt (ISO-8859-1) and, if your libpng supports
	it, iTXt (UTF-8) chunks.
2003-07-03 00:30:33 +00:00
Sven Neumann 11c8c14333 last bunch of plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: last bunch of plug-ins adapted to libgimp changes.
2003-07-02 13:00:16 +00:00
Sven Neumann b338b7718f more plug-ins adapted to libgimp changes. Includes fix for #12582.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
	Includes fix for #12582.
2003-07-02 12:03:08 +00:00
Sven Neumann adbec9c49d more plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
2003-07-02 11:07:41 +00:00
Sven Neumann 1016c682c8 more plug-ins adapted to libgimp changes.
2003-07-02  Sven Neumann  <sven@gimp.org>

	* plug-ins: more plug-ins adapted to libgimp changes.
2003-07-02 00:15:09 +00:00
Sven Neumann 3018ec35ad first set of plug-ins adapted to the constified libgimp API.
2003-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common: first set of plug-ins adapted to the constified
	libgimp API.
2003-07-01 18:54:28 +00:00
Sven Neumann a6264ada31 fixed the non-alpha case (bug #116470).
2003-07-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ripple.c (average_four_pixels): fixed the
	non-alpha case (bug #116470).
2003-07-01 16:53:33 +00:00
Michael Natterer 92297ab605 removed all brush, font, gradient and pattern related code.
2003-07-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpmenu.[ch]: removed all brush, font, gradient
	and pattern related code.

	* libgimp/gimpbrushselect.[ch]
	* libgimp/gimpfontselect.[ch]
	* libgimp/gimpgradientselect.[ch]
	* libgimp/gimppatternselect.[ch]: new files containing the
	wrappers around their resp. _pdb.[ch] files. Changed function
	names to gimp_*_select_new(). Added gimp_*_select_destroy()
	functions so we're not forced to leak all wrappers. Cleanup.

	* libgimp/gimpbrushmenu.h
	* libgimp/gimpfontmenu.h
	* libgimp/gimpgradientmenu.h
	* libgimp/gimppatternmenu.h: new files. Changed function names
	here too.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppatternmenu.c: changed accordingly. Free the
	foo_select wrappers when they are no longer needed (generally,
	free everthing instead of leaking everything). Lots of cleanup.

	* libgimp/Makefile.am
	* libgimp/gimp.def
	* libgimp/gimpui.def: changed accordingly.

	* libgimp/gimp.h
	* libgimp/gimpui.h: include the new headers.

	* libgimp/gimpcompat.h: added the old function names here.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/film.c
	* plug-ins/gfig/gfig.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.

2003-07-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt: follow libgimp cleanup, moved the
	brush, font, gradient and pattern selection stuff to their own
	sections.

	* libgimp/tmpl/gimpfonts.sgml: removed.

	* libgimp/tmpl/gimpbrushmenu.sgml
	* libgimp/tmpl/gimpbrushselect.sgml
	* libgimp/tmpl/gimpfontmenu.sgml
	* libgimp/tmpl/gimpfontselect.sgml
	* libgimp/tmpl/gimpgradientmenu.sgml
	* libgimp/tmpl/gimpgradientselect.sgml
	* libgimp/tmpl/gimppatternmenu.sgml
	* libgimp/tmpl/gimppatternselect.sgml: new files.

	* libgimp/tmpl/gimpbrushes.sgml
	* libgimp/tmpl/gimpgradients.sgml
	* libgimp/tmpl/gimpmenu.sgml
	* libgimp/tmpl/gimppatterns.sgml: regenerated.
2003-07-01 15:06:06 +00:00
Dave Neary 46ca5a780b Save patterns with alpha channels, and remove warning while loading
2003-06-28  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/pat.c: Save patterns with alpha
        channels, and remove warning while loading patterns
        with an alpha channel.

        * app/core/gimppattern.c
        * app/core/gimpdrawable-bucket-fill.c
        * app/paint/gimpclone.c: Make cloning from a pattern
        source, and bucket filling with a pattern, work when
        there's an alpha channel present in the pattern.

        I'm not particularly happy with this, because the only
        way to tell whether there's an alpha channel or not is
        by the number of bytes in the TempBuf the clone and
        bucketfill routines get passed, which is rather
        restrictive. It would be nice if a TempBuf had a
        _has_alpha () method.
2003-06-28 12:36:52 +00:00
Sven Neumann bd9231c940 update the preview when the intersection color changes.
2003-06-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c (dialog): update the preview when the
	intersection color changes.
2003-06-23 23:18:32 +00:00
Sven Neumann 742d55466f simplified exif check by using PKG_CHECK_MODULES().
2003-06-23  Sven Neumann  <sven@gimp.org>

	* configure.in: simplified exif check by using PKG_CHECK_MODULES().

	* plug-ins/common/mkgen.pl: allow for multiple library dependencies.

	* plug-ins/common/plugin-defs.pl: added exif dependency to the
	jpeg plug-in.

	* plug-ins/common/Makefile.am: regenerated.
2003-06-23 08:26:25 +00:00
Dave Neary 1abfa8da27 configure.in plug-ins/common/Makefile.am Add support for the keeping of
2003-06-22  Dave Neary  <bolsh@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/jpeg.c: Add support for the keeping of EXIF
	information in jpeg files. This is step 1 in the overall plan to
	an all-singing, all-dancing metadata editor. Next step is to do
	the same thing for TIFFs, then to do both properly as a number of
	parasites rather than one big one, and then to allow a generic
	metadata editor, as well as (possibly) adding a nice way to
	manipulate exif data in the jpeg plug-in while saving.

	This is a modified patch of one posted to the devel list by Lutz
	Muller in February 2002, and subsequently added to bug #56443.
	Sorry it took so long Lutz.
2003-06-22 20:41:22 +00:00
Michael Natterer ecb0b58439 Changed the semantics of GIMP_EXTENSION and (to some extent) of
2003-06-19  Michael Natterer  <mitch@gimp.org>

	Changed the semantics of GIMP_EXTENSION and (to some extent)
	of GIMP_PLUGIN:

	The old meaning of EXTENSION was "I live in the toolbox" and
	PLUGIN meant "I take RUN-MODE,IMAGE,DRAWABLE args (but only if I
	am invoked interactively)". This is completely useless, since
	living in the toolbox means having "<Toolbox>" in the menu_path
	and taking RUN-MODE,IMAGE,DRAWABLE means just that, regardless of
	what type of procedure we are.

	The new meaning of GIMP_PLUGIN is just "I am an ordinary procedure,
	I am invoked, do my job and finish", while GIMP_EXTENSION means
	"I will install temporary procedures and I will keep running to
	keep them available".

	(A GIMP_EXTENSION *must* call gimp_extension_ack() now to tell the
	core that it's ready to run, or the core will block waiting for
	the message !!!).

	* configure.in: bumped version number to 1.3.16.

	* libgimpbase/gimpprotocol.h: increased protocol version number so
	old extensions will refuse to load.

	* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): don't
	blindly pass RUN-MODE,IMAGE,DRAWABLE to GIMP_PLUGIN procedures but
	look at their parameters and pass them either RUN-MODE, or
	RUN-MODE,IMAGE, or RUN-MODE,IMAGE,DRAWABLE.

	* app/pdb/procedural_db.c: cleaned up, better error reporting,
	replaced an impossible error message by g_return_if_fail()

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
	better error messages.

	* app/plug-in/plug-in-params.c: allocate parameter arrays using
	g_new0() so we don't have to worry about uninitialized stuff
	later.

	* app/plug-in/plug-in-run.c (plug_in_run): wait for
	gimp_extension_ack() installation confirmation for ALL extensions,
	not just for automatically started ones.

	* app/plug-in/plug-ins.c: cleanup.

	* libgimp/gimp.[ch]: cleaned up and API-documented massively. Made
	all magic values given in the GPConfig message static and added
	accessor functions for them. Added gimp_tile_width()/height().
	Added new function gimp_extension_enable() which turns on
	asynchronous processing of temp_proc run requests without having
	to enter an endless gimp_extension_process() loop. Moved all
	private functions to the end of the file. Added tons of
	g_return_if_fail() all over the place.  Call gimp_run_procedure2()
	from gimp_run_procedure() instead of duplicating the
	code. Indentation, spacing, stuff...

	* libgimp/gimptile.[ch]: removed gimp_tile_width()/height().

	* libgimp/gimpdrawable.c
	* libgimp/gimppixelrgn.c
	* libgimp/gimptile.c: use the gimp_tile_width()/height() accessor
	functions.

	* libgimp/gimp.def: added gimp_extension_enable.

	* libgimp/gimpmenu.c: removed evil code which connected to
	_readchannel manually and use gimp_extension_enable() for watching
	temp_procs.

	* plug-ins/helpbrowser/helpbrowser.c: removed the same evil code
	here and call gimp_extension_enable(). Call gimp_extension_ack()
	to let the core know that the temp_proc is installed.

	* plug-ins/script-fu/script-fu.c: made all procedures except the
	permanently running "extension_script_fu" ordinary GIMP_PLUGIN
	procedures.

	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugindetails.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/winclipboard.c
	* plug-ins/dbbrowser/dbbrowser.c
	* plug-ins/gfli/gfli.c
	* plug-ins/twain/twain.c
	* plug-ins/webbrowser/webbrowser.c
	* plug-ins/winsnap/winsnap.c: made them all ordinary GIMP_PLUGIN
	procedures and renamed them from "extension_*" to "plug_in_*".
	Random cleanups.

	* app/widgets/gimphelp.c
	* plug-ins/maze/maze_face.c: call "plug_in_web_browser" now.
2003-06-19 17:12:00 +00:00
Sven Neumann ba647d5e7b plug-ins/FractalExplorer/Dialogs.c plug-ins/common/film.c adapt to libgimp
2003-06-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/film.c
	* plug-ins/script-fu/script-fu-scripts.c: adapt to libgimp API
	changes.
2003-06-19 11:36:12 +00:00
Hans Breuer 9768e4beee replace the win9x specific cd .... with the portable cd ..\..\..
2003-06-19  Hans Breuer  <hans@breuer.org>

	* makefile.msc : replace the win9x specific cd ....
	with the portable cd ..\..\..

	* **/makefile.msc : updated

	* plug-ins/xjt/xjt.c plug-ins/common/psd_save.c :
	there is still no unistd.h with msvc build
2003-06-19 09:57:35 +00:00
Sven Neumann a06a38f56a Fixed some minor issues as described in bug #111188. 2003-06-16 17:51:03 +00:00
Adam D. Moss 65d4c19384 Attempt to use the palette colour closest to that of the GIMP's current
* plug-ins/common/gif.c: Attempt to use the palette colour
	closest to that of the GIMP's current brush background colour
	for the GIF file's background index hint for non-transparency-aware
	image viewers.  NOTE that this is merely a hint and may be
	ignored by this plugin for various (rare) reasons that
	would usually entail writing a somewhat larger image file.
2003-06-16 17:37:11 +00:00
Adam D. Moss dd29f3e0bb Avoid memory corruption when things get shot to hell in the image
* plug-ins/common/psd.c: Avoid memory corruption when things
	get shot to hell in the image unpacking phase.
2003-06-16 16:09:59 +00:00
Michael Natterer 5e950b5501 Cleaned up and improved the message system:
2003-06-13  Michael Natterer  <mitch@gimp.org>

	Cleaned up and improved the message system:

	* app/core/gimp.[ch]: added "const gchar *domain" to
	GimpMessageFunc (a NULL domain means the message is from the GIMP
	core, everything else is a plug-in).

	* app/errors.c: pass "domain == NULL" to gimp_message().

	* tools/pdbgen/pdb/message.pdb: derive the message domain from the
	current plug-in's menu_path (evil hack but works reasonably well).

	* app/pdb/message_cmds.c: regenerated.

	* app/widgets/gimpwidgets-utils.[ch] (gimp_message_box): added a
	header showing the message domain and changed the dialog layout to
	follow the HIG more closely.

	* app/gui/error-console-dialog.[ch]: removed.

	* app/widgets/gimperrorconsole.[ch]
	* app/gui/error-console-commands.[ch]
	* app/gui/error-console-menu.[ch]: new files containing a
	re-implementation of the error console dialog.

	* app/gui/Makefile.am
	* app/gui/dialogs-constructors.c
	* app/gui/gui.c
	* app/gui/menus.c
	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h: changed accordingly.

	* app/display/gimpprogress.c: added more spacing and removed the
	separator (more HIG compliant).

	* plug-ins/[most plug-ins].c: Changed lots of messages and
	progress strings:

	- Removed plug-in names from messages since that's automatically
	  covered by "domain" now.
	- Put all filenames in ''.
	- Changed "Loading" to "Opening".
	- Added "..." to all progress messages.
	- Cleaned up all file open/save error messages to look the
	  same and include g_strerror(errno).
	- Removed special casing for progress bars and *always* show them,
	  not only if run_mode != GIMP_RUN_NONINTERACTIVE (we can't expect
	  all plug-ins to do this correctly but need to hack the core to
	  sort out unwanted progress bars).

	Unrelated:

	- Cleaned up indentation, spacing, #includes, coding style and
	  other stuff while I was at all these files.
2003-06-13 14:37:00 +00:00
Dave Neary a224541d0d Applied a patch from Yohei Honda <yoh2@d2.dion.ne.jp> to handle 16 bit
2003-06-12  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/tga.c: Applied a patch from Yohei Honda
        <yoh2@d2.dion.ne.jp> to handle 16 bit TGAs which use the
        spare bit to do alpha. Closes bug #114913.
2003-06-12 19:54:23 +00:00
Sven Neumann 064a79ed76 improved handling of invalid PGM files by clamping all pixel values to the
2003-06-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c (pnm_load_raw): improved handling of
	invalid PGM files by clamping all pixel values to the specified
	maximum value (see Debian bug #195066).
2003-06-11 12:47:16 +00:00
Michael Natterer cee14a8d9a treeviewized and undeprecated. Enabled multiple selection and DND
2003-06-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/film.c: treeviewized and undeprecated. Enabled
	multiple selection and DND reordering.
2003-06-10 13:19:22 +00:00
Sven Neumann 4ff89cbdc5 use gtk_window_present() instead of reimplementing its functionality.
2003-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c (CML_save_to_file_callback): use
	gtk_window_present() instead of reimplementing its functionality.
2003-06-06 10:56:08 +00:00
Maurits Rijk f50e083734 Fix for #114496 and #83947. Minor code clean-up. 2003-06-06 10:39:27 +00:00
Sven Neumann 59c91cb346 use a font selection widget (bug #113884).
2003-06-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/film.c: use a font selection widget (bug #113884).
2003-06-04 17:54:16 +00:00
Michael Natterer 99e7fe032f moved the "Reset" button to the "Advanced" page since it only resets this
2003-06-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/film/film.c: moved the "Reset" button to the "Advanced"
	page since it only resets this page. Fixed widget packing and
	spacing. Added more stock icons and mnemonics. Cleanup.
2003-06-04 16:13:18 +00:00
Adam D. Moss cac290d093 When initializing the LZW state, watch out for a completely bogus
* plug-ins/common/gifload.c: When initializing the LZW state,
	watch out for a completely bogus input_code_size [based on fix
	by Raphael Quinet]  Also, fix a stupid old bug when clearing the
	code table between subimages.  (Enables us to deal better with errors
	when the stream is corrupted pretty early in a subimage.) [me]
2003-06-03 12:52:14 +00:00
Sven Neumann 5bcf2598f5 fixed swapped horizontal/vertical parameters (bug #114225). Always update
2003-06-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: fixed swapped horizontal/vertical
	parameters (bug #114225). Always update the preview as soon as a
	grid parameter is changed.
2003-06-02 12:27:13 +00:00
Tor Lillqvist fddb575993 Remove the message asking the user to send files with unhandled opcodes to
2003-05-30  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/common/wmf.c (load_image): Remove the message asking
	the user to send files with unhandled opcodes to me. I'm really
	not interested in getting them currently... (BTW, the wmf plug-in
	really should be rewritten to use libwmf.)
2003-05-30 22:06:47 +00:00
Maurits Rijk 3eba4f1e06 Fix for #113882 (Clean-up Film plug-in interface) 2003-05-30 19:43:54 +00:00
Sven Neumann b34e0ea139 removed the possibility to let the plug-in create a new image (see bug
2003-05-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lic.c: removed the possibility to let the
	plug-in create a new image (see bug #113615).
2003-05-30 12:56:13 +00:00
Maurits Rijk 1f33558c2f Fix for #113445. Minor code clean-up for Van-Gogh plug-in (lic). 2003-05-25 20:10:24 +00:00
Michael Natterer bbd2be1c28 removed a left over GTK_CHECK_VERSION(2,2,0).
2003-05-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/uniteditor.c (unit_editor_dialog): removed a
	left over GTK_CHECK_VERSION(2,2,0).
2003-05-25 11:26:20 +00:00
Manish Singh f6fb0ffff8 gimp_main now takes a GimpPlugInInfo *, and PLUG_IN_INFO is now a static
2003-05-23  Manish Singh  <yosh@gimp.org>

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

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

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

        * plug-ins/pygimp/gimpmodule.c: Here too. Also add a message
        function.
2003-05-23 23:34:13 +00:00
Michael Natterer 34fb1c2281 always flush the displays, not only when creating a new image.
2003-05-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/lic.c (compute_image): always flush the
	displays, not only when creating a new image.
2003-05-23 22:34:44 +00:00
Michael Natterer 6cd7b0466d actually connect the "Create New Image" toggle with its value. Fixes bug
2003-05-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/lic.c (create_main_dialog): actually connect
	the "Create New Image" toggle with its value. Fixes bug #113610.
	Cleaned up a bit.
2003-05-23 22:22:58 +00:00
Sven Neumann 5beeeeb978 plug-ins/helpbrowser/Makefile.am plug-ins/common/mkgen.pl changed link
2003-05-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/common/Makefile.am: changed link order as suggested in
	bug #111351.
2003-05-22 17:03:15 +00:00
Michael Natterer fc6ddb0540 removed redundant functions gimp_rgb_to_hsv_double() and
2003-05-20  Michael Natterer  <mitch@gimp.org>

	* libgimpcolor/gimpcolorspace.[ch]: removed redundant functions
	gimp_rgb_to_hsv_double() and gimp_hsv_to_rgb_double().

	* app/core/gimpdrawable-blend.c: use gimp_rgb_to_hsv() and
	gimp_hsv_to_rgb() instead.

	* plug-ins/fp/fp.[ch]
	* plug-ins/fp/fp_misc.c: ditto. Deuglyfied the changed functions'
	coding style a lot.
2003-05-20 18:29:13 +00:00
Sven Neumann 1de667f0b6 added new enum GimpRotationType.
2003-05-20  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: added new enum GimpRotationType.

	* app/core/Makefile.am
	* app/core/gimpimage-rotate.[ch]: new files.

	* app/core/gimpchannel.c
	* app/core/gimpdrawable-transform.[ch]
	* app/core/gimpdrawable.c
	* app/core/gimpitem.[ch]
	* app/core/gimplayer.c
	* app/vectors/gimpvectors.c: added GimpItem::rotate. Still work in
	progress.

	* plug-ins/common/rotate.c: don't install any menu entries. The
	plug-in is only kept around to provide plug_in_rotate for backward
	compatibility.

	* app/gui/drawable-commands.[ch]
	* app/gui/image-commands.[ch]
	* app/gui/image-menu.c: use the new rotate implementation and use
	stock icons for the menu entries. Fixes bug #57797.
2003-05-20 10:36:29 +00:00
Michael Natterer 470947f911 Some color API cleanup:
2003-05-20  Michael Natterer  <mitch@gimp.org>

	Some color API cleanup:

	* libgimpcolor/gimpcolortypes.h: added struct GimpHSL. All values
	are doubles in a [0.0..1.0] range.

	* libgimpcolor/gimpcolorspace.[ch]: changed the GimpRGB <-> HSL
	functions to use the new struct instead of separate hue, saturation
	and lightness doubles. Note that the hue range has changed from
	[0.0..360.0] to [0.0..1.0].

	* app/base/colorize.c (colorize_calculate)
	* plug-ins/common/AlienMap2.c (transform): changed accordingly.
2003-05-20 10:20:34 +00:00
Pedro Gimeno 1a8b0d3ba1 Translated Spanish comments to English and globally cleaned-up to ease
2003-05-18  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/psd-save.c: Translated Spanish comments to
	English and globally cleaned-up to ease further manipulation.
2003-05-18 18:00:56 +00:00
Pedro Gimeno e34d3621d7 This change was not committed because of a slip in the CVS command line:
2003-05-14  Pedro Gimeno  <pggimeno@wanadoo.es>

	This change was not committed because of a slip in the CVS
	command line:

	* plug-ins/common/blur.c (blur): Ported a change from STABLE
	branch that might fix bug #84731.
2003-05-17 00:44:56 +00:00
Dave Neary 2e7c602065 plug-ins/common/edge.c plug-ins/common/tiff.c plug-ins/common/mail.c
2003-05-16  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/edge.c
        * plug-ins/common/tiff.c
        * plug-ins/common/mail.c
        * plug-ins/webbrowser/webbrowser.c: Removed GPL
        conflicting parts of permission notices on these files,
        in line with what has been said in bug #83362.
2003-05-16 20:47:58 +00:00
Dave Neary d5d065e06f Changed licence for Graeme Gill's code in this filter. Fixes part of bug
2003-05-16  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/nlfilt.c: Changed licence for Graeme
        Gill's code in this filter. Fixes part of bug #83362.
2003-05-16 20:27:27 +00:00
Dave Neary d97d3b48d1 Attach default comment to image made by screenshot. Fixes bug #51164
2003-05-14  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/screenshot.c: Attach default comment to
        image made by screenshot. Fixes bug #51164
2003-05-14 18:57:39 +00:00
Dave Neary ff94661d92 plug-ins/common/csource.c plug-ins/common/jpeg.c If no comment is set on a
2003-05-12  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/csource.c
        * plug-ins/common/jpeg.c
        * plug-ins/common/tiff.c: If no comment is set on a
        GimpImage when it arrives to be saved, don't attach one.
        Fixes bug #98490 - and removes code which does what is
        suggested in bug #98485 as correct behaviour.
2003-05-13 19:48:18 +00:00
Adam D. Moss 0f9124272d plug-ins/common/gif.c bolsh got permission from David Koblas to relicense
* plug-ins/common/gif.c
	* plug-ins/common/gifload.c: bolsh got permission from David Koblas
        to relicense the prehistoric code that begat the original GIMP GIF
	plugin, so Koblas' mildly-GPL-unfriendly license boilerplate can
	finally rest in peace.
2003-05-13 14:59:03 +00:00
Pedro Gimeno 4ed6d147b9 Pass the buffer size to all functions using the buffer. (DRAW_POINT,
2003-05-09  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/jigsaw.c: Pass the buffer size to all functions
	using the buffer.
	(DRAW_POINT, DARKEN_POINT, LIGHTEN_POINT): Use buffer size to
	avoid buffer overflows. Fixes bug #100122.
2003-05-09 19:24:39 +00:00
Pedro Gimeno a115c7b5ab Save brush pointer before first stroke and restore it after. Fixes bug
2003-05-02  Pedro Gimeno  <pggimeno@wanadoo.es>

	* app/paint/gimppaintcore-stroke.c (gimp_paint_core_stroke,
	gimp_paint_core_stroke_vectors): Save brush pointer before first
	stroke and restore it after. Fixes bug #102162.

	* plug-ins/common/flarefx.c (FlareFX): Use
	gimp_fixme_preview_do_row instead of memcpy. Fixes bug #112042 for
	this plug-in.

	* plug-ins/common/jigsaw.c: Several cleanups.
	(jigsaw_values_changed): New function as a result of the cleanups.
	(jigsaw): Use gimp_fixme_preview_do_row instead of memcpy.
	Together with the fix to flarefx, fixes bug #112042.
	(draw_jigsaw): Warn if passed a NULL buffer (solves the crash
	reported in bug #112012).

	* plug-ins/gimpressionist/orientation.c: Slightly reformatted.
	(create_orientationpage): Modify orientfirst/orientlast instead of
	sizefirst/sizelast in the corresponding adjustments. Fixes bug
	#112061.
2003-05-02 12:10:40 +00:00
Michael Natterer 255714bab4 default to not showing the in-display JPEG preview and warn the user that
2003-04-28  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/jpeg.c: default to not showing the in-display
	JPEG preview and warn the user that enabling it will modify
	the image's undo history. Fixes bug #109464.
2003-04-28 16:50:29 +00:00
Sven Neumann ad3acb47bb register the plug-in for https as well. Most wget installations seem to
2003-04-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/url.c (query): register the plug-in for https
	as well. Most wget installations seem to handle this nowadays.
2003-04-23 13:38:28 +00:00
Sven Neumann 2e2f9fcfd5 applied patch from Pedro Gimeno that fixes bug #51883.
2003-04-17  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-contiguous-region.c
	(find_contiguous_region_helper): applied patch from Pedro Gimeno
	that fixes bug #51883.

	* plug-ins/common/bumpmap.c (bumpmap): applied patch from Pedro
	Gimeno that fixes bug #52543.
2003-04-17 12:06:03 +00:00
Dave Neary 2d5fe3bf0c Fixed a bug caused by myself previously. png saving should now work
2003-04-12  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/png.c (save_image):
        Fixed a bug caused by myself previously. png saving
        should now work reasonably correctly with alpha on indexed
        images.
2003-04-12 15:00:20 +00:00
Sven Neumann 0960165333 applied a patch from S. Mukund. that makes the MNG plug-in use
2003-04-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mng.c: applied a patch from S. Mukund. that
	makes the MNG plug-in use gimp_temp_name() for the temporary files
	it creates.
2003-04-02 16:57:32 +00:00
Michael Natterer ff2757dff8 free the original cmap pointer, not the one we used for iteration (fixes
2003-03-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xpm.c (save_image): free the original cmap
	pointer, not the one we used for iteration (fixes bug #109567).
2003-03-31 09:34:02 +00:00
Sven Neumann d9dfddc204 configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2003-03-30  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/mng.c: added MNG save plug-in written by
	S. Mukund <muks@mukund.org>.
2003-03-30 22:06:46 +00:00
Manish Singh 93d0409ed5 fixed status return to succeed sometimes. Honor max_p in non-interactive
2003-03-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/max_rgb.c: fixed status return to succeed sometimes.
        Honor max_p in non-interactive mode too.
2003-03-26 17:53:12 +00:00
Sven Neumann 28fddfd554 Makefile.am removed this header file.
2003-03-25  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* gimpintl.h: removed this header file.

	* gimpmiscui.c: include libgimp-intl.h.

	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
	textdomain so that plug-ins don't need to do that explicitely.

	* libgimp/stdplugins-intl.h: added the functionality that used to
	live in gimpintl.h and removed the libgimp related stuff. Got rid
	of the INIT_I18N_UI() macro.

	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
	Plug-ins simply call INIT_I18N() once in their run() function.

	* plug-ins/script-fu/script-fu-intl.h: added the functionality
	that used to live in gimpintl.h and removed the libgimp related
	stuff.

	* app/Makefile.am
	* app/gimp-intl.h: new file that defines the gettext macros for
	the GIMP core.

	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.

	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
2003-03-25 16:38:19 +00:00
Dom Lachowicz 3d8cc9a2a1 improvements on the gimp plugin - allow for non-interactive use, image resolution dialog, and some other goodies 2003-03-24 16:09:12 +00:00
Sven Neumann 706de31960 added some stock icons to the dialog.
2003-03-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c: added some stock icons to the dialog.
2003-03-24 15:33:48 +00:00
Manish Singh 200e6596c9 always quote the filename, since system/popen uses the shell. Also, never
2003-03-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/ps.c: always quote the filename, since system/popen
        uses the shell. Also, never quote the filename if we are reading from
        a parameter file (only in the win32 case). Fixes #108648.

        * plug-ins/dbbrowser/dbbrowser_utils.c: double click on a list item
        files Apply, if applicable. Remove the existing model in the treeview
        (which will deallocate it) instead of clearing it.
2003-03-22 01:12:48 +00:00
Sven Neumann f116783b06 plug-ins/mosaic/mosaic_logo.h converted the logo to pixbuf inline data and
2003-03-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/mosaic/mosaic_logo.h
	* plug-ins/mosaic/mosaic.c: converted the logo to pixbuf inline data
	and replaced the GtkPreview with a GtkImage.

	* plug-ins/print/gimp_main_window.c: replaced some deprecated calls.
2003-03-21 18:20:56 +00:00
Dom Lachowicz 952e142965 minro todo update 2003-03-20 17:01:38 +00:00
Maurits Rijk c73726195e Minor code clean-up. Started implementation of #92635 and #91396. 2003-03-18 20:35:32 +00:00
Dom Lachowicz 269f5c2136 bump version to 2.2.5 2003-03-18 16:21:30 +00:00
Michael Natterer 94590602b0 Added an API for image colormap manupulation and made colormap changes
2003-03-18  Michael Natterer  <mitch@gimp.org>

	Added an API for image colormap manupulation and made colormap
	changes undoable (fixes bug #25963).

	* app/core/Makefile.am
	* app/core/gimpimage-colormap.[ch]: new files implementing
	colormap getters/setters. The setters push undos using the
	new function below.

	* app/core/core-enums.[ch]: added GIMP_UNDO_IMAGE_COLORMAP.

	* app/core/gimpimage-undo-push.[ch]: added
	gimp_image_undo_push_image_colormap(). Use GimpItemUndo even more
	often. Cleanup.

	* app/core/gimpimage.[ch]: removed gimp_image_get_colormap() here.

	* app/core/gimpimage-convert.c
	* app/gui/colormap-editor-commands.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimptoolbox.c
	* tools/pdbgen/pdb/image.pdb: use the new API.

	* app/pdb/image_cmds.c: regenerated.

	* plug-ins/common/vinvert.c: removed the comment about the bug,
	cosmetic cleanup.

	Unrelated:

	* app/gui/splash.c: added a frame around the splash. Please eek
	if it doesn't please you.
2003-03-18 13:49:02 +00:00
Dom Lachowicz cf8e7202f5 cleanup - don't need gtk+ 2003-03-18 05:27:42 +00:00
Dom Lachowicz 7d0bfe191c rsvg can now be used as a gimp plugin 2003-03-18 00:26:49 +00:00
Sven Neumann 21113a2fc7 Applied patches from David Necas <yeti@physics.muni.cz> that fix incorrect
2003-03-17  Sven Neumann  <sven@gimp.org>

	Applied patches from David Necas <yeti@physics.muni.cz> that fix
	incorrect RGBA resampling in a number of plug-ins:

	* plug-ins/common/fractaltrace.c: fixes bug #72873.
	* plug-ins/common/tiler.c: fixes bug #72875.
	* plug-ins/common/waves.c: fixes bug #72870.
	* plug-ins/common/whirlpinch.c: fixes bug #72871.
2003-03-17 11:19:41 +00:00
Sven Neumann 3c30a90bdb added gimp_channel_new_from_component() which creates a new GimpChannel
2003-03-12  Sven Neumann  <sven@gimp.org>

	* app/core/gimpchannel.[ch]: added gimp_channel_new_from_component()
	which creates a new GimpChannel from an image's color component.

	* app/gui/channels-commands.[ch]: added
	channels_duplicate_component_cmd_callback().

	* app/paint-funcs/paint-funcs-generic.h
	* app/paint-funcs/paint-funcs.[ch]: added code to extract a color
	component from a PixelRegion (untested!).

	* plug-ins/common/checkerboard.c: cosmetics.
2003-03-11 23:54:49 +00:00
Sven Neumann c21f8924b1 don't add a transparent color entry for images that don't have an alpha
2003-03-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c: don't add a transparent color entry for
	images that don't have an alpha channel (fixes bug #108034).
2003-03-10 21:07:05 +00:00
Sven Neumann e70bd5d270 plug-ins/common/deinterlace.c added parentheses where gcc suggested them.
2003-03-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/deinterlace.c
	* plug-ins/common/pixelize.c: added parentheses where gcc
	suggested them.
2003-03-07 20:38:23 +00:00
Manish Singh d395daa7b2 require GTK+ 2.2. The 2.0.x series is no longer maintained, and there are
2003-03-05  Manish Singh  <yosh@gimp.org>

        * configure.in: require GTK+ 2.2. The 2.0.x series is no longer
        maintained, and there are some very real bugs that won't go away.

        * app/gui/about-dialog.c
        * app/widgets/gimppreviewrenderer.c
        * app/widgets/gimptoolbox-color-area.c
        * plug-ins/common/uniteditor.c: remove special casing for GTK+ 2.0
        vs. 2.2

        * app/widgets/gtkwrapbox.[ch]
        * app/widgets/gtkhwrapbox.[ch]
        * app/widgets/gtkvwrapbox.[ch]: remove deprecated functions

        * app/gui/gui.c: free return value of gdk_get_display ()

        * app/widgets/gimpcontainertreeview.c: use gtk_list_store_move_before ()        for reordering.
2003-03-05 22:31:13 +00:00
Sven Neumann 2935a320f7 plug-ins/common/compose.c plug-ins/common/decompose.c plug-ins/fp/fp.c
2003-03-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/fp/fp.c
	* plug-ins/rcm/rcm.c: moved these plug-ins to the Filters menu
	(fixes bug #107587).

	* app/gui/image-menu.c (image_menu_entries): removed a menu
	separator which is not needed any longer.
2003-03-04 23:21:09 +00:00
Sven Neumann eab662ff5d fixed a typo in the kernel for sobel vertical edge detection spotted by
2003-03-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c (edge): fixed a typo in the kernel for
	sobel vertical edge detection spotted by Sunil Mohan Adapa (bug
	#107441).
2003-03-03 13:22:09 +00:00
Manish Singh 5bc3a7a31d app/tools/gimpbucketfilltool.c app/tools/gimpconvolvetool.c
2003-02-27  Manish Singh  <yosh@gimp.org>

        * app/tools/gimpbucketfilltool.c
        * app/tools/gimpconvolvetool.c
        * app/tools/gimpcroptool.c
        * app/tools/gimpdodgeburntool.c
        * app/tools/gimperasertool.c
        * app/tools/gimpfliptool.c
        * app/tools/gimpfuzzyselecttool.c
        * app/tools/gimpinkoptions.c
        * app/tools/gimpmagnifytool.c
        * app/tools/gimpmovetool.c
        * app/tools/gimprectselecttool.c
        * app/tools/gimpselectiontool.c
        * app/tools/gimptexttool.c
        * app/tools/gimptransformtool.c
        * app/widgets/gimpcellrendererviewable.c
        * app/widgets/gimpcontainertreeview.c: remove unecessary G_OBJECT()
        from g_object_set calls.

        * plug-ins/common/bumpmap.c: use g_signal_handlers_(un)block_by_func
        instead of gtk_signal_handler_(un)block_by_data.
2003-02-28 01:14:30 +00:00
Sven Neumann a7aae31211 replaced the GtkList with a GtkTreeView/Model, replaced all deprecated
2003-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: replaced the GtkList with a
	GtkTreeView/Model, replaced all deprecated GTK+ calls.

	* plug-ins/common/uniteditor.c: cosmetics.
2003-02-25 14:48:24 +00:00
Sven Neumann 6af1f58b96 code cosmetics.
2003-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: code cosmetics.
2003-02-24 23:44:18 +00:00
Sven Neumann eb437b38d1 added parentheses to please the compiler and to make the code more
2003-02-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mblur.c: added parentheses to please the
	compiler and to make the code more legible.
2003-02-24 13:31:15 +00:00
Sven Neumann a5cafbd29a fixed issues with preview drawing caused by my latest change 2003-02-24 09:41:32 +00:00
Sven Neumann 28b316ec03 some code cleanup, fixed preview drawing, use GimpColorButtons and stock
2003-02-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: some code cleanup, fixed
	preview drawing, use GimpColorButtons and stock icons.
2003-02-23 23:10:36 +00:00
Dave Neary eef63583f7 Fixed bug #105360. Previously, alpha was taking up an index entry even if
2003-02-22  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/png.c: Fixed bug #105360. Previously,
        alpha was taking up an index entry even if there were
        no transparent entries. Sorry about that :)
2003-02-22 14:20:53 +00:00
Sven Neumann daf8bc5226 fixed typo.
2003-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/uniteditor.c: fixed typo.

	* plug-ins/helpbrowser/helpbrowser.c: generate HTML with proper
	encoding information, fixes bug #106543.
2003-02-19 18:51:17 +00:00
Sven Neumann 06c918de57 changed MIN to MAX as suggested by Sunil Mohan Adapa in bug #106474.
2003-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/laplace.c: changed MIN to MAX as suggested by
	Sunil Mohan Adapa in bug #106474.
2003-02-19 12:20:41 +00:00
Sven Neumann ee835025dc Applied patches from David Necas <yeti@physics.muni.cz> that fix incorrect
2003-02-18  Sven Neumann  <sven@gimp.org>

	Applied patches from David Necas <yeti@physics.muni.cz> that fix
	incorrect RGBA resampling in a number of plug-ins:

	* libgimpcolor/gimpbilinear.c (gimp_bilinear_rgba): fixes RGBA
	resampling in Map Object and Lighting Effects plug-ins (#72876 and
	#105496).

	* plug-ins/common/curve_bend.c: fixes bug #72863.
	* plug-ins/common/deinterlace.c: fixes bug #72856.
	* plug-ins/common/gauss_iir.c: fixes bug #72848.
	* plug-ins/common/gauss_rle.c: fixes bug #72849.
	* plug-ins/common/iwarp.c: fixes bug #72865 (except preview, see
	comment).
	* plug-ins/common/mblur.c: fixes bug #72850.
	* plug-ins/common/pixelize.c: fixes bug #72851.
	* plug-ins/common/polar.c: fixes bug #72866.
	* plug-ins/common/ripple.c: fixes bug #72868.
2003-02-18 17:54:02 +00:00
Sven Neumann c5477b1876 argh, the "cell-background-gdk" property was introduced in GTK+-2.2. Added
2003-02-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/uniteditor.c: argh, the "cell-background-gdk"
	property was introduced in GTK+-2.2. Added a run-time version check.
2003-02-11 12:13:04 +00:00
Sven Neumann 3768c9b3bf more code cleanup.
2003-02-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/uniteditor.c: more code cleanup.
2003-02-11 11:49:33 +00:00
Manish Singh 6afe30b923 remove a couple unused vars
2003-02-10  Manish Singh  <yosh@gimp.org>

        * app/plug-in/plug-in-debug.c: remove a couple unused vars

        * plug-ins/common/spheredesigner.c: G_OBJECT casts not needed
        for g_signal_connect.
2003-02-11 01:49:36 +00:00
Sven Neumann 039d9d7124 use the "cell-background-gdk" property to mark system units which can't be
2003-02-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/uniteditor.c: use the "cell-background-gdk"
	property to mark system units which can't be changed.
2003-02-10 22:39:01 +00:00
Sven Neumann 97ae2b8c03 applied a patch from David Necas <yeti@physics.muni.cz> that fixes bug
2003-02-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/vpropagate.c: applied a patch from David Necas
	<yeti@physics.muni.cz> that fixes bug #105741.

	* plug-ins/common/uniteditor.c: cosmetics.
2003-02-10 21:53:58 +00:00
Sven Neumann 7b9f7e3f2c plug-ins/common/gifload.c (DoExtension) UTF-8 validate the comment before
2003-02-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gifload.c (DoExtension)
	* plug-ins/common/jpeg.c (load_image): UTF-8 validate the comment
	before setting it as a parasite.
2003-02-10 18:28:25 +00:00
Michael Natterer 933e52adbd changed GimpOrientationType from GIMP_HORIZONTAL to
2003-02-09  Michael Natterer  <mitch@convergence.de>

	* app/core/core-enums.[ch]: changed GimpOrientationType from
	GIMP_HORIZONTAL to GIMP_ORIENTATION_HORIZONTAL etc.

	* tools/pdbgen/pdb/guides.pdb: changed accordingly. Don't subtract
	1 from guide->orientation because InternalOrientationType no
	longer exists.

	* tools/pdbgen/stddefs.pl: chop the whole GIMP_ORIENTATION_UNKNOWN
	value from the enum, not just UNKNOWN.

	* app/pdb/guides_cmds.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimpenums.h
	* libgimp/gimpguides_pdb.c
	* plug-ins/script-fu/script-fu-constants.c
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated.

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

	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/xjt/xjt.c
	* plug-ins/xjt/xpdb_calls.c
	* plug-ins/common/gih.c
	* plug-ins/common/guillotine.c
	* plug-ins/common/rotate.c: changed accordingly.
2003-02-09 21:03:36 +00:00
Manish Singh 84c1f981ea app/paint-funcs/paint-funcs.c plug-ins/common/psd_save.c 64-bit cleaniless
2002-02-08  Manish Singh  <yosh@gimp.org>

        * app/paint-funcs/paint-funcs.c
        * plug-ins/common/psd_save.c
        * plug-ins/common/sample_colorize.c: 64-bit cleaniless cleanups.
2003-02-08 00:37:27 +00:00
Sven Neumann b3e42143de applied a patch from David Necas <yeti@physics.muni.cz> that fixes bug
2003-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/randomize.c: applied a patch from David Necas
	<yeti@physics.muni.cz> that fixes bug #105339.
2003-02-05 22:29:40 +00:00
Manish Singh 83f2738a3b if the quality level is close to zero in non-interactive mode, use default
2003-02-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c (run): if the quality level is close to zero
        in non-interactive mode, use default settings. This is hack until
        the PDB gets default arguments, so gimp-file-save works sanely with
        jpeg.
2003-02-05 19:54:20 +00:00
Maurits Rijk 05bd8fc9d2 Fix for #105062 + minor code clean-up 2003-02-04 11:59:35 +00:00
Sven Neumann 6d4e953412 Some code cleanup while trying to fix bug #105062:
2003-02-03  Sven Neumann  <neo@wintermute>

	Some code cleanup while trying to fix bug #105062:

	* libgimp/gimpmisc.[ch]: moved the declaration of the
	GimpPixelFetcher struct to the .c file since noone should ever
	access it directly.

	* libgimp/gimpmiscui.c: cosmetics.

	* plug-ins/common/plasma.c: code cleanup, doesn't fix #105062.
2003-02-02 23:28:08 +00:00
Maurits Rijk 49e8789d59 More code clean-up in several plug-ins, mainly simplifying preview stuff. 2003-02-01 22:26:34 +00:00
Manish Singh 90b2de503d app/undo_history.c libgimp/gimpmenu.c plug-ins/Lighting/lighting_preview.c
2003-01-30  Manish Singh  <yosh@gimp.org>

        * app/undo_history.c
        * libgimp/gimpmenu.c
        * plug-ins/Lighting/lighting_preview.c
        * plug-ins/common/animationplay.c
        * plug-ins/common/jpeg.c
        * plug-ins/common/screenshot.c
        * plug-ins/gap/gap_navigator_dialog.c
        * plug-ins/gflare/gflare.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/imagemap/imap_main.c
        * plug-ins/imagemap/imap_polygon.c: changed gtk_{timeout,idle} stuff
        to their glib equivalents. Minor cleanups also with support code.

        * plug-ins/dbbrowser/dbbrowser_utils.c (gimp_db_browser): use
        gtk_entry_set_activates_default()
2003-01-31 03:08:29 +00:00
Seth Burgess e717e0731c Fixed off by 1 error that was emitting Critical warnings. 2003-01-31 02:15:52 +00:00
Maurits Rijk 801c6d61b1 Mostly minor code clean-up. Fixed one memory leak. 2003-01-30 21:58:11 +00:00
Manish Singh 67e8b3b4a5 don't divide by zero if we get all zero resolution info when we load the
2003-01-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c (load_image): don't divide by zero if
        we get all zero resolution info when we load the jpeg.
2003-01-30 01:13:41 +00:00
Tor Lillqvist bde4579f6a Add missing entry points.
2003-01-28  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimpui.def: Add missing entry points.

	* plug-ins/common/plugin-defs.pl: Mark bz2, mail, screenshot and
	url as optional (not built on Win32). Ditto for winclipboard and
	winprint (Win32 only).

	* plug-ins/common/mkgen.pl: Use -mwindows on Win32.

	* plug-ins/common/Makefile.am
	* plug-ins/common/.cvsignore: Regenerated.

	* configure.in: Correspondingly conditionally define BZ2, MAIL,
	SCREENSHOT, URL, WINCLIPBOARD and WINPRINT, and AC_SUBST them.
	Set XJT to empty always on Win32 (uses tar, mv and bzip2, which
	aren't usually available).
2003-01-28 06:51:56 +00:00
Maurits Rijk 9984145f49 New routine in gimpmiscui and some code clean-up 2003-01-27 22:07:49 +00:00
Sven Neumann caf6d3d532 configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2003-01-27  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/mpeg.c: removed the MPEG plug-in. It has been
	broken, unmaintained and caused nothing but trouble (#51400,
	#104522).
2003-01-27 12:49:46 +00:00
Sven Neumann 46ee0ec13b added a tooltip describing the compression level scale as suggested in
2003-01-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: added a tooltip describing the
	compression level scale as suggested in #68485.
2003-01-26 01:27:01 +00:00
Sven Neumann 96ae98c955 applied patch from Martin Weber that removes an outdated link (#103976).
2003-01-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/AlienMap2.c: applied patch from Martin Weber
	that removes an outdated link (#103976).
2003-01-20 20:17:36 +00:00
Maurits Rijk 2c5614e9df Added mnemonics to several dialogs. 2003-01-19 14:40:56 +00:00
Maurits Rijk c311c5c81f Fixes #103025 2003-01-18 15:02:50 +00:00
Maurits Rijk c0a8755f54 Fix for #81966 2003-01-17 16:08:49 +00:00
Manish Singh 248dbd1e93 app/core/gimpchannel.h app/core/gimpitem.c
2003-01-14  Manish Singh  <yosh@gimp.org>

        * app/core/gimpchannel.h
        * app/core/gimpitem.c
        * app/display/gimpnavigationview.c
        * app/gui/paths-dialog.c
        * app/tools/gimphistogramtool.c
        * app/tools/gimpscaletool.c
        * app/widgets/gimplistitem.c
        * libgimp/gimppixelrgn.c
        * libgimpwidgets/gimpunitmenu.c
        * plug-ins/FractalExplorer/Dialogs.c
        * plug-ins/common/aa.c
        * plug-ins/common/despeckle.c
        * plug-ins/common/psd.c
        * plug-ins/common/sharpen.c
        * plug-ins/common/snoise.c
        * plug-ins/common/spread.c
        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/xjt/xjt.c: some minor code cleanup

        * plug-ins/common/csource.c: 64-bit cleanliness
2003-01-15 03:55:20 +00:00
Sven Neumann f721275a69 app/gui/image-menu.c applied a patch from Henrik Brix Andersen that
2003-01-14  Sven Neumann  <sven@gimp.org>

	* app/gui/image-menu.c
	* plug-ins/common/threshold_alpha.c: applied a patch from Henrik
	Brix Andersen that changes the Alpha menu to Transparency (#89275).
2003-01-14 13:53:24 +00:00
Dave Neary 033778fe57 plug-ins/common/plugin-def.pl plug-ins/common/psd_save.c
2003-01-12  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/plugin-def.pl
        * plug-ins/common/psd_save.c
        * plug-ins/common/Makefile.am
        * plug-ins/common/.cvsignore: Finally added PSD save support
2003-01-12 18:50:52 +00:00
Manish Singh 6767e671f8 plug-ins/common/plugin-def.pl plug-ins/common/Makefile.am Commented out
2003-01-12  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/plugin-def.pl
        * plug-ins/common/Makefile.am
        * plug-ins/common/.cvsignore: Commented out the psd_save.c bit for
        now, looks like bolsh forgot to cvs add the file.
2003-01-12 16:50:14 +00:00
Dave Neary 6098d87148 plug-ins/common/plugin-def.pl plug-ins/common/psd_save.c
2003-01-12  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/plugin-def.pl
        * plug-ins/common/psd_save.c
        * plug-ins/common/Makefile.am
        * plug-ins/common/.cvsignore: Added PSD save support (alpha) to
        devel branch, from a plug-in written by Monignotes (?). This
        should be integrated into the main PSD plug-in before 1.4 - or
        should at least use the same PsdImage structure.
2003-01-12 09:48:10 +00:00
Sven Neumann bf12a078f0 always build gimpconfig-dump.
2003-01-11  Sven Neumann  <sven@gimp.org>

	* app/config/Makefile.am: always build gimpconfig-dump.

	* app/config/gimpconfig-params.[ch]: added an enum to specify the
	type of path with GIMP_PARAM_SPEC_PATH.

	* app/config/gimpconfig-dump.c: document the different types of
	paths differently.

	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimppluginconfig.c: register the path types.

	* etc/gimprc: generated a new system gimprc.

	* plug-ins/common/tiff.c: added missing spaces in warning and
	removed trailing newlines in strings passed to g_message().
2003-01-11 01:31:22 +00:00
Maurits Rijk 72bcaa38fc Fixing dumb mistake in my last commit. 2003-01-10 22:16:15 +00:00
Maurits Rijk 28ade0ed62 Fix for #95737 2003-01-10 21:44:54 +00:00
Maurits Rijk 891520c407 Fix for #96611 (again) 2003-01-10 20:14:30 +00:00
Dom Lachowicz 2a6d3edd4e fix typo before sending patch up to gimp people 2003-01-10 15:46:47 +00:00
Maurits Rijk bfd02e4db3 Fix for #96611 2003-01-10 13:59:41 +00:00
Sven Neumann a46305046a prefixed ALL, NONE, GROW and SHRINK with SELECTION_ since they should only
2003-01-10  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstock.[ch]: prefixed ALL, NONE, GROW and
	SHRINK with SELECTION_ since they should only be used for in a
	selection context. Register a few icons in dialog size as well.

	* app/gui/menus.c
	* app/widgets/gimpselectioneditor.c: changed accordingly.

	* themes/Default/images: renamed icons accordingly.

	* plug-ins/common/uniteditor.c: use stock items.
2003-01-10 13:01:41 +00:00
Maurits Rijk cd346d2c64 Fix for #83968 2003-01-09 17:24:11 +00:00
Sven Neumann bf31a00fc8 use _("Unnamed") if no name was given. Fixes bug #89328 in a more general
2003-01-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_configure): use _("Unnamed")
	if no name was given. Fixes bug #89328 in a more general way.

	* plug-ins/common/psd.c: simply pass NULL as layer and channel
	name if the PSD file provides none.
2003-01-09 10:42:43 +00:00
Maurits Rijk eeae3baa41 Fix for #89328 2003-01-08 23:01:04 +00:00
Maurits Rijk 9251579729 Fixes #91282 2003-01-08 21:38:12 +00:00
Michael Natterer bbc13c5199 removed gimp_help_init() and gimp_help_free(). Added _gimp_help_init()
2003-01-07  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimphelpui.[ch]: removed gimp_help_init() and
	gimp_help_free(). Added _gimp_help_init() instead.

	* libgimpwidgets/gimpwidgets.def: changed accordingly.

	* libgimpwidgets/gimpwidgets.c (gimp_widgets_init): call
	_gimp_help_init() so it doesn't need to be done in all plug-ins
	manually.

	* libgimp/gimpcompat.h: added gimp_help_init() and gimp_help_free()
	here as COMPAT_CRUFT.

	* app/gui/gui.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/blur.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/gtm.c
	* plug-ins/common/illusion.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/plasma.c
	* plug-ins/common/polar.c
	* plug-ins/common/ps.c
	* plug-ins/common/randomize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/warp.c
	* plug-ins/common/wind.c
	* plug-ins/gap/gap_arr_dialog.c
	* plug-ins/gap/gap_mov_dialog.c
	* plug-ins/gap/gap_navigator_dialog.c
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/maze/maze_face.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/sel2path/sel2path.c: removed the calls to
	gimp_help_init() and gimp_help_free().

	Fixed bug #81017:

	* libgimpbase/gimpprotocol.[ch]: added "guint8 show_tool_tips"
	to the GPConfig message. Increased the protocol version number.

	* app/plug-in/plug-in.c: pass the value of gui_config->show_tool_tips.

	* libgimp/gimp.[ch]: added gimp_show_tool_tips() to get the value
	which was passed in the GPConfig message.

	* libgimp/gimpui.c (gimp_ui_init): disable the tooltips
	if show_tool_tips is FALSE.

	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/jigsaw.c
	* plug-ins/gap/gap_navigator_dialog.c
	* plug-ins/gfig/gfig.c: removed all plug-in specific GUI for
	enabling/disabling tooltips.
2003-01-07 17:00:49 +00:00
Sven Neumann 9c36d3e813 plug_ins/common/Makefile.am added back spheredesigner so it gets some
2003-01-07  Sven Neumann  <sven@gimp.org>

	* plug_ins/common/Makefile.am
	* plug_ins/common/plugin_defs.pl: added back spheredesigner so it
	gets some testing again. Needs a good bunch of UI cleanup.

	* plug-ins/common/spheredesigner.c (loadit): use
	locale-independent functions to parse doubles.
2003-01-07 12:35:44 +00:00
Manish Singh 01dbd2c339 cleanup, removed unecessary G_OBJECT() casts.
2003-01-06  Manish Singh  <yosh@gimp.org>

        * lots of files in plug-ins: cleanup, removed unecessary
        G_OBJECT() casts.
2003-01-07 06:16:02 +00:00
Sven Neumann 2079245f48 common/hrz.c common/plugindetails.c common/spheredesigner.c
2003-01-07  Sven Neumann  <sven@gimp.org>

	* common/hrz.c
	* common/plugindetails.c
	* common/spheredesigner.c
	* gimpressionist/orientmap.c
	* gimpressionist/sizemap.c
	* plugin-helper/color_picker.c
	* plugin-helper/iwarp.c
	* winsnap/winsnap.c: ported to GObject signal API.
2003-01-07 01:47:04 +00:00
Manish Singh 013e30db54 app/undo_history.c app/core/gimpbrush.c app/core/gimpimage-new.c
2003-01-05  Manish Singh  <yosh@gimp.org>

        * app/undo_history.c
        * app/core/gimpbrush.c
        * app/core/gimpimage-new.c
        * app/core/gimpobject.c
        * app/core/gimppalette-import.c
        * app/core/gimppattern.c
        * app/plug-in/plug-in.c
        * app/tools/gimpbezierselecttool.c
        * libgimpwidgets/gimpunitmenu.c
        * plug-ins/MapObject/mapobject_ui.c
        * plug-ins/common/convmatrix.c
        * plug-ins/common/curve_bend.c
        * plug-ins/common/sample_colorize.c
        * plug-ins/common/tiff.c
        * plug-ins/flame/flame.c
        * plug-ins/gflare/gflare.c
        * plug-ins/gimpressionist/general.c
        * plug-ins/gimpressionist/orientation.c
        * plug-ins/gimpressionist/preview.c
        * plug-ins/gimpressionist/size.c
        * plug-ins/imagemap/imap_grid.c
        * plug-ins/imagemap/imap_menu.c
        * plug-ins/maze/algorithms.c
        * plug-ins/script-fu/interp_regex.c
        * plug-ins/script-fu/interp_sliba.c
        * plug-ins/script-fu/script-fu-console.c
        * plug-ins/script-fu/script-fu-server.c
        * plug-ins/webbrowser/webbrowser.c: added GINT_TO_POINTER and friends,
        fixed format strings, for 64-bitness.

        * modules/colorsel_triangle.c
        * plug-ins/tools/tool-safe-mode-plug-in.c: #include missing header
        files
2003-01-05 20:38:21 +00:00
Maurits Rijk a498acb30b Fix for #82490 (Use standard GIMP size entry in Smooth Palette) and #101902 (Smooth Palette crashes on 1x1 image). 2002-12-27 16:25:07 +00:00
Maurits Rijk b796cd42b4 Fix for #81479 ("Repeat Last" incorrectly handled by lighting plug-in) and a bit of code clean-up. 2002-12-23 12:39:55 +00:00
Maurits Rijk 449d4913fa More code clean-up. Better use of libgimp routines, etc. 2002-12-19 22:23:37 +00:00
Sven Neumann 1c2a8015f9 merged fix for #71409 from stable branch.
2002-12-17  Sven Neumann  <sven@gimp.org>

	* app/main.c: merged fix for #71409 from stable branch.

	* plug-ins/common/jpeg.c: merged fix for #75398 from stable branch.
2002-12-17 16:26:34 +00:00
Michael Natterer 87724e6c67 plug-ins/common/CML_explorer.c use g_ascii_dtostr() to serialize floats.
2002-12-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/spheredesigner.c: use g_ascii_dtostr() to
	serialize floats.
2002-12-16 21:21:50 +00:00
Michael Natterer 2f46b75839 applied a patch from Henrik Brix Andersen <brix@gimp.org> which fixes bug
2002-12-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/ps.c (save_ps_setup): applied a patch from
	Henrik Brix Andersen <brix@gimp.org> which fixes bug #101263.
2002-12-16 19:24:05 +00:00
Sven Neumann 714b6fe881 sorry, you can only declare a variable at the beginning of a block.
2002-12-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/noisify.c (noisify_func): sorry, you can only
	declare a variable at the beginning of a block.
2002-12-16 12:19:22 +00:00
Maurits Rijk 6776254b59 Code clean-up for several plug-ins. 2002-12-15 20:31:07 +00:00
Sven Neumann b0b918f860 applied a patch from Toby Smith that fixes bug #90968.
2002-12-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sel_gauss.c: applied a patch from Toby Smith
	that fixes bug #90968.
2002-12-14 20:55:25 +00:00
Sven Neumann db5474a4c0 i2002-12-13 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c: merged fix for #97352 from stable branch.
2002-12-13 14:57:16 +00:00
Hans Breuer c62a5abb10 need to adjust the data pointer for BI_BITFIELDS bitmaps, fixes #99246
2002-12-06  Hans Breuer  <hans@breuer.org>

	* plug-ins/common/winclipboard.c : need to adjust the data
	pointer for BI_BITFIELDS bitmaps, fixes #99246
2002-12-06 19:45:47 +00:00
Sven Neumann 8a678c0948 removed useless assignments.
2002-12-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-render.c (render_image_tile_fault):
	removed useless assignments.

	* plug-ins/common/aa.c: removed wrong assertions that caused the
	plug-in to crash on images with odd width or height (#100344).
	Added support for RGB images as well as alpha channel while I was
	on it.
2002-12-04 19:02:45 +00:00
Maurits Rijk 978e0f76f1 Moved a lot of generic preview code to the new files gimpmiscui.[ch] so it will be easier later to port these plug-ins to the new (not yet finished) effect preview widget. 2002-12-01 20:56:01 +00:00
Sven Neumann c838165e33 prefix PIXELS and POINTS with GIMP instead of SIZE so we don't break the
2002-12-01  Sven Neumann  <sven@gimp.org>

	* app/core/core-types.h: prefix PIXELS and POINTS with GIMP
	instead of SIZE so we don't break the libgimp API without a good
	reason.

	* app/pdb/text_tool_cmds.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/gimpmisc.[ch]: removed gimp_timer functions since the
	GTimer API is simple enough and doesn't need to be wrapped.

	* plug-ins/common/newsprint.c
	* plug-ins/common/unsharp.c: use GTimer.
2002-12-01 19:33:34 +00:00
Hans Breuer 7c7ff46cc6 updated
2002-11-30  Hans Breuer  <hans@breuer.org>

	* */makefile.msc */*/makefile.msc : updated

	* themes/Default/images/makefile.msc : new file
	* themes/Default/makefile.msc : removed

	* libgimpwidgets/gimpwidgets.def : updated

	* app/core/core-types.h : renamed PIXELS and POINTS
	to SIZE_* to avoid clashes with system headers
	* app/pdb/text_tool_cmds.c : updated ...
	* tools/pdbgen/enums.py : ... by renaming here too.

	* app/widgets/gimphistogrambox.c : <string.h> for memcpy()
	* app/widgets/gimppropwidgets.c : <string.h> for strlen()

	* app/config/gimpconfig.c : on win32 rename always fails
	if the destination file exists. Delete it first.

	* libgimp/gimp.def : removed all '_'-prefixed exports
	* plug-ins/common/iwarp.c : replace _gimp_layer_copy()
	with gimp_layer_copy(), gimp_layer_add_alpha()

	* libgimp/gimpmisc.c : ported gimp_timer funcs to use
	g_timer to be more portable

	* libgimpbase/gimpdatafiles.c : there are no symlinks on
	win32, inverted to #ifndef G_OS_WIN32 as it was meant.

	* libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def
	  libgimpwidgets/gimpwidgets.def : updated externals

	* plug-ins/common/randomize.c plug-ins/common/sinus.c :
	don't initialize more than the defined struct size

	* plug-ins/common/warp.c : removed unneeded unistd.h and
	signal.h include

	* regexrepl/regexrepl.def : (new file) needed to build
	as DLL
2002-12-01 14:53:17 +00:00
Michael Natterer 41c5ac54ce use gtk_label_new_with_mnemonic():
2002-11-29  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_pixmap_button_new):
	use gtk_label_new_with_mnemonic():

	* plug-ins/common/uniteditor.c: Treeviewized and undeprecated.
	Removed all static variables. Cleanup.
2002-11-29 13:57:30 +00:00
Maurits Rijk 401c35f736 More use of gimpmisc generic region iterator routines. 2002-11-27 21:19:35 +00:00
Maurits Rijk ef679e5ddc More replacement of generic code by gimpmisc convenience funcs. 2002-11-26 22:13:37 +00:00
Maurits Rijk 80a5be2d13 Moved a few more functions to gimpmisc (timing functions, 2 general pixel region iterator funcs, etc) and changed a few plug-ins accordingly. 2002-11-25 22:37:36 +00:00
Dave Neary ba9c7fe993 libgimpwidgets/gimpwidgets.c libgimpwidgets/gimpwidgets.h
2002-11-24  Dave Neary  <bolsh@gimp.org>

        * libgimpwidgets/gimpwidgets.c
        * libgimpwidgets/gimpwidgets.h
        * plug-ins/common/blur.c
        * plug-ins/common/plasma.c
        * plug-ins/common/randomize.c
        * plug-ins/common/sinus.c
        * plug-ins/common/snoise.c
        * plug-ins/gflare/gflare.c
        * plug-ins/maze/algorithms.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/maze/maze_face.c: Changed the gimp random seed
        widget's behaviour and made associated changes in
        plug-ins that use it.
2002-11-24 19:26:58 +00:00
Maurits Rijk a64029bad6 Changed plug-ins so they now use gimpmisc functions. 2002-11-21 22:04:39 +00:00
Maurits Rijk 1a4dd50167 Made a start at factoring out lots of common plug-in code into libgimp. libgimpmisc.[ch] were created to hold the routines, until they are properly documented and put into their 'right' file, for example color functions into libgimpcolor, etc. 2002-11-20 22:58:52 +00:00
Maurits Rijk 82243555b0 Fixed small bug in gimp_bilinear routines and use them instead of plug-in's own implementations 2002-11-20 21:29:16 +00:00
Dave Neary cd28dee822 configure.in app/core/gimpbrushpipe.c app/gui/about-dialog.c
2002-11-20  Dave Neary  <bolsh@gimp.org>

        * configure.in
        * app/core/gimpbrushpipe.c
        * app/gui/about-dialog.c
        * app/paint-funcs/paint-funcs-generic.h
        * app/paint-funcs/paint-funcs.c
        * libgimpmath/gimpmath.h
        * libgimpwidgets/gimpwidgets.c
        * plug-ins/common/CML_explorer.c
        * plug-ins/common/blur.c
        * plug-ins/common/cubism.c
        * plug-ins/common/gee.c
        * plug-ins/common/gee_zoom.c
        * plug-ins/common/gqbist.c
        * plug-ins/common/jigsaw.c
        * plug-ins/common/lic.c
        * plug-ins/common/noisify.c
        * plug-ins/common/nova.c
        * plug-ins/common/papertile.c
        * plug-ins/common/plasma.c
        * plug-ins/common/randomize.c
        * plug-ins/common/sample_colorize.c
        * plug-ins/common/scatter_hsv.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/sparkle.c
        * plug-ins/common/spheredesigner.c
        * plug-ins/common/spread.c
        * plug-ins/common/warp.c
        * plug-ins/common/wind.c
        * plug-ins/flame/cmap.c
        * plug-ins/flame/flame.c
        * plug-ins/flame/libifs.c
        * plug-ins/gflare/gflare.c
        * plug-ins/gimpressionist/gimpressionist.c
        * plug-ins/gimpressionist/gimpressionist.h
        * plug-ins/gimpressionist/plasma.c
        * plug-ins/gimpressionist/repaint.c
        * plug-ins/ifscompose/ifscompose_utils.c
        * plug-ins/maze/algorithms.c
        * plug-ins/maze/maze.c
        * plug-ins/maze/maze.h
        * plug-ins/mosaic/mosaic.c: Change all occurrences of RAND_MAX,
        G_MAXRAND, rand(), srand(), lrand48(), srand48(), random(),
        srandom(), RAND_FUNC and SRAND_FUNC to the appropriate g_rand*
        equivalent. Programs which require seed setting for reproducible
        results, and anything in the core, gets a dedicated GRand * for
        the lifetime required. Programs which only ever used random
        numbers for tossing a coin, rolling a dice, etc use g_random
        functions. For the rest, judgement was used. Where it was easy, a
        GRand * object was used and g_rand_* functions were
        preferred. This fixes bug #67386 in HEAD.
2002-11-20 09:27:48 +00:00
Manish Singh af3cde410e allow setting compression level 0 from the UI.
2002-11-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: allow setting compression level 0 from
        the UI.
2002-11-10 00:27:49 +00:00
Maurits Rijk b80b88d738 Fix for #81965 (Sinus filter doesn't use the 'standard' gimp_random_seed widget) 2002-11-09 13:36:37 +00:00
Maurits Rijk efd3ed97d1 Fix for #92469 (replace "Save as" by Save As"), #82492 (replace "Search Time" by
"Search Depth") and some minor code clean-up.
2002-11-08 22:48:08 +00:00
Sven Neumann 090380ad72 plug-ins/script-fu/script-fu-scripts.c plug-ins/script-fu/interp_slib.c
2002-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/interp_slib.c
	* plug-ins/script-fu/interp_sliba.c: use locale-independant
	functions to convert between strings and numbers so that Script-Fu
	doesn't get confused in locales that don't use a dot as the
	decimal point (#98014).

	* plug-ins/common/papertile.c: applied a patch from David Necas
	that makes the color button work again (#97976).
2002-11-08 14:46:14 +00:00
Dave Neary d70c1f94fb Applied patch from Raphael Quinet to suppress printing of comments in XBM
2002-11-07  Dave Neary  <bolsh@gimp.org>
        * plug-ins/common/xbm.c: Applied patch from Raphael
        Quinet to suppress printing of comments in XBM files.
        Closes bug #82763.
2002-11-07 19:09:01 +00:00
Sven Neumann f747a59e2b applied a patch from Toby Smith that moves the call to
2002-11-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/papertile.c: applied a patch from Toby Smith
	that moves the call to gimp_drawable_mask_bounds() to the filter()
	function so that the filter is applied to the correct selection
	even if it changed after the plug-in dialog was opened.

	* plug-ins/common/unsharp.c (unsharp_mask_dialog): allow larger
	values for the radius (as suggested #92250).

	* plug-ins/common/png.c: applied patch from Raphael Quinet that
	untoggles the "Save background color" option for images w/o an
	alpha channel (#92395).
2002-11-06 20:37:19 +00:00
Dave Neary 368afec46c Removed cruft from file, including unclear comments and redundant code.
2002-11-06  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/png.c: Removed cruft from file,
         including unclear comments and redundant code.
2002-11-06 11:31:35 +00:00
Sven Neumann 63fb9cc82a fixed stupid bug that caused this plug-in to map to undefined values.
2002-11-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mapcolor.c: fixed stupid bug that caused this
	plug-in to map to undefined values. Spotted by David Necas (#97780).

	* tools/authorsgen/contributors: added some names.

	* AUTHORS
	* app/gui/authors.h: regenerated.
2002-11-05 23:01:04 +00:00
Sven Neumann f676f1afc9 plug-ins/common/gauss_iir.c plug-ins/common/gauss_rle.c applied a patch
2002-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/sel_gauss.c:
	applied a patch from Guillermo S. Romero that extends the range of
	valid radii to > 0.0 for these blur plug-ins (#97166).
2002-10-31 21:38:01 +00:00
Michael Natterer dcb5f7b2da reordered action buttons.
2002-10-28  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/unsharp.c: reordered action buttons.
2002-10-28 19:12:17 +00:00
Michael Natterer b5d27fc4ac app/display/gimpdisplayshell.c app/gui/about-dialog.c
2002-10-25  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c
	* app/gui/about-dialog.c
	* app/gui/convert-dialog.c
	* app/gui/dialogs-commands.c
	* app/gui/file-commands.c
	* app/gui/palette-import-dialog.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpwidgets-utils.c
	* libgimpwidgets/gimpfileselection.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/gimpressionist.c: replaced all sorts of
	gtk_widget_show()/gdk_window_rise() combinations by
	gtk_window_present().
2002-10-25 01:11:24 +00:00
Sven Neumann 9c04105cfc plug-ins/common/compose.c applied a patch from Michael Niedermayer
2002-10-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c: applied a patch from
	Michael Niedermayer <michaelni@gmx.at> that adds support for
	YCbCr (de)composition (#96448).
2002-10-23 22:20:23 +00:00
Dave Neary 2b8a3995d6 Corrected coding standard issues (indentation & bracketting).
2002-10-14  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/png.c: Corrected coding standard issues
        (indentation & bracketting).
2002-10-14 15:32:47 +00:00
Dave Neary 638a2c65d4 Fix bug #55700 properly. Handles INDEXEDA images correctly.
2002-10-14  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/png.c: Fix bug #55700 properly. Handles
        INDEXEDA images correctly.
2002-10-14 14:52:53 +00:00
Michael Natterer 97311f988b put the preview in a sunken frame like most other previews.
2002-10-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/animationplay.c: put the preview in a sunken
	frame like most other previews.
2002-10-08 17:00:16 +00:00
Sven Neumann c9b934aa2e applied a patch from Peter Kirchgessner that fixes bug #78310 (wrong
2002-10-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ps.c: applied a patch from Peter Kirchgessner
	that fixes bug #78310 (wrong bounding box when exporting to EPS).
2002-10-08 10:53:10 +00:00
Dom Lachowicz 6d44e86224 staging area for gimp plugin loader 2002-10-08 02:45:37 +00:00
Sven Neumann 737754c40d use X_CFLAGS when checking for xpm.h.
2002-09-18  Sven Neumann  <sven@gimp.org>

	* configure.in: use X_CFLAGS when checking for xpm.h.

	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl: added X_CFLAGS here as well so that
	xpm compiles even if GTK_CFLAGS doesn't pull in the X11 include
	path for us. Should fix #93518 and hopefully won't break it for
	other people.
2002-09-18 12:20:55 +00:00
Sven Neumann 17d8ca5081 plug-ins/common/convmatrix.c plug-ins/common/iwarp.c
2002-09-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/sel2path/sel2path.c: reordered action buttons.
2002-09-17 13:57:30 +00:00
Michael Natterer b5fe97d0f7 applied a patch from Guillermo S. Romero which cleans up the GUI even
2002-09-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/curve_bend.c: applied a patch from Guillermo
	S. Romero which cleans up the GUI even more. Changed it a bit to
	behave nicely on window resizing.
2002-09-11 21:52:49 +00:00
Dave Neary 734a786101 Handle INDEXA images if the indexed palette is full by looking for an
2002-09-10  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/png.c: Handle INDEXA images if the
        indexed palette is full by looking for an unused colour.
        Fixes bug #55700.
2002-09-10 16:46:41 +00:00
Michael Natterer 3c699986f9 forgot a mnemonic.
2002-09-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/curve_bend.c: forgot a mnemonic.
2002-09-08 11:24:43 +00:00
Michael Natterer c90ee56600 moved toggles into frame titles.
2002-09-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/iwarp.c: moved toggles into frame titles.
2002-09-08 11:16:55 +00:00
Michael Natterer b7afbfee4c plug-ins/FractalExplorer/Dialogs.c some stock items.
2002-09-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c: some stock items.

	* plug-ins/MapObject/mapobject_ui.c: moved toggle button into
	frame title, added mnemonics.

	* plug-ins/common/curve_bend.c: reorganized the GUI completely
	to be more usable. Added mnemonics and stock items.

	* plug-ins/common/checkerboard.c
	* plug-ins/common/film.c
	* plug-ins/common/illusion.c
	* plug-ins/common/plasma.c
	* plug-ins/flame/flame.c: minor cleanups (spacing, stock items).
2002-09-07 16:31:32 +00:00
Hans Breuer e17baf71d6 updated
2002-09-06  Hans Breuer  <hans@breuer.org>

	* */*/makefile.msc : updated

	* libgimptool/makefile.msc : new file, libgimptool
	is currently build as static lib due to references
	into app/core

	* themes/Default/makefile.msc : removed
	* themes/Default/images/makefile.msc : new file

	* libgimpwidgets/makefile.msc libgimpwidgets/gimpwidgets.c
	updated (externals)

	* app/paint-funcs.c : replaced gccism varibale size array on
	stack with portable alloca, removed sizeof(buf) check which
	must fail now.

	* app/config/gimpconfig.c : get write/close protos
	on win32 from io.h
	* app/config/gimprc.c : dito and <string.h>
	* app/config/gimpscanner.c : <string.h> only

	* app/core/gimpcontainer.c : workaround for clumsy
	compilers not supporting vararg macros

	* app/core/gimpdocumentlist.c app/core/gimpparasitelist.c
	include <io.h> on win32

	* app/widgets/gimpdocumentview.c
	  app/widgets/gimpimagedock.c
	  app/widgets/gimppreview.c : add #ifdef __GNUC__
	to avoid breaking on non standard pragma #warning.

	* app/gui/session.c : include <string.h>

	* regexrepl/makefile.msc : build as dll

	* plug-ins/makefile.msc : updated

	* plug-ins/common/pix.c : open file binary

	* plug-ins/common/spheredesigner.c : avoid error
	'incompatible types' while assigning, use memcpy()
2002-09-06 22:25:19 +00:00
Michael Natterer 424ed1f480 changed "Number of Colors" to "Max Number of Colors" to clarify what this
2002-09-06  Michael Natterer  <mitch@gimp.org>

	* app/gui/convert-dialog.c: changed "Number of Colors" to
	"Max Number of Colors" to clarify what this parameter does.
	(fixes #92194).

	* app/gui/menus.c: use GIMP_STOCK_INFO for "View/Info Window".

	Specify spibutton sizes in chars, not pixels (eek) all over
	the place. Also removed explicit sizes where the GtkSpinButton
	default size does not disturbe tabular widget layouts.

	* libgimpwidgets/gimpwidgets.c: removed the hardcoded width of 75
	pixels in gimp_spin_button_new(). Changed gimp_scale_entry_new()
	and gimp_coordinates_new() to interpret their "spinbutton_width"
	parameters as chars if < 16, and as pixels otherwise. This gives
	reasonable results and doesn't cause unchanged plug-ins to
	suddenly have spinbuttons of dozens of chars width :)

	* libgimpwidgets/gimpsizeentry.c: added the same heuristic here.

	* libgimpwidgets/gimpquerybox.c
	* app/gui/color-notebook.c
	* app/gui/convert-dialog.c
	* app/tools/gimpairbrushtool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorpickertool.c
	* app/tools/gimpconvolvetool.c
	* app/tools/gimpdodgeburntool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpinktool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmagnifytool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpsmudgetool.c
	* app/tools/gimptexttool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/paint_options.c
	* app/tools/selection_options.c
	* app/widgets/gimpbrusheditor.c
	* app/widgets/gimpbrushfactoryview.c
	* app/widgets/gimppaletteeditor.c: changed accordingly.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/emboss.c
	* plug-ins/common/film.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/fractaltrace.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/grid.c
	* plug-ins/common/illusion.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/lic.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/mblur.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/nova.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/shift.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spread.c
	* plug-ins/common/tile.c
	* plug-ins/common/tileit.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/waves.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gflare/gflare.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/rcm/rcm_dialog.c: changed accordingly, which involves
	removals of gtk_widget_set_size_request(spinbutton), removal of
	lots of explicit spinbutton sizes in gimp_scale_entry_new(), and
	adding of new ones because GtkSpinButton's auto-size trashed
	tabular layouts.

	Lots of cleanup & indentation while browsing the plug-ins'
	code. Changed spacings, moved toggle buttons into frame titles,
	use stock items, stuff...
2002-09-06 20:44:47 +00:00
Maurits Rijk dcd2c25458 Make imagemap plug-in a bit more GNOME HIG compliant. Code clean-up for semiflatten plug-in. 2002-09-06 16:59:51 +00:00
Maurits Rijk e44bd6ecfd Fixed #72896. Fixed small typo. 2002-09-04 21:03:24 +00:00
Sven Neumann 7531316130 check if the active drawable is a layer before using gimp_layer functions
2002-08-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/rotate.c (rotate): check if the active drawable
	is a layer before using gimp_layer functions on it.
2002-08-28 12:51:01 +00:00
Sven Neumann 06f35cca7a allow radius < 1.0 (bug #90957).
2002-08-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sel_gauss.c: allow radius < 1.0 (bug #90957).
2002-08-24 23:52:14 +00:00
Michael Natterer ff92915929 removed GTK_ENABLE_BROKEN and _DEPRECATED #defines and #includes because
2002-08-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gif.c: removed GTK_ENABLE_BROKEN and _DEPRECATED
	#defines and #includes because this plug-in has already been
	ported.
2002-08-18 21:57:15 +00:00
Sven Neumann 24e35fde91 plug-ins/common/gauss_iir.c merged fix for bug #89825 from stable branch.
2002-08-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c: merged fix for bug #89825 from
	stable branch.
2002-08-04 15:27:05 +00:00
Dave Neary 2c11b461f1 Add RGBA as a decompose target.
2002-08-04  Dave Neary  <bolsh@gimp.org>

        * plug-ins/common/decompose.c: Add RGBA as a decompose
        target.
2002-08-04 14:37:30 +00:00
Manish Singh 55c5b0c7eb make sure -lm is in $LIBS for the finite/isfinite test, fixes issues on
2002-08-03  Manish Singh  <yosh@gimp.org>

        * configure.in: make sure -lm is in $LIBS for the finite/isfinite
        test, fixes issues on newer FreeBSD

        * plug-ins/common/jpeg.c: cast statbuf.st_size to glong for
        g_snprintf
2002-08-04 03:38:16 +00:00
Sven Neumann f000cdcd52 Merged bug-fixes from the stable branch:
2002-07-09  Sven Neumann  <sven@gimp.org>

	Merged bug-fixes from the stable branch:

	* plug-ins/common/papertile.c: bug #86868.

	* plug-ins/common/tileit.c: bug #86637.

	* plug-ins/common/xpm.c: bug #87588.

	* plug-ins/print/print.c: bug #87428.
2002-07-09 16:17:43 +00:00
Maurits Rijk 0403f2b3b4 Added mnemonics to dialogs plus some minor code cleanup 2002-06-29 21:01:33 +00:00
Maurits Rijk ba1cbd1674 Major performance improvement for Make Seamless filter and fix for #67686 2002-06-27 18:49:52 +00:00
Sven Neumann d38fb99d97 changed a confusing comment, minor cleanup.
2002-06-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pix.c: changed a confusing comment, minor cleanup.
2002-06-25 08:46:35 +00:00
Maurits Rijk 5938dbf800 Some code cleanup and minor optimizations. 2002-06-24 20:49:10 +00:00
Maurits Rijk c4a5cb39a4 Added mnemonics (#80804) to lic plug-in. Started code clean-up. Next time (hopefully) major speed improvements. 2002-06-23 13:08:21 +00:00
Maurits Rijk 9732da6fe2 Code clean-up in AlienMap2 plug-in. Added mnemonics (#80804) and fixed bug in gimp_hsl_to_rgb. 2002-06-21 21:27:37 +00:00
Maurits Rijk ae31fe8688 Fixed assertion failure in Blur filter. Added mnemonics (#80804) to fractaltrace filter. 2002-06-19 09:48:41 +00:00
Maurits Rijk 71ff805389 Added mnemonics to align layers dialog (#80804). Added stock warning icon to imagemap error dialogs. 2002-06-18 20:40:28 +00:00
Maurits Rijk 21c8b1fbe5 Fix for #84588 (use standard size entry widget for 'Shift Amount') 2002-06-14 11:38:47 +00:00
Maurits Rijk 0e0114f7fb Adding more mnemonic stuff (#80804) and replaced some memcpy of structure variables by structure assignments. 2002-06-13 20:32:21 +00:00
Sven Neumann a6b876f350 merged fix for bug #83420 from stable branch.
2002-06-13  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/unsharp.c: merged fix for bug #83420 from stable
	branch.
2002-06-13 12:43:12 +00:00
Maurits Rijk 1718677456 More mnemonic stuff in plug-in dialogs (#80804) 2002-06-08 16:18:25 +00:00
Sven Neumann 4706b866a1 ported to the GTK+-2.0 API.
2002-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: ported to the GTK+-2.0 API.
2002-06-07 23:47:04 +00:00
Sven Neumann 3aae39405e app/base/Makefile.am automake-1.6 seems to use yet another variable to
2002-06-08  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/paint-funcs/Makefile.am: automake-1.6 seems to use yet another
	variable to pass flags to the assembler (bug #84514). Define
	AM_CCASFLAGS like AM_ASFLAGS to satisfy all versions of automake.

	* configure.in
	* all Makefiles: removed STRIP_BEGIN and STRIP_END since it's a
	GNU make extension that we don't really need and newer versions of
	automake don't seem to like it.
2002-06-07 23:00:46 +00:00
Maurits Rijk 3785c516b9 More mnemonic stuff (#80804) 2002-06-02 19:55:30 +00:00
Maurits Rijk 608837ccdd Enable mnemonics (#80804) and some work to get imagemap plug-in up-to-date. 2002-06-01 15:32:03 +00:00
Maurits Rijk 678aae0c82 More work on adding mnemonics (#80804) and fixed #81014 2002-05-31 11:39:27 +00:00
Sven Neumann 1c37e46971 updated.
2002-05-28  Sven Neumann  <sven@gimp.org>

	* NEWS: updated.

	* plug-ins/common/jpeg.c (background_jpeg_save): cast stat.st_size
	to gint to avoid compiler warning with large file support. This
	will fail for JPEG files > 2GB but I doubt this is a real problem.
2002-05-28 13:03:47 +00:00
Sven Neumann 1fc3f7c5ad fixed dist target by commenting out plug-ins/tools/common since it's also
2002-05-28  Sven Neumann  <sven@gimp.org>

	* configure.in (AC_OUTPUT): fixed dist target by commenting out
	plug-ins/tools/common since it's also commented out in the Makefile
	in plug-ins/tools. Fixed broken check for sendmail.

	* plug-ins/common/mail.c: use the SENDMAIL define from config.h.
2002-05-28 00:59:27 +00:00
Maurits Rijk ff06323109 Enable mnemonics (#80804) 2002-05-27 17:25:30 +00:00
Maurits Rijk 3c5cefc8e9 More enabling of mnemonics. 2002-05-25 18:10:04 +00:00
Maurits Rijk 8a87bde69d Fix for #82498 and adds mnemonics to dialog. 2002-05-25 13:25:39 +00:00
Sven Neumann e9d0daff72 plug-ins/FractalExplorer/Dialogs.c plug-ins/common/CML_explorer.c
2002-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/film.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tileit.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/sel2path/sel2path.c: make use of stock labels.
2002-05-24 17:19:50 +00:00
Maurits Rijk 72607e094f Fixes #82849 (selection is ignored in Smooth Palette filter) 2002-05-24 14:50:08 +00:00
Maurits Rijk f08744ed95 Fixes #82494 and adds mnemonics 2002-05-24 13:20:28 +00:00
Maurits Rijk 2d93944ada Fixes #82480 2002-05-24 12:59:41 +00:00
Maurits Rijk 7a9366ddc9 Fixes #82499 (small typo) and adds mnemonics. 2002-05-24 12:38:19 +00:00
Sven Neumann f3e3cb8f50 reverted the last change and applied a patch from Peter Kirchgessner
2002-05-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ps.c: reverted the last change and applied a patch
	from Peter Kirchgessner instead (closes reopened bug #81606).
2002-05-14 20:04:29 +00:00