Commit graph

3444 commits

Author SHA1 Message Date
Sven Neumann e4a16ae679 fixed RGB to HSV routine
2001-01-16  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcolorspace.c: fixed RGB to HSV routine

	* app/color_notebook.c: tweaked dialog layout a little, disabled
	toggle_buttons if the colorselector does not implement the set_channel
	method.

	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: removed empty set_channel methods
2001-01-16 19:42:37 +00:00
Sven Neumann aa5b65027c don't show the alpha value of fore/background colors
2001-01-16  Sven Neumann  <sven@gimp.org>

	* app/devices.c: don't show the alpha value of fore/background colors
2001-01-16 14:53:29 +00:00
Michael Natterer 650e7703f4 app/color_area.c app/color_notebook.[ch] app/color_panel.c app/gimprc.c
2001-01-16  Michael Natterer  <mitch@gimp.org>

	* app/color_area.c
	* app/color_notebook.[ch]
	* app/color_panel.c
	* app/gimprc.c
	* app/session.c: store the color history in sessionrc.

	* app/channels_dialog.c: tweaked the "new channel" and "channel
	atributes" dialogs a bit.
2001-01-16 14:47:09 +00:00
Manish Singh d30933296e correct spelling of "lose" in revert dialog
-Yosh
2001-01-16 01:32:42 +00:00
Michael Natterer 5042a63096 added a global color history of 16 colors. The "Add" button uses neither
2001-01-16  Michael Natterer  <mitch@gimp.org>

	* app/color_notebook.c: added a global color history of 16 colors.
	The "Add" button uses neither LRU nor pure right-shift order but
	something in between. The history is scheduled to go to sessionrc.
2001-01-16 00:02:17 +00:00
Sven Neumann 19543e4f3f use a GimpColorArea for the foreground color in the Device Status dialog
2001-01-15  Sven Neumann  <sven@gimp.org>

	* app/devices.c: use a GimpColorArea for the foreground color in
	the Device Status dialog and added a background color
2001-01-15 22:39:50 +00:00
Sven Neumann 7e4c298080 enable drags from and disable drops to the ColorArea in the color_info
2001-01-15  Sven Neumann  <sven@gimp.org>

        * app/color_picker.c: enable drags from and disable drops to
        the ColorArea in the color_info dialog. Changed the cursor_update
        function so it only displays the bad cursor when outside the image.
2001-01-15 19:30:42 +00:00
Michael Natterer 0ab27c8bf2 app/devices.c save the foreground and background color as array of RGBA
2001-01-15  Michael Natterer  <mitch@gimp.org>

	* app/devices.c
	* app/gimprc.c: save the foreground and background color as array
	of RGBA doubles in "devicerc".
2001-01-15 19:29:14 +00:00
Sven Neumann e1cb5869f7 make use of GimpColorAreas. Added two buttons to set the color to black or
2001-01-15  Sven Neumann  <sven@gimp.org>

	* app/color_notebook.c: make use of GimpColorAreas. Added two
	buttons to set the color to black or white.
2001-01-15 18:29:48 +00:00
Michael Natterer b526c6018d the bottom position of the scale represents the minimal pressure now. Also
2001-01-15  Michael Natterer  <mitch@gimp.org>

	* modules/colorsel_water.c: the bottom position of the scale
	represents the minimal pressure now. Also removed the pressure
	value display because it's rather a matter of "more" or "less"
	than of an exact value.
2001-01-15 18:23:52 +00:00
Michael Natterer ebaa274c33 app/color_notebook.c modules/colorsel_gtk.c tweaked dialog layout a bit.
2001-01-15  Michael Natterer  <mitch@gimp.org>

	* app/color_notebook.c
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c: tweaked dialog layout a bit.

	* modules/colorsel_water.c: removed all widgets except the color
	selector itself (the history and the "Reset" button will go
	to the ColorNotebook).
2001-01-15 16:52:22 +00:00
Michael Natterer 368d0efe9b app/color_notebook.[ch] app/color_select.c libgimp/gimpcolorselector.h
2001-01-15  Michael Natterer  <mitch@gimp.org>

	* app/color_notebook.[ch]
	* app/color_select.c
	* libgimp/gimpcolorselector.h
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: use GimpRGB and GimpHSV.

	* libgimp/gimpcolor.c
	* libgimp/gimpcolorspace.[ch]: All rgb_to_hsv functions:

	if r == g == b the difference between the max and min value
	is 0 and we should avoid to divide by it ;-)
2001-01-15 12:20:38 +00:00
Sven Neumann 4c1f53a979 plug-ins/gdyntext/gdyntext.[ch] plug-ins/gdyntext/gdyntext_ui.c use
2001-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/gdyntext/gdyntext.[ch]
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/gdyntext/gdyntextcompat.[ch]: use GimpRGB
2001-01-15 10:32:44 +00:00
Sven Neumann ca3bf4f1c4 app/color_panel.c libgimp/gimpcolorbutton.c
2001-01-15  Sven Neumann  <sven@gimp.org>

	* app/color_panel.c
	* libgimp/gimpcolorbutton.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/grid.c
	* plug-ins/common/polar.c
	* plug-ins/common/whirlpinch.c: cleaned up after myself
2001-01-15 09:27:48 +00:00
Sven Neumann 943847677c rewritten as proper widget derived from GimpColorButton
2001-01-15  Sven Neumann  <sven@gimp.org>

	* app/color_panel.[ch]: rewritten as proper widget derived from
	GimpColorButton

	* app/channels_dialog.c
	* app/color_picker.c
	* app/qmask.c: use new GimpColorPanel widget

	* libgimp/gimpcolorarea.[ch]
	* libgimp/gimpcolorbutton.[ch]: some changes needed to derive from
	GimpColorButton

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/grid.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/nova.c
	* plug-ins/common/papertile.c
	* plug-ins/common/sinus.c
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/script-fu/script-fu-scripts.c: follow API changes of
	GimpColorButton and GimpColorArea
2001-01-15 06:24:24 +00:00
Michael Natterer d822839089 app/channel.[ch] app/gimpimage.[ch] use GimpRGB for the Channel's, the
2001-01-15  Michael Natterer  <mitch@gimp.org>

	* app/channel.[ch]
	* app/gimpimage.[ch]
	* app/layer.[ch]: use GimpRGB for the Channel's, the QuickMask's
	and the LayerMask's color.

	* app/channel_cmds.c
	* app/channel_ops.c
	* app/channels_dialog.c
	* app/qmask.c
	* app/xcf.c
	* tools/pdbgen/pdb/channel.pdb: changed accordingly.
2001-01-15 04:37:01 +00:00
Michael Natterer dc9cf1a222 app/color_notebook.[ch] app/color_panel.[ch] app/gimpcontext.[ch] use
2001-01-15  Michael Natterer  <mitch@gimp.org>

	* app/color_notebook.[ch]
	* app/color_panel.[ch]
	* app/gimpcontext.[ch]
	* app/gimpdnd.[ch]: use GimpRGB instead of a random selection out of
	guchar, gint, guchar[], blah...

	* app/blend.c
	* app/by_color_select.c
	* app/channel_ops.c
	* app/channels_dialog.c
	* app/color_area.c
	* app/color_picker.c
	* app/color_select.c
	* app/colormap_dialog.c
	* app/commands.c
	* app/devices.[ch]
	* app/disp_callbacks.[ch]
	* app/drawable.c
	* app/gimpimage.c
	* app/gimprc.c
	* app/gradient.c
	* app/paint_core.c
	* app/palette.c
	* app/palette_cmds.c
	* app/qmask.c
	* tools/pdbgen/pdb/palette.pdb: changed accordingly.
2001-01-15 01:48:53 +00:00
Simon Budig 5130a8b2a0 app/apptypes.h I broke the Toolbox. Now it works again. The ToolType-enum
2001-01-15  Simon Budig  <simon@gimp.org>

        * app/apptypes.h
        I broke the Toolbox. Now it works again. The ToolType-enum *must*
        match the order in the tool_info-Array.
2001-01-15 01:14:49 +00:00
Sven Neumann 77718ca7f5 added function gimp_rgb_intensity_uchar()
2001-01-15  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcolor.[ch]: added function gimp_rgb_intensity_uchar()

	* libgimp/gimpcolorbutton.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/cubism.c
	* plug-ins/common/gif.c
	* plug-ins/common/grid.c
	* plug-ins/common/mblur.c
	* plug-ins/common/papertile.c
	* plug-ins/common/png.c
	* plug-ins/common/polar.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gap/gap_mov_dialog.c
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/gfig/gfig.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/handy.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/pagecurl/pagecurl.c: replaced all occurences of
	gimp_palette_[get|set]_[back|fore]ground() with the respective
	gimp_palette_[get|set]_[back|fore]ground_rgb() functions.
2001-01-15 00:06:43 +00:00
Simon Budig 84bb0a5a15 Reordered some tools. It is IMHO more logical to group the "paint-style"
2001-01-14  Simon Budig  <simon@gimp.org>

        * app/tools.c:
        Reordered some tools. It is IMHO more logical to group the
        "paint-style" and the "blur/smudge"-Tools together.
        The Ordering up to now was a "historical" ordering: Not good...

        I am thinking about grouping the "Non-image modifying"-tools
        (Magnify, Colorpicker, Measure tool) together...
2001-01-14 22:48:15 +00:00
Michael Natterer 3220f9ec94 app/channel.[ch] app/drawable.[ch] app/gdisplay.[ch] app/gimpdrawable.[ch]
2001-01-14  Michael Natterer  <mitch@gimp.org>

	* app/channel.[ch]
	* app/drawable.[ch]
	* app/gdisplay.[ch]
	* app/gimpdrawable.[ch]
	* app/layer.[ch]:

	- Removed all "typedef drawable_function gimp_drawable_function".
	- Renamed all *_get_ID() functions to *_get_by_ID().
	- For symmetry reasons, renamed drawable_ID() to gimp_drawable_get_ID().
	- Removed the *_get_ID() functions of GimpLayer, GimpLayerMask
	  and GimpChannel.

	* app/airbrush.c
	* app/bezier_select.c
	* app/blend.c
	* app/brightness_contrast.c
	* app/bucket_fill.c
	* app/by_color_select.c
	* app/clone.c
	* app/color_balance.c
	* app/color_picker.c
	* app/convert.c
	* app/convolve.c
	* app/crop.c
	* app/curves.c
	* app/desaturate.c
	* app/dodgeburn.c
	* app/edit_selection.c
	* app/eraser.c
	* app/fileops.c
	* app/flip_tool.c
	* app/floating_sel.c
	* app/fuzzy_select.c
	* app/gimage.c
	* app/gimage_mask.c
	* app/gimphistogram.c
	* app/gimpimage.c
	* app/global_edit.c
	* app/histogram_tool.c
	* app/hue_saturation.c
	* app/image_map.c
	* app/ink.c
	* app/invert.c
	* app/layer_select.c
	* app/layers_dialog.c
	* app/levels.c
	* app/paint_core.c
	* app/paintbrush.c
	* app/pencil.c
	* app/plug_in.c
	* app/posterize.c
	* app/scan_convert.c
	* app/smudge.c
	* app/text_tool.c
	* app/threshold.c
	* app/transform_core.c
	* app/undo.c
	* app/undo_history.c

	* app/channel_cmds.c
	* app/channel_ops_cmds.c
	* app/color_cmds.c
	* app/display_cmds.c
	* app/drawable_cmds.c
	* app/edit_cmds.c
	* app/floating_sel_cmds.c
	* app/image_cmds.c
	* app/layer_cmds.c
	* app/parasite_cmds.c
	* app/selection_cmds.c
	* app/text_tool_cmds.c
	* app/tools_cmds.c
	* libgimp/gimpdrawable_pdb.c
	* tools/pdbgen/pdb.pl
	* tools/pdbgen/pdb/channel_ops.pdb
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/selection.pdb
	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
2001-01-14 21:11:52 +00:00
Sven Neumann 70c1ecfdb6 added GimpHSV type and functions and gimp_rgb_composite functions
2001-01-14  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcolor.[ch]: added GimpHSV type and functions and
	gimp_rgb_composite functions

	* libgimp/gimpcolorbutton.c: indentation

	* libgimp/gimpcolorspace.[ch]: added GimpRGB <-> GimpHSV conversion
	routines

	* libgimp/gimpwidgets.[ch]: removed gimp_color_update_uchar function

	* plug-ins/Lighting/lighting_main.[ch]
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_shade.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/nova.c
	* plug-ins/common/papertile.c
	* plug-ins/common/sinus.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/script-fu/script-fu-scripts.c: use GimpRGB and GimpHSV
2001-01-14 20:25:46 +00:00
Michael Natterer f504187d5e app/channel.[ch] app/gimpdrawable.[ch] moved the "removed" signal from
2001-01-14  Michael Natterer  <mitch@gimp.org>

	* app/channel.[ch]
	* app/gimpdrawable.[ch]
	* app/layer.[ch]: moved the "removed" signal from GimpChannel and
	GimpLayer to GimpDrawable.

	* app/gimpimage.[ch]: changed accordingly.
2001-01-14 17:11:14 +00:00
Michael Natterer 83757a6763 app/docindex.c app/fileops.c app/gdisplay.c
2001-01-14  Michael Natterer  <mitch@gimp.org>

	* app/docindex.c
	* app/fileops.c
	* app/gdisplay.c
	* app/gimpimage.[ch]:

	Removed the "has_filename" boolean from GimpImage:

	- to get the filename, ask for GimpObjects's name.
	- gimp_image_filename() returns the *display* filename (and will be
	  renamed to gimp_image_display_name() soon), i.e. returns
	  "Unnamed" if object->name == NULL.
	- no need any more to check if the filename is the "" string because
	  GimpImage overrides GimpObject's "name_changed" method and
	  sets the name to NULL if it was "".
2001-01-14 16:26:04 +00:00
Sven Neumann c3d53e1f45 Merged fixes from gimp-1-2:
2001-01-14  Sven Neumann  <sven@gimp.org>

	Merged fixes from gimp-1-2:

	* app/menus.c
	* app/plug-in.c: added some sanity checks for passed string pointers
	to various public functions in an attempt to fix bug #37622.

	* plug-ins/common/sharpen.c: applied a patch from Jerome Zago
        <jzago@ifhamy.insa-lyon.fr> that fixes a longstanding bug in the
        sharpen filter which sometimes got the last line wrong.
	Fixes bug #34155.
2001-01-14 15:18:37 +00:00
Michael Natterer cac3f7cb25 app/apptypes.h app/brush_edit.c app/brush_select.c app/brushes_cmds.c
2001-01-14  Michael Natterer  <mitch@gimp.org>

	* app/apptypes.h
	* app/brush_edit.c
	* app/brush_select.c
	* app/brushes_cmds.c
	* app/channel.h
	* app/colormap_dialog.c
	* app/datafiles.[ch]
	* app/devices.c
	* app/docindex.c
	* app/fileops.c
	* app/gdisplay.c
	* app/gimage.c
	* app/gimpbrush.[ch]
	* app/gimpbrushgenerated.[ch]
	* app/gimpbrushlist.[ch]
	* app/gimpbrushpipe.[ch]
	* app/gimpcontext.[ch]
	* app/gimpcontextpreview.c
	* app/gimpdnd.c
	* app/gimpdrawable.h
	* app/gimpimage.[ch]
	* app/gimplist.h
	* app/gimpobject.h
	* app/gimpset.[ch]
	* app/gradient.c
	* app/info_window.c
	* app/layer.[ch]
	* app/module_db.c
	* app/palette.[ch]
	* app/patterns.[ch]
	* app/plug_in.[ch]
	* app/undo_history.c
	* app/xcf.c
	* tools/pdbgen/pdb/brushes.pdb

	- Removed the "name" argument from all objects and use
	  GimpObject's name.
	- Use the same code in all "uniquefy name" functions (this
	  functionality will be a method of the "GimpContainer" class).
	- Renamed the parent instances of all objects to "parent instance".
	- Added missing instance and class cast macros.
	- Changed some "gchar *" to "const gchar *" parameters.
2001-01-14 03:55:56 +00:00
Sven Neumann d6766de50e updated status
2001-01-12  Sven Neumann  <sven@gimp.org>

	* TODO.xml: updated status

	* app/gimpcontext.c: added temporary functions to make it compile

	* app/pixel_processor.c: include tile.h when ENABLE_MP is defined

	* libgimp/gimpcolor.[ch]: added more GimpRGB functions

	* plug-ins/common/aa.c: merged fix from gimp-1-2

	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/grid.c: use GimpRGB whereever possible.
	Still work in progress.
2001-01-11 23:36:59 +00:00
Sven Neumann 4de527aba0 added antialiasing
2001-01-11  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcolorarea.c: added antialiasing
2001-01-11 15:54:42 +00:00
Sven Neumann 09e5207a33 allow width/height of the color_area to be set to negative values so the
2001-01-11  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcolorbutton.[ch]: allow width/height of the color_area
	to be set to negative values so the GimpColorButton can be set up
	resizeable.
2001-01-11 14:11:02 +00:00
Sven Neumann f73768b5b5 changed for gimp-1.3
--Sven
2001-01-11 13:08:59 +00:00
Valek Frob 5a2dc56e4b Fixed bug with ??? instead chars for non-latin chars. (by AEN aen@logic.ru) 2001-01-11 08:19:01 +00:00
Sven Neumann 31e8d6555b Added Olivers full name to the ChangeLog and added GimpRGB to the TODO.
--Sven
2001-01-10 23:21:17 +00:00
Sven Neumann 45c4a41f4b finished new GimpColorArea widget which uses GimpRGB and handles DND and
2001-01-10  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcolorarea.[ch]: finished new GimpColorArea widget which
	uses GimpRGB and handles DND and alpha channel.

	* libgimp/gimpcolorbutton.[ch]: use GimpColorArea. The API of the
	GimpColorButton has changed!

	* libgimp/gimpwidgets.[ch]: added temporary function
	gimp_color_update_uchar() to ease migration of plug-ins to GimpRGB.
	This function will go away.

	* plug-ins/Lighting/lighting_main.h
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_main.h
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/grid.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/nova.c
	* plug-ins/common/papertile.c
	* plug-ins/common/sinus.c
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/ifscompose/ifscompose.[ch]
	* plug-ins/ifscompose/ifscompose_storage.c
	* plug-ins/ifscompose/ifscompose_utils.c
	* plug-ins/script-fu/script-fu-scripts.c: use new GimpColorArea and
	GimpColorButton. Started to introduce GimpRGB color type. This change
	might have broken some of these plug-ins. This is work in progress.

	* libgimp/Makefile.am: added GimpColorArea and GimpColorButton to
	libgimpi.

	* app/gimpcontext.[ch]: added gimp_palette_get_[fore|back]ground()
	functions so the app can link against libgimp/gimpcolorbutton.o.
	These functions will go away.

	* app/gimpdnd.c: use a GimpColorArea for DND
2001-01-10 22:49:45 +00:00
Michael Natterer 6642bc2c94 removed the "name" parameter and use GimpObject's name instead.
2001-01-10  Michael Natterer  <mitch@gimp.org>

	* app/gimpdrawable.[ch]: removed the "name" parameter and use
	GimpObject's name instead.

	* app/channel.c
	* app/channel_ops.c
	* app/channels_dialog.c
	* app/drawable.h
	* app/gimpimage.c
	* app/interface.c
	* app/layer.c
	* app/layer_select.c
	* app/layers_dialog.c
	* app/qmask.c
	* app/undo.c
	* app/xcf.c: changed accordingly, cleanup.
2001-01-10 03:13:03 +00:00
Michael Natterer 6554397178 app/gimpbrushlist.c forgot to remove #include "gimpsignal.h"
2001-01-10  Michael Natterer  <mitch@gimp.org>

	* app/gimpbrushlist.c
	* app/gimpdrawable.c: forgot to remove #include "gimpsignal.h"

	* app/gimpobject.[ch]: added a "name" argument (not used yet).
2001-01-10 01:49:29 +00:00
Michael Natterer 92c45a90e6 app/Makefile.am removed. added.
2001-01-10  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/gimpsignal.[ch]: removed.
	* app/gimpmarshal.[ch]: added.

	* app/channel.[ch]
	* app/gimpbrush.[ch]
	* app/gimpbrushgenerated.c
	* app/gimpbrushlist.[ch]
	* app/gimpbrushpipe.[ch]
	* app/gimpcontext.c
	* app/gimpdrawable.c
	* app/gimpimage.c
	* app/gimplist.[ch]
	* app/gimpobject.[ch]
	* app/gimpset.[ch]
	* app/layer.c
	* app/layers_dialog.c
	* app/module_db.c
	* app/parasitelist.[ch]: removed gimp_signal_new() and
	GIMP_TYPE_INIT(). Fixed lots of object related uglyness.
2001-01-10 00:36:54 +00:00
Sven Neumann c935ec8367 Merged fix from gimp-1-2:
2001-01-09  Sven Neumann  <sven@gimp.org>

	Merged fix from gimp-1-2:

	* app/gimpbrushlist.c
	* app/gradient.c
	* app/palette.c
	* app/patterns.c: check for NULL pointers before doing strcmp on
	default names. The default names for brushes, patterns, ... can
	be NULL if they were not set in a readable gimprc file.

	* app/gimprc.c: warn the user if the systemwide gimprc couldn't be
	read.
2001-01-09 22:36:39 +00:00
Michael Natterer e8f7363b5c Show the "Alpha" scale only when needed.
2001-01-09  Michael Natterer  <mitch@gimp.org>

	* app/color_notebook.c: Show the "Alpha" scale only when needed.

	* libgimp/gimpcolorarea.[ch]: fixed typos.
2001-01-09 04:01:20 +00:00
Sven Neumann e5e8e26f78 add more stuff TODO 2001-01-09 03:10:21 +00:00
Sven Neumann 99e80ca55c app/apptypes.h app/brush_select_cmds.c app/brushes_cmds.c app/layer_cmds.c
2001-01-09  Sven Neumann  <sven@gimp.org>

	* app/apptypes.h
	* app/brush_select_cmds.c
	* app/brushes_cmds.c
	* app/layer_cmds.c
	* app/layers_dialog.c
	* app/paint_funcs.c
	* app/tool_options.c
	* app/tools_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: applied patch from <oliver@zeroknowledge.com>
	that adds new blending modes (Dodge/Burn/Hardlight). Please play with
	these new modes and check if they are useful and well-implemented.
2001-01-09 02:45:27 +00:00
Sven Neumann d701e44276 added notice about autogenerated files.
2001-01-09  Sven Neumann  <sven@gimp.org>

	* HACKING: added notice about autogenerated files.
2001-01-09 02:15:42 +00:00
Sven Neumann aa9931f8be added a new simple widget which provides a color preview area capable of
2001-01-09  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcolorarea.[ch]: added a new simple widget which
	provides a color preview area capable of DND. It will be used
	in the GimpColorButton and in the color_selectors.

	* libgimp/Makefile.am
	* libgimp/gimpui.h
	* libgimp/gimpuitypes.h: include the new files

	* libgimp/gimpcolor.[ch]: use proper names instead of abbreviations

	* app/asupsample.c
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_shade.c
	* plug-ins/libgck/gck/gckcolor.c: changed accordingly
2001-01-09 01:39:37 +00:00
Michael Natterer 37fe1a885d app/color_notebook.[ch] moved the scales and the toggle butttons out of
2001-01-09  Michael Natterer  <mitch@gimp.org>

	* app/color_notebook.[ch]
	* app/color_select.c: moved the scales and the toggle butttons out
	of the notebook. Added an "Aplha" scale (the opacity is not yet
	shown in the color area). Removed the ColorNotebook structure from
	the header.

	* app/color_area.c: the ColorNotebook struct is no longer public.

	* libgimp/gimpcolorselector.h
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: changed the ColorSelector module
	interface again: Pass H, S, V, R, G, B and A in all functions
	and callbacks. Added a "set_channel" method because the channel
	toggles are outside the notebook now. This needs more work...
2001-01-09 01:23:54 +00:00
Michael Natterer fbd8ec67fb app/color_notebook.[ch] moved the "old" and "new" color areas from the
2001-01-08  Michael Natterer  <mitch@gimp.org>

	* app/color_notebook.[ch]
	* app/color_select.c: moved the "old" and "new" color areas from the
	notebook to the action_area.

	* TODO.xml: updated.

	* app/color_area.c
	* app/color_panel.c
	* app/colormap_dialog.c
	* app/palette.c
	* libgimp/gimpcolorselector.h
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: removed the "set_current" parameter all
	over the place because it was always TRUE and not used in the modules
	at all.
2001-01-08 05:00:22 +00:00
Michael Natterer 3c0283b72c app/color_notebook.c app/color_select.c more cleanup before chopping it
2001-01-08  Michael Natterer  <mitch@gimp.org>

	* app/color_notebook.c
	* app/color_select.c
	* libgimp/gimpcolorselector.h: more cleanup before chopping it up.
2001-01-08 02:24:29 +00:00
Michael Natterer 830dc255b7 Forgot to C-x-s this one :) 2001-01-08 00:08:15 +00:00
Michael Natterer 4c03fb5eff Removed GCG:
2001-01-08  Michael Natterer  <mitch@gimp.org>

	Removed GCG:

	* app/colormap_dialog.gc
	* app/colormap_dialog.i.[ch]
	* app/colormap_dialog.p.h
	* app/colormap_dialog.t.h
	* app/gimp.gh
	* tools/gcg/*: removed.

	* app/colormap_dialog.[ch]: moved all the colormap_dialog stuff
	here and cleaned up the autogenerated code.

	* autogen.sh
	* configure.in
	* app/Makefile.am
	* app/app_procs.c
	* app/apptypes.h
	* app/color_notebook.h
	* app/commands.c
	* app/gimpset.h
	* po/POTFILES.in
	* tools/Makefile.am: changed accordingly.

	* libgimp/gimpunitmenu.c: s/class/klass/
2001-01-07 23:59:46 +00:00
Michael Natterer ab014f8b3a app/by_color_select.c app/channels_dialog.c app/color_area.c
2001-01-07  Michael Natterer  <mitch@gimp.org>

	* app/by_color_select.c
	* app/channels_dialog.c
	* app/color_area.c
	* app/color_notebook.[ch]
	* app/color_panel.[ch]
	* app/color_picker.c
	* app/color_select.c
	* app/colormap_dialog.i.c
	* app/devices.c
	* app/disp_callbacks.[ch]
	* app/gimpdnd.[ch]
	* app/palette.c
	* app/qmask.c

	* libgimp/gimpcolorselector.h

	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: made the color_notebook, the color_area
	and DND speak in terms of RGBA instead of GRB. The alpha value is
	not used yet, only the API changed. Everything should work exactly
	as before.
2001-01-07 21:07:14 +00:00
Michael Natterer da07ba7cbc add "Cleanup GIMP's color selectors".
2001-01-07  Michael Natterer  <mitch@gimp.org>

	* TODO.xml: add "Cleanup GIMP's color selectors".
2001-01-07 15:55:38 +00:00
Michael Natterer 9b3bbdfe14 app/bezier_select.c removed the obscure unused "extend" variable from the
2001-01-07  Michael Natterer  <mitch@gimp.org>

	* app/bezier_select.c
	* app/bezier_selectP.h: removed the obscure unused "extend" variable
	from the Bezier Tool structure.
2001-01-07 14:43:04 +00:00
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