1. 27 Feb, 2001 1 commit
  2. 21 Feb, 2001 1 commit
    • Michael Natterer's avatar
      forgot one s/gimptool/gimptool-1.4/ · 9417fa1d
      Michael Natterer authored
      2001-02-21  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: forgot one s/gimptool/gimptool-1.4/
      
      	* app/appenums.h: removed "UPDATE_CURSOR" from the ToolAction enum.
      
      	* app/context_manager.c: removed the toolbox toggle button updating
      	code here...
      
      	* app/toolbox.c: ...and handle it in the toolbox itself.
      
      	* app/devices.c: removed some obsolete old tool suff.
      
      	* app/tools/Makefile.am
      	* app/tools/move.[ch]: reactivated. Disabled the edit_selection
      	stuff for now. We need a way to temporary push tools to some stack
      	of the tool manager.
      
      	* app/tools/tool.[ch]: removed lot of stuff that is obsolete or
      	handled by the GimpToolInfo object now.
      
      	* app/tools/tool_manager.[ch]: stripped all tool options stuff
      	because they will be able to follow tool changes themselves.
      	Renamed some functions to be consistent.
      
      	* app/tools/tools.c: register the move tool again.
      
      	* app/cursorutil.c
      	* app/disp_callbacks.c
      	* app/gimage_mask.c
      	* app/global_edit.c
      	* app/tools/color_picker.c
      	* app/tools/measure.[ch]
      	* app/tools/tool_options.c: changed accordingly.
      9417fa1d
  3. 14 Feb, 2001 1 commit
    • Nate Summers's avatar
      prototype for an extension that allows gmodules as plugins. Known bug: · 35ac032f
      Nate Summers authored
              * plug-ins/plugin-helper/*: prototype for an extension that allows
              gmodules as plugins.  Known bug: crashes on gmodules with a static "query" function
      
              * app/tools/tool.c
              * app/tools/tool.h: created new GimpTool object.  Did away with ToolInfo.
              Most tools still need to be ported over to the new api.
              * plug-ins/script-fu/script-fu-scripts.c: fixed typo in comment.  Pathetic, huh?
      35ac032f
  4. 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
  5. 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
  6. 29 Jan, 2001 2 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. · 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
  7. 28 Jan, 2001 2 commits
    • Michael Natterer's avatar
      removed the "Layer" typedef. · a2ae989f
      Michael Natterer authored
      2001-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: removed the "Layer" typedef.
      
      	* app/layer.[ch]: removed the defines of the old function names.
      
      	Don't implement methods of the parent class (get_name, get_tattoo, ...)
      	but define them as macros. They will go to a separate "pdb_glue.h"
      	header because they are used only by the PDB to simplify code
      	generation (no application file should say gimp_layer_get_tattoo()
      	but always gimp_drawable_get_tatoo()).
      
      	* app/channel.h
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/floating_sel.[ch]
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimage_mask.h
      	* app/gimpdnd.c
      	* app/gimpdrawable.h
      	* app/gimpimage.[ch]
      	* app/gimplayermask.h
      	* app/global_edit.c
      	* app/image_new.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/resize.c
      	* app/undo.c
      	* app/xcf.[ch]
      	* app/pdb/drawable_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/tools/bucket_fill.c
      	* app/tools/by_color_select.c
      	* app/tools/clone.c
      	* app/tools/crop.c
      	* app/tools/edit_selection.c
      	* app/tools/ink.c
      	* app/tools/move.c
      	* app/tools/paint_core.c
      	* app/tools/rect_select.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly, cleanup.
      a2ae989f
    • 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
  8. 23 Jan, 2001 1 commit
    • Sven Neumann's avatar
      app/convert.c app/floating_sel.c app/gimage_mask.c app/gimpimage.c · b102101e
      Sven Neumann authored
      2001-01-23  Sven Neumann  <sven@gimp.org>
      
      	* app/convert.c
      	* app/floating_sel.c
      	* app/gimage_mask.c
      	* app/gimpimage.c
      	* app/global_edit.c
      	* app/image_map.c
      	* app/image_new.c
      	* app/layer.c
      	* app/paint_funcs.c
      	* app/pixel_region.c
      	* app/tile_manager.c
      	* app/tile_manager.h
      	* app/tile_manager_pvt.h
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/tools_cmds.c
      	* app/tools/flip_tool.c
      	* app/tools/perspective_tool.c
      	* app/tools/rotate_tool.c
      	* app/tools/scale_tool.c
      	* app/tools/shear_tool.c
      	* app/tools/text_tool.c
      	* app/tools/transform_core.c
      	* tools/pdbgen/pdb/tools.pdb: made all files execpt xcf.c use the
      	TileManager accessor functions instead of accessing the TileManager
      	struct directly.
      b102101e
  9. 22 Jan, 2001 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am moved all tool sources to app/tools · fafae590
      Sven Neumann authored
      2001-01-22  Sven Neumann  <sven@gimp.org>
      
              * configure.in
              * app/Makefile.am
              * app/tools/Makefile.am: moved all tool sources to app/tools
      
              * app/app_procs.c
              * app/brush_select.c
              * app/commands.c
              * app/context_manager.c
              * app/convert.c
              * app/cursorutil.c
              * app/devices.c
              * app/disp_callbacks.c
              * app/edit_selection.c
              * app/gdisplay.c
              * app/gimage.c
              * app/gimage_mask.c
              * app/gimpbrush.c
              * app/gimpbrushgenerated.c
              * app/gimpbrushpipe.c
              * app/gimpdnd.c
              * app/gimprc.c
              * app/global_edit.c
              * app/info_window.c
              * app/interface.c
              * app/menus.c
              * app/path.c
              * app/paths_dialog.c
              * app/paths_dialogP.h
              * app/scale.c
              * app/scroll.c
              * app/undo.c
              * app/pdb/color_cmds.c
              * app/pdb/text_tool_cmds.c
              * app/pdb/tools_cmds.c
              * po/POTFILES.in
              * tools/kernelgen.c
              * tools/pdbgen/Makefile.am
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/color.pdb
              * tools/pdbgen/pdb/text_tool.pdb
              * tools/pdbgen/pdb/tools.pdb: changed accordingly
      fafae590
  10. 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
  11. 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
  12. 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
  13. 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
  14. 03 Jun, 2000 1 commit
  15. 29 May, 2000 1 commit
    • Sven Neumann's avatar
      app/Makefile.am app/paint_core.c moved brush subsampling kernels into its · 9529e1e6
      Sven Neumann authored
      2000-05-29  Sven Neumann  <sven@gimp.org>
      
              * app/Makefile.am
              * app/paint_core.c
              * app/paint_core_kernels.h: moved brush subsampling kernels
              into its own header file and generated a slightly different
              kernel (using the new kernelgen tool, see below). The new
              kernel simulates a circular brush instead of a rectangular
              one and gives slightly different (lighter) results.
      
              * app/gimage_mask.c: when stroking a selection, offset the
              points by 0.5 to align the brushes with the pixel grid. This
              lets you create 1-pixel wide rectangles and ellipses.
      
              * tools/Makefile.am
              * tools/kernelgen.c: simple hack to generate subsampling
              kernels.
      9529e1e6
  16. 29 Apr, 2000 1 commit
  17. 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
  18. 26 Mar, 2000 1 commit
    • Michael Natterer's avatar
      add an "add_alpha" parameter to allow selected regions to be extracted · 5735b2ad
      Michael Natterer authored
      2000-03-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimage_mask.[ch] (gimage_mask_extract): add an "add_alpha"
      	parameter to allow selected regions to be extracted without having
      	an alpha channel added.
      
      	* app/global_edit.c: pass add_alpha = TRUE.
      
      	* app/transform_core.[ch]: made the transform core work on
      	non-layer drawables even if no selection is present. Fixes #7485
      	and #7555.
      
      	- transform_core_cut(): extract the mask without alpha if
      	  operating on a non-layer without having a selection.
      	- transform_core_paste(): return a boolean indicating success
      	  instead of a layer and handle channels correctly.
      	- transform_core_do(): if the "floating_tiles" passed to the
      	  function are from an un-floated non-layer, treat the whole
      	  non-layer as alpha channel and never enter the loop which
      	  transforms the (not present) color channels.
      	  Also clip the result to ensure that the channel never grows
      	  larger then the image.
      
      	* app/tools_cmds.c
      	* tools/pdbgen/pdb/tools.pdb: transform_core_paste() returns a
      	gboolean now.
      5735b2ad
  19. 21 Mar, 2000 1 commit
  20. 31 Jan, 2000 1 commit
  21. 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
  22. 11 Jan, 2000 1 commit
    • Garry R. Osgood's avatar
      app/disp_callbacks.c app/gimage_mask.c app/global_edit.c app/interface.c · 16d17959
      Garry R. Osgood authored
      2000-01-11  Garry R. Osgood <gosgood@idt.net>
      * app/disp_callbacks.c
      * app/gimage_mask.c
      * app/global_edit.c
      * app/interface.c
      * app/layer.c
      * app/layer.h
      * app/transform_core.c  Followup to #4708. Some clients
      of layer_new_from_tiles() need to specify the
      kind of layer they need; added a GimpImageType
      parameter for this purpose. Closes #5045.
      * app/paths_dialog.c paths_dialog_set_default_op()
      now checks for the existence of the path_dialog
      before manipulating its internals. Closes #5049;
      16d17959
  23. 01 Jan, 2000 1 commit
  24. 18 Oct, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      app/bezier_select.c app/edit_selection.c app/flip_tool.c app/gimage_mask.c · 6e285589
      BST 1999 Andy Thomas authored
      Mon Oct 18 21:24:47 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* app/bezier_select.c
      	* app/edit_selection.c
      	* app/flip_tool.c
      	* app/gimage_mask.c
      	* app/paths_dialog.c
      	* app/paths_dialogP.h
      	* app/undo.c
      	* app/tools.h
      	* app/tools.c
      
      	1) Fixed some problems with the paths tool. Now the tool suboption
      	"new point" is selected automatically when appropriate. Eg if you
      	have the "add point" suboption selected and click  on a point
      	not on the curve the "new point" option will become selected and the
      	new point will be added.
      
      	2) The "new point" option is defaulted to on when a new image is created	or a new image is selected from the image menu.
      
      	3) Move and flip tool now effect the path if it is locked.
      
      	4) Edit stroke now uses the currently selected tool as it should do
      	when stroking.
      6e285589
  25. 09 Sep, 1999 1 commit
  26. 22 Aug, 1999 1 commit
    • Michael Natterer's avatar
      app/color_area.[ch] app/color_panel.[ch] enabled dnd for colors · 1e08aa1e
      Michael Natterer authored
      1999-08-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/color_area.[ch]
      	* app/color_panel.[ch]
      	* app/gimpdnd.[ch]: enabled dnd for colors (compatible with the
      	standard gtk/gnome color dnd). The color selection is now invoked
      	on a real click, not on button_down to avoid confusion with dnd.
      
      	* app/channels_dialog.c
      	* app/disp_callbacks.c
      	* app/interface.c
      	* app/layers_dialog.c: minor dnd updates/fixes.
      
      	* app/channel.[ch]
      	* app/channel_pvt.h
      	* app/docindex.[ch]
      	* app/docindexif.[ch]
      	* app/drawable.[ch]
      	* app/floating_sel.c
      	* app/gimage.[ch]
      	* app/gimage_mask.c
      	* app/gimpdrawable.[ch]
      	* app/gimpdrawableP.h
      	* app/gimpimage.[ch]
      	* app/gimpimageP.h
      	* app/layer.[ch]
      	* app/layer_pvt.h
      	* app/undo.c
      	* app/xcf.c: wanted to do some s/int/gboolean/ in the layer files
      	where appropriate and found myself spending the whole night doing
      	a big code review for layers/channels/drawables/images:
      	s/int/gboolean/, s/<type>/g<type>/, lots of indentation, removed
      	some old global variables and deprecated functions, #include
      	cleanups, proper prototypes, copyright headers, ...
      1e08aa1e
  27. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      
      	Add an enum ConvolutionType, suffix the too general constants
      	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
      f6858e21
  28. 06 Jul, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/blend.c app/bucket_fill.c app/clone.c app/convolve.c · 1058f41d
      Michael Natterer authored
      1999-07-06  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              * app/airbrush.c
              * app/blend.c
              * app/bucket_fill.c
              * app/clone.c
              * app/convolve.c
              * app/dodgeburn.c
              * app/eraser.c
              * app/ink.c
              * app/paintbrush.c
              * app/pencil.c
              * app/smudge.c: get opacity/paint mode from the current context
              (currently always the user context).
      
              * app/gimage_mask.c: the "stroke" command uses the paintbrush's
              settings if the current context is the user context and we are in
              per-tool paint options mode.
      
              * app/context_manager.[ch]
              * app/paint_options.h
              * app/preferences_dialog.c
              * app/tool_options.c
              * app/tools.c: moved the global/per-tool paint options switching
              to the context manager. The tool options themselves only contain
              the widgets for them now. This should fix the segfaults happening
              in per-tool mode.
      	Removed the disclaimer from the prefs. dlg. as it seems to work
      	now. The impl. in the context manager however is still a hack.
      
              * app/brush_select.c
              * app/brushes_cmds.c
              * tools/pdbgen/pdb/brushes.pdb: same as above.
      
              * app/lc_dialog.c: minimal code reduction. No functionality changed.
      1058f41d
  29. 06 Jun, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/lc_dialog.[ch] app/lc_dialogP.h new files · ac98e8fa
      Michael Natterer authored
      1999-06-06  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/lc_dialog.[ch]
      	* app/lc_dialogP.h
      	* app/paths_dialogP.h: new files
      
      	* app/channels_dialog.[ch]
      	* app/layers_dialog.[ch]
      	* app/layers_dialogP.h
      	* app/paths_dialog.[ch]
      	* app/menus.[ch]
      	* app/file_new_dialog.c: modified
      
      	- Moved the toplevel L&C dialog code to lc_dialog.[ch]. Only
      	  these files need knowledge about how to create/update/...
      	  the sub-dialogs, so the corresp. functions are defined in
      	  lc_dialogP.h.
      	- The popup menus are now created by menus.c. The command
      	  callbacks are defined in [layers|channels|paths]_dialog.h.
      	- Private functions to be used by "friend files" are defined in
      	  [layers|paths]_dialogP.h.
      	- Changed the order of the ops_buttons in the paths dialog to
      	  match the order in the layers and channels dialogs.
      	- The paint mode menu and preview stuff still needs to go out of
      	  layers_dialog.[ch].
      	- I'm not sure about the keybindings in the layer dialog's "Stack"
      	  submenu because the list widget has it's own idea of PageUp/Down.
      	- Hopefully fixed the update problem with new images by calling
      	  lc_dialog_flush() after creating a new image.
      
      	* app/app_procs.c
      	* app/bezier_select.c
      	* app/commands.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/paint_core.c
      	* app/preferences_dialog.c
      	* app/transform_core.c
      	* app/undo.c: changed #include's according to the new L&C file
      	structure.
      ac98e8fa
  30. 06 May, 1999 1 commit
    • Michael Natterer's avatar
      app/channel.[ch] app/commands.c app/gimage_mask.[ch] · c0b24ce9
      Michael Natterer authored
      1999-05-07  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel.[ch]
      	* app/commands.c
      	* app/gimage_mask.[ch]
      	* app/gimage_mask_cmds.c
      	* tools/pdbgen/pdb/gimage_mask.pdb
      	* app/interface.c: propagated the indepentent x/y values for
      	shrink/grow/border to the interface but not yet to the PDB.
      
      	* app/*_select.c
      	* app/paint_funcs.[ch]: implemented indep. x/y feather. It seems
      	that cut-and-paste was sufficient, but I didn't really understand
      	the code. Jay, could you have a look at this please?
      
      	If the feather/shrink/... amount is specified in pixels,
      	everything behaves like before.
      	I'm not sure how the built-in feather option of the selection
      	tools should behave, so it still defaults to 'pixel' mode.
      	Moved the static feather/shrink/... values from gimage_mask.c to
      	commands.c because they belong to the interface.
      
      	* app/text_tool_cmds.c
      	* tools/pdbgen/pdb/text_tool.pdb: prepared for resolution
      	support, but didn't enable it yet.
      
      	* app/unit_cmds.c
      	* tool/pdbgen/pdb/unit.pdb: fixed a help text.
      c0b24ce9
  31. 22 Apr, 1999 1 commit
    • Michael Natterer's avatar
      First version of per-tool paint options. No PDB interface yet. The tool · ca2cbd32
      Michael Natterer authored
      1999-04-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	First version of per-tool paint options. No PDB interface yet.
      	The tool options dialog got rather big when in per-tool mode, so
      	it will probably have to become a notebook.
      
      	It's not yet 100% consistent. If switched off, everything should
      	behave exactly like before.
      
      	* app/Makefile.am
      	* app/paint_options.h: new file
      
      	* app/tool_options.c: PaintOptions gui. Maintain a list of all
      	paint tools' ToolOptions to enable switching between global and
      	per-tool paint options.
      
      	* app/brush_select.[ch]: changed packing boxes, tables, ...
      	The paint options in the brush selection can be hidden now.
      	Moved create_paint_mode_menu() to paint_options.h and
      	tool_options.c and renamed it to paint_mode_menu_new().
      
      	* app/gimage_mask.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/paint_core.c: moved gimp_brush_[set|get]_spacing() from
      	gimpbrushlist.[ch] to gimpbrush.[ch].
      	Moved gimp_brush_[get|set]_[opacity|paint_mode]() to
      	paint_options.h and tool_options.c and renamed them to
      	paint_options_*_*().  They are "global paint options" now.
      
      	* app/airbrush.c
      	* app/blend.c
      	* app/bucket_fill.c
      	* app/clone.c
      	* app/convolve.c
      	* app/eraser.c
      	* app/ink.c
      	* app/paintbrush.c
      	* app/pencil.c: all paint tools' options are derived from
      	"PaintOptions" now. Opacity and paint mode are obtained through
      	macros which take into account the current paint options mode.
      
      	* app/buildmenu.h: #include <gtk/gtk.h>
      
      	* app/color_picker.c
      	* app/text_tool.c: changed spacings.
      
      	* app/gimprc.[ch]: new gimprc option "global-paint-options"
      
      	* app/preferences_dialog.c: Added a "Tool Options" page. Code
      	cleanup. Some work on the convenience constructors test site.
      
      	* app/tools.c: fixed "unused variable" warning.
      ca2cbd32
  32. 02 Apr, 1999 1 commit
    • Michael Natterer's avatar
      made function headers ansi compliant. · f70fc7d3
      Michael Natterer authored
      1999-04-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/gimage_mask.[ch]: made function headers ansi compliant.
      
      	* app/file_new_dialog.c
      	* app/preferences_dialog.c: minor GUI and signal handling
      	changes. Added a WM hint pixmap to the prefs dialog but commented
      	it out because it looked ugly. If someone has a nice pixmap,
      	please try it and tell me ;)
      
      	* app/color_picker.c
      	* app/crop.c
      	* app/info_window.c
      	* app/perspective_tool.c
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/info_dialog.[ch]: the info_dialog allows scales, spinbuttons
      	and sizeentries now. Made some dialogs use these widgets and
      	added unit support. Sprinkled some g_snprintf's, removed
      	#include's, ansi issues, ...
      
      	* app/session.c: don't call a NULL callback.
      
      	* libgimp/gimpsizeentry.[ch]: new function
      	gimp_size_entry_add_field() which allows a more flexible GUI
      	layout. More intelligent signal handling.
      f70fc7d3
  33. 23 Nov, 1998 1 commit
  34. 15 Aug, 1998 1 commit
    • scott's avatar
      Another tile tweak. This one eliminates tile levels (which add · 85393964
      scott authored
      bookkeeping without being used).  Made copy_region more intelligent on
      when to use tile sharing; some changes made to pixel_regions to
      facilitate this.  Fixed a refcount problem with xcf load and probably
      a few other bugs that I've forgotten about.  Added a sanity check in
      set_undo_tiles to help with a problem larry is reporting with airbrush
      and xinput.  --sg
      85393964
  35. 09 Jul, 1998 1 commit
    • jaycox's avatar
      Modified Files: ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c · b7d8e6ea
      jaycox authored
      
       Modified Files:
       	ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c
       	app/brush_select.c app/brush_select.h app/clone.c
       	app/colormaps.c app/commands.c app/convolve.c app/devices.c
       	app/eraser.c app/gimage_mask.c app/gimpobject.h app/ink.c
       	app/internal_procs.c app/paint_core.c app/paint_core.h
       	app/paintbrush.c app/pencil.c app/preferences_dialog.c
            Minor modifications to support new brush functionality
      
       Added Files:
       	app/brush_edit.c app/brush_edit.h app/gimpbrush.c
       	app/gimpbrush.h app/gimpbrushgenerated.c
       	app/gimpbrushgenerated.h app/gimpbrushlist.c
       	app/gimpbrushlist.h
            new files to support vector generated brushes and
            reorganization/objectification of the brush class
      
       Removed Files:
       	app/brushes.c app/brushes.h
          Obsoleted by gimpbrush.? and gimpbrushlist.?
      
       ----------------------------------------------------------------------
      b7d8e6ea
  36. 07 Jul, 1998 1 commit
  37. 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
  38. 29 Jun, 1998 1 commit