Commit Graph

520 Commits

Author SHA1 Message Date
Michael Natterer cb16697229 Makefile.am configure.in added stuff for the new library below.
2001-01-24  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* configure.in
	* gimptool.in: added stuff for the new library below.

	* libgimpmath/.cvsignore
	* libgimpmath/Makefile.am
	* libgimpmath/gimpmath.def
	* libgimpmath/gimpmath.h
	* libgimpmath/gimpmathtypes.h
	* libgimpmath/gimpmatrix.c
	* libgimpmath/gimpmatrix.h
	* libgimpmath/gimpvector.c
	* libgimpmath/gimpvector.h
	* libgimpmath/makefile.mingw.in
	* libgimpmath/makefile.msc: new shared library. Depends on glib only.

	* libgimp/Makefile.am
	* libgimp/gimp.def
	* libgimp/gimp.h: removed the math stuff.

	* libgimp/gimpmath.h
	* libgimp/gimpmatrix.[ch]
	* libgimp/gimpvector.[ch]: removed.

	* app/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la

	* app/[many files]
	* libgimpcolor/gimpcolorspace.c
	* libgimpcolor/gimprgb.c
	* libgimp/gimpadaptivesupersample.c
	* libgimp/gimpbilinear.c
	* libgimp/gimpwidgets.c
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c
	* plug-ins/libgck/gck/gckcolor.c
	* tools/pdbgen/pdb/channel.pdb
	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
	removed the remaining includes of the old color stuff.
2001-01-23 23:56:18 +00:00
Michael Natterer e803beddd4 Makefile.am configure.in added stuff for the new library below.
2001-01-23  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* configure.in
	* gimptool.in: added stuff for the new library below.

	* libgimpcolor/.cvsignore
	* libgimpcolor/Makefile.am
	* libgimpcolor/gimpcolor.h
	* libgimpcolor/gimpcolorspace.c
	* libgimpcolor/gimpcolorspace.h
	* libgimpcolor/gimpcolortypes.h
	* libgimpcolor/gimphsv.c
	* libgimpcolor/gimphsv.h
	* libgimpcolor/gimprgb.c
	* libgimpcolor/gimprgb.h: new shared library which both the app
	and plug-ins link against. The library depends only on glib.

	* libgimpcolor/gimpcolor.def
	* libgimpcolor/makefile.mingw.in
	* libgimpcolor/makefile.msc: added Win32 build files which
	definitely don't work.

	* libgimp/Makefile.am
	* libgimp/gimpcolor.[ch]
	* libgimp/gimpcolorspace.[ch]: removed.

	* libgimp/gimp.h
	* libgimp/gimpadaptivesupersample.c
	* libgimp/gimpbilinear.c
	* libgimp/gimppalette.c
	* libgimp/gimptypes.h: include the stuff from libgimpcolor.

	Plug-Ins don't need to include <libgimpcolor/gimpcolor.h>
	explicitely. LibGimp depends on libgimpcolor and thus also includes
	it's headers.

	* libgimp/gimp.def
	* libgimp/makefile.mingw.in: fiddled around with Win32 stuff...

	* app/Makefile.am: link against libgimpcolor.la

	* app/apptypes.h: include "libgimpcolor/gimpcolortypes.h"

	* app/asupsample.c
	* app/channels_dialog.c
	* app/colormap_dialog.c
	* app/commands.c
	* app/convert.c
	* app/devices.c
	* app/disp_callbacks.c
	* app/drawable.c
	* app/gimpcontext.c
	* app/gimpdnd.c
	* app/gimpimage.c
	* app/gimppalette.c
	* app/gimprc.c
	* app/gradient.c
	* app/libgimp_glue.c
	* app/palette.c
	* app/palette_import.c
	* app/qmask.c
	* app/xcf.c
	* app/tools/paint_core.c
	* app/tools/paintbrush.c
	* app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all
	gimp includes because it's a standalone library.

	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/fp/Makefile.am
	* plug-ins/gap/Makefile.am
	* plug-ins/gdyntext/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/mosaic/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/webbrowser/Makefile.am
	* plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD.

	* INSTALL: don't recommend to --disable-shared for development.

	* TODO.xml: increased some percentages, added plug-in help stuff.
2001-01-23 18:49:44 +00:00
Michael Natterer b346ba965d app/Makefile.am new files containing stuff needed for linking libgimp
2001-01-23  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/libgimp_glue.[ch]: new files containing stuff needed for
	linking libgimp stuff against the app. This file is not needed
	at all for the app itself and should never be included.

	* app/gimpcontext.[ch]: removed from here.

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimppalette.[ch]: new files for the PDB wrapping
	gimp_palette_*_rgb() stuff.

	* libgimp/gimpcolor.[ch]: removed the PDB dependency from here.
2001-01-23 16:05:10 +00:00
Michael Natterer 75760de9d1 libgimp/Makefile.am libgimp/gimp.h libgimp/gimpadaptivesupersample.[ch]
2001-01-23  Michael Natterer  <mitch@gimp.org>

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimpadaptivesupersample.[ch]
	* libgimp/gimpbilinear.[ch]: new files cut out of LibGCK.

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: removed the bilinear and
	supersample code.

	* app/apptypes.h
	* app/asupsample.[ch]
	* app/tools/blend.c: made the adaptive_supersample interface the
	same as in libgimp but don't use the libgimp function yet.

	The libgimp function takes total transparancy into account when
	weighting the 4 resulting RGBA values, the app function always
	weights them equally. Please have a look at the code.

	* plug-ins/Lighting/lighting_image.c
	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/MapObject/mapobject_image.[ch]: changed accordingly.

	* app/disp_callbacks.c: paranoia cleanups.
2001-01-23 00:53:12 +00:00
Daniel Egger eb12cfb66f #include "gimppalette_pdb.h" to shut up the compiler.
2001-01-22  Daniel Egger  <egger@suse.de>

        * libgimp/gimpcolor.c: #include "gimppalette_pdb.h"
	to shut up the compiler.
2001-01-22 00:18:13 +00:00
Sven Neumann 9d1a945a79 fixed my last change
2001-01-16  Sven Neumann  <sven@gimp.org>

	* app/color_notebook.c: fixed my last change

	* libgimp/gimpcolorarea.c: swapped opaque and transparent areas
2001-01-16 23:01:18 +00:00
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
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 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
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
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
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 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 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 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 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 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 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
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
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 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
Manish Singh 378814ac77 1.2.0 stuff
-Yosh
2000-12-25 08:08:08 +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
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
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 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
Michael Natterer 4dadc09cb9 use RINT() instead or rint(). Sprinkled some GPOINTER_TO_INT() and other
2000-11-27  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.c: use RINT() instead or rint(). Sprinkled
	some GPOINTER_TO_INT() and other macros where we used to cast
	directly. Minor doc fixes.
2000-11-27 17:09:53 +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 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
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
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
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
Tor Lillqvist 2e661c1c1e app/gimprc.c (parse_gimprc_file) Make sure the directory doesn't get
2000-10-28  Tor Lillqvist  <tml@iki.fi>

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

	* app/gimpdrawable.[ch]
	* libgimp/gimpsizeentry.c: did some code review: s/0/NULL/,
	s/sprintf/g_snprintf/, spacing.
2000-10-28 15:43:56 +00:00
Michael Natterer ea8c6270c4 don't ask for GIMP_UNIT_PIXEL's number of digits, code cleanup.
2000-10-24  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpsizeentry.c: don't ask for GIMP_UNIT_PIXEL's number
	of digits, code cleanup.
2000-10-24 00:00:31 +00:00
Michael Natterer d69c1a72b4 gimp_uninstall_temp_proc(): free the original hash key _after_ removing
2000-10-17  Michael Natterer  <mitch@gimp.org>

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

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

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

	it may have been the reason for various reported perl<->script-fu
	problems. Bug reporters, please check your bugs.
2000-10-17 21:38:42 +00:00
Sven Neumann d747a8a22b added GIMP_HAVE_SYSCONFDIR
2000-10-16  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpfeatures.h.in: added GIMP_HAVE_SYSCONFDIR
2000-10-16 12:44:45 +00:00
Michael Natterer 2421ff6be9 gimp_mem_size_entry_new(): fixed typo: s/4069/4096/ (reported by David
2000-10-15  Michael Natterer  <mitch@gimp.org>

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

	* Makefile.am
	* configure.in
	* gimp.1.in
	* gimp.spec.in
	* gimprc.5.in
	* user_install
	* user_install.bat
	* app/gimprc.c
	* app/user_install.c
	* libgimp/Makefile.am
	* libgimp/gimpenv.[ch]: applied a modified version of
	gimp-che-20001013-2, a patch from Ben Gertzfield <che@debian.org>
	that moves the system-dependant configuration files (gimprc and
	friends) into $prefix/etc/gimp/1.1.
2000-10-14 22:15:11 +00:00
Tor Lillqvist 1e9f323717 libgimp/makefile.mingw.in app/makefile.mingw.in modules/makefile.mingw.in
2000-09-21  Tor Lillqvist  <tml@iki.fi>

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

	* config.h.win32: Remove alloca definition, current <glib.h> now
	handles that.
2000-09-21 17:51:33 +00:00
Tor Lillqvist 79022969c3 Use fopen (xxx, "rb") on all systems. It is standard C, does no harm on
2000-09-07  Tor Lillqvist  <tml@iki.fi>

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

	* libgimp/gimp.c (gimp_extension_process): Use
	g_io_channel_win32_poll() instead of
	g_io_channel_win32_wait_for_condition().
2000-09-07 20:04:47 +00:00
Michael Natterer b9413eb038 added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.
2000-08-28  Michael Natterer  <mitch@gimp.org>

	* configure.in: added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.

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

	* libgimp/gimp.c: NULL is the default log domain, not "".
2000-08-27 20:59:07 +00:00
Kevin Turner 1d8a2ae904 libgimp/gimp.h (union _GimpParamData): s/gint32 d_status/GimpPDBStatusType d_status/ 2000-08-27 20:10:12 +00:00
Sven Neumann bfdfaeb49c shut up CVS
--Sven
2000-08-26 12:52:38 +00:00
Tor Lillqvist 733ae45c79 Add new entry points.
2000-08-25  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.def: Add new entry points.
2000-08-25 16:08:48 +00:00
Sven Neumann cb7d5a179f tools/pdbgen/pdb/fileops.pdb added a few more PDB wrappers
2000-08-25  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/fileops.pdb
	* tools/pdbgen/pdb/selection.pdb: added a few more PDB wrappers

	* tools/pdbgen/pdb/image.pdb: tweaked the help and blurb strings

	* app/image_cmds.c
	* libgimp/gimpfileops_pdb.[ch]
	* libgimp/gimpimage_pdb.c
	* libgimp/gimpselection_pdb.[ch]: regenerated

	* 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
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/gfig/gfig.c: use new PDB wrappers.
	For GDynText this change fixes a bug since it used to use the
	wrong number of arguments for gimp_selection_load().

	* plug-ins/flame/rect.[ch]: removed compiler warning
2000-08-25 15:38:38 +00:00
Sven Neumann c9d17e59e9 gtkdoc is even more picky than an IRIX compiler...
--Sven
2000-08-25 00:47:03 +00:00
Sven Neumann 9fd7a4ef2d libgimp/gimpchannel.c libgimp/gimpimage.c libgimp/gimplayer.c
2000-08-25  Sven Neumann  <sven@gimp.org>

        * libgimp/gimpchannel.c
        * libgimp/gimpimage.c
        * libgimp/gimplayer.c
        * libgimp/gimpproceduraldb.c
        * libgimp/gimpselection.c: document wrapped PDB wrappers
2000-08-25 00:37:35 +00:00
Sven Neumann c9b302652f libgimp/gimp*_pdb.c autogenerate gtkdoc comments for all PDB wrappers.
2000-08-25  Sven Neumann  <sven@gimp.org>

        * libgimp/gimp*_pdb.c
        * tools/pdbgen/lib.pl: autogenerate gtkdoc comments for all PDB
        wrappers.
2000-08-24 23:06:53 +00:00
Tor Lillqvist 565ca6b118 Update, tell people the MSVC makefiles are not up-to-date.
2000-08-24  Tor Lillqvist  <tml@iki.fi>

	* README.win32: Update, tell people the MSVC makefiles are not
	up-to-date.

	* */makefile.msc: Add warning about being outdated.

	* */makefile.cygwin: Remove.

	* */makefile.mingw.in: New files replacing the makefile.cygwin files.

	* */Makefile.am: Change correspondingly.

	* configure.in: Generate corresponding makefile.mingw files.

	* app/about_dialog.c: Include <gdk/gdkconfig.h> for
	GDK_USE_UTF8_MBS. Add UTF-8 version of a string.

	* libgimp/gimp.c: Remove horrible Win32 hack, not needed any longer.

	* plug-ins/common/jpeg.c: Use g_message, not g_warning.

	* plug-ins/common/winclipboard.c
	* plug-ins/common/winprint.c: Remove COMPAT_CRUFT.

	* plug-ins/Lighting/lighing_apply.c: Fix for non-interactive mode
	bug, supplied by Piet van Oostrum.

	* tips/makefile.mingw: New file.

	* tips/Makefile.am: Add it.
2000-08-24 17:53:43 +00:00
Sven Neumann 7703c4e056 libgimp/gimpcompat.h renamed CAN_HANDLE_INDEXED and friends.
2000-08-24  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcompat.h
	* libgimp/gimpexport.[ch]: renamed CAN_HANDLE_INDEXED and friends.

	* plugins/bmp/bmp.c
	* plugins/common/aa.c
	* plugins/common/csource.c
	* plugins/common/gbr.c
	* plugins/common/gicon.c
	* plugins/common/gif.c
	* plugins/common/gpb.c
	* plugins/common/header.c
	* plugins/common/hrz.c
	* plugins/common/jpeg.c
	* plugins/common/pat.c
	* plugins/common/pcx.c
	* plugins/common/pix.c
	* plugins/common/png.c
	* plugins/common/pnm.c
	* plugins/common/ps.c
	* plugins/common/psp.c
	* plugins/common/sunras.c
	* plugins/common/tga.c
	* plugins/common/tiff.c
	* plugins/common/xbm.c
	* plugins/common/xpm.c
	* plugins/common/xwd.c
	* plug-ins/fits/fits.c
	* plugins/gfli/gfli.c
	* plugins/sgi/sgi.c: ditto
2000-08-24 14:17:34 +00:00
Sven Neumann 38faf34c48 removed COMPAT_CRUFT
2000-08-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/gap/iter_ALT/*/*.inc: removed COMPAT_CRUFT

	* libgimp/gimpcompat.h
	* libgimp/gimpenums.h
	* tools/pdbgen/enumcode.pl: reversed the COMPAT_CRUFT logic:
	Default is not to include compatibility definitions. Define
	GIMP_ENABLE_COMPAT_CRUFT to make old plug-ins compile against
	the 1.2 API.

	* plug-ins/print/print_gimp.h: define GIMP_ENABLE_COMPAT_CRUFT
	here since we will update gimp-print in a few days anyway.
2000-08-24 00:04:57 +00:00
Sven Neumann 78123e8646 libgimp/gimpimage.[ch] pass the return value of the PDB call through the
2000-08-23  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpimage.[ch]
	* libgimp/gimpproceduraldb.[ch]: pass the return value of the
	PDB call through the wrapper functions.
2000-08-23 11:22:08 +00:00
Manish Singh 50e478ef43 $srcdir != $builddir fix for GIMP_CONTRIBUTORS
* configure.in: $srcdir != $builddir fix for GIMP_CONTRIBUTORS

* plug-ins/common/plugin-defs.pl: More tidying up after Daniel Egger

* tools/pdbgen/Makefile.am: parse pdb defs only once for app and lib

* tools/pdbgen/lib.pl
* tools/pdbgen/pdb/procedural_db.pdb: all void rets now return a
boolean for success/failure

-Yosh
2000-08-23 01:44:59 +00:00
Daniel Egger f219503a23 removed further COMPAT_CRUFT.
removed further COMPAT_CRUFT.
2000-08-22 00:13:56 +00:00
Daniel Egger ceee83f6e4 removed COMPAT_CRUFT.
removed COMPAT_CRUFT.
2000-08-21 23:11:47 +00:00
Manish Singh 5828759fb8 added get_number_of_built_in_units
* tools/pdbgen/pdb/unit.pdb: added get_number_of_built_in_units

* tools/pdbgen/Makefile.am: gen files in $top_srcdir/libgimp

* tools/pdbgen/lib.pl
* tools/pdbgen/pdb/procedural_db.pdb: libgimp pdbgen munging, final
landing

-Yosh
2000-08-21 21:23:31 +00:00
Manish Singh 4bfdd765fe tools/pdbgen/lib.pl libgimp pdbgen munging
* tools/pdbgen/lib.pl
* tools/pdbgen/pdb/parasite.pdb: libgimp pdbgen munging

* libgimp/gimpbrushes_pdb.[ch]
* libgimp/gimpdrawable_pdb.[ch]
* libgimp/gimppatterns_pdb.[ch]: new autogenned files landed

-Yosh
2000-08-21 18:59:12 +00:00
Michael Natterer 84e80a7fc9 make_initialization_status_window(): reverse logic for if(!no_interface &&
2000-08-09  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c: make_initialization_status_window(): reverse
	logic for if(!no_interface && !no_splash)

	* app/palette.[ch]: removed declarations of the two removed
	functions. One more s/gint/gboolean/.

	* libgimp/gimpfileselection.[ch]
	* libgimp/gimppixmap.[ch]: some consistency fixes (mostly fanatic :)

	* libgimp/gimpproceduraldb.c: fixed a compiler warning.
2000-08-09 17:04:16 +00:00
Michael Natterer 95ccd16f0c forgot to commit this last weekend :)
2000-08-04  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.h
	* libgimp/gimpcompat.h
	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugindetails.c
	* plug-ins/dbbrowser/dbbrowser_utils.c
	* plug-ins/gap/gap_dbbrowser_utils.c
	* plug-ins/gap/gap_filter_codegen.c
	* plug-ins/gap/gap_filter_pdb.c
	* plug-ins/gap/gap_pdb_calls.c
	* plug-ins/maze/maze_face.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/xjt/xpdb_calls.c: removed COMPAT_CRUFT
2000-08-07 21:30:35 +00:00
Michael Natterer deb5760b42 Sven Neumann <sven@gimp.org>
2000-08-03  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/*_pdb.c
	* libgimp/gimpmenu.c
	* DrMartin.Weber: removed COMPAT_CRUFT
2000-08-03 01:35:28 +00:00
Michael Natterer 3c4fc75083 Sven Neumann <sven@gimp.org>
2000-08-03  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c
	* libgimp/gimpbrushmenu.c
	* libgimp/gimpprotocol.c: removed COMPAT_CRUFT

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/film.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/gfig/gfig.c
	* plug-ins/print/print.c
	* plug-ins/sel2path/sel2path.c: replaced gimp_run_procedure
	calls with functions from libgimp that wrap the PDB calls.
	And, you guessed it, cleanup and indentation.

	* plug-ins/print/gimp_main_window.c: closed bug #11784.
2000-08-03 00:48:55 +00:00
Tor Lillqvist 65f8231d43 Add handful of missing functions, that gdyntext now uses.
2000-08-02  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.def: Add handful of missing functions, that
	gdyntext now uses.

	* plug-ins/makefile.cygwin: Move gdyntext from unofficial set to
	official.

	* plug-ins/gdyntext/font_selection.c: Remove unneeded inclusion of
	Xlib.h and gdkx.h.

	* plug-ins/gdyntext/gdyntext.c: Use G_PI.
2000-08-02 06:33:58 +00:00
Tor Lillqvist 0444ceddbf Pass correct timeout value to g_io_channel_win32_wait_for_condition
2000-08-01  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.c (gimp_extension_process): Pass correct timeout
	value to g_io_channel_win32_wait_for_condition (actually g_poll)
	to indicate infinite wait.
2000-08-01 16:09:16 +00:00
Sven Neumann 261e3c6801 added g_strcompress from glib-1.3
2000-08-01  Sven Neumann  <sven@gimp.org>

* libgimp/gimputils.[ch]: added g_strcompress from glib-1.3

* plug-ins/gdyntext/gdyntextutil.[ch]: removed since it duplicated
gimp_strescape and the newly added gimp_strcompress.

* plug-ins/gdyntext/Makefile.am
* plug-ins/gdyntext/gdyntext.[ch]
* plug-ins/gdyntext/gdyntext_ui.c
* plug-ins/gdyntext/gdyntextcompat.c: use the new functions and
got rid of some gimp_run_procedure calls since we now have proper
wrappers in libgimp.

* plug-ins/common/autocrop.c
* plug-ins/common/gif.c
* plug-ins/common/gifload.c
* plug-ins/common/guillotine.c
* plug-ins/common/mail.c
* plug-ins/common/screenshot.c
* plug-ins/common/tile.c
* plug-ins/common/zealouscrop.c
* plug-ins/gflare/gflare.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/pagecurl/pagecurl.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu.c: replaced gimp_run_procedure
calls with functions from libgimp that wrap the PDB calls.

Sorry, all this is untested but I will leave tomorrow and hope to
get some hacking done at Mitch's place. So I wanted that stuff to
be in CVS. There are good chances that it works...
2000-08-01 00:38:38 +00:00
Tor Lillqvist 8f3df4ef96 Change Win32 implementation to be a bit simpler. Use minigzip (from zlib)
2000-07-31  Tor Lillqvist  <tml@iki.fi>

	* plug-ins/common/gz.c (load_image,save_image): Change Win32
	implementation to be a bit simpler. Use minigzip (from zlib)
	instead of the full gzip. Intend to include minigzip with the
	(binary) distribution.

	* libgimp/makefile.{cygwin,msc}
	* app/makefile.{cygwin,msc}: Add G_LOG_DOMAIN.

	* app/gimpbrushhose.{c,h}: Really remove these files, as
	Adrian tried on August 23.

	* plug-ins/script-fu/script-fu.c: Enable the script-fu console on
	Win32, too.

	* plug-ins/script-fu/script-fu-console.c: Now with new GLib
	GIOChannel implementaion, compile for Win32, too. Use
	g_io_add_watch instead of gdk_input_add (on Unix, too). The
	callback for g_io_add_watch is passed a GIOChannel, while the
	callback for gdk_input_add is passed a file descriptor. On Win32
	(and possibly other non-Unices) we want GIOChannels, as we must
	use g_io_channel_read to read from file descriptors being
	watched. Works as previously on Unix this way, too.
2000-07-30 23:17:00 +00:00
Michael Natterer f1fcbeeb44 app/errors.[ch] app/main.c my last commit redirected all messages to the
2000-07-30  Michael Natterer  <mitch@gimp.org>

	* app/errors.[ch]
	* app/main.c
	* libgimp/gimp.c: my last commit redirected all messages to the
	console. Use g_log_set_handler() instead of g_set_message_handler()
	(which is deprecated anyway).
2000-07-30 17:33:37 +00:00
Michael Natterer ed3eb946b9 app/Makefile.am set G_LOG_DOMAINs for the app and for libgimp so we can
2000-07-30  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* libgimp/Makefile.am: set G_LOG_DOMAINs for the app and for
	libgimp so we can distinguish their warnings from plug-in ones.

	* libgimp/gimp.c: set the stack_trace_mode before installing
	signal handlers.
2000-07-30 16:25:19 +00:00
Tor Lillqvist 47328ffd2e libgimp/gimp.c libgimp/gimp.h libgimp/gimpmenu.c libgimp/gimpprotocol.c
2000-07-30  Tor Lillqvist  <tml@iki.fi>

	* libgimp/gimp.c
	* libgimp/gimp.h
	* libgimp/gimpmenu.c
	* libgimp/gimpprotocol.c
	* libgimp/gimpprotocol.h
	* libgimp/gimp.def
	* app/plug_in.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/script-fu/script-fu.c: As the GLib main loop and IO
	channel implementation on Win32 now provides the same interface as
	that on Unix, much of the Win32-only crap could be
	removed. Especially, no need for "wakeup" out-of-band messages to
	wake up pipe readers. No need for plug-ins to tell GIMP their
	thread id.

	* libgimp/gimp.c (gimp_extension_process): On Win32, use the new
	g_io_channel_win32_wait_for_condition() function.

	* plug-ins/makefile.cygwin: Add the homogenizer plug-in to the
	unofficial part.
2000-07-29 21:32:55 +00:00
Michael Natterer 0566a8804e gimp_drawable_set_visible(): the "visible" parameter is boolean.
2000-07-29  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpdrawable.[ch]: gimp_drawable_set_visible(): the
	"visible" parameter is boolean.

2000-07-29  Michael Natterer  <mitch@gimp.org>

	* libgimp-decl.txt
	* libgimp-sections.txt
	* tmpl/gimp.sgml
	* tmpl/gimpdrawable.sgml
	* tmpl/gimpenums.sgml
	* tmpl/gimpimage.sgml
	* tmpl/gimplayer.sgml: updated from the libgimp sources.
2000-07-29 13:22:35 +00:00
Tor Lillqvist e153e7cd6b Add horrible hack that seems to help script-fu startup on NT 4.0, by
2000-07-18  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimp.c (gimp_flush): Add horrible hack that seems to
help script-fu startup on NT 4.0, by avoiding some bug in GLib.
Yes, it would be better to fix GLib's main loop and GIOChannel
code for Win32. Unfortunately, it's kinda hairy...

* libgimp/gimp.h: Add extern "C" to the Win32 part for compiling
C++ plug-ins.

* plug-ins/makefile.cygwin: Add a couple of new unofficial
plug-ins. Use macros from build/win32/make.mingw.

* plug-ins/common/warp.c: Use G_PI.
2000-07-18 21:49:50 +00:00
Michael Natterer df9eeff6ac Sven Neumann <sven@gimp.org>
2000-07-16  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann      <sven@gimp.org>

	* AUTHORS
	* gimp.1.in
	* app/about_dialog.c: removed two accidentially added non-authors.

	* app/errors.[ch]
	* app/main.c: added a new command line option
	"--enable-stack-trace" which can be one of {never|query|always}.

	* app/plug_in.c
	* libgimp/gimp.c: pass the stack trace mode as an argv[] element to
	plug-ins. Cleaned up the plug-ins' argv[] (removed unused TILE_WIDTH
	and TILE_HEIGHT arguments, always pass 6 arguments to make the code
	simpler).

	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/Makefile.am
	* tools/pdbgen/enums.pl: export the app's STACK_TRACE_MODE enum.

	* plug-ins/common/plugindetails.c: made the titles of the tree view
	unclickable, cleanups.
2000-07-16 12:49:04 +00:00
Sven Neumann ebc87a8c8f changed default action for multiple layers to "Merge/Flatten" instead of
2000-07-09  Sven Neumann  <sven@gimp.org>

        * libgimp/gimpexport.c: changed default action for multiple
        layers to "Merge/Flatten" instead of "Save as Animation"
        since I agree with the points made in #16488.
2000-07-09 15:47:11 +00:00
Tor Lillqvist 958dff32db Yes, there *is* a "build" directory. It's a virtual module included in
2000-07-04  Tor Lillqvist  <tml@iki.fi>

* Makefile.am (SUBDIRS): Yes, there *is* a "build" directory. It's a
virtual module included in gimp, see CVSROOT/modules. With older
CVS clients you might need to do a recheckout to get it.

* plug-ins/script-fu/script-fu.c (marshall_proc_db_call): On
Windows, handle pending gtk events each time we come here,
otherwise we easily get resource starvation in a long-running
script. Thanks to Jean-Louis Hamel for this workaround. It's a
hack, I don't exactly know why it is needed, but it sure helps a
lot.

* plug-ins/makefile.cygwin: Add some new unofficial plug-ins. Use
macros from make.mingw.

* libgimp/makefile.cygwin: Update with new object files.

* libgimp/gimp.def: Add new entry points.
2000-07-04 18:50:03 +00:00
Daniel Egger 5e33a64cba changed some words to lowercase
2000-06-27  Daniel Egger  <egger@suse.de>

        * libgimp/gimpexport.c: changed some words to lowercase

2000-06-28  Sven Neumann  <sven@gimp.org>

        * de.po: updated german translation

2000-06-27  Sven Neumann  <sven@gimp.org>

        * en_GB.po: applied gimp-cornwell-000626-0 which updates
        the british translation
2000-06-27 22:02:27 +00:00
Sven Neumann 679e597e77 added a new export_action type so PNG for example correctly shows "PNG
2000-06-26  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c: added a new export_action type
	so PNG for example correctly shows "PNG can't handle layers"
	even if the suggested action is to flatten the image since
	the background has no alpha-channel. Fixes bug #15085.
2000-06-25 23:18:56 +00:00
Manish Singh 4ee641a361 Stupid brain fart with the duplicate parameter logic
-Yosh
2000-06-22 20:44:26 +00:00
Manish Singh e79d0af89d tools/pdbgen/lib.pl libgimp/gimpchannel_pdb.c libgimp/gimpcolor_pdb.[ch]
* tools/pdbgen/lib.pl
* libgimp/gimpchannel_pdb.c
* libgimp/gimpcolor_pdb.[ch]
* libgimp/gimpdrawable_pdb.[ch]
* libgimp/gimpgimprc_pdb.[ch]
* libgimp/gimpgradientselect_pdb.c
* libgimp/gimpimage_pdb.c
* libgimp/gimppaths_pdb.[ch]
* libgimp/gimpselection_pdb.[ch]
* libgimp/gimptexttool_pdb.c
* libgimp/gimptools_pdb.c: landed the genned files from the changes
below. Minimal code changes (some failure case return values changed,
hopefully this won't break anything)

-Yosh
2000-06-22 20:06:02 +00:00
Sven Neumann 1e8d9383a6 gimp.h gimpchannel.h gimpcompat.h gimpdrawable.h gimpimage.h moved
2000-06-09  Sven Neumann  <sven@gimp.org>

	* gimp.h
	* gimpchannel.h
	* gimpcompat.h
	* gimpdrawable.h
	* gimpimage.h
	* gimplayer.h: moved convenience defines from gimp.h into
	relevant header files so you have a chance to find them.

2000-06-09  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-decl.txt
	* libgimp/libgimp-sections.txt
	* tmpl/gimp.sgml
	* tmpl/gimpchannel.sgml
	* tmpl/gimpdrawable.sgml
	* tmpl/gimpimage.sgml
	* tmpl/gimplayer.sgml: relocated defines as happened to
	reflect changes in libgimp
2000-06-09 01:56:34 +00:00
Sven Neumann 78cfe78aaa libgimp/gimp_pdb.h libgimp/gimpmisc_pdb.[ch] added missing autogenerated
2000-06-08  Sven Neumann  <sven@gimp.org>

	* libgimp/Makefile.am:
	* libgimp/gimp_pdb.h
	* libgimp/gimpmisc_pdb.[ch]
	* libgimp/gimppaths_pdb.[ch]: added missing autogenerated
	files that define PDB wrappers

	* tools/pdbgen/pdb/misc.pdb
	* tools/pdbgen/pdb/paths.pdb: made them generate libgimp code

	* plug-ins/sel2path/sel2path.c
	* plug-ins/sel2path/sel2path_adv_dialog.c: code cleanup, nicer
	dialog layout, use new PDB wrappers
2000-06-08 18:10:03 +00:00
Tor Lillqvist e9ada4544e Add the build subdirectory (which contains a copy of the build module).
2000-06-07  Tor Lillqvist  <tml@iki.fi>

* Makefile.am: Add the build subdirectory (which contains a copy
of the build module).

* app/makefile.cygwin
* libgimp/makefile.cygwin
* modules/makefile.cygwin
* plug-ins/makefile.cygwin: Include make.mingw from build/win32,
simplify accordingly.
2000-06-06 22:24:53 +00:00
Tor Lillqvist 0285191fda Test for help_path being non-NULL was wrong way.
2000-06-07  Tor Lillqvist  <tml@iki.fi>

* app/gimphelp.c (gimp_help_netscape): Test for help_path being
non-NULL was wrong way.

* app/preferences_dialog.c (file_pref_cmd_callback): Change
"From X Server" to "From windowing system".

* app/makefile.cygwin: Update according to file name changes.

* libgimp/gimp.def
* libgimp/gimpui.def
* libgimp/makefile.{cygwin,msc}: Update for Mitch's and Sven's
changes.

* plug-ins/libgck/gck/gckcolor.c: Include <glib.h> before
gimpmath.h, so G_PI don't get redefined when glib.h is included
later.

From Hans Breuer, portability fixes for MSVC compilation:

* app/dialog_handler.h: Bypass decalration of exported functions
which are marked with G_MODULE_EXPORT in dialog_handler.c when
compiling that file. Otherwise some compilers will get confused.

* app/dialog_handler.c: Define a test macro for above bypass.

* plug-ins/MapObject/mapobject_apply.c
* plug-ins/MapObject/mapobject_image.c
* plug-ins/MapObject/mapobject_shade.c: Include <string.h>.

* plug-ins/flame/flame.c: Define S_ISREG if needed.

* plug-ins/makefile.{cygwin,msc}: Updates.

* plug-ins/sel2path/global.h: Include <stdlib.h>.

* plug-ins/winsnap/winsnap.c: Include libgimp/gimpui.h.
2000-06-06 21:33:19 +00:00
Michael Natterer ffc162c03a Sven Neumann <sven@gimp.org>
2000-06-03  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimpproceduraldb.c (gimp_procedural_db_get_data): a bad
	hack to map the autogenerated code to the old api.
2000-06-03 02:04:33 +00:00
Michael Natterer db71b6e0e1 Sven Neumann <sven@gimp.org> Simon Budig <Simon.Budig@unix-ag.org> Garry
2000-06-01  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>
	    Simon Budig  <Simon.Budig@unix-ag.org>
	    Garry R. Osgood  <gosgood@idt.net>
	    Seth Burgess <sjburges@gimp.org>
	    Tuomas Kuosmanen <tigert@gimp.org>
	    Tor Lillqvist <tml@iki.fi>
	    Andy Thomas <alt@gimp.org>
	    Andreas Bogk <andreas@andreas.org>
	    Vincent Kolwitz <vincent@andreas.org>

	The remaining bits ...

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/gradient.pdb  -> gradients.pdb

	* app/Makefile.am
	* app/gradient_cmds.c  -> gradients_cmds.c

	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpfileops_pdb.[ch]
	* libgimp/gimpguides_pdb.[ch]
	* libgimp/gimphelp_pdb.[ch]
	* libgimp/gimpmessage_pdb.[ch]
	* libgimp/gimpparasite_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]
	* libgimp/gimpplugin_pdb.[ch]: replaced with code based on
	files generated using pdbgen

	* libgimp/gimpbrushmenu.c
	* libgimp/gimppatternmenu.c:
	reflect changes in gimp[brushes|patterns]_pdb.[ch]

	* tools/pdbgen/pdb/gradient.pdb  -> gradients.pdb

	* tools/pdbgen/pdb/plug_in.pdb: made it create libgimp code
2000-06-01 21:18:04 +00:00
Michael Natterer 5f7e2a8d1c Sven Neumann <sven@gimp.org> Simon Budig <Simon.Budig@unix-ag.org> Garry
2000-06-01  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>
	    Simon Budig  <Simon.Budig@unix-ag.org>
	    Garry R. Osgood  <gosgood@idt.net>
	    Seth Burgess <sjburges@gimp.org>

	* libgimp/gimpchannel_pdb.[ch]
	* libgimp/gimpproceduraldb_pdb.[ch]
	* libgimp/gimpunit_pdb.[ch]: replaced with code based on
	files generated using pdbgen

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimp_pdb.h
	* libgimp/gimpchannel.[ch]
	* libgimp/gimpproceduraldb.[ch]: new files wrapping around the
	autogenerated PDB wrappers as found in *_pdb.[ch].

	* libgimp/gimpselection_pdb.h: minor change.

	* tools/pdbgen/pdb/procedural_db.pdb: made it create libgimp code

	* plug-ins/gap/gap_filter_pdb.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/xjt/xpdb_calls.c: gimp_query_procedure's signature
	is typesafe now.
2000-06-01 17:34:56 +00:00
Michael Natterer d7b24953e4 Sven Neumann <sven@gimp.org>
2000-06-01  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimplayer_pdb.[ch]
	* libgimp/gimppalette_pdb.[ch]: replaced with code based on files
	generated using pdbgen

	* libgimp/Makefile.am
	* libgimp/gimplayer.[ch]:  new files wrapping around the
	autogenerated PDB wrappers as found in *_pdb.[ch].

	* libgimp/gimpdrawable.[ch]: added wrappers around PDB wrappers

	* libgimp/gimp.h
	* libgimp/gimpimage.c
	* libgimp/gimpimage_pdb.c
	* libgimp/gimpparasite_pdb.c: various smaller changes
2000-06-01 14:59:22 +00:00
Michael Natterer bd800141fb Sven Neumann <sven@gimp.org>
2000-06-01  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimpgradientmenu.c: forgot a small change here...
2000-06-01 12:33:12 +00:00
Michael Natterer 6be23f70fa Sven Neumann <sven@gimp.org>
2000-06-01  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	Completed the new file structure. Yet only few of the _pdb.[ch]
	files are based upon generated code and nothing is really
	autogenerated...

	* app/Makefile.am
	* app/gdisplay_cmds.c      -> app/display_cmds.c
	* app/gimage_cmds.c        -> app/image_cmds.c
	* app/gimage_mask_cmds.c   -> app/selection_cmds.c
	* app/internal_procs.c: related change

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimp_pdb.h
	* libgimp/gimpdisplay_pdb.[ch]
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpselection_pdb.[ch]: replaced with code based on files
	generated using pdbgen

	* libgimp/gimpchannelops_pdb.[ch]
	* libgimp/gimpcolor_pdb.[ch]
	* libgimp/gimpedit_pdb.[ch]
	* libgimp/gimpfloatingsel_pdb.[ch]
	* libgimp/gimpgimprc_pdb.[ch]
	* libgimp/gimptexttool_pdb.[ch]
	* libgimp/gimptools_pdb.[ch]
	* libgimp/gimpundo_pdb.[ch]: new files based on generated code

	* libgimp/gimpgradientselect.[ch]
	* libgimp/gimpimage.[ch]
	* libgimp/gimpselection.[ch]: new files wrapping around the
	autogenerated PDB wrappers as found in *_pdb.[ch]. This is necessary
	since the number of parameters or their order is different from the
	PDP calls.

	* plug-ins/common/CEL.c: plugged memleak

	* plug-ins/common/aa.c: removed compiler warning

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/gdisplay.pdb     -> display.pdb
	* tools/pdbgen/pdb/gimage.pdb       -> image.pdb
	* tools/pdbgen/pdb/gimage_mask.pdb  -> selection.pdb

	* tools/pdbgen/pdb/channel_ops.pdb
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/floating_sel.pdb
	* tools/pdbgen/pdb/gimprc.pdb
	* tools/pdbgen/pdb/text_tool.pdb
	* tools/pdbgen/pdb/tools.pdb
	* tools/pdbgen/pdb/undo.pdb: made them create libgimp code
2000-06-01 12:20:13 +00:00
Michael Natterer 21651c253a Sven Neumann <sven@gimp.org>
2000-05-31  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	Coming closer to our goal of autogenerating the
	libgimp PDB wrappers...

	* app/internal_procs.c
	* app/parasite_cmds.c
	* tools/pdbgen/pdb/parasite.pdb: removed parasite_new PDB call.

	* libgimp/gimp.h
	* libgimp/gimp_pdb.h
	* libgimp/gimpbrushmenu.c
	* libgimp/gimpcompat.h
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimpexport.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpmenu.[ch]
	* libgimp/gimpparasite.[ch]
	* libgimp/gimpparasite_pdb.[ch]
	* libgimp/gimppatternmenu.c
	* libgimp/gimpproceduraldb_pdb.[ch]: changes to incorporate the new
	files listed below

	* libgimp/Makefile.am
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpbrushselect_pdb.[ch]
	* libgimp/gimpconvert_pdb.[ch]
	* libgimp/gimpgradientselect_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]
	* libgimp/gimppatternselect_pdb.[ch]: new files partly generated
	using pdbgen

	* tools/pdbgen/lib.pl: some adjustments and fixes to the libgimp
	pdbgen code

	* tools/pdbgen/pdb/help.pdb
	* tools/pdbgen/pdb/pattern_select.pdb: make them generate PDB
	wrappers for libgimp too.
2000-05-31 21:16:11 +00:00