1. 02 May, 2012 1 commit
  2. 06 Oct, 2011 1 commit
  3. 30 Sep, 2011 1 commit
  4. 03 Apr, 2011 1 commit
  5. 20 Mar, 2011 1 commit
  6. 10 Feb, 2011 1 commit
  7. 27 Feb, 2010 1 commit
  8. 23 Feb, 2010 1 commit
  9. 20 Feb, 2010 1 commit
  10. 06 Oct, 2009 1 commit
  11. 20 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Refuse to edit locked drawables · ec6600a0
      Michael Natterer authored
      Check whether the drawable to edit is locked in GimpTool::initialize()
      and bail out with an appropriate error if it is. This currently
      prevents cloning from locked drawables, will fix that later.
      ec6600a0
  12. 24 May, 2009 1 commit
  13. 08 Feb, 2009 1 commit
  14. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  15. 12 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am added GIMP_ERROR as general error domain. · b37c8bcf
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimperror.[ch]: added GIMP_ERROR as general error 
      domain.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/core/gimptooloptions.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/tools/gimpblendtool.c
      	* 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
      	* app/vectors/gimpvectors-import.c: use GIMP_ERROR as error 
      domain
      	instead of 0, which is not accepted by g_set_error_literal().
      
      	* app/gui/session.c
      	* app/menus/menus.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdevices.c: use G_FILE_ERROR as error domain 
      for
      	file errors.
      
      
      svn path=/trunk/; revision=27628
      b37c8bcf
  16. 04 Nov, 2008 1 commit
    • Sven Neumann's avatar
      bumped minimum required version of GLib to 2.18.0. · 4762b734
      Sven Neumann authored
      2008-11-04  Sven Neumann  <sven@sven>
      
      	* configure.in: bumped minimum required version of GLib to 
      2.18.0.
      
      	* INSTALL: document the updated dependency.
      
      	* app/core/gimp.[ch]: introduced gimp_message_literal(), a 
      variant
      	of gimp_message() that takes a literal string.
      
      	* app/errors.[ch]: removed format arguments from 
      gimp_fatal_error()
      	and gimp_terminate() and let them take a literal string instead.
      
      	* app/tools/gimptool.[ch]: introduced 
      gimp_tool_message_literal(),
      	a variant of gimp_tool_message() that takes a literal string.
      
      	* app/actions/documents-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/error-console-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/config/gimprc.c
      	* app/core/gimp-modules.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp-units.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer-filter.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/dialogs.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/preferences-dialog.c
      	* app/dialogs/quit-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/file/file-procedure.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gegl/gimpcurvesconfig.c
      	* app/gegl/gimplevelsconfig.c
      	* app/gui/gui-message.c
      	* app/gui/gui.c
      	* app/gui/session.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/gimpplugin-message.c
      	* app/plug-in/gimpplugin.c
      	* app/plug-in/gimppluginmanager-restore.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool-settings.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsourcetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpactionview.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimpcontrollers.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimperrordialog.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppdbdialog.c
      	* app/widgets/gimpsettingsbox.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/image.pdb: use the _literal variants for
      	g_set_error(), gimp_message() and gimp_tool_message().
      
      	* app/pdb/convert-cmds.c
      	* app/pdb/edit-cmds.c
      	* app/pdb/floating-sel-cmds.c
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27548
      4762b734
  17. 01 Nov, 2008 2 commits
    • Michael Natterer's avatar
      app/tools/gimptool.[ch] made all GimpCoords* in the tool API const. · f7287be7
      Michael Natterer authored
      2008-11-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]
      	* app/tools/tool_manager.[ch]: made all GimpCoords* in the tool
      	API const.
      
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbrushtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpeditselectiontool.[ch]
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.[ch]
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimpselectiontool.[ch]
      	* app/tools/gimpsourcetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c: changed accordingly and added const
      	to all GimpCoords* in utility functions too.
      
      	* app/tools/gimptexttool.c: don't modify the passed coords. In
      	fact, simply removed the code that did because it had no effect.
      
      
      svn path=/trunk/; revision=27517
      f7287be7
    • 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
  18. 09 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Bug 134956 – Curves tool doesn't save free curves · e21935a7
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Bug 134956 – Curves tool doesn't save free curves
      
      	* app/core/gimpmarshal.list
      	* app/widgets/gimpsettingsbox.[ch]: add signal "file-dialog-setup"
      	and emit it when the export/import file chooser is fully
      	constructed. Callbacks can then do additional things to the
      	dialog, like adding custom buttons.
      
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimplevelstool.h: add boolean member
      	"export_old_format".
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c (gimp_*_tool_dialog): connect to
      	the settings box' "file-dialog-setup".
      
      	(gimp_*_tool_export_setup): new callback which adds a toggle to
      	the file choosers that allows to export to the old format.
      	Default saving the new format, we defaulted to the old one before.
      
      	(gimp_*_tool_settings_export): check the "export_old_format"
      	boolean and only save the cruft format if it is TRUE; chain up
      	otherwise, which generically saves the new format.
      
      	* app/tools/gimplevelstool.c (gimp_levels_tool_settings_import):
      	add the same file format detection code as in the curves tool
      	so it transparently loads old and new levels files.
      
      
      svn path=/trunk/; revision=27194
      e21935a7
  19. 30 Sep, 2008 1 commit
    • Michael Natterer's avatar
      keep a "default_config" object around and use it to reset the tool if it · 52c61f6b
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.[ch]: keep a "default_config" object
      	around and use it to reset the tool if it exists.
      
      	(gimp_image_map_tool_edit_as): set the default_config on the new
      	tool so "reset" goes back to the values the tool was started with.
      
      	* app/tools/gimpcolorbalencetool.c (gimp_color_balance_tool_reset)
      	* app/tools/gimpcurvestool.c (gimp_curves_tool_reset)
      	* app/tools/gimphuesaturationtool.c (gimp_hue_saturation_tool_reset)
      	* app/tools/gimplevelstool.c (gimp_levels_tool_reset): use the
      	default config to reset the tool here too if it exists.
      
      
      svn path=/trunk/; revision=27090
      52c61f6b
  20. 25 Jun, 2008 1 commit
  21. 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
  22. 22 May, 2008 3 commits
    • 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
    • Sven Neumann's avatar
      make the mnemonic work · b3ac4ead
      Sven Neumann authored
      svn path=/trunk/; revision=25750
      b3ac4ead
    • Sven Neumann's avatar
      use a combo-box for the curve type. · e161a614
      Sven Neumann authored
      2008-05-22  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): use a
      	combo-box for the curve type.
      
      svn path=/trunk/; revision=25748
      e161a614
  23. 21 May, 2008 1 commit
    • Michael Natterer's avatar
      remove unused variable. · 48fbb509
      Michael Natterer authored
      2008-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcurvestool.c: remove unused variable.
      
      
      svn path=/trunk/; revision=25740
      48fbb509
  24. 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
  25. 19 May, 2008 1 commit
    • Michael Natterer's avatar
      Unabstract image map tool settings load/save a bit before it's turned into · 62719d67
      Michael Natterer authored
      2008-05-19  Michael Natterer  <mitch@gimp.org>
      
      	Unabstract image map tool settings load/save a bit before it's
      	turned into generic load/save for all image map tools:
      
      	* app/gegl/gimpcurvesconfig.[ch]
      	* app/gegl/gimplevelsconfig.[ch]: add GError** to save_cruft()
      	functions.
      
      	* app/tools/gimpimagemaptool.[ch]: add GError to
      	::settings_save(), changed "file" parameter of ::settings_load()
      	and ::settings_save() to "filename", removed
      	gimp_image_map_tool_load_save() utility function and moved the
      	code to the settings_load() and settings_save() utility functions.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: changed accordingly. Open and close
      	the settings files here.
      
      
      svn path=/trunk/; revision=25714
      62719d67
  26. 11 May, 2008 2 commits
    • Sven Neumann's avatar
      app/core/Makefile.am · 6e6a0355
      Sven Neumann authored
      2008-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpcurve.[ch]:
      	* app/core/gimpcurve-map.[ch]: split curve map functions into
      	seperate files.
      
      	* app/gegl/gimpoperationcurves.c
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpcurveview.c: changed accordingly.
      
      	* app/Makefile.am (AM_LDFLAGS): make it link.
      
      
      svn path=/trunk/; revision=25642
      6e6a0355
    • Sven Neumann's avatar
      renamed gimp_curve_map() to gimp_curve_map_value(). Added new function · a392a231
      Sven Neumann authored
      2008-05-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcurve.[ch]: renamed gimp_curve_map() to
      	gimp_curve_map_value(). Added new function 
      gimp_curve_map_pixels()
      	which will allow for better optimization.
      
      	* app/gegl/gimpoperationcurves.c 
      (gimp_operation_curves_process):
      	use gimp_curve_map_pixels().
      
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpcurveview.c: follow API change.
      
      
      svn path=/trunk/; revision=25641
      a392a231
  27. 28 Mar, 2008 1 commit
    • Mukund Sivaraman's avatar
      Fixes for some Sparse reported issues in app/ · 0708ffea
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              Fixes for some Sparse reported issues in app/
      
              * app/core/gimpdrawable-operation.c: Added prototype for            
              gegl_node_add_child().
      
              * app/core/gimpcurve.c: Remove C99 code       
                                      
              * app/tools/gimpcurvestool.c 
              * app/tools/gimpperspectiveclonetool.c 
              * app/vectors/gimpstroke.c: Mark functions as static.
      
              * app/base/siox.c: state is a pointer.
      
              * app/plug-in/gimppluginprocframe.c: values is a pointer.
      
              * app/plug-in/plug-in-rc.c: plug_in_rc_parse() returns a pointer.
      
              * app/plug-in/gimpinterpreterdb.c: Check program[0] for '\0'
              instead of the pointer program itself.
      
      
      svn path=/trunk/; revision=25292
      0708ffea
  28. 28 Feb, 2008 1 commit
    • Michael Natterer's avatar
      get rid of fixed-size arrays and allocate the points and curve arrays · f4378d62
      Michael Natterer authored
      2008-02-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcurve.[ch]: get rid of fixed-size arrays and
      	allocate the points and curve arrays dynamically. Added "n-points"
      	and "n-samples" CONSTRUCT_ONLY properties. Renamed member "curve"
      	to "samples". Lots of code changes to work with dynamic limits
      	rather than 17 and 256.
      
      	* app/core/gimpdrawable-curves.c
      	* app/gegl/gimpcurvesconfig.c
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimpcurveview.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24995
      f4378d62
  29. 09 Feb, 2008 2 commits
    • Michael Natterer's avatar
      port the "xpos" API to [0.0..1.0] doubles too. · e8313005
      Michael Natterer authored
      2008-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcurveview.[ch]: port the "xpos" API
      	to [0.0..1.0] doubles too.
      
      	* app/tools/gimpcurvestool.[ch]: rename "col_value" member to
      	"picked_color" and use gdouble instead of gint. Also use GimpCurve
      	API to map the values instead of accessing the curve directly.
      	Fixes setting curve anchor points by color picking.
      
      
      svn path=/trunk/; revision=24838
      e8313005
    • Michael Natterer's avatar
      changed all values to be [0.0..1.0] doubles instead of [0..255] integers. · 044359f9
      Michael Natterer authored
      2008-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcurve.[ch]: changed all values to be [0.0..1.0]
      	doubles instead of [0..255] integers. Also changed the API to use
      	doubles instead of ints. Still have the fixed-size arrays though.
      
      	(gimp_curve_map): new function to map values.
      
      	* app/gegl/gimpoperationcurves.c: remove private map() function
      	and use the one from GimpCurve.
      
      	* app/gegl/gimpcurvesconfig.c
      	* app/core/gimpdrawable-curves.c: port to the new gdouble API.
      
      	* app/tools/gimpcurvestool.c: use gimp_curve_get_uchar() to get
      	the arrays for the color bars.
      
      	* app/widgets/gimpcurveview.[ch]: port to gdouble and some cleanup.
      
      
      svn path=/trunk/; revision=24837
      044359f9
  30. 04 Feb, 2008 1 commit
    • Michael Natterer's avatar
      add refcounting and replace free() API by ref() and unref(). · 50ad5cfd
      Michael Natterer authored
      2008-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/gimphistogram.[ch]: add refcounting and replace free()
      	API by ref() and unref().
      
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-levels.c
      	* app/widgets/gimphistogrameditor.c
      	* tools/pdbgen/pdb/color.pdb: replace calls to
      	gimp_histogram_free() by gimp_histogram_unref().
      
      	* app/pdb/color_cmds.c: regenerated.
      
      	* app/widgets/gimphistogramview.c: reference the histograms so we
      	don't need the widget's users to keep them around while the widget
      	exists.
      
      	* app/tools/gimpcurvestool.[ch]: remove the histogram from the
      	tool struct and just create one locally to set it on the histogram
      	view widget.
      
      	Unrelated:
      
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpthresholdtool.[ch]: renamed "hist" members to
      	"histogram" plus some cleanup.
      
      
      svn path=/trunk/; revision=24792
      50ad5cfd
  31. 03 Feb, 2008 1 commit
  32. 01 Feb, 2008 1 commit
  33. 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
  34. 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
  35. 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