1. 09 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/datafiles.[ch] app/gimpparasite.[ch] removed... · d7fde9e6
      Michael Natterer authored
      2001-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/datafiles.[ch]
      	* app/gimpparasite.[ch]
      	* app/parasitelist.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpdatafiles.[ch]
      	* app/core/gimpparasite.[ch]
      	* app/core/gimpparasitelist.[ch]: ...and added here.
      
      	* app/gimprc.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/undo.c
      	* app/core/gimp.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/parasite.pdb
      	* app/pdb/parasite_cmds.c: changed #include's accordingly.
      d7fde9e6
  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. 04 Jul, 2001 1 commit
    • Michael Natterer's avatar
      renamed gimp_initialize() to gimp_restore() because it loads all kinds of · f7c69b07
      Michael Natterer authored
      2001-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: renamed gimp_initialize() to gimp_restore()
      	because it loads all kinds of data. Added gimp_shutdown() to save
      	the data. Added the global parasite list.
      
      	* app/apptypes.h: removed ParasiteList.
      
      	* app/core/core-types.h: added GimpParasiteList.
      
      	* app/gimpparasite.[ch]: removed the global parasite list.
      
      	* app/parasitelist.[ch]: s/ParasiteList/GimpParasiteList/
      	s/parasite_list_*/gimp_patasite_list_*/
      
      	* app/widgets/gimpdatafactoryview.c: don't save the data in
      	gimp_data-factory_data_free().
      
      	* app/app_procs.c
      	* app/gimprc.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/parasite.pdb: changed accordingly.
      f7c69b07
  4. 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
  5. 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
  6. 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
  7. 07 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/paint_funcs.c app/paint_funcs.h removed the old files. · f6f19012
      Michael Natterer authored
      2001-04-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint_funcs.c
      	* app/paint_funcs.h
      	* app/paint_funcs_simd.S: removed the old files.
      
      	* tools/pdbgen/Makefile.am
      	* app/app_procs.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/desaturate.c
      	* app/disp_callbacks.c
      	* app/floating_sel.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpchannel.c
      	* app/gimpdrawable-preview.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimplayer.c
      	* app/gimplayermask.c
      	* app/global_edit.c
      	* app/image_map.c
      	* app/image_new.c
      	* app/layers_dialog.c
      	* app/temp_buf.c
      	* app/toolbox.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      f6f19012
  8. 08 Mar, 2001 1 commit
    • Michael Natterer's avatar
      app/apptypes.h app/channel_ops.c app/commands.c app/convert.[ch] · 469faaf3
      Michael Natterer authored
      2001-03-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h
      	* app/channel_ops.c
      	* app/commands.c
      	* app/convert.[ch]
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gimage.h
      	* app/gimage_mask.[ch]
      	* app/gimpchannel.c
      	* app/global_edit.h
      	* app/image_map.c
      	* app/layer_select.[ch]
      	* app/layers_dialogP.h
      	* app/lc_dialog.c
      	* app/resize.c
      	* app/toolbox.c
      	* app/undo.h
      	* app/undo_history.c
      	* app/xcf.c
      	* app/tools/gimpbycolorselecttool.h
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimppainttool.c
      	* app/tools/transform_core.h: removed the GImage typedef, cleanup.
      469faaf3
  9. 06 Mar, 2001 1 commit
    • Michael Natterer's avatar
      removed the layer mask functions. · af76f2bb
      Michael Natterer authored
      2001-03-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimage.[ch]: removed the layer mask functions.
      
      	* app/gimpchannel.[ch]: added a boolean "dummy" parameter to
      	gimp_channel_copy() so it has the same signature as
      	gimp_layer_copy() and can be used by the GimpDrawableListView to
      	generically duplicate drawables.
      
      	* app/gimpcontainerview.c: call "select_item" with a NULL item
      	before changing the underlying GimpContainer so subclasses have
      	a chance to update (e.g. set button sensitivity).
      
      	* app/gimpdnd.c: folded all the GtkType comparing code into a
      	utility function (much more readable now).
      
      	* app/gimpdrawablelistview.[ch]: activated the "raise", "lower",
      	"duplicate" and "delete". I'm not really happy with all those
      	function pointers passed to the constructor (and the dummy
      	parameters I've added to some GimpChannel functions) -- OTOH the
      	generic view maybe worth the "gboolean dummy" cruft hanging around
      	in the channel class.
      
      	* app/gimplayer.[ch]: removed the "apply_mask", "edit_mask" and
      	"show_mask" booleans ...
      
      	* app/gimplayermask.[ch]: .. and added them here together with
      	proper accessors and "*_changed" signals.
      
      	This also makes the layer mask undo code much clearer as we don't
      	have to store the booleans separately.
      
      	* app/gimplayerlistitem.c: badly hacked to acheive the correct
      	indicator being drawn around the active drawable. This needs
      	a new GimpPreview function for setting the border color.
      
      	* app/gimplistitem.c: smaller horizontal spacing.
      
      	* app/gimppreview.[ch]: added the "border_width" parameter also to
      	gimp_preview_set_size() so we can modify all previews the same way
      	after creation.
      
      	* app/layers_dialog.c: no need to push an undo group around
      	the "duplicate layer" code. Was this an artefact or did I miss
      	something here ???
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/gimage_mask.c
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpdrawablelistitem.c
      	* app/gimpimage.[ch]
      	* app/qmask.c
      	* app/test_commands.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/channel_cmds.c
      	* tools/pdbgen/pdb/channel.pdb
      	* app/pdb/selection_cmds.c
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]
      	* tools/pdbgen/pdb/layer.pdb: commented out the layer mask accessors
      	from the perl code, so the functions temporarily disappeared all
      	over the place.
      
      	* plug-ins/Makefile.am: don't build XJT until the layer mask stuff
      	is back.
      
      	* pixmaps/eye.xpm: cropped it to it's minimal size.
      af76f2bb
  10. 04 Mar, 2001 1 commit
    • Michael Natterer's avatar
      new function gimp_drawable_set_visible(). Renamed gimp_drawable_visible() · 65235b91
      Michael Natterer authored
      2001-03-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdrawable.[ch]: new function gimp_drawable_set_visible().
      	Renamed gimp_drawable_visible() to gimp_drawable_get_visible().
      	Added a "visibility_changed" signal.
      
      	* app/gimplistitem.[ch]: new virtual function "set_viewable"
      	which allows subclasses to connect to the viewable's signals.
      
      	* app/gimpdrawablelistitem.[ch]: added an eye button. Implement
      	"set_viewable" to connect to the "visibility_changed" signal.
      
      	* app/gimpchannel.[ch]: removed unused function
      	gimp_channel_toggle_visibility().
      
      	* app/channels_dialog.c
      	* app/floating_sel.c
      	* app/gimage_mask.c
      	* app/gimpimage.c
      	* app/gimplayer.c
      	* app/layers_dialog.c
      	* app/xcf.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/pdb_glue.h
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed direct access of
      	drawable->visible and use the functions instead. Also makes PDB
      	code generation nicer.
      
      	* pixmaps/eye.xpm: cropped it a bit.
      65235b91
  11. 04 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new object. Everything that can have a · f029c6b5
      Michael Natterer authored
      2001-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpviewable.[ch]: new object. Everything that can have a
      	preview will be a GimpViewable. The virtual functions are
      	"invalidate_preview", "preview" and "preview_new".
      
      	* app/gimpmarshal.[ch]: new marshaller needed for the viewable.
      
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.[ch]: derived from GimpViewable. Removed the
      	preview stuff from the public interface.
      
      	Made a single boolean out of GimpImage's "comp_preview_valid"
      	array because we have only one copposite preview.
      
      	* app/gimplayer.c: made the preview stuff private.
      
      	* app/gimppreviewcache.[ch]: removed gimp_preview_scale()...
      
      	* app/temp_buf.[ch]: ...and added it as temp_buf_scale() here.
      
      	* app/gimpdrawablepreview.[ch]: is a private method of
      	GimpDrawable now.
      
      	* app/channels_dialog.c
      	* app/convert.c
      	* app/drawable.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpchannel.c
      	* app/gimpcontainer.c
      	* app/gimpdnd.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/nav_window.c
      	* app/palette_import.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* app/tools/ink.c
      	* app/tools/paint_core.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* po/POTFILES.in: changed accordingly.
      f029c6b5
  12. 01 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimpchannel.[ch] new files moved here by Yosh. · dde74f97
      Michael Natterer authored
      2001-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpchannel.[ch]
      	* app/gimplayer.[ch]: new files moved here by Yosh.
      
      	* app/channel.[ch]
      	* app/layer.[ch]: removed.
      
      	* app/gdisplay.c: cleanup stuff.
      
      	* app/[lotsa files].c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed includes accordingly.
      dde74f97
  13. 29 Jan, 2001 4 commits
    • 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
    • Michael Natterer's avatar
      app/Makefile.am new file with one set of functions... · bd7a4bf1
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpdrawablepreview.[ch]: new file with one set of functions...
      
      	* app/channel.[ch]
      	* app/layer.[ch]: ...instead of having everything duplicated three
      	times here.
      
      	* app/channels_dialog.c
      	* app/floating_sel.c
      	* app/floating_sel.h
      	* app/gimpdnd.c
      	* app/gimpimage.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/selection.c
      	* app/pdb/drawable_cmds.c
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly, cleanup.
      bd7a4bf1
    • Michael Natterer's avatar
      app/Makefile.am new file. · 227eea67
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/undo_history.h: new file.
      
      	* app/apptypes.h: removed the "Channel" typedef.
      
      	* app/channel.[ch]: renamed all functions to gimp_channel_*()
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimage_mask.[ch]
      	* app/gimpdnd.c
      	* app/gimphistogram.c
      	* app/gimpimage.[ch]
      	* app/global_edit.c
      	* app/layer.c
      	* app/layers_dialog.c
      	* app/qmask.c
      	* app/scan_convert.c
      	* app/scan_convert.h
      	* app/toolbox.c
      	* app/undo.[ch]
      	* app/undo_history.c
      	* app/xcf.[ch]
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/pdb_glue.h
      	* app/pdb/selection_cmds.c
      	* app/pdb/tools_cmds.c
      	* app/tools/bezier_select.c
      	* app/tools/bezier_selectP.h
      	* app/tools/blend.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/crop.c
      	* app/tools/ellipse_select.c
      	* app/tools/free_select.c
      	* app/tools/fuzzy_select.c
      	* app/tools/fuzzy_select.h
      	* app/tools/iscissors.c
      	* app/tools/rect_select.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      227eea67
    • Michael Natterer's avatar
      app/pdb/Makefile.am new file which contains the stuff that makes PDB code · d3dcfadc
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/Makefile.am
      	* app/pdb/pdb_glue.h: new file which contains the stuff that makes
      	PDB code generation easier but is ugly when used in the app
      	(see my comment in the log below).
      
      	Contains:
      	gimp_drawable_[layer|layer_mask|channel]()
      	[channel|gimp_layer]_[set|get]_[name|tattoo]()
      
      	* app/channel.[ch]
      	* app/channels_dialog.c
      	* app/gimpdrawable.h
      	* app/gimpimage.c
      	* app/gimplayermask.h
      	* app/layer.c
      	* app/layer.h
      	* app/toolbox.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/tools/bezier_select.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/ellipse_select.c
      	* app/tools/free_select.c
      	* app/tools/fuzzy_select.c
      	* app/tools/iscissors.c
      	* app/tools/rect_select.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      d3dcfadc
  14. 28 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new files cut out of layer.[ch]. Renamed all functions to · 8ddebdf7
      Michael Natterer authored
      2001-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimplayermask.[ch]: new files cut out of layer.[ch]. Renamed
      	all functions to gimp_layes_mask_*(). removed artefacts like
      	the ref/unref functions.
      
      	* app/apptypes.h: removed the "LayerMask" typedef.
      
      	* app/layer.[ch]: removed the layer mask stuff and renamed all
      	functions to gimp_layer_*(). Added temporary typedefs for the old
      	function names. The layer mask preview stuff is still there (should
      	probably go to new layer_preview.{ch] files).
      
      	* app/gimpimage.[ch]: added
      	gimp_image_invalidate_[layer|channel]_previews() formerly known as
      	[layer|channel]_invalidate_previews().
      
      	* app/channel.[ch]: moved channel_layer_alpha() and
      	channel_layer_mask() here because they are methods of the Channel.
      
      	* app/channel_ops.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/fileops.c
      	* app/floating_sel.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimpdnd.c
      	* app/global_edit.c
      	* app/layers_dialog.c
      	* app/preferences_dialog.c
      	* app/toolbox.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/tools/crop.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly, cleanup.
      8ddebdf7
  15. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      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.
      cb166972
  16. 15 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/channel.[ch] app/gimpimage.[ch] use GimpRGB for the Channel's, the · d8228390
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/gimpimage.[ch]
      	* app/layer.[ch]: use GimpRGB for the Channel's, the QuickMask's
      	and the LayerMask's color.
      
      	* app/channel_cmds.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/qmask.c
      	* app/xcf.c
      	* tools/pdbgen/pdb/channel.pdb: changed accordingly.
      d8228390
  17. 14 Jan, 2001 2 commits
    • 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
    • Michael Natterer's avatar
      app/channel.[ch] app/gimpdrawable.[ch] moved the "removed" signal from · f504187d
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/gimpdrawable.[ch]
      	* app/layer.[ch]: moved the "removed" signal from GimpChannel and
      	GimpLayer to GimpDrawable.
      
      	* app/gimpimage.[ch]: changed accordingly.
      f504187d
  18. 10 Jan, 2001 2 commits
    • Michael Natterer's avatar
      removed the "name" parameter and use GimpObject's name instead. · 6642bc2c
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdrawable.[ch]: removed the "name" parameter and use
      	GimpObject's name instead.
      
      	* app/channel.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/drawable.h
      	* app/gimpimage.c
      	* app/interface.c
      	* app/layer.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/qmask.c
      	* app/undo.c
      	* app/xcf.c: changed accordingly, cleanup.
      6642bc2c
    • Michael Natterer's avatar
      app/Makefile.am removed. added. · 92c45a90
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpsignal.[ch]: removed.
      	* app/gimpmarshal.[ch]: added.
      
      	* app/channel.[ch]
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimplist.[ch]
      	* app/gimpobject.[ch]
      	* app/gimpset.[ch]
      	* app/layer.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/parasitelist.[ch]: removed gimp_signal_new() and
      	GIMP_TYPE_INIT(). Fixed lots of object related uglyness.
      92c45a90
  19. 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
  20. 28 Dec, 2000 2 commits
    • Sven Neumann's avatar
      app/channel.c use gtk_object_sink() instead of gtk_object_unref() when · ebe7d2f9
      Sven Neumann authored
      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.
      ebe7d2f9
    • Michael Natterer's avatar
      app/channel.[ch] app/drawable.h app/gimpdrawable.[ch] app/gimpdrawableP.h · 0d440e10
      Michael Natterer authored
      2000-12-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/drawable.h
      	* app/gimpdrawable.[ch]
      	* app/gimpdrawableP.h
      	* app/gimpimage.[ch]
      	* app/gimpimageP.h
      	* app/layer.[ch]
      	* app/layer_pvt.h: started a major cleanup of all image/drawable
      	files. Added tons of "const GimpImage *" declarations and properly
      	formated the headers.
      
      	* app/bezier_select.c
      	* app/channels_dialog.c
      	* app/crop.c
      	* app/fileops.[ch]
      	* app/fuzzy_select.c
      	* app/gdisplay.c
      	* app/layers_dialog.c
      	* app/move.c
      	* app/paint_funcs.[ch]
      	* app/qmask.c
      	* app/undo.c: changed accordingly plus the usual portion of coding
      	style paranoia. This is not finished but Sven promised to buy me
      	a beer if I commit now ;)
      0d440e10
  21. 16 Dec, 2000 2 commits
    • Sven Neumann's avatar
      app/gimppreviewcache.h app/channel.c put the preview cache priming code · 7d0ca8d0
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	* app/gimppreviewcache.h
      	* app/channel.c
      	* app/layer.c: put the preview cache priming code back into place,
      	but disabled it for small images to avoid unnecessary upscaling.
      7d0ca8d0
    • 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
  22. 15 Dec, 2000 1 commit
    • Sven Neumann's avatar
      added new function gimp_preview_scale(). · e29df7e2
      Sven Neumann authored
      2000-12-15  Sven Neumann  <sven@gimp.org>
      
      	* app/gimppreviewcache.[ch]: added new function gimp_preview_scale().
      
      	* app/channel.c
      	* app/channels_dialog.c
      	* app/gimpimage.c
      	* app/layer.c
      	* app/layers_dialog.c
      	* app/lc_dialog.c
      	* app/nav_window.c: unified preview drawing code. Previews are never
      	generated larger than the canvas size. Image and channel previews are
      	scaled up to the desired size, so does the navigation window. The
      	layer previews are not yet scaled up again since we can not use
      	gimp_preview_scale here. I have removed the preview_cache priming
      	code since we don't need it any longer and it caused bad results.
      e29df7e2
  23. 11 Dec, 2000 1 commit
    • Sven Neumann's avatar
      check for NULL pointer · d7c90b6d
      Sven Neumann authored
      2000-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/channel.c (channel_invalidate_previews): check for NULL pointer
      
      	* app/fileops.c: if saving and loading images at the same time, the
      	PDB obviously manages to mangle return values. By checking the
      	validity of the returned image id we avoid to crash as described in
      	bug #26788.
      
      	* app/module_db.c: unload modules from the idle_loop as suggested
      	by Austin in #5745.
      d7c90b6d
  24. 03 Jun, 2000 1 commit
  25. 12 May, 2000 1 commit
    • Sven Neumann's avatar
      enabled the (commented out) signal "invalidate_preview". · b101e7bc
      Sven Neumann authored
      2000-05-12  Sven Neumann  <sven@gimp.org>
      
      * gimpdrawable.c: enabled the (commented out) signal
        "invalidate_preview".
      
      * app/layers_dialog.c: connect to the "invalidate_preview"
        signal to catch changes that need to be shown in the layer
        previews. Synthetize an expose event when a layer changes.
      
        Expose events are optimzed away by GTK+ if the widget is not
        visible. Therefore, previews not visible in the layers_dialog
        are not redrawn when they invalidate. Later the preview gets
        validated by the image_preview in lc_dialog but is never
        propagated to the layer_pixmap. We work around this by using an
        additional flag "layer_pixmap_valid" so that the pixmap gets
        updated once the preview scrolls into sight.
      
        Fixes bugs #10549, #10300 and #8787.
      
      * app/channel.[ch]
      * app/layer.[ch]: code review and indentation
      
      
      --Sven
      b101e7bc
  26. 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
  27. 15 Feb, 2000 1 commit
    • GMT 2000 Andy Thomas's avatar
      gimp/app/gimpdrawable.c gimp/app/channel.c gimp/app/layer.c · 8f6bca32
      GMT 2000 Andy Thomas authored
      
      Tue Feb 15 23:27:42 GMT 2000 Andy Thomas <alt@gimp.org>
      
      	 * gimp/app/gimpdrawable.c
      	 * gimp/app/channel.c
      	 * gimp/app/layer.c
      	 * gimp/app/channel.h
      	 * gimp/app/layer.h
      	 * gimp/app/gimpimage.c
      	 * gimp/app/gimpimage.h
      	 * gimp/app/gimpdrawable.h
      	 * gimp/tools/pdbgen/pdb/paths.pdb
      	 * gimp/tools/pdbgen/pdb/layer.pdb
      	 * gimp/tools/pdbgen/pdb/channel.pdb
      	 * gimp/tools/pdbgen/pdb/gimage.pdb
      	 * gimp/app/channel_cmds.c
      	 * gimp/app/gimage_cmds.c
      	 * gimp/app/internal_procs.c
      	 * gimp/app/layer_cmds.c
      	 * gimp/app/paths_cmds.c
      
      	New gimp_*_set_tattoo procedures. This allows save/load plugins
              to save/restore tattoo states of layers, channels and paths. Note the
      	internal tattoo state can also be set, however rigorous checks are
      	performed to make sure that the internal tattoo states of layer,
      	channels and paths are consistent and that the new state value is
      	newval > MAX(MAX(layertattoo),MAX(channeltattoo),MAX(pathtattoo)).
      8f6bca32
  28. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and · 49230471
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
      	include both <glib.h> and <gtk/gtk.h>.
      
      	* app/*
      	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
      	same for MIN and MAX.
      
      	* app/preferences_dialog.c: the "Check Size" widget was connected
      	to the transparency_type variable.
      
      	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
      
      	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
      
      	* plug-ins/*: don't include the two files.
      49230471
  29. 20 Jan, 2000 1 commit
  30. 06 Dec, 1999 1 commit
  31. 04 Nov, 1999 1 commit
    • Sven Neumann's avatar
      get rid of compiler warnings · 84984285
      Sven Neumann authored
              * app/channel.c: get rid of compiler warnings
      
              * app/histogram_tool.c
              * app/histogram_tool.h: added a gradient below the histogram so
              it looks more like the curves and levels tool
      
              * app/gimpbrushpipe.c
              * libgimp/parasiteio.c
              * libgimp/parasiteio.h: plugged another mem-leaks. At least
              The GIMP now starts without leaking memory...
      
      --Sven
      84984285
  32. 01 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc · 6ef23d98
      Tor Lillqvist authored
      1999-09-01  Tor Lillqvist  <tml@iki.fi>
      
      * app/appenv.h
      * libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
      RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
      use them, too. Remove some commented-out old stuff in appenv.h.
      
      * libgimp/gimp.h: Include gimpmath.h.
      
      * libgimp/gimp.c (gimp_main): Win32: Don't install signal
      handlers, we can't do anything useful in the handler ourselves
      anyway (it would be nice to print out a backtrace, but that seems
      pretty hard to do, even if not impossible). Let Windows inform the
      user about the crash. If the plug-in was compiled with MSVC, and
      the user also has it, she is offered a chance to start the
      debugger automatically anyway.
      
      * app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
      <math.h>, as gimpmath.h includes it.
      
      * plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
      Remove all the duplicated definitions of G_PI and rint(). Use
      RINT() instead of rint().
      
      * app/app_procs.[ch]: app_exit() takes a gboolean.
      
      * app/batch.c
      * app/commands.c
      * app/interface.c: Call app_exit() with FALSE or TRUE.
      
      * app/main.c (on_error): Call gimp_fatal_error. (main): Don't
      install any signal handler on Win32 here, either.
      
      * app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
      the message and call MessageBox with it.  g_on_error_query doesn't
      do anything useful on Win32, and printf'ing a message to stdout or
      stderr doesn't do anything, either, in a windowing application.
      6ef23d98