1. 27 Nov, 2001 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am app/config/gimpconfig.[ch] · 19e1acbc
      Sven Neumann authored
      2001-11-27  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-deserialize.[ch]: added new base class
      	GimpConfig that knows how to serialize and deserialize it's properties
      	in sexp format. Contains two example properties that will go into
      	derived classes once this is really used.
      
      	* app/main.c: deserialize and serialize the test GimpConfig object to
      	~/.gimp-1.3/foorc (only for debugging).
      
      	* app/widgets/widgets-types.h
      	* app/core/core-types.h: moved GimpPreviewSize enum to core-types.
      
      	* app/core/core-types.h: don't include gdk-pixbuf.h.
      
      	* app/core/gimptoolinfo.h
      	* app/core/gimpimagefile.c: include gdk-pixbuf.h.
      
      	* app/core/gimpimage.[ch]: made construct_flag a gboolean.
      
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpunit.c
      
      	* tools/pdbgen/pdb/plug_in.pdb
      	* app/pdb/plug_in_cmds.c: removed unused variables.
      
      	* app/display/Makefile.am: removed .PHONY and files cruft
      
      	* app/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* plug-ins/Makefile.am: removed commented out makefile.mingw rules.
      	If we ever need them again, they can easily be resurrected from CVS.
      19e1acbc
  2. 07 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · 37ce6b9a
      Michael Natterer authored
      2001-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/drawable.[ch]: removed.
      
      	* app/core/gimpdrawable.[ch]: added the functions here. Made an
      	end to the myth that FG/BG and the undo system (!!!) are not
      	really part of the core.
      
      	* app/disp_callbacks.c
      	* app/floating_sel.c
      	* app/image_map.c
      	* app/qmask.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/gui/channels-commands.c
      	* app/gui/gui.c
      	* app/gui/layers-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpchannellistitem.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly. Misc small
      	fixes and cleanups.
      37ce6b9a
  3. 22 May, 2001 1 commit
    • Michael Natterer's avatar
      app/gimphistogram.[ch] removed. · 0196e83f
      Michael Natterer authored
      2001-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphistogram.[ch]
      	* app/lut_funcs.[ch]: removed.
      
      	* app/base/gimphistogram.[ch]
      	* app/base/lut-funcs.[ch]
      	* app/core/gimpdrawable-histogram.[ch]: added, cleanup.
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/apptypes.h
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/core/Makefile.am
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/pdb/color_cmds.c
      	* app/widgets/gimphistogramview.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      0196e83f
  4. 15 May, 2001 1 commit
    • Michael Natterer's avatar
      new directory app/base/ · d240f623
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directory app/base/
      
      	* app/Makefile.am
      	* app/boundary.[ch]
      	* app/brush_scale.[ch]
      	* app/gimpchecks.h
      	* app/gimplut.[ch]
      	* app/pixel_processor.[ch]
      	* app/pixel_region.[ch]
      	* app/pixel_surround.[ch]
      	* app/temp_buf.[ch]
      	* app/tile.[ch]
      	* app/tile_cache.[ch]
      	* app/tile_manager.[ch]
      	* app/tile_manager_pvt.h
      	* app/tile_pvt.h
      	* app/tile_swap.[ch]: moved to base/
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/*: new directory for the sub-object pixel maniplation
      	and storage stuff. Does not include Gtk+ or anything outside
      	base/. Did some cleanup in all files.
      
      	* app/appenums.h
      	* app/apptypes.h
      	* app/core/gimpimage.h: removed types which are now in
      	base/base-types.h.
      
      	* app/base/base-config.[ch]
      	* app/gimprc.[ch]: put the config variables for base/ to their own
      	file so base/ doesn not have to include gimprc.h (does not yet
      	work, i.e. the variables are un-configurable right now)
      
      	* app/main.c: set a log handler for "Gimp-Base".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs.[ch]: removed the color hash which
      	maps RGB to color indices because it's a totally standalone system
      	which has nothing to do with the paint-funcs and introduced a
      	GimpImage dependency.
      
      	paint-funcs/ should be considered on the same sub-object
      	(glib-only) level as base/, only in a different directory.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-colorhash.[ch]: put the color hash here.
      
      	* app/gimage.c: don't invalidate the color hash here...
      
      	* app/core/gimpimage.c: ... but in the colormap_changed() default
      	inplementation. Initialize the hash in class_init().
      
      	* tools/pdbgen/Makefile.am: scan app/base/base-types.h for enums.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/pdb/[all]
      	* app/tools/[over]
      	* app/widgets/[the]
      	* tools/pdbgen/pdb/[place]: changed #includes accordingly. And use
      	base_config->value instead of the stuff from gimprc.h.
      d240f623
  5. 09 May, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am removed. · d1022c34
      Michael Natterer authored
      2001-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/asupsample.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h: new files.
      
      	* app/tools/gimptoolinfo.[ch]: removed.
      	* app/core/gimptoolinfo.[ch]: added here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.[ch]
      	* libgimp/gimpbilinear.[ch]: removed here...
      
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]: ..and added here.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/paths.pdb
      
      	* app/*.c: changed tons of #include's
      d1022c34
    • Michael Natterer's avatar
      configure.in added new directory app/core/ for the core object system. · 8985b107
      Michael Natterer authored
      2001-05-09  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am: added new directory app/core/ for the core
      	object system.
      
      	* app/gimage_mask.[ch]
      	* app/gimpbrush-header.h
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpchannel.[ch]
      	* app/gimpcontainer.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdata.[ch]
      	* app/gimpdatafactory.[ch]
      	* app/gimpdatalist.h
      	* app/gimpdrawable-desaturate.[ch]
      	* app/gimpdrawable-equalize.[ch]
      	* app/gimpdrawable-invert.[ch]
      	* app/gimpdrawable-offset.[ch]
      	* app/gimpdrawable-preview.[ch]
      	* app/gimpdrawable.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimpimage-convert.[ch]
      	* app/gimpimage-duplicate.[ch]
      	* app/gimpimage-undo.[ch]
      	* app/gimpimage.[ch]
      	* app/gimplayer.[ch]
      	* app/gimplayermask.[ch]
      	* app/gimplist.[ch]
      	* app/gimpmarshal.[ch]
      	* app/gimpobject.[ch]
      	* app/gimppalette-import.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern-header.h
      	* app/gimppattern.[ch]
      	* app/gimpundo.[ch]
      	* app/gimpundostack.[ch]
      	* app/gimpviewable.[ch]: removed these files...
      
      	* app/core/*: ...and added them here.
      
      	* app/*.c
      	* app/gui/*.c
      	* app/pdb/*.c
      	* app/tools/*.c
      	* app/widgets/*.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* po/POTFILES.in
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/*.pdb: changed accordingly.
      8985b107
  6. 19 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/brush_header.h app/pattern_header.h · 26dee230
      Michael Natterer authored
      2001-04-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/brush_header.h
      	* app/pattern_header.h
      	* app/desaturate.[ch]
      	* app/equalize.[ch]
      	* app/invert.[ch]: removed.
      
      	* app/gimpbrush-header.h
      	* app/gimppattern-header.h
      	* app/gimpdrawable-desaturate.[ch]
      	* app/gimpdrawable-equalize.[ch]
      	* app/gimpdrawable-invert.[ch]: new files.
      
      	* app/gui/commands.c: put some stuff from desaturate, equalize and
      	invert here. While it's ok to check the drawable type in the
      	callback, this is the wrong place for PDB wrappers.
      
      	* app/gimpbrush.c
      	* app/gimpbrushpipe.c
      	* app/gimplayer.c
      	* app/gimppattern.c
      	* app/pdb/color_cmds.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* po/POTFILES.in
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      26dee230
  7. 29 Jan, 2001 1 commit
    • Michael Natterer's avatar
      removed channel_update() because channel.c should not call · df0bbb26
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]: removed channel_update() because channel.c
      	should not call gdisplays_update(). Use drawable_update() and
      	a subsequent gdisplays_update() instead.
      
      	* app/qmask.c: do as described above.
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/equalize.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpdnd.c
      	* app/gimpdrawablepreview.c
      	* app/gimphistogram.c
      	* app/gimplayermask.c
      	* app/global_edit.c
      	* app/histogramwidget.c
      	* app/histogramwidget.h
      	* app/image_map.c
      	* app/image_new.c
      	* app/invert.c
      	* app/layer.c
      	* app/layer_select.c
      	* app/paths_dialog.c
      	* app/plug_in.c
      	* app/scan_convert.c
      	* app/undo_history.c
      	* app/xcf.c: include gimpdrawable.h instead of drawable.h where
      	possible, removed useless includes, minor other cleanups.
      df0bbb26
  8. 21 Jan, 2001 1 commit
    • Sven Neumann's avatar
      changed destdir for app-side PDB wrappers to app/pdb · 6a31b131
      Sven Neumann authored
      2001-01-21  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: changed destdir for app-side PDB wrappers to
      	app/pdb
      
      	* app/Makefile.am: don't create libgimpim.a in app.
      
      	* configure.in
      	* app/pdb/Makefile.am
      	* app/pdb/internal_procs.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/pdb/*_cmds.c: moved PDB functions into their own subdirectory.
      
      	* app/internal_procs.[ch]
      	* app/procedural_db.[ch]
      	* app/*_cmds.c: removed here
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/bezier_select.c
      	* app/brush_select.c
      	* app/bucket_fill.c
      	* app/colormap_dialog.c
      	* app/fileops.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimphelp.c
      	* app/gradient_select.c
      	* app/info_window.c
      	* app/invert.c
      	* app/lc_dialog.c
      	* app/menus.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/plug_in.h
      	* app/text_tool.c
      	* app/xcf.c
      	* po/POTFILES.in: changed accordingly
      6a31b131
  9. 14 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/channel.[ch] app/drawable.[ch] app/gdisplay.[ch] app/gimpdrawable.[ch] · 3220f9ec
      Michael Natterer authored
      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.
      3220f9ec
  10. 30 Dec, 2000 1 commit
    • Michael Natterer's avatar
      removed all the "typedef gimage_function gimp_image_function" stuff so we · 4a0f7c58
      Michael Natterer authored
      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.
      4a0f7c58
  11. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      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.
      8d6c335f
  12. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      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
      dfa2bed5
  13. 27 Apr, 2000 1 commit
    • Michael Natterer's avatar
      app/color_select.c app/colormaps.[ch] removed unused global variables · c73b233f
      Michael Natterer authored
      2000-04-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_select.c
      	* app/colormaps.[ch]
      	* app/context_manager.c: removed unused global variables
      	[foreground|background]_pixel and [old|new]_color_pixel.
      
      	Initialize the colormap and visual stuff with GdkRGB instead of
      	GtkPreview functions (which are deprecated).
      
      	* app/[62 files]: removed #include's (started with colormaps.h and
      	couldn't stop). Also ordered them consistently and did some small
      	unrelated cleanups.
      	Removed variuos <stdlib.h> et.al. but checked the files carefully
      	before doing so. If I was too radical and you get warnings on your
      	platform, please flame me or just put them back :)
      c73b233f
  14. 31 Jan, 2000 1 commit
  15. 17 Oct, 1999 1 commit
  16. 21 Apr, 1999 1 commit
    • Manish Singh's avatar
      moved a bunch of PDB stuff here · 993089b8
      Manish Singh authored
      * app/color_cmds.c: moved a bunch of PDB stuff here
      
      * app/color_balance.[ch]: removed PDB proc, exported TransferMode
      enum, ColorBalanceDialog, color_balance_create_lookup_tables, and
      color_balance
      
      * app/curves.[ch]: removed PDB procs, exported SMOOTH and GFREE
      #defines, CurvesDialog, curves_lut_func and curves_calculate_curve
      
      * app/desaturate.[ch]: removed PDB proc, exported desaturate
      
      * app/equalize.[ch]: removed PDB proc, exported equalize
      
      * app/histogram_tool.[ch]: removed PDB proc, exported HISTOGRAM_WIDTH
      and HISTOGRAM_HEIGHT #defines, HistogramToolDialog,
      histogram_tool_histogram_range
      
      * app/hue_saturation.[ch]: removed PDB proc, exported HueRange enum,
      HueSaturationDialog, hue_saturation_calculate_transfers,
      hue_saturation
      
      * app/invert.[ch]: remove PDB proc, export invert
      
      * app/threshold.[ch]: remove PDB proc, export ThresholdDialog and
      threshold_2
      
      * internal_procs.c: changes for pdbgen
      
      * app/gimprc.c: removed leftover declaration
      
      * app/image_map.h: add #include "gimpdrawableF.h"
      
      * app/lut_funcs.h: add ALPHA_LUT to ChannelLutType
      
      -Yosh
      993089b8
  17. 20 Apr, 1999 1 commit
    • BST 1999  Austin Donnelly's avatar
      add the new args to gimp-paintbrush PDB calls. · 5026bd50
      BST 1999 Austin Donnelly authored
      Tue Apr 20 23:38:26 BST 1999  Austin Donnelly  <austin@gimp.org>
      
      	* app/bezier_select.c: add the new args to gimp-paintbrush PDB
      	    calls.
      
      	* app/blend.c
      	* app/bucket_fill.c
      	* app/invert.c: check return from procedural_db_run_proc() rather
      	    than dereferencing NULL.
      
      	* app/paintbrush.c: plumb the non-gui fade_out option into the
      	    functions that actually do the work, rather than using
      	    an uninitialised value.
      
      	* app/procedural_db.c: better error messages on PDB typecheck fail
      	    in procedural_db_run_proc.  Also now valid to
      	    procedural_db_destroy_args() on a NULL pointer.
      	* app/procedural_db.h: pdb_type_name() function added, plus
      	    comment urging people to keep the enum and strings in step.
      
      	* tools/pdbgen/README: added paragraph on how to run pdbgen.pl
      
      	* tools/pdbgen/pdb/tools.pdb: fade_out parameter is valid to be 0
      	* app/tools_cmds.c: new version of generated file
      5026bd50
  18. 09 Apr, 1999 1 commit
    • jaycox's avatar
      build color_cmds, lut_funcs, and pixel_processor feedback in the splash · dde36031
      jaycox authored
      
      	* app/Makefile.am: build color_cmds, lut_funcs, and pixel_processor
      	* app/app_procs.c: feedback in the splash screen when loading
       	parasites.
      	* app/boundary.c: Optimized find_empty_segs.
      
      	* app/brightness_contrast.[ch]
      	* app/levels.[ch]
      	* app/posterize.[ch]:
       	moved pdb and lut calculation code.  These files now contain only
      	GUI functions.
      
      	* app/channel.c: Optimized channel_bounds (fewer compares, better
       	use of registers).  Use color_region instead of channel_*_segment
       	in channel_combine_rect.  Optimized channel_combine_ellipse by
       	skipping pixels inside of the ellipse.  Use
       	pixel_region_process_parallel in channel_combine_mask.  Use a
       	GimpLut in channel_invert, and channel_sharpen.
      
      	* app/invert.c
      	* app/equalize.c: moved the lut functions to lut_funcs.c
      
      	* app/gimpdrawable.c, app/gimpdrawableP.h
      	* app/gimpimage.c, app/gimpimageP.h: removed unused gimpmatrix
      	variables/includes.
      
      	* app/gimplut.[ch]: added new function gimp_lut_process_inline
       	that operates on a single PixelRegion.
      
      	* app/gimpparasite.[ch]: new functions to save/load parasiterc
      
      	* app/parasitelist.[ch]: new functions to save/load ParasiteLists
       	in/from files.
      
      	* libgimp/parasite.[ch]: new functions to load/save parasites.
      
      	* app/internal_procs.c: get some procs from new location in
      	color_cmds.h.
      
      	* app/pixel_region.[ch]: moved pixel_regions_process_parallel
       	related functions to a new file.
      
      	* app/color_cmds.[ch]: new files for PDB
       	definitions/implementations of color correction functions.
      
      	* app/lut_funcs.[ch]: new files to hold lut creation functions.
      
      	* app/pixel_processor.[ch]: new files that contain the
       	pixel_regions_process_parallel routines.  Added some new
       	capabilities that are currently unused.
      dde36031
  19. 20 Mar, 1999 1 commit
    • Manish Singh's avatar
      acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.2f · 05c69f12
      Manish Singh authored
      * acinclude.m4
      * config.guess
      * config.sub
      * ltconfig
      * ltmain.sh: upgrade to libtool 1.2f
      
      * autogen.sh: libtool is not required to autogen gtk+
      
      * acconfig.h: remove WITH_SYMBOL_UNDERSCORE (not explictly needed)
      
      * app/actionarea.h: made the label in ActionAreaItem const
      
      * app/convert.[ch]: made FOO_PALETTE #defines into an enum
      
      * libgimp/parasite.c
      * app/brightness_contrast.c
      * app/color_picker.c
      * app/colormap_dialog.i.c
      * app/curves.c
      * app/equalize.c
      * app/gimplut.c
      * app/histogram_tool.c
      * app/invert.c
      * app/levels.c
      * app/paint_funcs.c
      * app/pixel_regions.c
      * app/posterize.c
      * app/rect_select.c
      * app/threshold.c
      * app/xcf.c: remove unused vars, other minor code cleanups
      
      * app/procedural_db.h: #include <glib.h>
      
      * Makefile.am: add README.perl to EXTRA_DIST
      
      -Yosh
      05c69f12
  20. 16 Feb, 1999 1 commit
    • jaycox's avatar
      new source files that implement pixel Look Up Table functions. · a26f8d3f
      jaycox authored
      
      	* app/gimplut.[ch]: new source files that implement pixel Look Up
       	Table functions.
      
      	* app/Makefile.am: build gimplut.[ch]
      
      
      	* app/brightness_contrast.c
      	* app/curves.c
      	* app/invert.c
      	* app/levels.c
      	* app/posterize.c: Use the new lut functions.  Use
       	pixel_region_process_parallel in the PDB versions of these routines.
      
      	* libgimp/parasite.h
      	* libgimp/parasite.c: new functions parasite_name and
       	parasite_compare.
      
      	* app/gimpdrawable.c:
      	* app/gimpdrawable.h: new function
       	gimp_drawable_get_color_at(...) returns the RGBA[color index]
       	value at a specified position in the drawable.  Don't set the dirty
       	bit on the image if a new parasite is the same as the old.
      
      	* app/gimpimage.c
      	* app/gimpimage.h new function
       	gimp_image_get_color_at(...) returns the RGBA[color index]
       	value at a specified position in the drawable.  Don't set the dirty
       	bit on the image if a new parasite is the same as the old.
      
      	* app/by_color_select.c
      	* app/color_picker.c: use the new gimp_*_get_color_at
       	functions instead of messing with the tiles.
      
      	* app/layer.c: fixed a minor warning.
      
      	* app/commands.c:
      	don't scale the image if the new size == the old size
      
      	* app/channel.c: optimized channel_bounds by only checking the
       	pixels in a tile if it is not already entirely within the
       	currently computed bounds.
      a26f8d3f
  21. 03 Feb, 1999 1 commit
    • Manish Singh's avatar
      libgimp/gimp.c app/datafiles.c app/docindex.c app/gimprc.c app/gradient.c · a4213cf8
      Manish Singh authored
      * libgimp/gimp.c
      * app/datafiles.c
      * app/docindex.c
      * app/gimprc.c
      * app/gradient.c
      * app/palette.c: use g_get_home_dir () instead of getenv ("HOME")
      
      * app/fileops.c: #warning is a gccism
      
      * app/invert.[ch]: minor cleanup
      
      * app/menus.c: more cleanups
      
      * app/blob.c: even more cleanups
      
      * libgimp/parasite.c: YACU
      
      * ltconfig
      * ltmain.sh: CVS libtool 1.2e
      
      * modules/Makefile.am: use -module and -avoid-version flags
      
      * lic/Makefile.am
      * mapcolor/Makefile.am
      * xbm/Makefile.am: don't link with libjpeg here
      
      -Yosh
      a4213cf8
  22. 23 Nov, 1998 1 commit
  23. 13 Nov, 1998 1 commit
    • Marc Lehmann's avatar
      API-mega-break-it-all patch part one: removed the unnecessary PDB_IMAGE · 42e2c63c
      Marc Lehmann authored
              * airbrush.c, blend.c, brightness_contrast.c, bucket_fill.c
              by_color_select.c, channel_ops.c, clone.c, color_balance.c
              color_picker.c, convolve.c, curves.c, desaturate.c, edit_cmds.c
              equalize.c, eraser.c, flip_tool.c, fuzzy_select.c,
              gimage_mask_cmds.c histogram_tool.c, hue_saturation.c, invert.c,
              levels.c, pencil.c paintbrush.c, perspective_tool.c, posterize.c,
              rotate_tool.c scale_tool.c, shear_tool.c, text_tool.c, threshold.c:
      
              API-mega-break-it-all patch part one: removed the unnecessary
              PDB_IMAGE argument from many functions.
      
      Affected functions:
      gimp_airbrush gimp_blend gimp_brightness_contrast gimp_bucket_fill
      gimp_by_color_select gimp_channel_ops_offset gimp_clone gimp_color_balance
      gimp_color_picker gimp_convolve gimp_curves_explicit gimp_curves_spline
      gimp_desaturate gimp_edit_clear gimp_edit_copy gimp_edit_cut gimp_edit_fill
      gimp_edit_paste gimp_edit_stroke gimp_equalize gimp_eraser
      gimp_eraser_extended gimp_flip gimp_fuzzy_select gimp_histogram
      gimp_hue_saturation gimp_invert gimp_levels gimp_paintbrush
      gimp_paintbrush_extended gimp_pencil gimp_perspective gimp_posterize
      gimp_rotate gimp_scale gimp_selection_float gimp_selection_layer_alpha
      gimp_selection_load gimp_shear gimp_threshold
      42e2c63c
  24. 02 Jul, 1998 1 commit
  25. 30 Jun, 1998 1 commit
    • Lauri Alanko's avatar
      start collecting some core stuff to libgimpim.a · ef3e162e
      Lauri Alanko authored
      	Started separating crud out of drawables.
      
      	Isolated the id system of images entirely within pdb. Even the
      	window titles and menus use pointers instead of ids. Should at
      	least remind people that this is a developers' version. :)
      ef3e162e
  26. 28 May, 1998 1 commit
    • Manish Singh's avatar
      gimp_message. libgimp also overrides g_message for all plugins. Converted · 1d95a05a
      Manish Singh authored
      * redid the error message handling. g_message now calls message_box or prints
      to console depending on whether the no_interface is set or not. gimp-message
      is also exported to the PDB as a wrapper to g_message, and libgimp has a new
      API: gimp_message. libgimp also overrides g_message for all plugins. Converted
      lots of messages in app/* to g_message. Made script-fu a little friendlier.
      
      * updated the regex code from grep 2.2
      
      * said goodbye to the old script-fu logo in script-fu.h
      
      -Yosh
      1d95a05a
  27. 13 Apr, 1998 1 commit
  28. 22 Jan, 1998 1 commit
  29. 24 Nov, 1997 1 commit