1. 01 Nov, 2008 1 commit
    • Martin Nordholts's avatar
      Prefix the GIMP GEGL operations with "gimp:" instead of "gimp-" so we · a9e18758
      Martin Nordholts authored
      * app/gegl/gimpoperation*.c: Prefix the GIMP GEGL operations with
      "gimp:" instead of "gimp-" so we follow the GEGL prefix style and
      better serialize to XML.
      
      * app/tools/gimp*tool.c
      
      * app/core/gimpdrawable-*.c
      * app/core/gimpdrawable.c
      * app/core/gimpimagemap.c
      * app/core/gimpprojection.c: Changed accordingly.
      
      svn path=/trunk/; revision=27512
      a9e18758
  2. 17 Jul, 2008 1 commit
  3. 29 Jun, 2008 1 commit
    • Michael Natterer's avatar
      app/dialogs/channel-options-dialog.c app/dialogs/palette-import-dialog.c · 6aa62a90
      Michael Natterer authored
      2008-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/channel-options-dialog.c
      	* app/dialogs/palette-import-dialog.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpnavigationeditor.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpbrushfactoryview.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainertreeview-dnd.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimphistogrambox.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpscalebutton.c: replace adjustment->value by
      	gtk_adjustment_get_value (adjustment).
      
      
      svn path=/trunk/; revision=26019
      6aa62a90
  4. 03 Jun, 2008 1 commit
    • Sven Neumann's avatar
      changed descriptions for GimpHistogramScale enum. · 1d4d2be2
      Sven Neumann authored
      2008-06-03  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/widgets-enums.[ch]: changed descriptions for
      	GimpHistogramScale enum.
      
      	* app/tools/gimpimagemaptool.[ch]
      
      	* app/tools/gimpimagemaptool-settings.c: added a GtkSizeGroup for
      	aligning with the "Presets" label. Added an accessor for the
      	dialog's vbox.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: use the new accessor. Minor
      	dialog cleanups in a few places.
      
      svn path=/trunk/; revision=25884
      1d4d2be2
  5. 22 May, 2008 1 commit
    • Michael Natterer's avatar
      s/save/export/g, s/load/import/g, removed button tooltip members. · 9f85ee00
      Michael Natterer authored
      2008-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.[ch]: s/save/export/g,
      	s/load/import/g, removed button tooltip members.
      
      	* app/tools/gimpimagemaptool-settings.[ch]
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      
      	* app/tools/gimpimagemaptool-settings.c: clean up menu item creation.
      
      
      svn path=/trunk/; revision=25752
      9f85ee00
  6. 20 May, 2008 1 commit
    • Michael Natterer's avatar
      app/tools/Makefile.am new files containing all the recent settings and · 353283b8
      Michael Natterer authored
      2008-05-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/gimpimagemaptool-settings.[ch]: new files containing
      	all the recent settings and settings load/save GUI and code.  Got
      	rid of shortcut loading/saving using shift+click. Added default
      	implementations of ::settings_load() and ::settings_save().
      	The GUI is currently horrible, work in progress!
      
      	* app/tools/gimpimagemaptool.c: removed the settings code here.
      
      	* app/tools/gimpcurvestool.c * app/tools/gimplevelstool.c: don't
      	pack the load and save buttons, this is done generically for all
      	tools now.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: set the load/save related members
      	of GimpImageMapToolClass.
      
      
      svn path=/trunk/; revision=25718
      353283b8
  7. 30 Jan, 2008 1 commit
    • Michael Natterer's avatar
      add "GObject **config" return value to GimpImageMapTool::get_operation() · b8ca2856
      Michael Natterer authored
      2008-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.[ch]: add "GObject **config" return
      	value to GimpImageMapTool::get_operation() and memory-manage the
      	config object here.
      
      	Add default implementation of GimpImageMapTool::reset() which
      	calls gimp_config_reset() on the config object.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: return the config object in
      	get_operation() and don't unref it in finalize().
      
      	Connect to the config object's "notify" signal and update the GUI
      	in the callback. Also call gimp_image_map_tool_preview() there.
      	Removed all other GUI update functions and all calls to preview().
      
      	Removed reset() implementations which only called
      	gimp_config_reset().
      
      
      svn path=/trunk/; revision=24752
      b8ca2856
  8. 27 Jan, 2008 1 commit
    • Michael Natterer's avatar
      app/gegl/gimpcolorbalanceconfig.[ch] app/gegl/gimpcolorizeconfig.[ch] · f200f9ca
      Michael Natterer authored
      2008-01-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpcolorbalanceconfig.[ch]
      	* app/gegl/gimpcolorizeconfig.[ch]
      	* app/gegl/gimpcurvesconfig.[ch]
      	* app/gegl/gimphuesaturationconfig.[ch]
      	* app/gegl/gimplevelsconfig.[ch]
      	* app/gegl/gimpposterizeconfig.[ch]
      	* app/gegl/gimpthresholdconfig.[ch]: implement the GimpConfig
      	interface and remove public reset() functions except special ones
      	which reset only parts of the objects. Add lots of property
      	notifications.
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: use gimp_config_reset(), misc.
      	related changes and cleanups.
      
      
      svn path=/trunk/; revision=24724
      f200f9ca
  9. 25 Jan, 2008 1 commit
    • Michael Natterer's avatar
      app/tools/gimpbrightnesscontrasttool.c app/tools/gimpcolorbalancetool.c · 3fd067de
      Michael Natterer authored
      2008-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: remove includes which are no
      	longer needed.
      
      
      svn path=/trunk/; revision=24709
      3fd067de
  10. 24 Jan, 2008 1 commit
    • Michael Natterer's avatar
      added reset() and to_cruft() functions. · fdc4eded
      Michael Natterer authored
      2008-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpcolorizeconfig.[ch]: added reset() and to_cruft()
      	functions.
      
      	* app/tools/gimpcolorizetool.c: use them.
      
      
      svn path=/trunk/; revision=24698
      fdc4eded
  11. 18 Jan, 2008 1 commit
    • Michael Natterer's avatar
      app/gegl/Makefile.am app/gegl/gegl-types.h new config object. · 30907dbd
      Michael Natterer authored
      2008-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpcolorizeconfig.[ch]: new config object.
      
      	* app/gegl/gimpoperationcolorize.[ch]: remove all properties and
      	add a "config" property.
      
      	* app/tools/gimpcolorizetool.[ch]: port to GimpColorizeConfig, use
      	the old Colorize struct only in map().
      
      
      svn path=/trunk/; revision=24647
      30907dbd
  12. 15 Jan, 2008 1 commit
    • Michael Natterer's avatar
      app/gegl/gimpoperationcolorize.[ch] app/gegl/gimpoperationlevels.[ch] · 57211570
      Michael Natterer authored
      2008-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpoperationcolorize.[ch]
      	* app/gegl/gimpoperationlevels.[ch]
      	* app/gegl/gimpoperationthreshold.[ch]: changed all properties from
      	float to double.
      
      	* app/gegl/gimpoperationcolorize.c: normalized property ranges to
      	[0.0..1.0] or [-1.0..1.0] resp.
      
      	* app/tools/gimpcolorizetool.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24621
      57211570
  13. 10 Jan, 2008 1 commit
    • Michael Natterer's avatar
      Simplify things a bit and enable gegl-only color correction tools (without · dac333f7
      Michael Natterer authored
      2008-01-10  Michael Natterer  <mitch@gimp.org>
      
      	Simplify things a bit and enable gegl-only color correction
      	tools (without legacy functions).
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_create_map):
      	always create the operation if ::get_operation() is implemented
      	and always use it when creating the GimpImageMap if there is no
      	legacy apply_func.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c (map): set the operation's
      	properties unconditionally since it always exists now if we also
      	implement ::get_operation().
      
      
      svn path=/trunk/; revision=24588
      dac333f7
  14. 09 Jan, 2008 1 commit
    • Michael Natterer's avatar
      add typedef GimpImageMapApplyFunc here. · dc65f5fc
      Michael Natterer authored
      2008-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: add typedef GimpImageMapApplyFunc here.
      
      	* app/core/gimpimagemap.[ch] (gimp_image_map_new): add apply_func
      	and apply_data parameters.
      
      	(gimp_image_map_apply): remove them here and add a GeglRectangle
      	parameter which is the visible area of the affected drawable.
      
      	* app/tools/gimpimagemaptool.[ch]: keep apply_func and apply_data
      	around in the GimpImageMapTool struct.
      
      	(gimp_image_map_tool_create_map): pass them to gimp_image_map_new().
      
      	(gimp_image_map_tool_map): call gimp_image_map_apply() here and
      	pass the drawable's visible rectangle.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c (init): set apply_func and
      	apply_data in the parent instance.
      
      	(map): remove calls to gimp_image_map_apply().
      
      
      svn path=/trunk/; revision=24573
      dc65f5fc
  15. 04 Jan, 2008 1 commit
    • Michael Natterer's avatar
      app/gegl/Makefile.am app/gegl/gegl-types.h · d1719638
      Michael Natterer authored
      2008-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/Makefile.am
      	* app/gegl/gegl-types.h
      	* app/gegl/gimpoperationcolorize.[ch]
      	* app/gegl/gimpoperationposterize.[ch]: new operators which still
      	use a lot of gimp stuff they shouldn't use, but at least the
      	infrastructure for improving them is there now.
      
      	* app/gegl/gimp-gegl.c: register them.
      
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpposterizetool.c: use them.
      
      
      svn path=/trunk/; revision=24528
      d1719638
  16. 30 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/tools/gimpcolorbalancetool.c app/tools/gimpcolorizetool.c · 5780913e
      Michael Natterer authored
      2007-12-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: #include <gegl.h>. Fixes the build.
      
      
      svn path=/trunk/; revision=24489
      5780913e
  17. 29 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/tools/gimpbrightnesscontrasttool.c app/tools/gimpcolorbalancetool.c · e4852740
      Michael Natterer authored
      2007-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpthresholdtool.c: more cleanup in preparation of
      	migrating to gegl.
      
      
      svn path=/trunk/; revision=24468
      e4852740
  18. 19 Jul, 2007 1 commit
  19. 23 May, 2007 1 commit
    • Sven Neumann's avatar
      app/paint/gimppaintoptions.c app/tools/gimpcolorbalancetool.c · ab71eb9f
      Sven Neumann authored
      2007-05-23  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimprectangleoptions.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/tool_manager.c: allocate structs using GSlice.
      
      svn path=/trunk/; revision=22595
      ab71eb9f
  20. 09 Mar, 2007 1 commit
  21. 09 Dec, 2006 1 commit
  22. 26 Sep, 2006 1 commit
    • Michael Natterer's avatar
      added GError** parameter to GimpPaintCore::start(). · 1b1299af
      Michael Natterer authored
      2006-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.[ch]: added GError** parameter to
      	GimpPaintCore::start().
      
      	* app/tools/gimppainttool.c (button_press): display the error in
      	the statusbar.
      
      	* app/paint/gimppaintcore-stroke.c: pass a NULL error, effectively
      	swallowing mssages. Will fix that later.
      
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpsourcecore.c: changed accordingly. Set the error
      	instead of calling g_message().
      
      	* app/paint/gimpheal.c
      	* app/paint/gimpperspectiveclone.c: implement start() and bail out
      	early on indexed drawables instead of showing a g_message() in
      	other functions that are called later.
      
      	* app/tools/gimptool.[ch]: added GError** to GimpTool::initialize().
      
      	* app/tools/gimptool.c (gimp_tool_initialize): display the error
      	in the statusbar. Keep the external API GError-free.
      
      	* app/tools/gimprectangletool.[ch]: added GError** to
      	gimp_rectangle_tool_initialize().
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c: changed accordingly. Set the
      	errors in initialize() instead of using gimp_message().
      
      	* app/tools/gimpblendtool.c: implement initialize() and bail out
      	early on indexed images instead of showing a gimp_message() in
      	button_press().
      1b1299af
  23. 18 Sep, 2006 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 73a25c2a
      William Skaggs authored
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpaligntool.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/gimpcolorizetool.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/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphealtool.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/gimppenciltool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.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:  Apply patch from J. Baker,
      	with some modifications, to improve tooltips and tool
      	names.  Almost fixes bug #356137.
      73a25c2a
  24. 15 Aug, 2006 1 commit
    • Hans Breuer's avatar
      updated · 37e4b802
      Hans Breuer authored
      2006-08-15  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc app/gimpcore.def : updated
      
      	* app/xcf/xcf-save.c(1464) : error C2036: 'void *' : unknown size
      	pointer arithmetics on void a pointer looks like a GCC extension
      	* app/tools/gimpbrightnesscontrasttool.c
      	  app/tools/gimpcolorbalancetool.c
      	  app/tools/gimphuesaturationtool.c
      	  app/tools/gimpcolorizetool.c : #include "core/gimp.h" for gimp_message
      	* app/tools/gimpiscissorstool.c : use RINT() rather than rint()
      	* app/widgets/gimpcontrollerlist.c : #include "gimpwidgets-utils.h"
      	for gimp_show_message_dialog
      	* app/core/gimpprogress.c(229) : 'gimp_progress_message' must
      	return a value
      37e4b802
  25. 08 Aug, 2006 1 commit
    • Sven Neumann's avatar
      added new function gimp_message() as a replacement for g_message(). Part · 48d054e8
      Sven Neumann authored
      2006-08-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp.[ch]: added new function gimp_message() as a
      	replacement for g_message(). Part of the fix for bug #347214.
      
      	* app/actions/data-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/file-commands.c
      	* app/actions/layers-commands.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/dialogs/file-open-dialog.c
      	* app/dialogs/file-open-location-dialog.c
      	* app/dialogs/file-save-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/pdb/gimppdb.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palette.pdb: use gimp_message() instead of
      	gimp_message() whenever we have a GimpProgress.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/palette_cmds.c: regenerated.
      48d054e8
  26. 15 May, 2006 1 commit
  27. 28 Mar, 2006 2 commits
  28. 13 Dec, 2005 1 commit
  29. 03 Sep, 2005 1 commit
  30. 27 May, 2005 1 commit
  31. 14 Oct, 2004 1 commit
    • Michael Natterer's avatar
      libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] · 27c2be7c
      Michael Natterer authored
      2004-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c
      	* app/widgets/gimpenumwidgets.[ch]
      	* app/widgets/gimppropwidgets.c
      	* app/actions/layers-commands.c
      	* app/dialogs/convert-dialog.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: the child of a GimpFrame must
      	not have any border width. Fixes many subtle misalignments.
      27c2be7c
  32. 05 Jul, 2004 1 commit
    • Michael Natterer's avatar
      return TRUE if initialization was successful. Makes the tool->drawable · 5ce611e0
      Michael Natterer authored
      2004-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcolorizetool.c (gimp_colorize_tool_initialize):
      	return TRUE if initialization was successful. Makes the
      	tool->drawable pointer being set correctly by the calling code and
      	fixes bugs where colorize was leaving the drawable in a modified
      	but non-undoable state when cancelling or changing images.
      5ce611e0
  33. 04 May, 2004 1 commit
    • Sven Neumann's avatar
      app/gui/info-dialog.c app/tools/gimpcolorbalancetool.c · 97dd0a8e
      Sven Neumann authored
      2004-05-05  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/info-dialog.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c: use GimpFrame widgets, changed spacings.
      
      	* app/widgets/gimptexteditor.c: tweaked.
      97dd0a8e
  34. 29 Apr, 2004 1 commit
    • Michael Natterer's avatar
      stripped the menu paths from the "menu_path". Will be renamed to · 2a84015e
      Michael Natterer authored
      2004-04-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimp*tool.c (gimp_*_tool_register): stripped the menu
      	paths from the "menu_path". Will be renamed to "action_name" or
      	something soon...
      
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/uniteditor.c: register under the new
      	"Extensions" placeholder.
      2a84015e
  35. 25 Feb, 2004 1 commit
    • Michael Natterer's avatar
      moved "shell_desc" from GimpImageMapTool to GimpImageMapToolClass and · 0d3e3625
      Michael Natterer authored
      2004-02-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.[ch]: moved "shell_desc" from
      	GimpImageMapTool to GimpImageMapToolClass and added
      	"load_dialog_title" and "save_dialog_title". Create the
      	load/save buttons in gimp_image_map_tool_initialize() and
      	remember them in the GimpImageMapTool struct. Moved the
      	whole load/save button/dialog logic into private functions.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: changed accordingly, removed
      	load/save callbacks, inlined the load/save functions into
      	GimpImageMapTool's virtual function implementations.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      0d3e3625
  36. 22 Feb, 2004 1 commit
    • Sven Neumann's avatar
      Let all GimpImageMap tools remember the state of the preview toggle (bug · 5077aa4c
      Sven Neumann authored
      2004-02-22  Sven Neumann  <sven@gimp.org>
      
      	Let all GimpImageMap tools remember the state of the preview toggle
      	(bug #135059):
      
      	* app/tools/Makefile.am
      	* app/tools/gimpimagemapoptions.[ch]
      	* app/tools/tools-types.h: added new GimpToolOptions class to hold
      	the preview setting.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcoloroptions.[ch]
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimpposterizetool.c
      	* app/tools/tools-types.h: use the new class.
      5077aa4c
  37. 21 Jan, 2004 1 commit
    • Michael Natterer's avatar
      added boolean return value to GimpTool::initialize(). Returning FALSE · 613e328f
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]: added boolean return value to
      	GimpTool::initialize(). Returning FALSE means the tool could not
      	be initialized and doesn't want to receive button events.
      	Return TRUE from the default implementation.
      
      	* app/tools/tool_manager.[ch]: added boolean return value to
      	tool_manager_initialize_active(). Don't set the tool's display or
      	drawable if initialize() returns FALSE.
      
      	* app/display/gimpdisplayshell-callbacks.c: don't send button
      	events to the tool if initialize() returns FALSE.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: return FALSE for NULL and indexed
      	drawables.
      
      	* app/tools/gimpimagemaptool.c: always return TRUE because our
      	subclasses already checked if the active drawable is OK.
      
      	* app/tools/gimptransformtool.c: return FALSE for layers with
      	masks. Fixes bug #132089. Some random cleanups.
      613e328f
  38. 18 Nov, 2003 1 commit
    • Michael Natterer's avatar
      changed the range of the "lightness" parameter to [-100..+100], where -100 · cbfbc2b2
      Michael Natterer authored
      2003-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/colorize.[ch]: changed the range of the "lightness"
      	parameter to [-100..+100], where -100 results in pure black and
      	+100 in pure white. Default to lightness == 0 so the initial
      	transform changes just the colors while keeping the original
      	lightness.
      
      	* app/tools/gimpcolorizetool.[ch]: changed accordingly. Reordered
      	the scales to be in HSL order.
      cbfbc2b2
  39. 13 Nov, 2003 1 commit
    • Michael Natterer's avatar
      when trying to activate the previously selected layer after a layer · 1d2c795f
      Michael Natterer authored
      2003-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer): when trying to
      	activate the previously selected layer after a layer removal, also
      	look at gimage->layer_stack, just as gimp_image_remove_layer()
      	does. Should fix regression from 1.2 when there was no avtive
      	layer after certain undo operations. Fixes bug #126781.
      	Reordered instructions to match gimp_image_remove_layer().
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: although the crash triggering bug
      	is fixed, the image_map tools should not crash when invoked
      	without active drawable: changed all _initialize() functions to
      	silently return if there is no active drawable.
      
      	Changed "drawable" to "layer" in all user visible warnings about
      	indexed or non-RGB drawables. Cleanup.
      1d2c795f