1. 03 Sep, 2003 1 commit
    • Michael Natterer's avatar
      removed the _value() and _is_empty() wrappers. · e8378499
      Michael Natterer authored
      2003-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-mask.[ch]: removed the _value() and
      	_is_empty() wrappers.
      
      	* app/display/gimpdisplayshell.[ch]: removed
      	gimp_display_shell_mask_value() since it is not used.
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/gui/image-menu.c
      	* app/gui/vectors-menu.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptransformtool.c
      	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
      
      	* app/pdb/misc_tools_cmds.c: regenerated.
      e8378499
  2. 22 Aug, 2003 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell.c app/gui/brush-select.c · fc20b3ac
      Michael Natterer authored
      2003-08-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.c
      	* app/gui/brush-select.c
      	* app/gui/channels-menu.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/image-menu.c
      	* app/gui/layers-menu.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/palettes-commands.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/qmask-menu.c
      	* app/gui/templates-commands.c
      	* app/gui/toolbox-menu.c
      	* app/gui/vectors-menu.c
      	* app/tools/[all tools].c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimphelp-ids.h: added, fixed and updated lots of
      	help IDs. Still unfinished.
      fc20b3ac
  3. 02 Jul, 2003 1 commit
    • Sven Neumann's avatar
      app/gui/edit-commands.c added "Fill with Pattern" menu entry as suggested · e7860145
      Sven Neumann authored
      2003-07-02  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/edit-commands.c
      	* app/gui/image-menu.c: added "Fill with Pattern" menu entry as
      	suggested in bug #116365.
      
      	* app/base/temp-buf.c
      	* app/base/tile-swap.c
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-types.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-utils.c
      	* app/paint-funcs/paint-funcs-types.h
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimptextoptions.c
      	* app/paint-funcs/paint-funcs-types.h
      	* app/vectors/gimpbezierstroke.c
      	* app/vectors/gimpstroke.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/vectors-types.h
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmisc.h
      	* libgimpmodule/gimpmodule.c: fixed some minor issues found
      	compiling with -pedantic.
      
      	* app/pdb/misc_tools_cmds.c
      	* tools/pdbgen/pdb/misc_tools.pdb: adapt to the changed order of
      	arguments for gimp_image_pick_color().
      e7860145
  4. 01 Jul, 2003 1 commit
  5. 28 Jun, 2003 1 commit
    • Michael Natterer's avatar
      removed enum GimpContextPropType and enum GimpContextPropMask. · e14e158e
      Michael Natterer authored
      2003-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.h: removed enum GimpContextPropType and
      	enum GimpContextPropMask.
      
      	* app/core/core-enums.[ch]: added them here.
      
      	* app/core/gimptoolinfo.[ch]: replaced "gboolean tool_context"
      	member by "GimpContextPropMask context_props" so each tool can
      	specify exactly which context properties it wants to have
      	persistently remembered.
      
      	* app/tools/tools-types.h: changed typedef GimpToolRegisterCallback
      	accordingly.
      
      	* app/tools/tool_manager.[ch] (tool_manager_register_tool): ditto.
      
      	Removed the "global_tool_context" and initialize all tool info
      	objects from the user_context after creation. Removed the
      	PAINT_OPTIONS_MASK #define and use the new context_props stored in
      	tool_info insted.
      
      	* app/tools/gimppainttool.h: #define the common properties of the
      	paint tools as GIMP_PAINT_TOOL_OPTIONS_MASK (which is OPACITY |
      	PAINT_MODE | BRUSH).
      
      	* app/tools/[all tools].c (gimp_*_tool_register): replaced the
      	"use_context" boolean by the actual mask of context properties the
      	tools need.
      e14e158e
  6. 26 May, 2003 1 commit
    • Michael Natterer's avatar
      added "gint ref_count" to the TileManager struct. · 707e5976
      Michael Natterer authored
      2003-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-manager-private.h: added "gint ref_count" to the
      	TileManager struct.
      
      	* app/base/tile-manager.[ch]: replaced tile_manager_destroy()
      	by tile_manager_ref() and tile_manager_unref().
      
      	* app/core/gimpimage-undo-push.c: ref the tile managers stored in
      	the undo system and DON'T destroy them if no undo could be pushed.
      	Should fix the remaining crashes with undo disabled like in
      	bug #9350.
      
      	(!!!) Note that the tiles passed to gimp_image_undo_push_image()
      	and gimp_drawable_push_undo() as well as the tile managers of
      	drawables passed to gimp_image_undo_push_[layer|channel]_mod()
      	must be unref'ed by the caller now.
      
      	* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):
      	don't take ownership of the passed tiles but ref them if needed.
      
      	(!!!) Callers must unref the passed tiles themselves now.
      
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/paint/gimppaintcore.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimptransformtool-undo.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      707e5976
  7. 08 May, 2003 2 commits
    • Michael Natterer's avatar
      removed gimp_drawable_offsets(). · c1ab39a5
      Michael Natterer authored
      2003-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: removed gimp_drawable_offsets().
      
      	* app/core/gimpitem.[ch]: added gimp_item_offsets().
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-histogram.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-mask-select.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-pick-color.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/paint/gimppaintcore.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c: regenerated.
      c1ab39a5
    • Michael Natterer's avatar
      removed gimp_drawable_width,height(). · 54878b79
      Michael Natterer authored
      2003-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: removed gimp_drawable_width,height().
      
      	* app/core/gimpitem.[ch]: added gimp_item_width,height().
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpscanconvert.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsmudge.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      54878b79
  8. 15 Apr, 2003 1 commit
    • Michael Natterer's avatar
      check for GIMP_IS_DISPLAY(gdisp) again. · 8cee4963
      Michael Natterer authored
      2003-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.c: check for GIMP_IS_DISPLAY(gdisp) again.
      
      	* app/tools/gimptool.h: don't #include "gimptoolcontrol.h"
      
      	* app/tools/[all tools].c: #include "gimptoolcontrol.h"
      8cee4963
  9. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  10. 14 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Moved the undo step implementations to the core and pass around lots of · 7a6a8d9d
      Michael Natterer authored
      2003-02-14  Michael Natterer  <mitch@gimp.org>
      
      	Moved the undo step implementations to the core and pass around
      	lots of "const gchar *undo_desc". Fixes bug #104367.
      
      	* app/Makefile.am
      	* app/undo.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-undo-push.[ch]: ...and added here.
      
      	* app/paint/Makefile.am
      	* app/tools/Makefile.am
      	* app/paint/gimppaintcore-undo.[ch]
      	* app/tools/gimptransformtool-undo.[ch]: new files for the
      	paint and transform undos.
      
      	* app/core/gimppaintinfo.[ch]: added a blurb.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint-types.h
      	* app/paint/paint.c: pass the blurb when registering the core.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimage-mask-select.[ch]
      	* app/core/gimpimage-mask.[ch]
      	* app/core/gimpimagemap.[ch]
      	* app/core/gimplayer-floating-sel.[ch]: added "undo_desc" parameters
      	to all undo pushing helper functions.
      
      	* app/undo_history.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/gui/channels-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/text/gimptext-compat.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly: pass
      	"undo_desc" strings, changed includes or simply removed inclusion
      	of "undo.h". Some random cleanups.
      
      	* tools/pdbgen/pdb/guides.pdb: cleaned up a lot. Fixed
      	gimp_image_find_next_guide() to not return guides with
      	position < 0 (and made it shorter and readable).
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      7a6a8d9d
  11. 10 Feb, 2003 1 commit
  12. 08 Feb, 2003 2 commits
    • Michael Natterer's avatar
      app/tools/transform_options.[ch] removed... · d24dac68
      Michael Natterer authored
      2003-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/transform_options.[ch]
      	* app/tools/selection_options.[ch]: removed...
      
      	* app/tools/gimpselectionoptions.[ch]
      	* app/tools/gimptransformoptions.[ch]: ...and added here.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectoroptions.h: changed accordingly.
      
      	* app/tools/gimpinkoptions.[ch]: renamed "sensitivity" to
      	"size_sensitivity". Reordered properties. Added utility
      	constructors blob_button_new() and brush_widget_new().
      
      	* app/tools/gimpinktool.c: changed accordingly.
      d24dac68
    • Michael Natterer's avatar
      the virtual serialize_property() returning FALSE doesn't mean the · 7fe80e8d
      Michael Natterer authored
      2003-02-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-serialize.c (gimp_config_serialize_property):
      	the virtual serialize_property() returning FALSE doesn't mean the
      	serialization failed but that the function didn't handle the
      	property, so don't error but continue with the default
      	implementation. Print newlines after properties only if
      	indent_level == 0.
      
      	* app/gui/tool-options-dialog.c: added tool options saving/loading
      	as quickly hacked proof-of-concept.
      
      	* app/paint/paint-enums.[ch]: added enum GimpInkBlobType.
      
      	* app/tools/gimpinkoptions.[ch]: ported to object properties,
      	cleanup.
      
      	* app/tools/gimpinktool.c: changed accordingly.
      7fe80e8d
  13. 05 Feb, 2003 2 commits
    • Michael Natterer's avatar
      app/paint/gimpairbrush.c app/paint/gimpclone.c app/paint/gimpconvolve.c · f8c7174b
      Michael Natterer authored
      2003-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppainttool.c
      	* app/tools/paint_options.c: use GIMP_CONTEXT(tool_options)
      	instead of gimp_get_current_context(). Cleanup.
      f8c7174b
    • Michael Natterer's avatar
      Made GimpToolOptions a GimpContext subclass and objectified all tool · aa9f82d1
      Michael Natterer authored
      2003-02-05  Michael Natterer  <mitch@gimp.org>
      
      	Made GimpToolOptions a GimpContext subclass and objectified
      	all tool options types.
      
      	* app/core/core-types.h: replaced GimpToolOptionsNewFunc by
      	GimpToolOptionsGUIFunc.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* app/core/gimppaintinfo.[ch]: added "GType paint_options_type".
      
      	* app/core/gimptoolinfo.[ch]: added "GType tool_options_type",
      	removed tool_info->context since GimpToolOptions are a GimpContext
      	now. Added "gboolean use_context" as a temp_hack.
      
      	* libgimptool/gimptooltypes.h: added the tool_options_type to
      	the tool registering callback.
      
      	* app/tools/tool_options.[ch]: is a real GimpContext subclass now.
      
      	* app/paint/paint-types.h
      	* app/paint/paint.c: added the paint_options_type to the paint
      	registering stuff.
      
      	* app/paint/gimppaintoptions.[ch]: is a real GimpToolOptions
      	subclass now.
      
      	* app/paint/Makefile.am
      	* app/paint/gimpairbrushoptions.[ch]
      	* app/paint/gimpcloneoptions.[ch]
      	* app/paint/gimpconvolveoptions.[ch]
      	* app/paint/gimpdodgeburnoptions.[ch]
      	* app/paint/gimperaseroptions.[ch]
      	* app/paint/gimpsmudgeoptions.[ch]: new files holding
      	GimpPaintOptions subclasses.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.[ch]
      	* app/paint/gimpsmudge.[ch]: removed paint options stuff, lots
      	of related changed & cleanups.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.[ch]
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimpvectoroptions.[ch]: new files holding the various
      	tool options classes.
      
      	* app/tools/selection_options.[ch]
      	* app/tools/transform_options.[ch]: made them objects.
      
      	* app/tools/paint_options.[ch]: contains only the paint_options
      	GUI and reset stuff.
      
      	* app/tools/tools-types.h: removed SelectionOptions typedef for
      	now.
      
      	* app/tools/[all tools]: removed the tool options stuff except
      	some GUI constructors. Tons of related changes.
      
      	* app/tools/tool_manager.[ch]: changed tool registration / restore /
      	switching accordingly.
      
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
      aa9f82d1
  14. 05 Jan, 2003 1 commit
  15. 03 Jan, 2003 1 commit
    • Michael Natterer's avatar
      don't set paused_count to 0. · ef3f572a
      Michael Natterer authored
      2003-01-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptoolcontrol.c (gimp_tool_control_halt): don't
      	set paused_count to 0.
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tool_manager.c: removed comments about doing so.
      ef3f572a
  16. 30 Nov, 2002 1 commit
    • Michael Natterer's avatar
      no need to include "appenv.h" · 7fe6f39f
      Michael Natterer authored
      2002-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpnavigationview.c: no need to include "appenv.h"
      
      	* app/tools/gimpinktool.c: pass InkOptions as user_data to the
      	ink_type_update() callback so we don't need to get them from
      	"the_gimp". Removed inclusion of "app_procs.h".
      7fe6f39f
  17. 27 Nov, 2002 1 commit
    • Michael Natterer's avatar
      app/paint/gimpairbrush.[ch] app/paint/gimpclone.[ch] · 4d2cc645
      Michael Natterer authored
      2002-11-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintoptions.[ch]
      	* app/paint/gimpsmudge.[ch]: it's hard to paint without a context
      	to get color, brush etc. from. Added "context" parameters to
      	all paint options constructors.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: pass gimp_get_current_context()
      	to the constructors. Fixes bug #99557.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpsmudgetool.c: changed accordingly.
      
      	* app/tools/paint_options.c: ditto. Don't set
      	paint_options->context here because we also need it in the
      	no-interface case above.
      4d2cc645
  18. 18 Nov, 2002 1 commit
    • Sven Neumann's avatar
      Finally landed the new GimpConfig based gimprc parser. It's not finished · 073e533a
      Sven Neumann authored
      2002-11-18  Sven Neumann  <sven@gimp.org>
      
      	Finally landed the new GimpConfig based gimprc parser. It's not
      	finished yet but we need to start somewhere. This release removes
      	the old gimprc.[ch] files. The gimprc format changes slightly, but
      	the changes are minimal. The Preferences dialog is temporarily
      	disabled since it still needs to be ported. If you are are afraid,
      	stay away from CVS for a few days ;-)
      
      	* app/Makefile.am
      	* app/gimprc.[ch]: removed the old gimprc system.
      
      	* app/base/Makefile.am
      	* app/base/base-config.[ch]: removed these files in favor of
      	config/gimpbaseconfig.[ch].
      
      	* app/core/Makefile.am
      	* app/core/gimpcoreconfig.[ch]: removed these files in favor of
      	config/gimpcoreconfig.[ch].
      
      	* app/config/Makefile.am
      	* app/config/config-types.h: moved typedefs into this new file.
      
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimpdisplayconfig.[ch]
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc.[ch]
      	* app/config/test-config.c: brought into shape for real use.
      
      	* app/base/base-types.h: include config/config-types.h here. Added
      	a global GimpBaseConfig *base_config variable to ease migration.
      
      	* app/gui/Makefile.am: temporarily disabled the preferences dialog.
      
      	* app/app_procs.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/base/base.[ch]
      	* app/base/gimphistogram.c
      	* app/base/pixel-processor.c
      	* app/base/temp-buf.c
      	* app/base/tile-cache.c
      	* app/core/core-types.h
      	* app/core/gimp-documents.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmodules.c
      	* app/core/gimppattern.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpnavigationview.c
      	* app/file/file-save.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/session.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/tips-dialog.h
      	* app/gui/user-install-dialog.c
      	* app/gui/view-commands.c
      	* app/paint/gimppaintcore.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimptexttool.[ch]
      	* app/tools/selection_options.c
      	* app/tools/tools.c
      	* app/tools/transform_options.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimpselectioneditor.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: use the new config system
      	instead of the old gimprc stuff.
      
      	* etc/gimprc.in
      	* etc/gimprc_user.in: adapted to the new gimprc format. Will update
      	the man-page later...
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpgimprc_pdb.c: regenerated.
      073e533a
  19. 31 Oct, 2002 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.10. · 00be6359
      Sven Neumann authored
      2002-11-01  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.10.
      
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpvectortool.c: use shorter strings for the dockable
      	tabs.
      00be6359
  20. 15 Oct, 2002 1 commit
  21. 14 Oct, 2002 1 commit
  22. 06 Sep, 2002 1 commit
    • Michael Natterer's avatar
      changed "Number of Colors" to "Max Number of Colors" to clarify what this · 424ed1f4
      Michael Natterer authored
      2002-09-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/convert-dialog.c: changed "Number of Colors" to
      	"Max Number of Colors" to clarify what this parameter does.
      	(fixes #92194).
      
      	* app/gui/menus.c: use GIMP_STOCK_INFO for "View/Info Window".
      
      	Specify spibutton sizes in chars, not pixels (eek) all over
      	the place. Also removed explicit sizes where the GtkSpinButton
      	default size does not disturbe tabular widget layouts.
      
      	* libgimpwidgets/gimpwidgets.c: removed the hardcoded width of 75
      	pixels in gimp_spin_button_new(). Changed gimp_scale_entry_new()
      	and gimp_coordinates_new() to interpret their "spinbutton_width"
      	parameters as chars if < 16, and as pixels otherwise. This gives
      	reasonable results and doesn't cause unchanged plug-ins to
      	suddenly have spinbuttons of dozens of chars width :)
      
      	* libgimpwidgets/gimpsizeentry.c: added the same heuristic here.
      
      	* libgimpwidgets/gimpquerybox.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/film.c
      	* plug-ins/common/flarefx.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/glasstile.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/lic.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/pixelize.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/common/scatter_hsv.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/tile.c
      	* plug-ins/common/tileit.c
      	* plug-ins/common/unsharp.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/waves.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/rcm/rcm_dialog.c: changed accordingly, which involves
      	removals of gtk_widget_set_size_request(spinbutton), removal of
      	lots of explicit spinbutton sizes in gimp_scale_entry_new(), and
      	adding of new ones because GtkSpinButton's auto-size trashed
      	tabular layouts.
      
      	Lots of cleanup & indentation while browsing the plug-ins'
      	code. Changed spacings, moved toggle buttons into frame titles,
      	use stock items, stuff...
      424ed1f4
  23. 06 Jun, 2002 1 commit
    • Michael Natterer's avatar
      renamed gimp_drawable_apply_image() to gimp_drawable_push_undo() because · 413b9d33
      Michael Natterer authored
      2002-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: renamed gimp_drawable_apply_image()
      	to gimp_drawable_push_undo() because that's what it actually does.
      
      	* app/image_map.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/paint/gimppaintcore.c
      	* app/tools/gimpinktool.c: changed accordingly. Removed redundant
      	comments because it's now obvious what the function does from
      	looking at its name.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h: renamed "gboolean undo" parameters to
      	"gboolean push_undo".
      413b9d33
  24. 08 May, 2002 1 commit
    • Michael Natterer's avatar
      Started to get rid of the gdisplays_foo() functions in · a3bb0b0d
      Michael Natterer authored
      2002-05-08  Michael Natterer  <mitch@gimp.org>
      
      	Started to get rid of the gdisplays_foo() functions in
      	app/display/gimpdisplay-foreach.[ch]. Work in progress...
      
      	* app/core/gimp.[ch]: added the display list to the Gimp object
      	(as a GimpList of GimpObjects). This way we get more independent
      	from whether there is GUI or not, as gimp->displays will simply
      	be an empty list for the --no-interface case.
      
      	* app/display/gimpdisplay.[ch]: Removed the global "display_list"
      	and "display_num" variables. Use gimp->displays instead.
      
      	* app/display/gimpdisplay-foreach.[ch]: renamed most functions
      	from gdisplays_foo() to gimp_displays_foo() and pass them a Gimp
      	pointer.
      
      	* app/core/gimpimage.[ch]: added a "flush" signal.
      
      	* app/display/gimpdisplay-handlers.c: connect to "flush" and call
      	gimp_display_flush() in the callback.
      
      	* tools/pdbgen/pdb/display.pdb: use gimp_displays_flush(gimp)
      	here and only here.
      
      	* app/pdb/display_cmds.c: regenerated.
      
      	* app/app_procs.c
      	* app/gui/gui.c
      	* app/gui/preferences-dialog.c:
      	s/gdislays_foo()/gimp_displays_foo(gimp)/
      
      	* app/image_map.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/gui/channels-commands.c
      	* app/gui/colormap-editor-commands.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/paint/gimpairbrush.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpvectorslistview.c: replaced gdisplays_flush()
      	with calls to gimp_image_flush(gimage). Removed inclusion of
      	"display/gimpdisplay-foreach.h" from most files.
      a3bb0b0d
  25. 03 May, 2002 2 commits
    • Michael Natterer's avatar
      devel-docs/Makefile.am new file documenting the core's include policy. · a74a8997
      Michael Natterer authored
      2002-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* devel-docs/Makefile.am
      	* devel-docs/includes.txt: new file documenting the core's
      	include policy.
      
      	* HACKING: mention it here.
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptions here.
      
      	* app/core/core-types.h: and added it here. This is a temp hack
      	needed because GimpToolInfo needs to know the GimpToolOptions
      	type.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* libgimptool/gimptoolmodule.h: don't include gimptooltypes.h here...
      	* libgimptool/gimptoolmodule.c: ...but here.
      
      	* app/config/gimpconfig-params.c: include "libgimpbase/gimpbase.h"
      	entirely, not single files from it.
      
      	* app/core/gimp.c
      	* app/core/gimpcontext.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimpmodules.c
      	* app/core/gimppaintinfo.c
      	* app/core/gimpparasite.c
      	* app/core/gimppreviewcache.c
      	* app/core/gimptoolinfo.c
      	* app/core/gimpunit.c: include "core-types.h" and no other types file.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: include "tools/tools-types.h"
      	instead of "libgimptool/gimptooltypes.h", warn about inclusion
      	on "gui/gui-types.h"
      
      	* app/file/file-open.c
      	* app/file/file-save.c: don't include "libgimptool/gimptooltypes.h".
      
      	* app/gui/about-dialog.c
      	* app/gui/brush-select.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-select.c
      	* app/gui/data-commands.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs.c
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/info-window.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c: include "gui-types.h" and no
      	other types file.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppaintoptions.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint.c: include "paint-types.h" and no other types file.
      
      	* app/pdb/pdb-types.h: don't include "libgimptool/gimptooltypes.h".
      
      	* app/plug-in/plug-in-progress.c: warn about inclusion of
      	"display/display-types.h"
      
      	* app/tools/tools-types.h: include "libgimptool/gimptooltypes.h".
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptoolcontrol.c
      	* app/tools/gimptoolcontrol.h
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tools.c: include "tools-types.h" and no other types file,
      	warn about inclusion of "gui/gui-types.h".
      
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimptoolbox-color-area.c: warn about inclusion of
      	"gui/gui-types.h".
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf.c: don't include "libgimptool/gimptooltypes.h".
      
      	Split tool-safe-mode up in two files, one including libgimpproxy,
      	one libgimp.
      
      	* plug-ins/tools/Makefile.am
      	* plug-ins/tools/tool-safe-mode-plug-in.[ch]: new files including
      	libgimp/ stuff only.
      
      	* plug-ins/tools/tool-safe-mode.[ch]: include libgimpproxy/ and
      	libgimptool/ but don't include libgimp/ because of conflicting
      	declarations.
      
      	Unrelated:
      
      	* app/tools/gimpclonetool.c: create the clone core so we don't crash.
      
      	* app/gui/file-open-dialog.c: changed the way we create previews
      	so that only out-of-date previews are created on a click in the
      	preview area. Unconditional creation can still be forced by
      	<Ctrl>+click. Changed the tooltip to document this.
      a74a8997
    • Sven Neumann's avatar
      app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] · 84e1810a
      Sven Neumann authored
      2002-05-03  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpairbrushtool.[ch]
      	* app/tools/gimpbezierselecttool.[ch]
      	* app/tools/gimpblendtool.[ch]
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpbucketfilltool[.ch]
      	* app/tools/gimpbycolorselecttool[.ch]
      	* app/tools/gimpclonetool[.ch]
      	* app/tools/gimpcolorbalancetool[.ch]
      	* app/tools/gimpcolorpickertool[.ch]
      	* app/tools/gimpconvolvetool[.ch]
      	* app/tools/gimpcroptool[.ch]
      	* app/tools/gimpcurvestool[.ch]
      	* app/tools/gimpdodgeburntool[.ch]
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool[.ch]
      	* app/tools/gimperasertool[.ch]
      	* app/tools/gimpfliptool[.ch]
      	* app/tools/gimpfreeselecttool[.ch]
      	* app/tools/gimpfuzzyselecttool[.ch]
      	* app/tools/gimphistogramtool[.ch]
      	* app/tools/gimphuesaturationtool[.ch]
      	* app/tools/gimpinktool[.ch]
      	* app/tools/gimpiscissorstool[.ch]
      	* app/tools/gimplevelstool[.ch]
      	* app/tools/gimpmagnifytool[.ch]
      	* app/tools/gimpmeasuretool[.ch]
      	* app/tools/gimpmovetool[.ch]
      	* app/tools/gimppaintbrushtool[.ch]
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool[.ch]
      	* app/tools/gimppenciltool[.ch]
      	* app/tools/gimpperspectivetool[.ch]
      	* app/tools/gimpposterizetool[.ch]
      	* app/tools/gimprectselecttool[.ch]
      	* app/tools/gimprotatetool[.ch]
      	* app/tools/gimpscaletool[.ch]
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool[.ch]
      	* app/tools/gimpsmudgetool[.ch]
      	* app/tools/gimptexttool[.ch]
      	* app/tools/gimpthresholdtool[.ch]
      	* app/tools/gimptool.c
      	* app/tools/gimptoolcontrol.h
      	* app/tools/gimptoolmodule[.ch]
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool[.ch]
      	* app/tools/path_tool.c
      	* app/tools/tool_manager[.ch]
      	* app/tools/tools.c
      	* libgimptool/gimptool.c
      	* libgimptool/gimptoolcontrol.h
      	* libgimptool/gimptoolmodule.h: removed tons of warnings. Do we need
      	to add -Werror to the CFLAGS to avoid such a mess in the future ?!
      	Also had to enforce the GIMP coding style in lots of places :-(
      
      	* libgimp/gimppixelrgn.c: got sick and tired of debugging plug-ins,
      	so I've added checks for most parameters passed to the GimpPixelRgn
      	functions. This will slow down plug-in execution a little bit but
      	should help to find bugs early.
      84e1810a
  26. 02 May, 2002 1 commit
    • Nate Summers's avatar
      app/core/core-types.h moved GimpToolInfo back into the core. · 00feb59a
      Nate Summers authored
      
       	* app/core/core-types.h
       	* libgimptool/gimptooltypes.h: moved GimpToolInfo back into the core.
      
       	* libgimptool/gimptoolcontrol.h
      	* app/tools/gimptoolcontrol.c: got rid of gimp_tool_control_new
      
       	* libgimptool/gimptool.c (gimp_tool_init): create the GimpToolControl
       	here instead of in the descendant classes
      
      	* app/tools/gimpairbrushtool.c
       	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
       	* app/tools/gimpbucketfilltool.c
       	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
       	* app/tools/gimpcolorbalancetool.c
       	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
       	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
       	* app/tools/gimpdodgeburntool.c
       	* app/tools/gimpeditselectiontool.c
       	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
       	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
       	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
       	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
       	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
       	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
       	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
       	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
       	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprectselecttool.c
       	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
       	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
       	* app/tools/gimptexttool.c
       	* app/tools/gimpvectortool.c
       	* plug-ins/tools/tool-safe-mode.c: changed accordingly
      
      	* libgimpproxy/gimpproxytypes.h: autogenerated
      00feb59a
  27. 28 Apr, 2002 1 commit
    • Sven Neumann's avatar
      app/tools/gimpairbrushtool.c app/tools/gimpblendtool.c · 05581ddf
      Sven Neumann authored
      2002-04-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/tools/transform_options.c: in preparation of a more generic tool
      	options framework: use the options value, not the default value when
      	setting up the tool options UI. Doesn't make any difference since both
      	are initialized to the same value, but reduces usage of the ugly foo_d
      	variables.
      
      	* app/tools/gimpmagnifytool.c: don't change the resize_windows_on_zoom
      	gimprc value in response to changes in the tool options. Only use it
      	as default value when resetting the tool options.
      05581ddf
  28. 21 Apr, 2002 1 commit
    • Nate Summers's avatar
      app/tools/gimptoolcontrol.[ch] resurrected the motion hints and cursor · 810b9831
      Nate Summers authored
      
       	* app/tools/gimptoolcontrol.[ch]
       	* libgimptool/gimptool.c: resurrected the motion hints and cursor
       	changing code.
      
       	app/tools/gimpairbrushtool.c
      	app/tools/gimpbezierselecttool.c
       	app/tools/gimpblendtool.c
       	app/tools/gimpbucketfilltool.c
       	app/tools/gimpbycolorselecttool.c
       	app/tools/gimpclonetool.c
       	app/tools/gimpcolorbalancetool.c
       	app/tools/gimpcolorpickertool.c
       	app/tools/gimpconvolvetool.c
       	app/tools/gimpcroptool.c
       	app/tools/gimpcurvestool.c
       	app/tools/gimpdodgeburntool.c
       	app/tools/gimpeditselectiontool.c
       	app/tools/gimpellipseselecttool.c
       	app/tools/gimperasertool.c
       	app/tools/gimpfliptool.c
       	app/tools/gimpfuzzyselecttool.c
       	app/tools/gimphistogramtool.c
       	app/tools/gimphuesaturationtool.c
       	app/tools/gimpimagemaptool.c
       	app/tools/gimpinktool.c
       	app/tools/gimpiscissorstool.c
       	app/tools/gimplevelstool.c
       	app/tools/gimpmagnifytool.c
       	app/tools/gimpmeasuretool.c
       	app/tools/gimpmovetool.c
       	app/tools/gimppaintbrushtool.c
       	app/tools/gimppainttool.c
       	app/tools/gimppathtool.c
       	app/tools/gimppenciltool.c
       	app/tools/gimpperspectivetool.c
       	app/tools/gimprectselecttool.c
       	app/tools/gimprotatetool.c
       	app/tools/gimpscaletool.c
       	app/tools/gimpselectiontool.c
       	app/tools/gimpsheartool.c
       	app/tools/gimpsmudgetool.c
       	app/tools/gimptexttool.c
       	app/tools/gimptransformtool.c
       	app/tools/gimpvectortool.c: set the motion mode; fix a few parameters
      
       	* app/tools/gimpinktool.c (gimp_ink_tool_button_press): uncommented
       	some code I had temporarily commented out and didn't uncomment before
       	committing
      
       	* libgimptool/gimptoolcontrol.h
       	* app/tools/gimptoolcontrol-displayshell.[ch]: merged with
       	gimptoolcontrol.[ch].  The distinction was fairly arbitrary.
      
       	* plug-ins/tools/gimptoolcontrol.c: added some stubs
      
              * app/tools/Makefile.am
       	* app/tools/tool_manager.c
       	* app/display/gimpdisplayshell-callbacks.c: changed accordingly
      
       	* libgimp/gimpimage_pdb.c: applied a patch from Pippen to correct
       	documentation on the undo operations
      810b9831
  29. 29 Mar, 2002 1 commit
  30. 21 Mar, 2002 1 commit
    • Michael Natterer's avatar
      ./mitch --sanitize-identifier-namespace · ffcb0bfa
      Michael Natterer authored
      2002-03-20  Michael Natterer  <mitch@gimp.org>
      
      	./mitch --sanitize-identifier-namespace
      
      	* app/core/gimpcontext.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/edit-commands.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/vectors-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c: s/gimp:/gimp-/g and s/_/-/g for all
      	identifier strings (e.g. gimp:eraser_tool -> gimp-eraser-tool,
      	gimp:layer-list -> gimp-layer-list, ...)
      
      	* plug-ins/tools/common/gimpbrushselecttool.c:
      	s/gimp:brush_select_tool/gimp-brush-select-tool-module/
      
      	Don't quite remember why I introduced the "gimp:" prefix in the
      	first place, but we can always add it back if we need it (for
      	whatever reason)
      
      	You may want to edit your ~/.gimp-1.3/sessionrc and devicerc or
      	all session settings will be lost due to parse errors.
      ffcb0bfa
  31. 19 Mar, 2002 1 commit
    • Michael Natterer's avatar
      added enum GimpMotionMode which can be one of { EXACT, HINT, COMPRESS }. · 3ff5cee9
      Michael Natterer authored
      2002-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tools-types.h: added enum GimpMotionMode which can be
      	one of { EXACT, HINT, COMPRESS }.
      
      	* app/tools/gimptool.[ch]: removed tool->perfectmouse and added
      	tool->motion_mode. Default to GIMP_MOTION_MODE_HINT.
      
      	* app/tools/gimpinktool.c
      	* app/tools/gimppainttool.c: set GIMP_MOTION_MODE_EXACT.
      
      	* app/tools/gimpfuzzyselecttool.c: set GIMP_MOTION_MODE_COMPRESS.
      
      	* app/tools/gimpeditselectiontool.[ch]: ditto. Removed
      	gtkutil_compress_motion().
      
      	* app/display/gimpdisplayshell-callbacks.c: look at
      	active_tool->motion_mode and perform pointer grabbing and motion
      	compression accordingly. Also, don't request motion hints from
      	XInput devices because the wacom driver sends crap (fixes #6901).
      	This change also brings hints and ordinary motions back in sync
      	albeit compression, so IMHO it also fixes #68542 and #22375, but
      	this needs further investigation.
      3ff5cee9
  32. 08 Mar, 2002 1 commit
    • Michael Natterer's avatar
      return the crated label from gimp_table_attach_aligned(), doc fixes. · c9c025c8
      Michael Natterer authored
      2002-03-08  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.[ch]: return the crated label from
      	gimp_table_attach_aligned(), doc fixes.
      
      	* app/gui/channels-commands.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimplayerlistview.c: use gimp_scale_entries instead
      	of just hscales in lots of places, so the values are keyboard
      	input-able.
      c9c025c8
  33. 03 Mar, 2002 1 commit
    • Michael Natterer's avatar
      Use gdouble in a [0.0..1.0] range for opacity values in the whole core's · ce643d27
      Michael Natterer authored
      2002-03-03  Michael Natterer  <mitch@gimp.org>
      
      	Use gdouble in a [0.0..1.0] range for opacity values in the whole
      	core's API. Convert them using (opacity * 255.999) when passing
      	them to base/ and paint-funcs/
      
      	Affected functions:
      
      	* app/core/gimpchannel.[ch]: gimp_channel_[set|get]_opacity()
      	* app/core/gimpimage.[ch]: gimp_image_[apply|replace]_image()
      	* app/paint/gimppaintcore.[ch]: gimp_paint_core_[paste|replace]_canvas()
      
      	* app/core/core-types.h: added defines GIMP_OPACITY_TRANSPARENT
      	and GIMP_OPACITY_OPAQUE, just like the ones from
      	paint-funcs/paint-funcs-types.h
      
      	* app/gimprc.c
      	* app/image_map.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimplayer.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimppalette.c
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpinktool.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimppreview.c
      	* app/xcf/xcf-load.c: changed accordingly, use the new constants.
      ce643d27
  34. 25 Feb, 2002 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new base class for something · cdf2a90b
      Michael Natterer authored
      2002-02-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpitem.[ch]: new base class for something which is a
      	child of an image, has a PDB ID, a tattoo, parasites and emits
      	a "removed" signal.
      
      	* app/core/gimpdrawable.[ch]
      	* app/vectors/gimpvectors.[ch]: derive from GimpItem. Removed
      	lots of stuff from GimpDrawable.
      
      	* app/core/gimp.[ch]: changed gimp->drawable_table and
      	gimp->next_drawable_ID to gimp->item_table and gimp->next_item_id.
      
      	* app/undo.[ch]: s/undo_push_drawable_parasite/undo_push_item_parasite/,
      	minor cleanups.
      
      	* app/core/gimplayer.[ch]: changed gimp_layer_new_from_tiles() and
      	gimp_layer_new_from_drawable() to take the "dest_gimage" as
      	second, not first parameter.
      
      	* app/image_map.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-histogram.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-pick-color.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-save.c
      	* app/gui/channels-commands.c
      	* app/gui/file-save-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/toolbox.c
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppainttool.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/widgets/gimpdrawablepreview.c: changed accordingly.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemlistview.[ch]: new widget implementing most
      	of the stuff formerly done by GimpDrawableListView.
      
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimplayerlistview.c: changed accordingly.
      
      	* app/widgets/gimpdnd.[ch]: added a vectors DND type.
      
      	* app/gui/menus.c
      	* app/gui/dialogs.c
      	* app/gui/dialogs-constructors.[ch]: added a vectors dialog and
      	a vectors item_factory.
      
      	* app/gui/Makefile.am
      	* app/gui/vectors-commands.[ch]: new files implementing the
      	callbacks for the new vectors dialog and item_factory.
      
      	* app/pdb/pdb_glue.h: some more ugly hacks to keep intermediate
      	perl code working...
      
      	* tools/pdbgen/pdb.pl: added a vectors type, use GimpItem for all
      	ID lookups.
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/misc_tools.pdb
      	* tools/pdbgen/pdb/parasite.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: misc changes according to
      	stuff above.
      
      	* 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/misc_tools_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      cdf2a90b
  35. 21 Feb, 2002 1 commit
    • Michael Natterer's avatar
      Made the paint tool PDB wrappers work again (a bit at least...) · 9c510759
      Michael Natterer authored
      2002-02-21  Michael Natterer  <mitch@gimp.org>
      
      	Made the paint tool PDB wrappers work again (a bit at least...)
      
      	* app/Makefile.am: changed linking order. libtool sucks.
      
      	* app/undo.c: check if active_tool is a GimpPaintTool before
      	casting it.
      
      	* app/paint/Makefile.am
      	* app/paint/paint-types.h: added new files/types.
      
      	* app/paint/gimppaintoptions.[ch]: new files cut out of
      	tools/paint_options.h. Prefixed everything with "Gimp". There is
      	still GtkWidget* cruft hanging around in the structs...
      
      	* app/paint/gimppaintcore-stroke.[ch]: utility function
      	which paints a stroke array. Needed for the PDB wrappers.
      
      	* app/paint/gimpairbrush.[ch]
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.[ch]
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.[ch]: added *_options_new() functions which
      	create correctly initialized options structures without widgets.
      
      	* app/tools/paint_options.[ch]: removed the options struct
      	definitions and value initialisations.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c: changed all paint_options functions
      	accordingly, s/PaintOptions/GimpPaintOptions/g etc., removed all
      	#if 0'ed non_gui functions.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: use gimp_paint_core_stroke().
      	We currently leak all paint_options structs created by the PDB
      	wrappers, more stuff to come...
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      9c510759
  36. 18 Feb, 2002 1 commit
    • Michael Natterer's avatar
      app/tools/tools-types.h chain up unconditionally in control(), · bec4c725
      Michael Natterer authored
      2002-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tools-types.h
      	* app/tools/*.[ch]: chain up unconditionally in control(),
      	s/ToolAction/GimpToolAction/g, s/ToolState/GimpToolState/g.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimppainttool.c: don't touch tool->paused_count
      	(setting it to 0 was a hack which should no longer be needed).
      
      	* app/tools/gimpdrawtool.c: check if the draw tool has actually
      	been started (draw_tool->gdisp != NULL) before calling it's
      	draw() function.
      
      	* app/tools/tool_manager.c: simplified tool_manager_control_active():
      	simply call gimp_tool_control() if gdisp == tool->gdisp.
      
      	* app/tools/gimptool.[ch]: gimp_tool_control(): do all the PAUSE,
      	RESUME and HALT voodoo here.
      
      	* app/tools/gimppainttool.c: implemented #9902 (Drawing straight
      	lines does not work between different views). It's an evil hack,
      	but clearly marked in the source.
      bec4c725