Commit graph

3444 commits

Author SHA1 Message Date
Michael Natterer f398a39ea8 added an item to optionally change the image window's background.
2001-01-07  Michael Natterer  <mitch@gimp.org>

	* TODO.xml: added an item to optionally change the image window's
	background.

	* app/preferences_dialog.c: "Disable Tearoff Menus" was not saved
	to disk.
2001-01-07 14:25:47 +00:00
Asbjørn Pettersen 50e3949837 os2 fix 2001-01-04 17:08:22 +00:00
Sven Neumann 32ebb877b8 merged fix from 1.2
2001-01-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/title-header.scm: merged fix from 1.2
2001-01-04 13:32:49 +00:00
Michael Natterer f9c8140164 reverted the behaviour of the "Reset" button back to resetting the current
2001-01-03  Michael Natterer  <mitch@gimp.org>

	* app/levels.c: reverted the behaviour of the "Reset" button back
	to resetting the current channel only. Resetting all channels was
	broken and IMHO cannot work the way it was implemented.
2001-01-03 02:59:57 +00:00
Michael Natterer 5b210062e3 app/plug_in_cmds.c app/procedural_db_cmds.c tools/pdbgen/pdb/plug_in.pdb
2001-01-03  Michael Natterer  <mitch@gimp.org>

	* app/plug_in_cmds.c
	* app/procedural_db_cmds.c
	* tools/pdbgen/pdb/plug_in.pdb
	* tools/pdbgen/pdb/procedural_db.pdb
	* tools/pdbgen/app.pl: conditionally include <regex.h> or
	"regexrepl.h", depending on HAVE_GLIBC_REGEX.
2001-01-03 00:42:57 +00:00
Daniel Egger 65867d40d4 Conditionally compile regex if not available in glibc.
2001-01-03  Daniel Egger  <egger@suse.de>

        * app/plug_in_cmds.c:
	* app/procedural_db_cmds.c:
	* plug-ins/script-fu/Makefile.am:
	* plug-ins/script-fu/interp_regex.c:
	* plug-ins/script-fu/regexrepl.c: Conditionally compile
	regex if not available in glibc.

	* plug-ins/script-fu/regex.c:
	* plug-ins/script-fu/regex.h: Renamed files to regexrepl.[ch].
2001-01-02 23:48:42 +00:00
Daniel Egger cf0a67fbc2 Extended the glibc regexp check and enabled substitution for Makefiles.
2001-01-03  Daniel Egger  <egger@suse.de>

        * configure.in: Extended the glibc regexp check and enabled
	substitution for Makefiles.

	* app/Makefile.am: Compile regexp only if not in glibc.

	* app/plug_in_cmds.c:
	* app/procedural_db_cmds.c:
	* app/regexrepl.c: Include the correct local headerfile
	if no new glibc with regexp is available.

	* app/regex.c:
	* app/regex.h: Moved into regexprepl.[ch] to avoid nameclashes.
2001-01-02 23:16:40 +00:00
Daniel Egger bfb955bd74 Added a check for a glibc compliant regex implementation.
2001-01-02  Daniel Egger  <egger@suse.de>

        * acconfig.h:
	* configure.in: Added a check for a glibc compliant
	regex implementation.
2001-01-02 20:28:58 +00:00
Simon Budig 15c239274c use floor() before casting to gint when calculating the current brush
2001-01-02  Simon Budig  <simon@gimp.org>

	* app/paint_core.c: use floor() before casting to gint when
	calculating the current brush coordinates. Fixes the jagged brush
	stroke when stroking a path that leaves the image at the top or left
	edge (bug #6043).

telephone-committed by Sven <sven@gimp.org>
2001-01-02 20:25:10 +00:00
Daniel Egger b4630d410e Use the new _clear function and more cleanups.
2001-01-02  Daniel Egger  <egger@suse.de>

        * app/clone.c:
	* app/gimpimage.c:
	* app/temp_buf.c: Use the new _clear function and more cleanups.
2001-01-02 19:14:24 +00:00
Michael Natterer e7a9439e5f Oops... 2001-01-02 18:17:34 +00:00
Daniel Egger b4fc329302 Add a new function "temp_buf_data_clear" to get a nulled chunk of memory.
2001-01-02  Daniel Egger  <egger@suse.de>

        * app/temp_buf.c:
	* app/temp_buf.h: Add a new function "temp_buf_data_clear" to
	get a nulled chunk of memory.

	* app/iscissors.c: Use it here instead of two expensive for
	loops. Clean up the source a little.
2001-01-02 17:01:30 +00:00
Michael Natterer efc880a3dd app/bezier_select.c app/bezier_selectP.h moved the integer "extend"
2001-01-02  Michael Natterer  <mitch@gimp.org>

	* app/bezier_select.c
	* app/bezier_selectP.h
	* app/selection_options.h: moved the integer "extend" variable from
	SelectionOptions to the BezierSelect structure because it does not
	have a UI widget. Also initialize it with "0" (was used
	uninitialized before). I have no idea what it does.
2001-01-02 15:41:25 +00:00
Michael Natterer 79112edc39 app/selection_options.h made a correct tool toption out of "Interactive"
2001-01-02  Michael Natterer  <mitch@gimp.org>

	* app/selection_options.h
	* app/tool_options.c: made a correct tool toption out of
	"Interactive" (added a default value and the "Reset" function,
	set unused pointers to NULL).

	* app/iscissors.c: fixed indentation and spacing.
2001-01-02 15:22:22 +00:00
Daniel Egger 578b0cb5d8 Applied patch by laramieleavitt@onetel.net.uk to add an interactive update
2001-01-02  Daniel Egger  <egger@suse.de>

        * app/iscissors.c:
	* app/selection_options.h:
	* app/tool_options.c: Applied patch by laramieleavitt@onetel.net.uk to add
	an interactive update to the iscissors tool.
2001-01-02 14:50:11 +00:00
Michael Natterer fb91a4da68 s/welcome.html/introduction.html/.
2001-01-02  Michael Natterer  <mitch@gimp.org>

	* app/gimphelp.c (gimp_idle_help): s/welcome.html/introduction.html/.
2001-01-02 03:39:38 +00:00
Michael Natterer 35c771e967 app/gimprc.[ch] app/menus.[ch] added a preferences option to disable
2001-01-02  Michael Natterer  <mitch@gimp.org>

	* app/gimprc.[ch]
	* app/menus.[ch]
	* app/preferences_dialog.c: added a preferences option to disable
	tearoff menus. Cleanup in preferences.

	* TODO.xml: done.
2001-01-02 02:33:43 +00:00
Michael Natterer 7e823431fc some nicer prototypes.
2001-01-02  Michael Natterer  <mitch@gimp.org>

	* app/commands.c: some nicer prototypes.

	* app/fileops.c: oops, forgot to gtk_widget_show() the open_options.
2001-01-02 00:46:02 +00:00
Michael Natterer 9ccab8523a app/commands.[ch] app/fileops.[ch] app/gdisplay.c Implemented "Save a Copy
2001-01-02  Michael Natterer  <mitch@gimp.org>

	* app/commands.[ch]
	* app/fileops.[ch]
	* app/gdisplay.c
	* app/menus.c: Implemented "Save a Copy as..." which saves the image
	without changing it's filename.

	* app/layers_dialogP.h: export layers_dialog_layer_merge_query()
	here instead of defining it in commands.c

	* TODO.xml: mark this entry as done :)
2001-01-01 23:55:45 +00:00
Michael Natterer 6684bb77b0 added a TODO item for "Save a Copy..."
2001-01-01  Michael Natterer  <mitch@gimp.org>

	* TODO.xml: added a TODO item for "Save a Copy..."
2001-01-01 22:00:28 +00:00
Michael Natterer 4245ab65d3 plug-ins/libgck/gck/gck.h removed the GckRGB color type and all it's
2001-01-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: removed the GckRGB color type
	and all it's functions.

	* libgimp/Makefile.am
	* libgimp/gimpcolor.[ch]: new files containing the new GimpRGB color
	type and assorted functions.

	* libgimp/gimpcolorspace.[ch]: colorspace conversion routines for
	the new GimpRGB type. Also taken from LibGCK.

	* libgimp/gimp.h
	* libgimp/gimptypes.h: #include "gimpcolor.h". It's ugly to include
	it in both files but unavoidable to follow our new "*.c" file include
	policy. This will go away as libgimp will be chopped up into pieces
	anyway.

	* app/apptypes.h
	* app/asupsample.[ch]
	* app/blend.c
	* app/color_transfer.h
	* app/gradient_header.h: removed "color_t" and use GimpRGB instead.

	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_image.c
	* plug-ins/Lighting/lighting_image.h
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_main.h
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/Lighting/lighting_shade.h
	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_image.h
	* plug-ins/MapObject/mapobject_main.c
	* plug-ins/MapObject/mapobject_main.h
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_shade.c
	* plug-ins/MapObject/mapobject_shade.h
	* modules/colorsel_triangle.c: s/GckRGB/GimpRGB/g

	* plug-ins/gdyntext/gdyntextcompat.h: check also for GIMP's minor
	version when deciding if to add a missing PDB wrapper.
	(All this compat cruft including libgimp/gimpcompat.h should go
	away ASAP)
2001-01-01 18:35:09 +00:00
Michael Natterer 40916e0951 More preparation for LibGCK removal:
2000-12-31  Michael Natterer  <mitch@gimp.org>

	More preparation for LibGCK removal:

	* libgimp/gimpcolorspace.[ch]: added a "_int" suffix to all functions
	operating on 3 gint pointers, just like the gdouble functions have
	a "_double" suffix.

	* app/color_balance.c
	* app/hue_saturation.c
	* app/paint_funcs.c
	* modules/colorsel_triangle.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/vinvert.c
	* plug-ins/gflare/gflare.c: changed accordingly.
2000-12-31 14:58:08 +00:00
Sven Neumann f7ccaf1bcf Simon Budig <simon@gimp.org>
2000-12-31  Sven Neumann  <sven@gimp.org>
            Simon Budig <simon@gimp.org>

	* app/gimpbrush.c
	* plug-ins/common/gih.c: explicitely cast offset to (off_t) when
	seeking back. Should fix the problems reading grayscale BrushPipes
	on IRIX.
2000-12-31 13:04:10 +00:00
Michael Natterer f16e01a237 cleaned up a bit.
2000-12-31  Michael Natterer  <mitch@gimp.org>

	* app/apptypes.h: cleaned up a bit.

	* app/asupsample.[ch]
	* app/blend.[ch]
	* app/channel.h
	* app/gimpprogress.[ch]
	* app/layer.h
	* app/perspective_tool.c
	* app/plug_in.h
	* app/rotate_tool.c
	* app/scale_tool.c
	* app/shear_tool.c
	* app/transform_core.[ch]: s/gimp_progress/GimpProgress/g and some
	changes related to the apptypes.h cleanup.
2000-12-31 05:31:43 +00:00
Michael Natterer 2db8881557 app/airbrush.[ch] app/bezier_select.c app/bezier_selectP.h app/blend.[ch]
2000-12-31  Michael Natterer  <mitch@gimp.org>

	* app/airbrush.[ch]
	* app/bezier_select.c
	* app/bezier_selectP.h
	* app/blend.[ch]
	* app/boundary.h
	* app/brightness_contrast.[ch]
	* app/bucket_fill.c
	* app/by_color_select.c
	* app/clone.[ch]
	* app/color_balance.c
	* app/color_picker.c
	* app/commands.c
	* app/convolve.[ch]
	* app/crop.c
	* app/crop.h
	* app/curves.c
	* app/dodgeburn.[ch]
	* app/edit_selection.[ch]
	* app/ellipse_select.c
	* app/eraser.[ch]
	* app/flip_tool.[ch]
	* app/free_select.[ch]
	* app/fuzzy_select.[ch]
	* app/gdisplay.c
	* app/gimage.c
	* app/histogram_tool.[ch]
	* app/hue_saturation.[ch]
	* app/image_map.[ch]
	* app/ink.[ch]
	* app/iscissors.c
	* app/levels.c
	* app/magnify.[ch]
	* app/move.c
	* app/nav_window.[ch]
	* app/paint_core.[ch]
	* app/paintbrush.[ch]
	* app/path_bezier.[ch]
	* app/path_tool.c
	* app/pencil.[ch]
	* app/perspective_tool.[ch]
	* app/posterize.c
	* app/rect_select.[ch]
	* app/rotate_tool.[ch]
	* app/scale_tool.[ch]
	* app/selection.[ch]
	* app/shear_tool.[ch]
	* app/smudge.[ch]
	* app/text_tool.[ch]
	* app/threshold.c
	* app/tools.[ch]
	* app/transform_core.[ch]: removed the "gdisp_ptr" madness and
	useless casts all over the place. Introduced a "PaintState" enum
	instead of #define's. Various cleanups.
2000-12-31 04:07:42 +00:00
Michael Natterer 5e18bba988 One more 17C3 commit ...
2000-12-30  Michael Natterer  <mitch@gimp.org>

	One more 17C3 commit ...

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: removed unused stuff.

	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_image.[ch]
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/Lighting/lighting_preview.[ch]
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/MapObject/mapobject_image.[ch]
	* plug-ins/MapObject/mapobject_main.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_shade.[ch]
	* plug-ins/MapObject/mapobject_ui.c: cleanups in preparation for
	removal of LibGCK.
2000-12-30 00:23:34 +00:00
Michael Natterer 4a0f7c5866 removed all the "typedef gimage_function gimp_image_function" stuff so we
2000-12-30  Michael Natterer  <mitch@gimp.org>

	* app/gimage.[ch]: removed all the
	"typedef gimage_function gimp_image_function" stuff so we can clearly
	see what is really a GImage function.
	Removed gimage_get_ID(). Use pdb_id_to_image() instead.

	* app/airbrush.c
	* app/desaturate.c
	* app/disp_callbacks.c
	* app/equalize.c
	* app/fileops.c
	* app/floating_sel.c
	* app/gdisplay_ops.c
	* app/gimpdrawable.c
	* app/global_edit.c
	* app/image_map.c
	* app/invert.c
	* app/lc_dialog.c
	* app/paths_dialog.c
	* app/plug_in.c
	* app/xcf.c

	* app/color_cmds.c
	* app/convert_cmds.c
	* app/image_cmds.c
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/image.pdb: changed accordingly.
2000-12-30 00:16:50 +00:00
Sven Neumann a75a723968 more things to do
2000-12-29  Sven Neumann  <sven@gimp.org>

	* TODO.xml: more things to do
2000-12-29 16:57:11 +00:00
Michael Natterer 8d6c335f8f app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h
2000-12-29  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/channel_pvt.h
	* app/drawable_pvt.h
	* app/gdisplayF.h
	* app/gimpdrawableP.h
	* app/gimpimageP.h
	* app/layer_pvt.h
	* app/toolsF.h: removed these files.

	* app/apptypes.h
	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.

	* tools/pdbgen/pdb/brush_select.pdb
	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/display.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/gradient_select.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/help.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb
	* tools/pdbgen/pdb/pattern_select.pdb
	* tools/pdbgen/pdb/patterns.pdb
	* tools/pdbgen/pdb/selection.pdb
	* tools/pdbgen/pdb/tools.pdb
	* app/*: chainsaw #include cleanup:

	- Never (never!!) include stuff in header files except where we
	  need access to structures' contents (like derived objects).
	- Added prototypes and proper formating in many files.
	- The #include order in *all* *.c files is as follows:

	#include "config.h"

	#include <system stuff>

	#include <gtk/gtk.h>

	#include "apptypes.h"

	#include "gimp stuff"

	#include "libgimp stuff"

	#include "libgimp/gimpintl.h"

	By following this scheme we can easily see a file's dependencies
	from it's #include's and can grep for the inclusion to find out
	where a file is used.

	* tools/pdbgen/app.pl: changed to follow the include scheme above.

	* libgimp/Makefile.am
	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
	and from app/apptypes.h.

	* libgimp/gimpcolorbutton.[ch]
	* libgimp/gimpdialog.[ch]
	* libgimp/gimphelpui.[ch]
	* libgimp/gimpparasite.[ch]
	* libgimp/gimppatheditor.[ch]
	* libgimp/gimpprotocol.c
	* libgimp/gimpquerybox.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimptypes.h
	* libgimp/gimpui.h
	* libgimp/gimpunit.h
	* libgimp/gimpunitmenu.[ch]
	* libgimp/gimpwidgets.[ch]: changed accordingly.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gdyntext/message_window.c
	* plug-ins/imagemap/imap_default_dialog.c
	* plug-ins/imagemap/imap_file.c: these files used to include
	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
	no longer possible because the libgimpui headers don't inlcude
	"libgimp/gimpunit.h" any more.
2000-12-29 15:22:01 +00:00
Asbjørn Pettersen 9111fe0673 remove gimp_color_display_register 2000-12-29 11:24:44 +00:00
Simon Budig c7f6e3d2a0 modules/colorsel_triangle.c Fixed the same 16->8bit conversion bug as in
2000-12-29  Simon Budig  <simon@gimp.org>

        * modules/colorsel_triangle.c   Fixed the same 16->8bit conversion
        bug as in gimp-1-2 and removed duplicated code.
2000-12-29 08:11:48 +00:00
Simon Budig a78110b873 gimp_splash.ppm A new splash... gimp1_2_splash.ppm A new file for the old
2000-12-28  Simon Budig  <simon@gimp.org>

        * gimp_splash.ppm     A new splash...
        * gimp1_2_splash.ppm  A new file for the old splash

        * modules/colorsel_triangle.c   Fixed a warning.
2000-12-29 02:54:03 +00:00
Simon Budig 6b5271914d modules/colorsel_triangle.c Cleanup, indentation madness, first steps
2000-12-28  Simon Budig  <simon@gimp.org>

        * modules/colorsel_triangle.c
        Cleanup, indentation madness, first steps towards a one-click
        color-selector.
2000-12-28 22:40:04 +00:00
Sven Neumann ebe7d2f988 app/channel.c use gtk_object_sink() instead of gtk_object_unref() when
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/channel.c
	* app/layer.c: use gtk_object_sink() instead of gtk_object_unref()
	when deleting a layer or channel since only floating objects should
	be destroyed this way. A layer or channel that has been attached
	to an image shall never be deleted.

	* app/layer_cmds.c
	* libgimp/gimplayer_pdb.c
	* tools/pdbgen/pdb/layer.pdb: reenabled the gimp_layer_delete() PDB
	function since it might be useful under rare circumstances.
2000-12-28 19:17:41 +00:00
Sven Neumann 4e5c3195ba app/commands.c small new feature: display a layer preview popup when
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/commands.c
	* app/layer_select.[ch]: small new feature: display a layer preview
	popup when switching the active layer using PageUp/PageDown. Could
	need a little tweaking...
2000-12-28 17:31:07 +00:00
Michael Natterer 0d440e1040 app/channel.[ch] app/drawable.h app/gimpdrawable.[ch] app/gimpdrawableP.h
2000-12-28  Michael Natterer  <mitch@gimp.org>

	* app/channel.[ch]
	* app/drawable.h
	* app/gimpdrawable.[ch]
	* app/gimpdrawableP.h
	* app/gimpimage.[ch]
	* app/gimpimageP.h
	* app/layer.[ch]
	* app/layer_pvt.h: started a major cleanup of all image/drawable
	files. Added tons of "const GimpImage *" declarations and properly
	formated the headers.

	* app/bezier_select.c
	* app/channels_dialog.c
	* app/crop.c
	* app/fileops.[ch]
	* app/fuzzy_select.c
	* app/gdisplay.c
	* app/layers_dialog.c
	* app/move.c
	* app/paint_funcs.[ch]
	* app/qmask.c
	* app/undo.c: changed accordingly plus the usual portion of coding
	style paranoia. This is not finished but Sven promised to buy me
	a beer if I commit now ;)
2000-12-28 16:19:55 +00:00
Sven Neumann c11acc6c67 app/boundaryF.h app/gdisplayP.h app/gimplistP.h app/gimplutP.h
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/boundaryF.h
	* app/gdisplayP.h
	* app/gimplistP.h
	* app/gimplutP.h
	* app/gimpsetP.h
	* app/parasitelistP.h
	* app/pixel_regionP.h: removed these files

	* app/Makefile.am
	* app/apptypes.h
	* app/boundary.[ch]
	* app/floating_sel.h
	* app/gdisplay.c
	* app/gimplist.h
	* app/gimplut.[ch]
	* app/gimpset.[ch]
	* app/parasitelist.[ch]
	* app/pixel_processor.c
	* app/pixel_region.[ch]: moved structure definitions into the
	normal headers, various cleanups
2000-12-28 02:01:16 +00:00
Sven Neumann 243c5f4929 app/channel_cmds.c app/layer_cmds.c libgimp/gimpchannel_pdb.c
2000-12-28  Sven Neumann  <sven@gimp.org>

	* app/channel_cmds.c
	* app/layer_cmds.c
	* libgimp/gimpchannel_pdb.c
	* libgimp/gimplayer_pdb.c
	* plug-ins/common/warp.c
	* plug-ins/gap/gap_exchange_image.c
	* plug-ins/gap/gap_range_ops.c
	* plug-ins/perl/examples/bricks
	* plug-ins/perl/examples/glowing_steel
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/layer.pdb:

	Two of the gimp-perl scripts used to call gimp_layer_delete() after
	gimp_image_remove_layer(). This will fail since the layer is already
	scheduled for destruction by removing it from the associated image or
	by deleting that image. It is thus dangerous and superfluous to export
	this feature through the PDB. The gimp_layer_delete() is hereby
	obsolete and does nothing any longer. I have removed the code calling
	it from all over the place (it was commented out in almost all places).

	The PDB help for gimp_channel_delete() now explicetly tells the user
	about the proper usage of the procedure.
2000-12-27 23:49:17 +00:00
Michael Natterer 7355ee111c app/bezier_select.[ch] massive cleanup (prototypes, indentation, ...)
2000-12-28  Michael Natterer  <mitch@gimp.org>

	* app/bezier_select.[ch]
	* app/bezier_selectP.h: massive cleanup (prototypes, indentation, ...)
2000-12-27 23:40:34 +00:00
Michael Natterer f8769ee5e2 cleanup, proper prototypes, ...
2000-12-28  Michael Natterer  <mitch@gimp.org>

	* app/measure.c: cleanup, proper prototypes, ...
2000-12-27 23:25:51 +00:00
Michael Natterer b45bde77da the size of the string holding the image data was one byte too short (we
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/csource.c: the size of the string holding the
	image data was one byte too short (we forgot the trailing '\0').
	Reported by <goswin.brederlow@student.uni-tuebingen.de>
2000-12-27 20:51:09 +00:00
Sven Neumann c6ea8d673f TODO.xml new files. TODO.xml is a first start on a roadmap towards
2000-12-27  Sven Neumann  <sven@gimp.org>

	* TODO.xml
	* docs/make-todo: new files. TODO.xml is a first start on a roadmap
	towards gimp-1.4. All new features and major changes need to be
	defined here to be accepted into the gimp-1.3 branch.
2000-12-27 18:55:02 +00:00
Michael Natterer 7f29801363 gimp_image_merge_layers(): apply the layer mask only if layer->apply_mask
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/gimpimage.c: gimp_image_merge_layers(): apply the layer mask
	only if layer->apply_mask is TRUE, cleanup.
2000-12-27 18:15:37 +00:00
Simon Budig 2855049587 plug-ins/mosaic/mosaic.c plug-ins/script-fu/scripts/textured-logo.scm
2000-12-27  Simon Budig  <simon@gimp.org>

        * plug-ins/mosaic/mosaic.c
        * plug-ins/script-fu/scripts/textured-logo.scm
        Implemented a toggle to ask the user, if he wants to allow some
        tiles to be split in two pieces. This enables perfect hexagonal/
        squared/octagonal tiles. Changed the PDB-Interface and changed the
        script using this plug-in.
2000-12-27 18:09:06 +00:00
Michael Natterer 4c5757ee96 app/gimage.h implemented gimp_image_get_layer_by_index(), small cleanups.
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/gimage.h
	* app/gimpimage.[ch]: implemented gimp_image_get_layer_by_index(),
	small cleanups.

	* app/commands.c
	* app/layers_dialog.c: use the new function instead of accessing
	the layer list directly.
2000-12-27 16:12:05 +00:00
Michael Natterer 8d37156c7b layers_dialog_scroll_index(): don't fiddle around with magic numbers when
2000-12-27  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: layers_dialog_scroll_index(): don't fiddle
	around with magic numbers when calculating the layer widget's
	height but simply ask one of them for it's allocation.  Fixes
	positioning when the preview is smaller than the layer widget list
	item.
2000-12-27 15:00:42 +00:00
Tomas Ogren 33e7772668 Remove the last comma in an enum, xlc barfs
2000-12-27  Tomas Ogren  <stric@ing.umu.se>

* plug-ins/ifscompose/ifscompose_storage.c: Remove the last comma in
an enum, xlc barfs
2000-12-27 03:13:25 +00:00
Manish Singh 1f410de1aa fix fd leak on pattern loading
-Yosh
2000-12-26 19:11:10 +00:00
Manish Singh c1adde16d2 roll changelog for 1.2
-Yosh
2000-12-25 22:09:39 +00:00
Manish Singh 378814ac77 1.2.0 stuff
-Yosh
2000-12-25 08:08:08 +00:00
Manish Singh a7aca4cb97 disabled display filters code, since it is unfinished
-Yosh
2000-12-24 20:27:04 +00:00
Michael Natterer 274a33a063 This is not my day :) 2000-12-24 16:55:13 +00:00
Michael Natterer baf92ac720 app/color_cmds.c my last s/rangechanged/range_changed/ somehow was not
2000-12-24  Michael Natterer  <mitch@gimp.org>

	* app/color_cmds.c
	* tools/pdbgen/pdb/color.pdb: my last s/rangechanged/range_changed/
	somehow was not really "g" ;)
2000-12-24 16:40:47 +00:00
Sven Neumann 3c5df05473 applied gimp-kirchgessner-001220-0 which makes the sunras plug-in
2000-12-21  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/sunras.c: applied gimp-kirchgessner-001220-0
        which makes the sunras plug-in recognize files with the .ras and
        .rs extensions (used by StarOffice and Suns Image Tool).
2000-12-21 16:33:49 +00:00
Sven Neumann 4153b89ef4 a new hat for Wilber courtesy of Seth Burgess.
2000-12-21  Sven Neumann  <sven@gimp.org>

	* docs/Wilber_Construction_Kit.xcf.gz: a new hat for Wilber courtesy
	of Seth Burgess.
2000-12-21 14:25:41 +00:00
Sven Neumann c668aaa437 app/gradient.c reviewed the gradient code. The old code used to use list
2000-12-21  Sven Neumann  <sven@gimp.org>

	* app/gradient.c
	* app/gradient_select.[ch]: reviewed the gradient code. The old code
	used to use list indices which led to bug #35612 and other problems.
	We now attach a pointer to the gradient to each row in the GtkClists
	and retrieve the matching row for a gradient using
	gtk_clist_find_row_from_data(). Additionally I have added similar code
	as we use for brushes to assure that no two gradients have the same
	name.
2000-12-21 11:56:58 +00:00
Manish Singh ea5614e2f5 1.1.32 stuff
-Yosh
2000-12-21 00:02:10 +00:00
Tor Lillqvist 5e4ab1a3fc Remove gpb and spheredesigner. Add gih. (Thanks Sven and Jens for cleaning
2000-12-20  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/makefile.mingw.in (COMMON): Remove gpb and
	spheredesigner. Add gih. (Thanks Sven and Jens for cleaning up the
	brush stuff...)

	* libgimp/gimp.def: Add gimp_invert.
2000-12-20 22:35:57 +00:00
Michael Natterer 886acce136 plonk, my "cleanup" yesterday broke ENABLE_MP. Fixes #35668.
2000-12-20  Michael Natterer  <mitch@gimp.org>

	* app/gimphistogram.c: plonk, my "cleanup" yesterday
	broke ENABLE_MP. Fixes #35668.
2000-12-20 10:33:53 +00:00
Manish Singh edf6db711c 1.1.31 stuff
-Yosh
2000-12-19 22:19:02 +00:00
Michael Natterer caafe276a5 couldn't resist to heavily indent all function prototypes before starting
2000-12-19  Michael Natterer  <mitch@gimp.org>

	* app/gradient.c: couldn't resist to heavily indent all function
	prototypes before starting to fix the rename-bug. Nothing changed.
2000-12-19 21:49:46 +00:00
Stanislav Brabec d442225b58 Removed conflict. 2000-12-19 19:01:52 +00:00
Stanislav Brabec 157be09f07 Typo fixes. Added gee_zoom.c. Added i18n of menu item.
2000-12-19  Stanislav Brabec  <utx@penguin.cz>

        * plug-ins/gap/gap_lib.c: Typo fixes.
        * po-plug-ins/POTFILES.in: Added gee_zoom.c.
        * plug-ins/common/gee.c, plug-ins/common/gee_zoom.c: Added i18n
        of menu item.
2000-12-19 18:58:13 +00:00
Sven Neumann 336e10aed0 applied a patch from David Hodson that reverts the curves tool back to its
2000-12-19  Sven Neumann  <sven@gimp.org>

	* app/curves.c: applied a patch from David Hodson that reverts
	the curves tool back to its old behaviour (start with the identical
	transform), but keeps the fix for bug #33403.
2000-12-19 16:31:49 +00:00
Michael Natterer e7c969dd33 uniquefy pattern names before inserting them into the list. This way DND
2000-12-19  Michael Natterer  <mitch@gimp.org>

	* app/patterns.c: uniquefy pattern names before inserting them
	into the list. This way DND (which passes only the pattern's
	name) works as expected. Fixes #35258.
2000-12-19 16:13:34 +00:00
Michael Natterer 3c85607e6a app/Makefile.am removed.
2000-12-19  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/gimphistogramP.h: removed.

	* app/gimphistogram.[ch]
	* app/histogramwidget.[ch]: Histogram cleanup: replaced the
	channel #define's by a properly named enum and use this enum
	type as parameter in functions instead of "int".

	* app/curves.c
	* app/histogram_tool.c
	* app/levels.c: changed accordingly.
2000-12-19 14:43:54 +00:00
Sven Neumann a9cb4498bf applied (a modified version of) gimp-timecop-20001213-17. Delayed update
2000-12-19  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/exchange.c: applied (a modified version of)
        gimp-timecop-20001213-17. Delayed update for the sliders and
        and a "click preview to pick color" function.
2000-12-19 12:54:34 +00:00
Sven Neumann d75c6435e0 set the spacing and other info from the first brush just as the old code
2000-12-19  Sven Neumann  <sven@gimp.org>

	* app/gimpbrushpipe.c (gimp_brush_pipe_load): set the spacing and
	other info from the first brush just as the old code used to do.
2000-12-19 03:22:05 +00:00
Sven Neumann d6a477a7ac reviewed TODO 2000-12-19 02:56:06 +00:00
Michael Natterer 4e7f5fd683 Load broken (GRAYA and RGBA) patterns but tell the user that they are
2000-12-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/pat.c: Load broken (GRAYA and RGBA) patterns
	but tell the user that they are broken. Cleanup.
2000-12-19 01:58:39 +00:00
Sven Neumann 6deb78e9b6 alter the pixpipe parameters and attach them as parasite, so saving a
2000-12-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gih.c: alter the pixpipe parameters and attach them
	as parasite, so saving a loaded .gih file yields the same brush again
	(minus the brush spacing which is not yet stored in the image).
2000-12-19 00:24:42 +00:00
Sven Neumann 690ac8d13d Jens Lautenbacher <jtl@gimp.org>
2000-12-18  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* data/brushes/Makefile.am: remove old pepper.gpb when installing new
	brushes.

	* data/brushes/SketchBrush-16.gih
	* data/brushes/SketchBrush-32.gih
	* data/brushes/SketchBrush-64.gih: converted to grayscale brush pipes.

	* plug-ins/common/gih.c: commented out code that sets loaded pipe
	parameters as parasite until we figure out how to do it right.

	* devel-docs/gpb.txt: mention that the .gpb format is obsolete.
	* devel-docs/gih.txt: updated.
2000-12-18 20:37:23 +00:00
Sven Neumann f44f7fc6fd Jens Lautenbacher <jtl@gimp.org>
2000-12-18  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* plug-ins/common/gbr.c: save and load brush name into/from layer name.

	* plug-ins/common/gih.c: added gih loader. The loader is able to read
	the old brush pipe format too. Brush pipes will only be saved in the
	new format. Fixes bugs #21806, #34167 and #34168.
2000-12-18 19:38:43 +00:00
Daniel Egger d8dfc2128a Second attempt by David Neary to fix bug. 2000-12-18 19:18:44 +00:00
jtl 1153f4ff79 fixed for new gbr 2000-12-18 19:11:14 +00:00
jtl a5b0575f13 brush script fixed 2000-12-18 18:38:00 +00:00
Daniel Egger fcc29b05dc Added bugfix from David Neary to fix #9156. 2000-12-18 18:01:12 +00:00
Sven Neumann f4279e0215 Jens Lautenbacher <jtl@gimp.org>
2000-12-18  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* data/brushes/Makefile.am
	* data/brushes/pepper.gpb: removed
	* data/brushes/pepper.gbr: added (a nicer version of) the Pepper
	brush in the .gbr format that does support pixmap brushes now.

	* plug-ins/common/gbr.c: added support for loading obsoleted
	Gimp Pixmap Brushes format (.gpb).
2000-12-18 17:10:45 +00:00
Michael Natterer 36c685884d removed gpb.c, added gih.c
2000-12-18  Michael Natterer  <mitch@gimp.org>

	* po-plug-ins/POTFILES.in: removed gpb.c, added gih.c
2000-12-18 15:59:41 +00:00
Sven Neumann 3cff8419db Jens Lautenbacher <jtl@gimp.org>
2000-12-18  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* app/Makefile.am

	* app/gimpbrushlistP.h
	* app/gimpbrushpipeP.h
	* app/gimpobjectP.h: removed these three files

	* app/parasitelistP.h
	* app/channels_dialog.c
	* app/docindex.c
	* app/gimpdrawable.c
	* app/gimpdrawableP.h
	* app/gimpimage.c
	* app/gimpimageP.h
	* app/gimplist.[ch]
	* app/gimpobject.c
	* app/gimpobject.h
	* app/gimpsetP.h: changed according to header removal

	* app/airbrush.c
	* app/brush_select.[ch]
	* app/brushes_cmds.c
	* app/gimpbrush.[ch]
	* app/gimpbrushgenerated.[ch]
	* app/gimpbrushlist.[ch]
	* app/gimpbrushpipe.[ch]
	* app/gimpcontextpreview.c
	* app/paint_core.c
	* app/paintbrush.c
	* app/pencil.c
	* tools/pdbgen/pdb/brushes.pdb: Big Brushes Cleanup.

	The GimpBrush* object hierarchy and the file formats were broken by
	"design". This made it overly difficult to read and write pixmap
	brushes and brush pipes, leading to the situation that The GIMP was
	not able to read it's very own file formats. Since the GimpBrush
	format did support arbitrary color depths, the introduction of a
	file format for pixmap brushes was unnecessary.

	The GimpBrushPixmap object is dead. GimpBrush has an additional
	pixmap temp_buf and handles pixmap brushes transparently. The file
	format of pixmap brushes is not any longer a grayscale brush plus
	a pattern, but a simple brush with RGBA data. The old brushes can
	still be loaded, but the .gpb format is deprecated.

	GimpBrushPipe derives from GimpBrush. The fileformat is still a text
	header, followed by a number of brushes, but those brushes are stored
	in the new GimpBrush format (no pattern anymore). The pipe does not
	care about the depth of the contained GimpBrushes, so we get
	grayscale BrushPipes for free. Since the brush loader still loads the
	old format, old .gih files can also still be loaded.

	Since the brushes in the GimpBrushPipe do not any longer contain a
	pointer to the pipe object, we do only temporarily switch brushes
	in the paint_core routines. This is not very elegant, but the best
	we can do without a major redesign.

	* app/patterns.[ch]: changed the loader to work with a filedescriptor
	instead of a filehandle to make it work with the new brush loading
	code.

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/gih.c: new plug-in that saves GIH files in the
	new format (loader will follow soon)

	* plug-ins/common/gpb.c: removed since Pixmap Brushes are no longer
	supported as a special file format.

	* plug-ins/common/gbr.c: load and save brushes in the new brush format
	which allows RGBA brushes too.

	* plug-ins/common/pat.c: load and save grayscale patterns too
2000-12-18 15:14:08 +00:00
Michael Natterer 333bfaf5b6 Using "env" instead of "environ" caused a clash. Changed the other one to
2000-12-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gee.c: Using "env" instead of "environ" caused
	a clash. Changed the other one to "environment".
2000-12-18 03:06:15 +00:00
Tor Lillqvist bda1ac7f7e Typo. Use GLib random functions.
2000-12-17  Tor Lillqvist  <tml@iki.fi>

	* config.h.win32: Typo.
	Use GLib random functions.

	* plug-ins/makefile.mingw.in (COMMON): Add gee_zoom.

	* plug-ins/common/animationplay.c: Win32-specific #include and
	#define stuff not needed any longer.

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c: No use trying to use G_OS_WIN32 to decide
	whether to include glib.h, as glib.h is where G_OS_WIN32 gets
	defined...

	* plug-ins/common/gee.c: Can't use "environ" as variable name,
	it's in the C library.h on various systems. Use the name "env"
	instead.
2000-12-17 20:07:15 +00:00
Michael Natterer 59be62713c plug-ins/FractalExplorer/FractalExplorer.c plug-ins/common/animationplay.c
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/gz.c
	* plug-ins/common/hrz.c
	* plug-ins/common/pat.c
	* plug-ins/common/pnm.c
	* plug-ins/common/ps.c. #ifdef early inclusion of <glib.h> with
	G_OS_WIN32. Avoids warnings about redefinition of MIN and MAX.
	Some #include cleanups.
2000-12-17 16:50:00 +00:00
Michael Natterer 99e8d420aa don't warn about a non-existant "Script-Fu" menu. (the user should have
2000-12-17  Michael Natterer  <mitch@gimp.org>

	* app/menus.c: don't warn about a non-existant "Script-Fu" menu.
	(the user should have the choice of just removing the script-fu
	plug-in without any side-effects).
2000-12-17 16:05:41 +00:00
Asbjørn Pettersen 9d4530175e use GIMP_PDB_EXECUTION_ERROR 2000-12-17 10:46:02 +00:00
Adam D. Moss b9de2ab687 typo fix. 2000-12-17 09:58:43 +00:00
Sven Neumann 83c00d760e Ooops, got the name wrong when adding the WCK. 2000-12-17 02:36:20 +00:00
Sven Neumann 6639e17c0d preview the curve settings in the image window when initializing the tool.
2000-12-17  Sven Neumann  <sven@gimp.org>

	* app/curves.c: preview the curve settings in the image window when
	initializing the tool. This way the new curves behaviour (init with
	last settings) is visible.

	* app/user_install.c: check that strings are non-NULL before passing
	them to strcmp.

	* libgimp/gimpfileselection: do not try to pass a NULL text to
	gtk_entry_set_text, use an empty string instead.
2000-12-17 00:28:32 +00:00
Sven Neumann 7d0ca8d0fe app/gimppreviewcache.h app/channel.c put the preview cache priming code
2000-12-16  Sven Neumann  <sven@gimp.org>

	* app/gimppreviewcache.h
	* app/channel.c
	* app/layer.c: put the preview cache priming code back into place,
	but disabled it for small images to avoid unnecessary upscaling.
2000-12-16 22:02:10 +00:00
Sven Neumann dfa2bed505 Last-minute cleanup:
2000-12-16  Sven Neumann  <sven@gimp.org>

	Last-minute cleanup:

	* app/gimpdrawableF.h
	* app/gimphistogramF.h
	* app/gimpimageF.h
	* app/gimplistF.h
	* app/gimplutF.h
	* app/gimpobjectF.h
	* app/gimpsetF.h
	* app/layerF.h
	* app/parasitelistF.h: removed these files

	* app/Makefile.am
	* tools/pdbgen/Makefile.am: changed accordingly

	* app/[almost every file]: include cleanup
2000-12-16 21:37:03 +00:00
Seth Burgess 9bc546c1ad Add alpha automatically on colortoalpha plug-in. 2000-12-16 17:42:43 +00:00
Sven Neumann f9ea721238 Jens Lautenbacher <jtl@gimp.org>
2000-12-16  Sven Neumann  <sven@gimp.org>
	    Jens Lautenbacher <jtl@gimp.org>

	* Makefile.am
	* docs/Wilber_Construction_Kit.xcf.gz: added an example XCF file
2000-12-16 17:00:28 +00:00
Sven Neumann 7d0c67b400 fixed a warning since gee is no longer hidden, I put the old code back in
2000-12-16  Sven Neumann  <sven@gimp.org>

	* app/fileops.c: fixed a warning
	* app/menus.c: since gee is no longer hidden, I put the old code
	back in that keeps its entry at the bottom of the menu.
2000-12-15 23:28:15 +00:00
Adam D. Moss ede5099325 fsck me, cvs is being crap today. 2000-12-15 19:50:22 +00:00
Michael Natterer fde8a7aeaa re-added it to CVS.
2000-12-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/spheredesigner.c: re-added it to CVS.

	* plug-ins/common/.cvsignore
	* plug-ins/common/plugin-defs.pl: properly exclude it from the build
	and the distribution.
2000-12-15 18:08:31 +00:00
Vidar Madsen/gimpressionist ea7d01dd21 Removed from CVS, until it gets more usable.
* plug-ins/common/spheredesigner.c: Removed from CVS, until
it gets more usable.
2000-12-15 17:07:57 +00:00
Simon Budig 52415cc25e Fixed the unuseable PDB-interface
2000-12-15  Simon Budig  <simon@gimp.org>

        * plug-ins/common/convmatrix.c: Fixed the unuseable PDB-interface

        * plug-ins/script-fu/scripts/erase-rows.scm: Changed the script
        so that it actually does what it claims to do: *erase* the rows.
2000-12-15 16:55:34 +00:00
Sven Neumann e29df7e285 added new function gimp_preview_scale().
2000-12-15  Sven Neumann  <sven@gimp.org>

	* app/gimppreviewcache.[ch]: added new function gimp_preview_scale().

	* app/channel.c
	* app/channels_dialog.c
	* app/gimpimage.c
	* app/layer.c
	* app/layers_dialog.c
	* app/lc_dialog.c
	* app/nav_window.c: unified preview drawing code. Previews are never
	generated larger than the canvas size. Image and channel previews are
	scaled up to the desired size, so does the navigation window. The
	layer previews are not yet scaled up again since we can not use
	gimp_preview_scale here. I have removed the preview_cache priming
	code since we don't need it any longer and it caused bad results.
2000-12-15 15:54:17 +00:00
Michael Natterer bf2af1a230 added support for the GIMP_HELP_ROOT environment variable: Let it point to
2000-12-15  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c: added support for the
	GIMP_HELP_ROOT environment variable: Let it point to some
	directory to let the help browser read it's files from there.
	Useful for viewing the autogenerated stuff in <gimp-help>/help/C/gimp/.
2000-12-15 05:38:19 +00:00
Michael Natterer 06e409e0f7 configure.in Updated Gimp-Help. See help/ChangeLog for details.
2000-12-15  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* help/*: Updated Gimp-Help. See help/ChangeLog for details.

	* app/channels_dialog.c
	* app/gdisplay.c
	* app/gradient.c
	* app/layers_dialog.c
	* app/menus.c
	* app/paths_dialog.c
	* app/preferences_dialog.c
	* app/resize.c: fixed menu paths.

	* plug-ins/helpbrowser/helpbrowser.c: load a special
	"undocumented_filter.html" page if a filter was not found.
	Adapted to the new help structure.

2000-12-15  Michael Natterer  <mitch@gimp.org>

	* makedummyhelpfile.sh
	* makeindex.sh: removed.

	* images/*: added some images.

	* help/*: Updated to the latest version of the gimp-help CVS module.

	This Version instoduces a bunch of new toplevel HTML files for
	general topics, an autogenerated index, TOC, glossary,
	an "image" directory on the "C" level, peace, love, and stuff...

	Thanks to all help writers: Prof, Bex, Piers, ...
2000-12-15 03:47:24 +00:00
Sven Neumann b44620a31b missed a place that needed the same fix for bug #31098.
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/nav_window.c: missed a place that needed the same fix for
	bug #31098.
2000-12-14 22:29:49 +00:00
Sven Neumann 909d0ffa2e call lc_dialog_update_image_list() when resizing the image so the image
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/commands.c (image_resize_callback):
	call lc_dialog_update_image_list() when resizing the image so the
	image preview is updated in the l&c dialog.
2000-12-14 19:59:13 +00:00
Vidar Madsen/gimpressionist 82093314cb Fix to avoid a warning when closing window.
* plug-ins/gimpressionist/brush.c: Fix to avoid a warning when
closing window.

* plug-ins/gimpressionist/Paper/struc.pgm
* plug-ins/gimpressionist/Paper/Makefile.am
* plug-ins/gimpressionist/Presets/ApplyCanvas
* plug-ins/gimpressionist/Presets/Makefile.am: Added a paper and
preset on request from Bex, to simulate "Apply Canvas".
2000-12-14 17:41:10 +00:00
Sven Neumann 550aa9b482 app/layers_dialog.c app/lc_dialog.c another try on bug #31098. This time
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/layers_dialog.c
	* app/lc_dialog.c
	* app/nav_window.c: another try on bug #31098. This time limited the
	preview scale ratio in the calling functions. Please test!

	* app/gimpimage.c: small cleanup
2000-12-14 17:28:38 +00:00
Sven Neumann 6130edbf40 modified debug function to help to find missing help files 2000-12-14 14:55:00 +00:00
Sven Neumann 471713e3a7 app/gimpimage.c app/layer.c app/layers_dialog.c cleaned up these files
2000-12-14  Sven Neumann  <sven@gimp.org>

	* app/gimpimage.c
	* app/layer.c
	* app/layers_dialog.c
	* app/nav_window.c: cleaned up these files while trying to find a
	fix for #31098. No real changes, the bug is still present :-(
2000-12-14 13:52:16 +00:00
Sven Neumann 2458bfcbba app/color_picker.c app/convert.c app/curves.c app/gimpdrawable.c
2000-12-13  Sven Neumann  <sven@gimp.org>

        * app/color_picker.c
        * app/convert.c
        * app/curves.c
        * app/gimpdrawable.c
        * app/gimpimage.c
        * app/gimpimage.h
        * app/image_map.c
        * app/info_window.c
        * app/layer.c
        * app/undo.c: couldn't resist: renamed TYPE_HAS_ALPHA() to
        GIMP_IMAGE_TYPE_HAS_ALPHA()

        * plug-ins/common/sunras.c
        * plug-ins/common/xwd.c: small cleanups
2000-12-13 18:53:35 +00:00
Vidar Madsen/gimpressionist b2b5e03d57 Small algo improvements.
* plug-ins/common/spheredesigner.c: Small algo improvements.
2000-12-13 09:52:15 +00:00
Vidar Madsen/gimpressionist b1741cad47 Nicer bumpmapping.
* plug-ins/common/spheredesigner.c: Nicer bumpmapping.
2000-12-13 01:13:36 +00:00
Kelly Martin 5a59083777 Fixed bad default JPEG quality setting in save_image -klm 12/12/00 2000-12-12 20:54:39 +00:00
Austin Donnelly 385bdd745f Fixed #7689: plug-in-autocrop shows a progress dialog when run
2000-12-12  Austin Donnelly  <austin@gimp.org>

	* plug-ins/common/autocrop.c: Fixed #7689: plug-in-autocrop shows
	    a progress dialog when run non-interactively.  In fact, I also
	    cleared up the initialisation code, and made it more robust.
2000-12-12 11:53:47 +00:00
Nick Lamb /GIMP 9a4bd0221d Continue after errors from libtiff - ie they are no longer fatal (#28799) 2000-12-12 02:39:11 +00:00
GMT 2000 Andy Thomas bfa5838c21 app/gimpimage.c app/layers_dialog.c
Mon Dec 11 22:52:43 GMT 2000 Andy Thomas <alt@gimp.org>

	* app/gimpimage.c
        * app/layers_dialog.c

	Backed out some changes that caused problems with the Nav preview
	and small sized images.
        (Change log entry for the last commit I did.)
2000-12-11 22:50:10 +00:00
Sven Neumann d7c90b6d67 check for NULL pointer
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/channel.c (channel_invalidate_previews): check for NULL pointer

	* app/fileops.c: if saving and loading images at the same time, the
	PDB obviously manages to mangle return values. By checking the
	validity of the returned image id we avoid to crash as described in
	bug #26788.

	* app/module_db.c: unload modules from the idle_loop as suggested
	by Austin in #5745.
2000-12-11 21:31:08 +00:00
GMT 2000 Adam D. Moss ec5a515e9b v1.05: Sub-pixel jitter is now less severe and less coarse.
Mon Dec 11 20:29:55 GMT 2000  Adam D. Moss <adam@gimp.org>

	* plug-ins/common/gee.c: v1.05: Sub-pixel jitter is
	now less severe and less coarse.
2000-12-11 20:33:21 +00:00
Sven Neumann 01412f0ba2 clamp scale factor between 0.0 and 1.0 to avoid problems with broken
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/paint_core.c: clamp scale factor between 0.0 and 1.0 to avoid
	problems with broken XInput drivers. Should fix bug #18913.
2000-12-11 19:30:22 +00:00
Sven Neumann d1fa3a5569 configure.in removed obsolete checks for lpc, lpstat and friends
2000-12-11  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/print/Makefile.am: removed obsolete checks for lpc, lpstat
	and friends

	* plug-ins/perl/examples/blended2
	* plug-ins/perl/examples/translogo: register with the correct image
	types. Fixes bug #10675.
2000-12-11 19:17:31 +00:00
Sven Neumann c023ab637d plug-ins/gdyntext/font_selection.c use new GTK+ API
2000-12-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/gdyntext/font_selection.c
	* plug-ins/winsnap/winsnap.c: use new GTK+ API
	s/gtk_toggle_button_set_state/gtk_toggle_button_set_active/
	s/gtk_container_border_width/gtk_container_set_border_width/
2000-12-11 18:46:32 +00:00
Sven Neumann ad42ee26ac return with an error message if called with drawables smaller than 3
2000-12-11  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/convmatrix.c: return with an error message if
        called with drawables smaller than 3 pixels. Fixes bug #30870.
2000-12-11 18:09:26 +00:00
Sven Neumann fe4acfa4ed use the correct pointer when dumping gradients to stderr in case of
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/gradient.c: use the correct pointer when dumping gradients to
	stderr in case of problems. Sort of fixes bug #31510.
2000-12-11 17:15:29 +00:00
Sven Neumann b755f5751a corrected incrementor for the bpp == 4 case. Fixes bug #34738.
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/gimphistogram.c (gimp_histogram_calculate_sub_region):
	corrected incrementor for the bpp == 4 case. Fixes bug #34738.
2000-12-11 16:31:07 +00:00
Vidar Madsen/gimpressionist 80a94a7ffd Fixed a bug appearing when using Tileable + Center of Brush coloring,
* plug-ins/gimpressionist/repaint.c: Fixed a bug appearing
when using Tileable + Center of Brush coloring, closing #14221.
2000-12-11 13:15:16 +00:00
Vidar Madsen/gimpressionist b420e211e1 Fixed a bug when using Paper Relief, closing bug #34667.
* plug-ins/gimpressionist/repaint.c: Fixed a bug when using
Paper Relief, closing bug #34667.

* plug-ins/gimpressionist/gimpressionist.c: Moved the Presets tab
to the far left.
2000-12-11 11:34:38 +00:00
Sven Neumann ed707bea13 app/edit_selection.c app/gimpimage.c app/layer_select.c when computing a
2000-12-11  Sven Neumann  <sven@gimp.org>

	* app/edit_selection.c
	* app/gimpimage.c
	* app/layer_select.c
	* app/layers_dialog.c: when computing a preview, limit the scale ratio
	to a maximum of 1.0. By doing so we avoid to scale drawables up if the
	image (canvas) size becomes larger than the drawable. Fixes bug #31098.

	* app/gimppreviewcache.[ch]: indented
2000-12-11 03:33:25 +00:00
Michael Natterer b55be14fa2 forgot to bump gimp-print's version number and release date when updating
2000-12-11  Michael Natterer  <mitch@gimp.org>

	* configure.in: forgot to bump gimp-print's version number and
	release date when updating to 4.0.4
2000-12-11 02:36:49 +00:00
Manish Singh 67b510d53d 1.1.30 stuff
-Yosh
2000-12-10 00:59:42 +00:00
Vidar Madsen/gimpressionist b302fe37c0 Added a brush contributed by Nevit <nevilo@yahoo.com>.
* plug-ins/gimpressionist/Brushes/{Makefile.in,snow1.pgm}: Added a
brush contributed by Nevit <nevilo@yahoo.com>.
2000-12-08 12:17:43 +00:00
Sven Neumann db3fd7b11e set the background using gimp_palette_get_background() in non-interactive
2000-12-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/MapObject/mapobject_image.c: set the background using
	gimp_palette_get_background() in non-interactive mode too.
2000-12-06 23:06:08 +00:00
Sven Neumann 73bbda719f fix my latest ChangeLog entry which was obscure(TM)
--Sven
2000-12-03 21:36:25 +00:00
Sven Neumann 1edd823545 do not set the layer mode of the bottom layer to NORMAL_MODE if it is
2000-12-03  Sven Neumann  <sven@gimp.org>

	* app/gimpimage.c: do not set the layer mode of the bottom layer to
	NORMAL_MODE if it is DISSOLVE_MODE since the latter does not work
	on the projection with the lower layer but on the layers alpha
	channel. Fixes bug #7829.
2000-12-03 21:34:38 +00:00
Michael Natterer ab6f72912c when applying or deleting the layer mask, we have to call
2000-12-03  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: when applying or deleting the layer mask,
	we have to call layers_dialog_set_menu_sensitivity() ourselves
	whenever calling layer_widget_layer_flush() instead of
	gdisplays_flush().
2000-12-03 19:18:01 +00:00
Michael Natterer 6bb4458abb plug-ins/gflare/gflare.c libgimp/gimpunitmenu.c set separators of option
2000-12-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/gflare/gflare.c
	* libgimp/gimpunitmenu.c
	* libgimp/gimpwidgets.c: set separators of option menus insensitive.
	(see Sven's fix below below).

	* app/layers_dialog.c: set "Merge Down" insensitive for
	the bottom layer.
2000-12-03 18:35:58 +00:00
Sven Neumann 0d9382fb04 app/layer.c app/layers_dialog.c reviewed code in an attempt to fix the
2000-12-03  Sven Neumann  <sven@gimp.org>

	* app/layer.c
	* app/layers_dialog.c
	* plug-ins/common/jpeg.c: reviewed code in an attempt to fix the
	crash-on-jpeg-save. The only thing that I have changed (despite
	lots of indentation) is that we now connect the preview rewdraw
	using gtk_signal_connect_while_alive() which should keep gimp from
	trying to create previews of nonexistant drawables.

Updated german translation.
2000-12-03 18:15:08 +00:00
Sven Neumann d7adc8ad08 set empty menu_items used as separators insensitive. Something seems to be
2000-12-03  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpunitmenu.c (gimp_unit_menu_new): set empty menu_items
	used as separators insensitive. Something seems to be wrong in GTK+
	when it comes to separators in option_menus. This change seems to
	work around this problem.
2000-12-03 14:41:20 +00:00
Sven Neumann 81a758dd81 applied patches to GAP provided by Wolfgang Hofer
--Sven
2000-12-03 13:11:34 +00:00
Michael Natterer 86b0bd74b5 plug-ins/print/README plug-ins/print/RELNOTES Updated to bugfix release
2000-12-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/README
	* plug-ins/print/RELNOTES
	* plug-ins/print/print-util.c: Updated to bugfix release 4.0.4
2000-12-02 17:06:50 +00:00
Michael Natterer 5869411e94 Oops, forgot to commit the ChangeLog. 2000-12-01 13:48:46 +00:00
GMT 2000 Andy Thomas fb4fb8c014 app/curves.c app/levels.c
Thu Nov 30 23:26:07 GMT 2000 Andy Thomas <alt@gimp.org>

	* app/curves.c
        * app/levels.c

	Fix for gimp bug #33403. The curves and levels dialogs should now
	work in GRAYA images.
2000-11-30 23:23:59 +00:00
Austin Donnelly 9a3f33f6f0 Applied patch from David Hodson <hodsond@ozemail.com.au> to fix Bug#33399:
2000-11-29  Austin Donnelly  <austin@gimp.org>

	* app/curves.c: Applied patch from David Hodson
	    <hodsond@ozemail.com.au> to fix Bug#33399: GIMP crashes when
	    applying curve to Grayscaled image when preview is off.
	    Previously the curves tool attempted a reset when changing
	    image, but didn't correctly do this.  Now it has the
	    (more useful) behaviour of doing a partial reset, where the
	    curve remains the same across multiple invocations, allowing
	    you to apply the same tweak to multiple images.  The internal
	    state relevant to image type/depth is correctly reset,
	    stopping the segfault behaviour seen before.

	    Still no fix for Bug#33403: Curves/Levels Tool does not work
	    on GRAYA-Images.
2000-11-29 16:19:43 +00:00
Sven Neumann ceab8aa358 use rint(). The old behaviour was broken for neagtive values.
2000-11-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpwidgets.c (gimp_int_adjustment_update): use rint().
	The old behaviour was broken for neagtive values.
2000-11-27 14:39:58 +00:00
Michael Natterer af3aec76bb Tyop 2000-11-27 13:17:48 +00:00
Michael Natterer c71be31db2 plug-ins/print/README plug-ins/print/RELNOTES Version 3.0.4
2000-11-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/README
	* plug-ins/print/RELNOTES
	* plug-ins/print/print-pcl.c: Version 3.0.4
2000-11-27 13:08:31 +00:00
Austin Donnelly 46b740cc74 plug-ins/ifscompose/ifscompose.c Element labels now properly preserved
2000-11-27  Austin Donnelly <austin@gimp.org>

        * plug-ins/ifscompose/ifscompose.c
        * plug-ins/ifscompose/ifscompose_storage.c: Element labels now
            properly preserved across multiple runs.  Allow run with same
            values.  This is a partial fix for Bug#9156: bug in ifscompose.
            Not all the behaviour described in that bug report could be
            reproduced.  Thanks to David Hodson <hodsond@ozemail.com.au>
            for putting the work in to sort this out and produce the patch.
2000-11-27 10:35:23 +00:00
Sven Neumann 969b4c5957 PLUG_IN_MAINTAINERS changed email address of Winston Chang
2000-11-26  Sven Neumann  <sven@gimp.org>

	* PLUG_IN_MAINTAINERS
	* plug-ins/common/unsharp.c: changed email address of Winston Chang

	* app/gdisplay_color_ui.c: applied a modified version of another
	patch sent by David Odin <David.Odin@bigfoot.com> which sets the
	sensitivity of the buttons in the dialog according to the possible
	actions.
2000-11-26 12:13:23 +00:00
Sven Neumann 91004cfa75 new splash 2000-11-26 11:14:25 +00:00
Garry R. Osgood 18871b798e 2000-11-24 Garry R. Osgood <gosgood>@idt.net *
* app/smudge.c
Defer tool initialization to first motion event.
Fixes latency problem that gave rise to
Shift-smudge bug. Closes #30778.
2000-11-24 17:49:03 +00:00
Sven Neumann 75d371f94c mention that GIMP does not work with GTK+ 1.3.x 2000-11-21 20:54:52 +00:00
Sven Neumann 526ddc4e68 app/gdisplay_color.c applied patches proposed by David Odin
2000-11-21  Sven Neumann  <sven@gimp.org>

	* app/gdisplay_color.c
	* app/gdisplay_color_ui.c: applied patches proposed by
	David Odin <David.Odin@bigfoot.com>. Fixes segfault when removing
	a display filter twice.
2000-11-21 20:54:52 +00:00
Austin Donnelly d7af7c0f3e fixed buffer overrun when previewing an image with alpha that was causing
2000-11-21  Austin Donnelly  <austin@gimp.org>

	* plug-ins/common/exchange.c: fixed buffer overrun when previewing
	    an image with alpha that was causing segfaults on Linux.
	    Fixes Bug#32860.
2000-11-21 18:16:06 +00:00
Sven Neumann 54f243d76c changed the logic that sets the default for "Custom Palette" so it goes
2000-11-20  Sven Neumann  <sven@gimp.org>

	* app/convert.c (build_palette_button): changed the logic that sets
	the default for "Custom Palette" so it goes through the whole list
	instead of stopping at the "Web" palette. The Indexed-Conversion
	dialog now also remembers palettes appearing after the "Web" palette.
2000-11-20 12:06:45 +00:00
Nick Lamb /GIMP 97294fc0d4 Little-endian fix for 16bit TIFF
and Use same endian-detect as other plug-ins for PCX
2000-11-19 23:54:46 +00:00
Michael Natterer 82dc549875 a missing newline confused gtk-doc. Minor doc fixes.
2000-11-19  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpenv.c: a missing newline confused gtk-doc. Minor doc fixes.
2000-11-19 15:14:21 +00:00
Nick Lamb /GIMP b678992aeb Fix alleged problem with small TGA images 2000-11-18 04:24:25 +00:00
Michael Natterer e284e94bfc removed.
2000-11-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/rcm/rcm_pixmaps.h: removed.

	* plug-ins/rcm/pixmaps/.cvsignore
	* plug-ins/rcm/pixmaps/rcm_360.xpm
	* plug-ins/rcm/pixmaps/rcm_a_b.xpm
	* plug-ins/rcm/pixmaps/rcm_ccw.xpm
	* plug-ins/rcm/pixmaps/rcm_cw.xpm: new files.

	* plug-ins/rcm/Makefile.am
	* plug-ins/rcm/rcm_callback.c
	* plug-ins/rcm/rcm_dialog.c: changed accordingly.

	The old method was producing warnings because not all pixmaps
	were used in all files. Also changed the XPMs a bit now that I
	could load them into the GIMP... they are still ugly, though.
2000-11-18 02:38:05 +00:00
Michael Natterer 433046c3dd plug-ins/print/Makefile.am Oops, didn't see Sven's patch when applying a
2000-11-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c: Oops, didn't see Sven's patch when applying
	a different one to both sourceforge branches:

	Don't define LOCALE in Makefile.am but check if the macro
	INIT_I18N_UI exists and use in that case.
2000-11-18 00:33:39 +00:00
Michael Natterer cdd0a5147d app/fileops.c Make sure that we don't try to destroy query_boxes twice or
2000-11-18  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c
	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
	query_boxes twice or try to disconnect not-any-more connected
	handlers.

	* app/color_notebook.c
	* app/gimpcontext.[ch]
	* app/gimphelp.[ch]
	* app/lc_dialog.[ch]
	* app/menus.h
	* app/preferences_dialog.c
	* app/tools.[ch]
	* libgimp/gimpcolorbutton.[ch]
	* libgimp/gimpdialog.[ch]
	* libgimp/gimpexport.[ch]
	* libgimp/gimpfileselection.[ch]
	* libgimp/gimphelpui.[ch]
	* libgimp/gimppatheditor.[ch]
	* libgimp/gimppixmap.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpui.[ch]
	* libgimp/gimpunitmenu.[ch]
	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
	and many other strings passed to UI functions to (const gchar *).
	As a consequence, I had to fix lots of warnings ;)

	* plug-ins/common/tga.c
	* plug-ins/imagemap/imap_main.c: fixed warnings.

	Code cleanup and indentation all over the place.
2000-11-18 00:25:42 +00:00
Sven Neumann e94f7fd15e plug-ins/print/Makefile.am set the locale to "gimp-std-plug-ins". We do
2000-11-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/print.c: set the locale to "gimp-std-plug-ins". We
	do this by defining LOCALE in the Makefile so the gimp-print people
	can define their own value and we can still continue to use the same
	C files that ship with the standalone gimp-print package. Thanks to
	Zbigniew Chyla <cyba@gnome.pl> for pointing this out.
2000-11-16 21:26:11 +00:00
Sven Neumann c84c286b87 we used to g_free memory returned by strdup() here! Also we used to append
2000-11-15  Sven Neumann  <sven@gimp.org>

	* app/fileops.c: we used to g_free memory returned by strdup() here!
	Also we used to append DIR_SEPARATORs to the filename shown in the
	file_selector even if it already ended in one. Fixed all this, closed
	a memleak and cleaned up the code.
2000-11-15 17:48:43 +00:00
Manish Singh c4a14f3be7 set all the locale variables we can, to make sure we get predictable
* plug-ins/common/url.c: set all the locale variables we can, to
make sure we get predictable output from wget

-Yosh
2000-11-13 09:30:09 +00:00
Simon Budig cc2f917cc5 fixed #10554 by requesting a window with the max. size of
2000-11-11  Simon Budig <simon@gimp.org>

        * app/interface.c: fixed #10554 by requesting a window
        with the max. size of 0.75*screen_width x 0.75*screen_height.
        These 75% value is taken from the shrink_wrap code and
        probably should be configurable...
2000-11-12 00:43:15 +00:00
Tor Lillqvist 656c724a45 Implement the noninteractive run mode for file_gih_save. Whew, it took
2000-11-11  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/common/gpb.c: Implement the noninteractive run mode for
	file_gih_save. Whew, it took some trial-and-error iterations to
	figure out how to call this from script-fu, for testing, because
	of the int8 and string array args. Include script-fu snippet in
	comment for reference.
2000-11-11 21:09:25 +00:00
Garry R. Osgood c24b37e51c 2000-11-11 Garry R. Osgood <gosgood>@idt.net *
app/gimpbrushpipe.c
Double frees due to dangling pointers [gimpbrushpipe.c
CVS-1.27 Lines 396 ff]. Upon failure to load an n-th
pixmap, a GPattern holding the dangling pointers would
be released first, also releasing n-1 pixmap's name and
RGB mask. These would again be freed in pipe and GTK
deconstruction.
2000-11-11 15:48:27 +00:00
Tor Lillqvist 5ff22ad0d0 Use '/' instead of G_DIR_SEPARATOR. We are scanning a "preset" file here,
2000-11-11  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/gimpressionist/gimpressionist.c (readdirintolist_real,
	reselect): Use '/' instead of G_DIR_SEPARATOR. We are scanning a
	"preset" file here, with file names always in Unix format. Thanks
	to Jean-Louis HAMEL for this fix.
2000-11-10 22:38:48 +00:00
Manish Singh 0dac10c777 AUTHORS app/authors.h Correct Ray Lehtiniemi's name
* AUTHORS
* app/authors.h
* tools/authorsgen/contributors: Correct Ray Lehtiniemi's name

-Yosh
2000-11-09 23:55:38 +00:00
Sven Neumann 4f2e4fe758 removed some debugging printf statements that were accidentally left in
2000-11-09  Sven Neumann  <sven@gimp.org>

        * plug-ins/gap/gap_lib.c: removed some debugging printf statements
        that were accidentally left in the code.
2000-11-09 19:57:34 +00:00
Michael Natterer f2eb5c25f5 added a confirm dialog for <Image>/File/Revert as suggested by Marc. The
2000-11-09  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c: added a confirm dialog for <Image>/File/Revert
	as suggested by Marc. The old behaviour of simply reverting
	withuot asking is questionable because the "Revert" menu item is
	directly below "Save as..."
2000-11-09 19:12:20 +00:00
Sven Neumann 539074b73d sanity check new width and height. Wrong values might result in a divide
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tile.c (tile): sanity check new width and height.
	Wrong values might result in a divide by zero.
2000-11-08 22:41:13 +00:00
Michael Natterer 841c4278e2 plug-ins/common/bz2.c plug-ins/common/gz.c plug-ins/common/mail.c
2000-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c
	* plug-ins/common/mail.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/url.c: applied a (modified) version of
	gimp-quinet-20001108-1.patch which adds proper checking of the
	return value of waitpid(). Removed the lines adding
	gimp_signal_private() because of the fix below.

	* libgimp/gimp.c: Don't install a SIGCHLD signal handler but simply
	call gimp_signal_private(SIGCHLD, SIG_DFL, SA_RESTART) instead.

	This is IMHO the right thing to do because the reason for the
	introducion of the signal handler was the SA_RESTART feature
	and not the handler itself.
2000-11-08 21:58:22 +00:00
Sven Neumann 13dc11ad6d fixed bug #10151 (Script-fu shadow perspective doesn't work properly).
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/perspective-shadow.scm: fixed bug
	#10151 (Script-fu shadow perspective doesn't work properly).
2000-11-08 21:00:32 +00:00
Sven Neumann 6937d374a1 fixed the option_menu code for the DCT and subsampling options. Fixes bug
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: fixed the option_menu code for the
	DCT and subsampling options. Fixes bug #31253.
2000-11-08 17:51:57 +00:00
Sven Neumann df466ed1dc cleaned up the code and moved interface variables into a structure, thus
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: cleaned up the code and
	moved interface variables into a structure, thus getting rid of
	most global variables. When a script is run, we now check that
	there's no Script-Fu interface active and fail silently if there
	is one. This is an ugly workaround for the fact that the script-fu
	interpreter can not handle multiple scripts at the same time.
	Sort of fixes bug #30665.

	While I was on it, I added proper error reporting for script-fu
	which should help significantly when debugging script-fus.

	* plug-ins/script-fu/script-fu.c: indentation and small cleanups.

	* plug-ins/script-fu/scripts/title-header.scm: fixed this script
	which had been broken for a long time.
2000-11-08 14:35:50 +00:00
Michael Natterer 42ac0856f7 tyop. 2000-11-07 23:50:16 +00:00
Michael Natterer ea31de799a plug-ins/fp/fp_gdk.c #include <libgimp/gimpmath.h> g* types, stuff.
2000-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/fp/fp_gdk.c
	* plug-ins/fp/fp_gtk.c: #include <libgimp/gimpmath.h> g* types, stuff.
2000-11-07 23:34:19 +00:00
Michael Natterer bf18b4b7c9 plug-ins/print/RELNOTES Version 4.0.2 (this time the official one, not
2000-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/RELNOTES
	* plug-ins/print/print-canon.c: Version 4.0.2 (this time the
	official one, not just the README saying 4.0.2 :)
2000-11-07 23:23:02 +00:00
Michael Natterer 312c680047 Makefile.am gimp.spec.in user_install new file gtkrc_user which gets
2000-11-08  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* gimp.spec.in
	* user_install
	* gtkrc_user: new file gtkrc_user which gets installed as
	~/.gimp-1-1/gtkrc (We used to parse the same file twice if the
	user didn't the change user-specific gtkrc. The new file has
	comments only).

	* app/app_procs.c: g_free() the user gtkrc filename after use.

	* libgimp/gimpui.c: parse the user gtkrc here too.
2000-11-07 23:12:03 +00:00
Sven Neumann 994cc2d8c6 fixed typo in my latest entry 2000-11-07 18:38:11 +00:00
Sven Neumann f6fb459511 use gdk_fonset_load() as we do in text_render(). Supposed to fix #31099.
2000-11-07  Sven Neumann  <sven@gimp.org>

	* app/text_tool.c (text_get_extends): use gdk_fonset_load() as we
	do in text_render(). Supposed to fix #31099.
2000-11-07 18:37:28 +00:00
Sven Neumann 5b3cf3bd6d applied a patch from Raphael Quinet which adds a check for the return
2000-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: applied a patch from Raphael
	Quinet which adds a check for the return value of waitpid().
2000-11-07 15:54:31 +00:00
Daniel Egger a2bc52ec29 Added new language hr (Croatian).
2000-11-06  Daniel Egger <egger@suse.de>

        * configure.in: Added new language hr (Croatian).
2000-11-06 15:49:53 +00:00
Sven Neumann eb3b988d94 plug-ins/gap/gap_filter_foreach.c plug-ins/gap/gap_filter_pdb.c
2000-11-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gap/gap_filter_foreach.c
	* plug-ins/gap/gap_filter_pdb.c
	* plug-ins/gap/gap_lib.c
	* plug-ins/gap/gap_mod_layer.c
	* plug-ins/gap/gap_range_ops.c
	* plug-ins/gap/gap_split.c: check if return_value of PDB calls is
	!= GIMP_PDB_SUCCESS, not == FALSE. Use GIMP_RUN_WITH_LAST_VALS on
	consecutive calls of gimp_file_save procedures, so the values set
	in the first interactive call are used for all frames.

... and updated the german translation ....
2000-11-06 12:52:06 +00:00
Sven Neumann 746c37eb7e moved the new enum Garry introduced recently from the header to the .c
2000-11-06  Sven Neumann  <sven@gimp.org>

	* app/convolve.[ch]: moved the new enum Garry introduced recently
	from the header to the .c file so it does not get exported to the
	PDB by enumgen.pl.

and some updates to the italian translation as sent by Daniele Medri.
2000-11-06 12:40:07 +00:00
jaycox e3538264b6 Add some comments. Delete some commented code. Make sure that we are not
* app/paint_funcs.c:  Add some comments.  Delete some commented code.
	* app/gimpbrushlist.c:  Make sure that we are not using bad file names
	for generated brushes.
2000-11-05 13:58:17 +00:00
Garry R. Osgood 2bcc63533c Garry R. Osgood <gosgood>@idt.net
Convolution tool can now operate
in two-pixel regions at the edge
of images. Closes #19285. See
http://idt.net/~gosgood/gimp-patch/patch08.html
2000-11-04 17:54:01 +00:00
Michael Natterer 4e7ca00833 configure.in plug-ins/print/README ...and 4.0.2 :)
2000-11-04  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* plug-ins/print/README
	* plug-ins/print/RELNOTES: ...and 4.0.2 :)
2000-11-04 01:30:04 +00:00
Michael Natterer b2163f579f configure.in gimp-print version 4.0.1
2000-11-04  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* plug-ins/print/RELNOTES: gimp-print version 4.0.1
2000-11-04 01:02:22 +00:00
Sven Neumann d0434826ac parse the users gtkrc as found in ~/.gimp-1.1 after the systemwide gtkrc
2000-11-03  Sven Neumann  <sven@gimp.org>

        * app/app_procs.c (app_init): parse the users gtkrc as found in
        ~/.gimp-1.1 after the systemwide gtkrc has been parsed.

        * user_install.bat: reverted Tor's change since we use the file
        again now.
2000-11-03 22:59:50 +00:00
David Monniaux 87286bee78 autogen.sh change 2000-11-03 20:11:16 +00:00
Nick Lamb /GIMP 69b5239595 PLUGIN_MAINTAINERS: I'll take BMP and TGA too, any more? 2000-11-03 03:20:26 +00:00
Nick Lamb /GIMP bee175ba65 Shiny new TGA filter, please report bugs to njl195@zepler.org.uk 2000-11-03 03:17:19 +00:00
Tor Lillqvist 08ed312e5f Some edits.
2000-11-02  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Some edits.

	* user_install.bat: Don't copy gtkrc any longer, not used.
2000-11-02 20:08:20 +00:00
Sven Neumann d9a007eb04 Robert L Krawitz <rlk@alum.mit.edu> filled the empty spaces.
2000-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/escputil.1.in: Robert L Krawitz <rlk@alum.mit.edu>
	filled the empty spaces.
2000-10-31 20:44:57 +00:00
Manish Singh eae617f34c 1.1.29 stuff
-Yosh
2000-10-31 19:47:49 +00:00
Sven Neumann 9de41ae691 configure.in plug-ins/print/Makefile.am added framework for a manpage
2000-10-29  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/print/Makefile.am
	* plug-ins/print/escputil.1.in: added framework for a manpage
	describing our new tool, escputil. Someone needs to fill in
	some descriptive words here...

	* gimp.spec.in:
	* debian/gimp1.1.files: added entries for escputil and escputil.1
2000-10-29 22:43:25 +00:00
Michael Natterer ca2625a05d plug-ins/print/escputil.c plug-ins/print/.cvsignore new tool which
2000-10-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/escputil.c
	* plug-ins/print/.cvsignore
	* plug-ins/print/Makefile.am: new tool which installs under
	<prefix>/bin and does stuff like cleaning and adjusting your
	printer's head.

	* plug-ins/print/README
	* plug-ins/print/RELNOTES: these files already say 4.0.1 now but I
	didn't tag the sourceforge tree of bumped the version number in
	Makefile.am (it's just about getting in the new executable as early
	as possible).
2000-10-29 19:46:55 +00:00
Sven Neumann 1e0c024cb0 tuned the dialog layout and cleaned up the code. No real changes.
2000-10-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: tuned the dialog layout and cleaned
	up the code. No real changes.
2000-10-29 18:07:07 +00:00
Michael Natterer ab2bf62f5b the argv[] element containing "-g" or "--gimprc" was not set to NULL,
2000-10-29  Michael Natterer  <mitch@gimp.org>

	* app/main.c: the argv[] element containing "-g" or "--gimprc"
	was not set to NULL, fixed broken (tabsize != 8) indentation.
2000-10-29 14:01:17 +00:00
Michael Natterer c7c4a48a3a after getting confused again by the boolean "initialize" variable, I
2000-10-29  Michael Natterer  <mitch@gimp.org>

	* app/menus.c: after getting confused again by the boolean
	"initialize" variable, I finally decided to reverse it's
	logic and changed it to "menus_initialized".
2000-10-29 13:28:48 +00:00
Michael Natterer 8995231fc5 plug-ins/print/Makefile.am plug-ins/print/README plug-ins/print/RELNOTES
2000-10-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/README
	* plug-ins/print/RELNOTES
	* plug-ins/print/print-canon.c
	* plug-ins/print/print-pcl.c: Gimp-Print Version 4.0.0
2000-10-29 12:35:23 +00:00
Michael Natterer 648797a6d1 Oops, forgot to C-x-s before commiting :) 2000-10-28 17:46:52 +00:00
Tor Lillqvist 2e661c1c1e app/gimprc.c (parse_gimprc_file) Make sure the directory doesn't get
2000-10-28  Tor Lillqvist  <tml@iki.fi>

	* app/gimprc.c (parse_gimprc_file)
	* libgimp/gimpenv.c (gimp_directory): Make sure the directory
	doesn't get double path separators in case HOME ends with one. On
	Windows, if the user has set his HOME to \, we get into trouble
	when we try to access a path like \\_gimp1.1\gimprc. Windows
	thinks it's an UNC path to a network server called "_gimp1.1", and
	the program hangs for a moment.
2000-10-28 17:23:39 +00:00
Michael Natterer 6cfb041479 app/gimpdrawable.[ch] did some code review: s/0/NULL/,
2000-10-28  Michael Natterer  <mitch@gimp.org>

	* app/gimpdrawable.[ch]
	* libgimp/gimpsizeentry.c: did some code review: s/0/NULL/,
	s/sprintf/g_snprintf/, spacing.
2000-10-28 15:43:56 +00:00
Michael Natterer b90b68469f plug-ins/common/gauss_iir.c plug-ins/common/gauss_rle.c
2000-10-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/grid.c
	* plug-ins/common/spread.c
	* plug-ins/common/tile.c
	* plug-ins/gflare/gflare.c: RINT (gimp_size_entry_get_refval ()),
	indentation.
2000-10-26 23:21:34 +00:00
Michael Natterer e658b1cc6f same RINT (gimp_size_entry_get_refval ()) fix as below and cleanup.
2000-10-27  Michael Natterer  <mitch@gimp.org>

	* app/resize.c: same RINT (gimp_size_entry_get_refval ()) fix as
	below and cleanup.
2000-10-26 22:15:04 +00:00
Sven Neumann 8cfac64aac avoid modulo operation on negative values.
2000-10-26  Sven Neumann  <sven@gimp.org>

	* app/channel_ops.c (offset_ok_callback): avoid modulo operation on
	negative values.

	* app/channel_ops.c
	* app/crop.c
	* app/file_new_dialog.c
	* app/layers_dialog.c
	* app/preferences_dialog.c
	* app/rotate_tool.c
	* app/scale_tool.c: use RINT() when assigning the result of
	gimp_size_entry_get_refval() to an integer.
2000-10-26 22:02:44 +00:00
Manish Singh e8b2c25e47 Clear up use of --prefix
-Yosh
2000-10-26 18:03:53 +00:00
Nick Lamb /GIMP f1d27284f4 Fix #27994 (corruption of tiled tiffs) 2000-10-25 23:49:30 +00:00
Daniel Egger 888e9a394b Revert last change. 2000-10-25 23:14:11 +00:00
Daniel Egger 65f1edb172 Removed the JIT calculation of the tile_shift value and replaced it by a
* app/image_render.c:
 * app/tile.h: Removed the JIT calculation of the tile_shift
 value and replaced it by a constant called TILE_SHIFT in tile.h.
 This gives the compiler a better chance to optimize the code.
 Also added a few consts all over the place to give the compiler
 some hints.
2000-10-25 19:35:08 +00:00
Simon Budig a922e051bf -)
2000-10-24  Simon Budig  <simon@gimp.org>

        * gimp_splash.ppm  A new splash-screen  (not for 1.2...)    :-)
2000-10-24 12:32:07 +00:00
Michael Natterer ea8c6270c4 don't ask for GIMP_UNIT_PIXEL's number of digits, code cleanup.
2000-10-24  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpsizeentry.c: don't ask for GIMP_UNIT_PIXEL's number
	of digits, code cleanup.
2000-10-24 00:00:31 +00:00
Sven Neumann 27a4faa0b2 plugged memleak (similar to the one that was present in
2000-10-22  Sven Neumann  <sven@gimp.org>

	* app/edit_selection.[ch]: plugged memleak (similar to the one that
	was present in gtkutil_compress_motion()) in the key snooper.

	Round moves to nearest integer instead of truncating the value.
	This seems to fix the reported redraw problems when moving
	selections at low zoom levels.

	Cleaned up the code a little and converted enum values to uppercase.

	* app/bezier_select.c
	* app/free_select.c
	* app/fuzzy_select.c
	* app/move.c
	* app/rect_select.c
	* app/text_tool.c: updated to use the new EditType enum values.

	* app/gimprc.c: minor optimization in the GList handling.

	* app/layer.[ch]: removed unused functions.

	* app/menus.c: removed "Dump Items (Debug)" menu entry.
2000-10-23 09:05:45 +00:00
Michael Natterer 4458ab1484 new file
2000-10-21  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/RELNOTES: new file

	* plug-ins/print/Makefile.am
	* plug-ins/print/README
	* plug-ins/print/print-escp2.c
	* plug-ins/print/print-pcl.c
	* plug-ins/print/print-printers.c
	* plug-ins/print/print-weave.c: Updated to the latest CVS version
	of gimp-print's new stable "print-4_0_branch" branch.
2000-10-21 13:27:30 +00:00
Austin Donnelly d37667433d minor patch from David Hodson <hodsond@ozemail.com.au> to fix off-by-one
2000-10-21  Austin Donnelly  <austin@gimp.org>

	* plug-ins/common/nlfilt.c: minor patch from David Hodson
	    <hodsond@ozemail.com.au> to fix off-by-one error in previous fix.

    	* AUTHORS
	* app/authors.h
	* tools/authorsgen/contributors: Add the prolific David Hodson
	    to the authors list.
2000-10-21 13:15:55 +00:00
Seth Burgess b7786f115c Compile before commit... 2000-10-20 03:44:47 +00:00
Seth Burgess e62d92fdce Help string updates + xbm parasite handling fix. 2000-10-20 03:38:15 +00:00
Sven Neumann 733fe38d77 app/authors.h updated after Seth's change to AUTHORS. Please do always
2000-10-19  Sven Neumann  <sven@gimp.org>

	* app/authors.h
	* tools/authorsgen/contributors: updated after Seth's change to
	AUTHORS. Please do always change the file contributors, then run
	authorsgen.
2000-10-19 11:13:08 +00:00
Seth Burgess ec469b105f Added ALPHA_LUT to types accecpted by levels PDB. Patch by TomR.
ChangeLog tools/pdbgen/pdb/color.pdb app/color_cmds.c
2000-10-19 04:48:58 +00:00
Daniel Egger 8780254389 Add a patch from Tino Schwarze <tino.schwarze@informatik.tu-chemnitz.de>
2000-10-18  Daniel Egger  <egger@suse.de>

        * app/resize.c: Add a patch from
	Tino Schwarze <tino.schwarze@informatik.tu-chemnitz.de>
	to add a reset button to the image resize dialog.
2000-10-18 23:31:38 +00:00
Sven Neumann 22616e80f4 as Mitch pointed out we used to leak GList memory here. The new
2000-10-18  Sven Neumann  <sven@gimp.org>

	* app/cursorutil.c (gtkutil_compress_motion): as Mitch pointed out we
	used to leak GList memory here. The new implementation should be
	faster too, since it prepends to the list instead of appending.
2000-10-18 17:51:25 +00:00
Michael Natterer c5b032b01e added $GTK_CFLAGS and $GTK_LIBS. Closes #28491.
2000-10-18  Michael Natterer  <mitch@gimp.org>

	* plug-ins/helpbrowser/Makefile.am: added $GTK_CFLAGS and $GTK_LIBS.
	Closes #28491.
2000-10-18 00:12:32 +00:00
Sven Neumann 5848596f74 as Garrick James correctly pointed out, GPlugInInfo was changed to
2000-10-18  Sven Neumann  <sven@gimp.org>

	* gimp.m4: as Garrick James correctly pointed out, GPlugInInfo was
	changed to GimpPlugInInfo with version 1.1.24, not 1.1.20.
2000-10-17 22:10:40 +00:00
Michael Natterer d69c1a72b4 gimp_uninstall_temp_proc(): free the original hash key _after_ removing
2000-10-17  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimp.c: gimp_uninstall_temp_proc(): free the original
	hash key _after_ removing the procedure from the hash table.

	I didn't observe any crash from this bug, but as the function
	is called *only* from

	- plug-ins/perl/Gimp/Lib.c and
	- plug-ins/script-fu/script-fu-scripts.c

	it may have been the reason for various reported perl<->script-fu
	problems. Bug reporters, please check your bugs.
2000-10-17 21:38:42 +00:00
Sven Neumann a10008ac0a app/paint_funcs.c app/pixel_processor.c plug-ins/common/pix.c
2000-10-17  Sven Neumann  <sven@gimp.org>

	* app/paint_funcs.c
	* app/pixel_processor.c
	* plug-ins/common/pix.c
	* plug-ins/gap/gap_pdb_calls.c
	* plug-ins/gdyntext/message_window.c
	* plug-ins/xjt/xjpeg.c: removed compiler warnings
2000-10-17 18:32:43 +00:00
Tor Lillqvist 37971cd589 Add resolution_calibrate.o.
2000-10-17  Tor Lillqvist  <tml@iki.fi>

	* app/makefile.mingw.in (gimp_OBJECTS): Add
	resolution_calibrate.o.

	* app/user_install.c (user_install_run): Add missing semicolon.

	* tips/makefile.mingw (install): Copy gimp_tips.txt separately. We
	used to get gimp_tips.txt.txt because of `basename $f .utf8`.
2000-10-17 17:26:31 +00:00
Marc Lehmann 50eb740869 *** empty log message *** 2000-10-17 01:58:26 +00:00
Manish Singh 58a192b332 1.1.28 stuff
-Yosh
2000-10-16 19:36:10 +00:00
Sven Neumann d747a8a22b added GIMP_HAVE_SYSCONFDIR
2000-10-16  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpfeatures.h.in: added GIMP_HAVE_SYSCONFDIR
2000-10-16 12:44:45 +00:00
Sven Neumann 770e118a92 make it work with my modifications of Ben's patch.
2000-10-16  Sven Neumann  <sven@gimp.org>

	* gimp.spec.in: make it work with my modifications of Ben's patch.

	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c: applied patch by Radim Kolar that
	initializes the interface of the configure dialogs correctly.
2000-10-16 12:07:55 +00:00
Michael Natterer 2421ff6be9 gimp_mem_size_entry_new(): fixed typo: s/4069/4096/ (reported by David
2000-10-15  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.c: gimp_mem_size_entry_new(): fixed typo:
	s/4069/4096/ (reported by David Odin <David.Odin@bigfoot.com>)
2000-10-15 18:15:01 +00:00
Sven Neumann 9554632046 Makefile.am configure.in gimp.1.in gimp.spec.in gimprc.5.in user_install
2000-10-14  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* configure.in
	* gimp.1.in
	* gimp.spec.in
	* gimprc.5.in
	* user_install
	* user_install.bat
	* app/gimprc.c
	* app/user_install.c
	* libgimp/Makefile.am
	* libgimp/gimpenv.[ch]: applied a modified version of
	gimp-che-20001013-2, a patch from Ben Gertzfield <che@debian.org>
	that moves the system-dependant configuration files (gimprc and
	friends) into $prefix/etc/gimp/1.1.
2000-10-14 22:15:11 +00:00
Sven Neumann 485242fa46 plug-ins/print/Makefile.am plug-ins/print/README
2000-10-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/Makefile.am
	* plug-ins/print/README
	* plug-ins/print/gimp_main_window.c
	* plug-ins/print/print-canon.c
	* plug-ins/print/print-escp2.c
	* plug-ins/print/print-pcl.c
	* plug-ins/print/print-printers.c
	* plug-ins/print/print-util.c
	* plug-ins/print/print.c: updated gimp-print to version 4.0b3
2000-10-14 20:01:43 +00:00
Sven Neumann 6fd73ed6e7 applied patch from Ben Gertzfield which fixes a misuse of "it's", changing
2000-10-14  Sven Neumann  <sven@gimp.org>

        * app/user_install.c: applied patch from Ben Gertzfield which fixes
        a misuse of "it's", changing it to "its".
2000-10-14 18:28:10 +00:00
Daniel Egger 778ecc07a7 A new section about "Tip of the Day" translations for README.i18n. 2000-10-14 17:44:12 +00:00
Austin Donnelly 3ab277c727 applied patch by David Hodson <hodsond@ozemail.com.au> to fix Bugs: #12299
2000-10-14  Austin Donnelly  <austin@gimp.org>

	* plug-ins/common/nlfilt.c: applied patch by David Hodson
	    <hodsond@ozemail.com.au> to fix Bugs:
    	      #12299 NL Filter: shift by one pixel
      	      #25968 NL Filter gives strange effects when using alpha > 0.5
      	    Slightly changed from original patch to merge in Sven's
    	    changes to nlfilt and correct a memory trampling bug.
2000-10-14 13:09:54 +00:00
Kevin Turner 5ab5748191 use double callback for double data. Why repeat count is a double, we'll
* plug-ins/common/blur.c: use double callback for double data.
        Why repeat count is a double, we'll never know.

        * plug-ins/perl/examples/xachshadow
        * plug-ins/perl/examples/xachlego: set non-zero limits on some
        parameters.

This patch brought to you by the NT Administators Guild of Austria, and
Marduk the Creator.  Go bravely with Anhur!
2000-10-12 09:38:15 +00:00
Michael Natterer a62dfbd3ca A nicer one (this time without version number) from our reporter in
2000-10-09  Michael Natterer  <mitch@gimp.org>

        * gimp_splash.ppm: A nicer one (this time without
        version number) from our reporter in Gimpland,
        Gerald Brosseau <os2user@contact.net>
2000-10-09 10:54:47 +00:00
Sven Neumann c25a6aa701 try to make it work again
2000-10-09  Sven Neumann  <sven@gimp.org>

        * gimp.m4: try to make it work again
2000-10-09 09:09:52 +00:00
Michael Natterer 0cef25ae06 AUTHORS somehow Sven's latest "contributors" update didn't make it here.
2000-10-07  Michael Natterer  <mitch@gimp.org>

	* AUTHORS
	* app/authors.h: somehow Sven's latest "contributors" update
	didn't make it here.
2000-10-07 17:06:00 +00:00
Michael Natterer 334d934273 it's not 1.1.26 but shiny NEW and UPDATED 1.1.27... It's your chance: GET
2000-10-07  Michael Natterer  <mitch@gimp.org>

	* gimp_splash.ppm: it's not 1.1.26 but shiny NEW and UPDATED
	1.1.27... It's your chance: GET GIMP STOCK OPTIONS.
2000-10-07 16:56:52 +00:00
Sven Neumann 830a33df8f applied gimp-kirchgessner-001005-0 Check if input filename keeps a space.
2000-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ps.c: applied gimp-kirchgessner-001005-0
	Check if input filename keeps a space. Then enclose filename
	in " or ' before passing to ghostscript. Otherwise it can't be
	interpreted.

	* tips/gimp_tips.pl.txt
	* tools/authorsgen/contributors: applied gimp-art-20000926-0
	Updates to the polish translation by Artur Polaczynski
	<artie@kmfms.com>
2000-10-06 18:16:58 +00:00
Sven Neumann 537b40ad2f updated german translations
--Sven
2000-10-05 11:27:30 +00:00
Manish Singh a0cb639b6f 1.1.27 stuff
-Yosh
2000-10-04 23:41:47 +00:00
Simon Budig 304a74a7ed Made the import path command work as intended. Now files can contain
2000-10-05  Simon Budig  <simon@gimp.org>

        * app/paths_dialog.c: Made the import path command work as
          intended. Now files can contain multiple paths (simply
          cat path files together). Note, that this is a bugfix:
          I just moved one line in the code - I like that...  :-)
2000-10-04 09:25:18 +00:00
Michael Natterer f0beebbf36 a fresh snapshot of the CVS version from sourceforge. Added new files
2000-10-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/print/*: a fresh snapshot of the CVS version from
	sourceforge. Added new files "AUTHORS" and "print-intl.h".

	The files are identical now (no need any more to add stuff like
	#include "config.h" to make them work in the GIMP tree).
2000-10-04 01:47:59 +00:00
Simon Budig 95622d8c25 New file: Script to convert an exported gimp-path to a simple SVG-File.
2000-10-03  Simon Budig  <simon@gimp.org>

        * tools/gimppath2svg.py: New file: Script to convert an exported
	  gimp-path to a simple SVG-File.
2000-10-03 21:50:09 +00:00
Michael Natterer e60d734b1a Fixed cut'n'paste bug #26203.
2000-10-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/align_layers.c: Fixed cut'n'paste bug #26203.
2000-10-03 21:17:27 +00:00
Michael Natterer 3634cf897b added a missing "break". Fixes #26268.
2000-10-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/gdyntext/gdyntext.c: added a missing "break". Fixes #26268.
2000-10-03 20:50:41 +00:00
Marc Lehmann 30e9bf10b0 *** empty log message *** 2000-10-03 16:15:53 +00:00
Simon Budig e33ff2b089 New file: Our favourite pet in a svg-version :-)
2000-10-02  Simon Budig  <simon@gimp.org>

        * docs/Wilber.svg: New file: Our favourite pet in a svg-version  :-)
2000-10-02 09:19:25 +00:00
Michael Natterer b0cd835d08 resize the cursor label if the shrink_wrap flag is set. Closes #21936.
2000-10-02  Michael Natterer  <mitch@gimp.org>

	* app/undo.c: resize the cursor label if the shrink_wrap flag is
	set. Closes #21936.
2000-10-01 23:04:03 +00:00
Michael Natterer 4eeb875946 app/gimpbrush.c app/gimpbrushpipe.c app/pattern_header.h fixed #8150.
2000-10-01  Michael Natterer  <mitch@gimp.org>

	* app/gimpbrush.c
	* app/gimpbrushpipe.c
	* app/pattern_header.h
	* app/patterns.c: (Hopefully) fixed #8150.

	- If something goes wrong during loading, free the resp. object
	  immediately and close it's FD.
	- When destroying, check each pointer before freeing it.
	- Never use if (!gimp_brush_load_brush() || !pattern_load())
	  but check the return values of both calls separately.
	  (the original code tried to free an already destroyed temp_buf).
	- stuff like below (s/sz_PatternHeader/sizeof(PatternHeader)/g etc.)
2000-10-01 18:53:39 +00:00
Nick Lamb /GIMP 2a2070b2e3 Various plug-ins gain <string.h> to fix warnings for memcpy/ strcmp 2000-09-30 20:13:06 +00:00
Michael Natterer f38cdf123c app/brush_edit.[ch] app/brush_header.h app/gimpbrush.[ch]
2000-09-29  Michael Natterer  <mitch@gimp.org>

	* app/brush_edit.[ch]
	* app/brush_header.h
	* app/gimpbrush.[ch]
	* app/gimpbrushgenerated.[ch]
	* app/gimpbrushlist.[ch]
	* app/gimpbrushpipe.[ch]
	* app/gimpcontext.h
	* app/gimplist.[ch]
	* app/gimpobject.[ch]
	* app/gimpset.[ch]
	* app/gimpsignal.[ch]
	* app/parasitelist.h: Lotsa fixes in the brush referencing code
	and cleanups in many GtkObjects:

	- Reference brushes correctly (call gtk_object_sink() after adding
	  them to the brush list). Don't crash when renaming a brush
	  multiple times.
	- Replaced all gtk_object_destroy() with gtk_object_unref|sink().
	- Removed the "Fake Gimp object system" (gimp_object_destroy() et.al.)
	  all over the place (while it's a good idea to have a common Gimp
	  base object, it's totally useless to try to imitate Gtk's object
	  system).
	- s/sz_BrushHeader/sizeof(BrushHeader)/g
	- And of course various indentation and coding style paranoia changes
	  in all files I visited.
2000-09-29 12:00:00 +00:00
Daniel Egger b07c7184ed New dialog_hide functions which are utilised from convert.c to hide
New dialog_hide functions which are utilised from convert.c to hide
 dialogs before converting an image to indexed. Bug #23104.
2000-09-29 01:22:27 +00:00
Daniel Egger 09fee5ff78 Simplify a few help paths.
Simplify a few help paths.
2000-09-28 14:09:26 +00:00
Manish Singh 1f1e8a9ffa italian translation updates
-Yosh
2000-09-27 19:56:29 +00:00
Manish Singh 7dd8b3d89e reordered po dirs in SUBDIRS, so dependencies on generated perl files are
taken care of

-Yosh
2000-09-27 19:49:32 +00:00
Daniel Egger 61131728ac C++ comments removals.
C++ comments removals.
2000-09-27 18:00:05 +00:00
Daniel Egger 4b2c4d8424 Return when brush loading failed and react the right way. Fixes parts of
Return when brush loading failed and react the right way. Fixes
 parts of bug #8150.
2000-09-27 17:50:59 +00:00
Daniel Egger 9d051ffcde Fix SPARC alignment problem. Fix by Jon Hazen. Bug #21269.
Fix SPARC alignment problem. Fix by Jon Hazen. Bug #21269.
2000-09-27 17:36:52 +00:00
Daniel Egger e13fcd8b1f Turned C++ style comments into C style ones.
Turned C++ style comments into C style ones.
2000-09-26 22:54:33 +00:00
Manish Singh f4da8241cb portability fix for varargs usage (already upstream)
* plug-ins/print/print-canon.c: portability fix for varargs usage
(already upstream)

-Yosh
2000-09-26 00:05:31 +00:00
BST 2000 Austin Donnelly b13c4739ad minor English fix.
Mon Sep 25 12:25:34 BST 2000  Austin Donnelly <austin@gimp.org>

        * gimp-remote.1.in: minor English fix.
2000-09-25 11:28:40 +00:00
Seth Burgess a6f1db1071 Made text appear when preview is generated. Fixes #25821. 2000-09-25 01:39:57 +00:00
Sven Neumann f4342ab813 new files. Code for the resolution calibration dialog that used to live in
2000-09-25  Sven Neumann  <sven@gimp.org>

	* app/resolution_calibrate.[ch]: new files. Code for the resolution
	calibration dialog that used to live in user_install.c

	* app/Makefile.in
	* app/menus.c
	* app/preferences_dialog.[ch]
	* app/user_install.[ch]: added a Calibrate button to the Preferences
2000-09-25 01:27:47 +00:00
Kevin Turner ecddfcb9c7 use correct type for enums.
* plug-ins/pygimp/gimpmodule.c (newpfobject): use correct type for
  enums.

* plug-ins/pygimp/plug-ins/gtkcons.py (Console.run): set _ after
  evaluating a statement, so _ may be used as it is in the python
  interpreter.

If I keep this up, I may actually learn Python.
2000-09-24 00:52:29 +00:00
Manish Singh 47f2059a12 1.1.26 stuff
-Yosh
2000-09-23 21:51:52 +00:00
BST 2000 Andy Thomas fd0cba20b0 plug-ins/gfig/gfig.c
Thu Sep 21 22:28:04 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/gfig/gfig.c

	Allowed gfig to paint in gradients. Iam sure it use to do this...
2000-09-21 21:28:44 +00:00
Daniel Egger 14e3790b95 Fix the GIMP autoconf stuff for the non-COMPAT case.
Fix the GIMP autoconf stuff for the non-COMPAT case.
2000-09-21 18:03:52 +00:00
Tor Lillqvist 1e9f323717 libgimp/makefile.mingw.in app/makefile.mingw.in modules/makefile.mingw.in
2000-09-21  Tor Lillqvist  <tml@iki.fi>

	* libgimp/makefile.mingw.in
	* app/makefile.mingw.in
	* modules/makefile.mingw.in
	* plug-ins/makefile.mingw.in: Fix bug in ../config.h rule, cp src
	and dest were in wrong order.

	* config.h.win32: Remove alloca definition, current <glib.h> now
	handles that.
2000-09-21 17:51:33 +00:00
BST 2000 Andy Thomas 5ccbf7c734 plug-ins/gfig/gfig.c
Wed Sep 20 22:40:25 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/gfig/gfig.c

	Fixed problems since the interface to gimp-drawable-fill() has
	changed. Also fixed some GTK warnings when GFig objects were
	loaded.
2000-09-20 21:52:39 +00:00
Kevin Turner a9d18b9a38 remove_cruft on pygimp.
Note that pygimp still does NOT BUILD because of the AUTO*STUFF isn't set
up correctly.  :( :(
2000-09-20 21:27:50 +00:00
Asbjørn Pettersen 7a2bd21658 use g_strncasecmp() 2000-09-15 14:26:19 +00:00
Kevin Turner 681f12f101 Close bug "Segfault after using display filters,"
add paranoid robustness checking to active_dialogs in dialog_handler.c
to attempt to recover gracefully from this problem in the future.
2000-09-15 10:04:35 +00:00
Nick Lamb /GIMP 901fd47f82 Possible fix for #22805 2000-09-15 00:50:12 +00:00
jaycox e4b031932a fix bug #24188. allow num_processors to be set on the fly.
* app/pixel_processor.c: fix bug #24188.
	* app/preferences_dialog.c: allow num_processors to be set on
	the fly.
2000-09-14 16:22:40 +00:00
Michael Natterer 659d46c2d8 always position the menu inside the screen boundaries.
2000-09-14  Michael Natterer  <mitch@gimp.org>

	* app/disp_callbacks.c: always position the menu inside the
	screen boundaries.
2000-09-14 15:42:39 +00:00
Michael Natterer 9d4e8b7d27 new function gdisplay_origin_menu_position() which positions the menu
2000-09-14  Michael Natterer  <mitch@gimp.org>

	* app/disp_callbacks.c: new function gdisplay_origin_menu_position()
	which positions the menu right of the arrow instead of underneath
	the mouse (where you always have the first entry selected, which
	is annoying).
2000-09-14 14:53:06 +00:00
Tor Lillqvist 79022969c3 Use fopen (xxx, "rb") on all systems. It is standard C, does no harm on
2000-09-07  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/common/ps.c: Use fopen (xxx, "rb") on all systems. It
	is standard C, does no harm on systems where it isn't needed
	(Unix).

	* libgimp/gimp.c (gimp_extension_process): Use
	g_io_channel_win32_poll() instead of
	g_io_channel_win32_wait_for_condition().
2000-09-07 20:04:47 +00:00
Manish Singh 90684dcd7a remove silly cvs conflict marker
-Yosh
2000-08-31 16:01:17 +00:00
Adam D. Moss 3f95dc6ff8 change default frame duration 2000-08-30 17:59:45 +00:00
BST 2000 Adam D. Moss 73efa58a93 Change default frame duration for consistancy.
Wed Aug 30 18:49:01 BST 2000  Adam D. Moss <adam@gimp.org>

        * plug-ins/common/animationplay.c: Change default frame duration
        for consistancy.
2000-08-30 17:52:00 +00:00
Manish Singh d0da9246c7 more COMPAT_CRUFT removal
-Yosh
2000-08-30 08:20:24 +00:00
Piers Cornwell 8db327b554 plug-ins/Lighting/lighting_ui.c Make Env and Bumpmap tabs show all the
2000-08-29  Piers Cornwell  <piers.cornwell@bigfoot.com>

    * plug-ins/Lighting/lighting_ui.c
    * plug-ins/Lighting/lighting_preview.h: Make Env and Bumpmap
    tabs show all the time and other minor changes.
2000-08-29 14:27:40 +00:00
Piers Cornwell 872fb635a8 Clean up and remove non-functional zoom buttons.
2000-08-28  Piers Cornwell  <piers.cornwell@bigfoot.com>

	* plug-ins/Lighting/lighting_main.[ch]:
	* plug-ins/Lighting/lighting_preview.h:
	* plug-ins/Lighting/lighting_ui.c: Clean up and remove
	non-functional zoom buttons.
2000-08-28 18:47:33 +00:00
Asbjørn Pettersen 30a7dc0d50 fix OS2 gz problem 2000-08-28 18:34:14 +00:00
Marc Lehmann 7559c9371d *** empty log message *** 2000-08-28 11:51:14 +00:00
Michael Natterer b9413eb038 added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.
2000-08-28  Michael Natterer  <mitch@gimp.org>

	* configure.in: added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.

	* app/app_procs.c
	* app/gdisplay.c
	* app/layers_dialog.c
	* app/menus.c
	* app/tips_dialog.c
	* libgimp/gimpcolorbutton.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/gee.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/mail.c
	* plug-ins/common/pat.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plugindetails.c
	* plug-ins/common/png.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tga.c
	* plug-ins/common/tileit.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/waves.c
	* plug-ins/common/wmf.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gap/gap_arr_dialog.c
	* plug-ins/gap/gap_dbbrowser_utils.c
	* plug-ins/gap/gap_mov_dialog.c
	* plug-ins/gap/gap_navigator_dialog.c
	* plug-ins/gap/gap_resi_dialog.c
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/rcm/rcm_callback.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sel2path/sel2path_adv_dialog.c
	* plug-ins/xjt/xjt.c: removed COMPAT_CRUFT.
2000-08-28 00:42:32 +00:00
Sven Neumann 778560992a removed compiler warning
--Sven
2000-08-27 23:16:01 +00:00
Sven Neumann 0016d9edb4 Emit a "toggled" signal.
--Sven
2000-08-27 22:41:52 +00:00
Michael Natterer b53273ea70 NULL is the default log domain, not "".
2000-08-27  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimp.c: NULL is the default log domain, not "".
2000-08-27 20:59:07 +00:00
Piers Cornwell 0f58285f40 s/Treshold/Threshold.
2000-08-27  Piers Cornwell  <piers.cornwell@bigfoot.com>

    * plug-ins/Lighting/lighting_ui.c: s/Treshold/Threshold.
2000-08-27 20:30:11 +00:00
Kevin Turner 1d8a2ae904 libgimp/gimp.h (union _GimpParamData): s/gint32 d_status/GimpPDBStatusType d_status/ 2000-08-27 20:10:12 +00:00
Sven Neumann 3a83ab3f6d Makefile.am configure.in added new directory po-perl which takes care of
2000-08-27  Sven Neumann  <sven@gimp.org>

	* Makefile.am
	* configure.in
	* po-perl: added new directory po-perl which takes care of
	i18n for gimp-perl the standard way. Tweaked pxgettext a little.

	* plug-ins/perl/Makefile.PL: disabled use of plug-ins/perl/po.
	Marc will take care of either removing the po directory or moving
	the new stuff there.
2000-08-27 18:05:59 +00:00
Alastair McKinstry d781329fc3 Added Irish translation 2000-08-27 15:00:58 +00:00
Sven Neumann 6169fc6c18 make Script-Fu work again and removed help for rotators
--Sven
2000-08-27 12:36:35 +00:00
Tor Lillqvist dfe7a58757 Plug memory leak. The bitmap and mask GdkBitmaps were leaked each time.
2000-08-25  Tor Lillqvist  <tml@iki.fi>

	* app/cursorutil.c (gimp_change_win_cursor): Plug memory leak. The
	bitmap and mask GdkBitmaps were leaked each time.

	* plug-ins/makefile.mingw.in: Really add it this time.
2000-08-25 20:48:23 +00:00
Sven Neumann 391aabe5ae updated PLUGIN_MAINTAINERS
--Sven
2000-08-25 17:47:08 +00:00
Sven Neumann 92c5f0486c For my friend Xach.
--Sven
2000-08-25 17:41:38 +00:00
Tor Lillqvist 733ae45c79 Add new entry points.
2000-08-25  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.def: Add new entry points.
2000-08-25 16:08:48 +00:00