1. 08 Feb, 2007 1 commit
  2. 03 Feb, 2007 2 commits
    • Michael Natterer's avatar
      Remove support for the old undo pop and free cruft: · bdc91d6c
      Michael Natterer authored
      2007-02-03  Michael Natterer  <mitch@gimp.org>
      
      	Remove support for the old undo pop and free cruft:
      
      	* app/core/core-types.h: remove typedefs GimpUndoPopFunc and
      	GimpUndoFreeFunc.
      
      	* app/core/gimpundo.[ch]: remove members and properties size,
      	data, pop_func and free_func.
      
      	* app/core/gimpimage-undo.[ch] (gimp_image_undo_push): remove
      	parameters size, struct_size, pop_func and free_func.
      
      	* app/core/gimpimage-undo-push.c
      	* app/tools/gimptransformtool.c
      	* app/paint/gimpink.c
      	* app/paint/gimppaintcore.c: change calls to above function
      	accordingly.
      
      
      svn path=/trunk/; revision=21845
      bdc91d6c
    • Michael Natterer's avatar
      app/paint/gimppaintcore-undo.[ch] removed... · 792ba898
      Michael Natterer authored
      2007-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore-undo.[ch]
      	* app/paint/gimpink-undo.[ch]: removed...
      
      	* app/paint/Makefile.am
      	* app/paint/paint-types.h
      	* app/paint/gimppaintcoreundo.[ch]
      	* app/paint/gimpinkundo.[ch]: ...and added as proper undo classes.
      
      	* app/paint/gimppaintcore.[ch]
      	* app/paint/gimpink.c: push undos using the new classes.
      
      
      svn path=/trunk/; revision=21842
      792ba898
  3. 22 Jan, 2007 1 commit
    • Sven Neumann's avatar
      added some comments. · 125c3d96
      Sven Neumann authored
      2007-01-22  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintbrush.c: added some comments.
      
      	* app/paint/gimppaintcore.c: sprinkled with const qualifiers.
      
      
      svn path=/trunk/; revision=21756
      125c3d96
  4. 15 Jan, 2007 1 commit
    • Michael Natterer's avatar
      add support for non-tiled regions. · 3fb0096e
      Michael Natterer authored
      2007-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/pixel-region.c (pixel_region_set,get_row): add support
      	for non-tiled regions.
      
      	* app/paint/gimpperspectiveclone.[ch]: replace handmade
      	transformation code by a call to gimp_transform_region(). Fix
      	getting the original pixels for src_pickable != dest_drawable
      	(bug #394610). Various small fixes and cleanups.
      
      
      svn path=/trunk/; revision=21720
      3fb0096e
  5. 30 Dec, 2006 1 commit
  6. 18 Dec, 2006 1 commit
  7. 09 Dec, 2006 2 commits
  8. 22 Nov, 2006 1 commit
  9. 16 Nov, 2006 1 commit
    • Michael Natterer's avatar
      Made all brushes scalable from the tool options. So far only downscaling · 6eb70895
      Michael Natterer authored
      2006-11-16  Michael Natterer  <mitch@gimp.org>
      
      	Made all brushes scalable from the tool options. So far only
      	downscaling is supported since we lack an algorithm for bitmap
      	brush upscaling. Addresses bug #65030.
      
      	* app/paint/gimppaintoptions.[ch]: added "brush-scale" property.
      
      	* app/paint/gimpbrushcore.[ch]: separate pressure logic from brush
      	scaling logic and take paint_options->brush_scale into account.
      	Added gimp_brush_core_create_bound_segs() which returns BoundSegs
      	of the correctly scaled brush mask for the brush preview on the
      	canvas.
      
      	* app/tools/gimpbrushtool.c: use gimp_brush_core_create_bound_segs()
      	instead of doing this here (also removes all knowledge about lowlevel
      	stuff from this file). Connect to notify::brush-scale of the
      	paint options and invalidate the brush core's brush accordingly.
      
      	* app/tools/gimppaintoptions-gui.c: added brush scale slider.
      6eb70895
  10. 09 Nov, 2006 1 commit
    • Michael Natterer's avatar
      Properly abstract brush scaling: · 1186dfd2
      Michael Natterer authored
      2006-11-09  Michael Natterer  <mitch@gimp.org>
      
      	Properly abstract brush scaling:
      
      	* app/core/gimpbrush.[ch]: added virtual functions
      	GimpBrush::scale_mask() and ::scale_pixmap() and default
      	implementations which call the functions in base/brush-scale.c.
      
      	* app/core/gimpbrushgenerated.c: factored out brush calculation to
      	an internal utility function and call that function from ::dirty()
      	and from the new ::scale_mask().
      
      	* app/core/gimpbrushcore.c: use gimp_brush_scale_mask/pixmap()
      	instead of using the lowlevel scale functions directly. Fixes the
      	uglyness that we were scaling generated brushes instead of simply
      	recalculating them in the right size.
      1186dfd2
  11. 30 Oct, 2006 1 commit
    • Michael Natterer's avatar
      app/actions/brush-editor-actions.c app/base/tile-manager-crop.c · c18faa20
      Michael Natterer authored
      2006-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/brush-editor-actions.c
      	* app/base/tile-manager-crop.c
      	* app/config/gimpconfig-file.c
      	* app/core/gimp-gradients.c
      	* app/core/gimpdrawable-histogram.c
      	* app/core/gimpimage-colorhash.c
      	* app/core/gimpimage-undo-push.c
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/preferences-dialog.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/gui-vtable.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintcore-undo.c
      	* app/plug-in/plug-in-enums.h
      	* app/vectors/gimpstroke-new.c
      	* app/vectors/gimpvectors-warp.c
      	* app/widgets/gimpviewablebox.c
      	* app/widgets/gimpviewrenderer-frame.c
      	* app/widgets/gimpviewrenderer-utils.c
      	* app/xcf/xcf-save.c
      	* libgimpwidgets/gimpcontroller.c: all .c files should include
      	their headers and all private functions should be static.
      	(-Wmissing-declarations -Wmissing-prototypes rocks!)
      c18faa20
  12. 25 Oct, 2006 1 commit
    • Michael Natterer's avatar
      changed GimpDrawable parameter to "GimpImageType dest_type". · dd6f5d71
      Michael Natterer authored
      2006-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]
      	(gimp_image_transform_rgb)
      	(gimp_image_transform_color)
      	(gimp_image_transform_temp_buf): changed GimpDrawable parameter to
      	"GimpImageType dest_type".
      
      	(gimp_image_get_foreground)
      	(gimp_image_get_background): ditto and reordered parameters.
      
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-stroke.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimperaser.c
      	* app/paint/gimpheal.c
      	* app/paint/gimpink.c
      	* app/paint/gimppaintbrush.c: changed accordingly.
      
      	* app/core/gimpdrawable-transform.c
      	(gimp_drawable_transform_tiles_affine): set the progress to 1.0
      	when done, some tiny cleanups around lanczos.
      dd6f5d71
  13. 26 Sep, 2006 3 commits
    • Michael Natterer's avatar
      app/paint/gimpclone.c app/paint/gimpheal.c · f939f120
      Michael Natterer authored
      2006-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimpperspectiveclone.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: message review. Thanks to Bill.
      f939f120
    • 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
    • Michael Natterer's avatar
      added some missing g_return_if_fail() and moved variables to local scopes. · c598fe65
      Michael Natterer authored
      2006-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.c: added some missing g_return_if_fail()
      	and moved variables to local scopes.
      c598fe65
  14. 20 Sep, 2006 1 commit
  15. 19 Sep, 2006 1 commit
    • Michael Natterer's avatar
      implement GimpPaintCore::start() and set paint_core->use_saved_proj to · 7b0531aa
      Michael Natterer authored
      2006-09-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpsourcecore.c: implement GimpPaintCore::start()
      	and set paint_core->use_saved_proj to TRUE when we are using
      	the destination drawable image's projection as source. Return
      	FALSE from start() if there is no src_drawable set and removed
      	checks for src_drawable != NULL further down in the code path.
      
      	* app/tools/gimpperspectiveclonetool.c (button_press)
      	* app/tools/gimpsourcetool.c (button_press): don't fiddle with
      	paint_core->use_saved_proj here.
      
      	* app/paint/gimpclone.c: implement GimpPaintCore::start() and
      	return FALSE if we are in pattern mode and there is no pattern to
      	clone from. Removed GimpPaintCore::paint() implementation because
      	all it did was popping a message if there is no pattern. Removed
      	check for pattern != NULL and cleaned up the file a bit.
      
      	* app/paint/gimpperspectiveclone.c (paint): removed message about
      	no pattern to clone from.
      7b0531aa
  16. 13 Sep, 2006 2 commits
  17. 12 Sep, 2006 1 commit
    • Michael Natterer's avatar
      made gimp_source_core_motion() a public function for the time being, · ff45766f
      Michael Natterer authored
      2006-09-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpsourcecore.[ch]: made gimp_source_core_motion() a
      	public function for the time being, pending further refactoring.
      
      	* app/paint/gimpperspectiveclone.[ch]: derive from GimpClone and
      	remove everything that is already imeplemented in the parent
      	classes. Particullarly, removed motion() implementation in favor
      	of a get_source() implementation and simply use GimpClone's
      	motion(). Also refuse to work on indexed drawables.
      
      	* app/paint/gimpperspectivecloneoptions.[ch]: derive from
      	GimpCloneOptions and remove everything that is already done by the
      	parent classes.
      
      	* app/tools/gimpperspectiveclonetool.c: changed
      	accordingly. Doesn't derive from GimpSourceTool yet since there is
      	some virtual function refactoring in GimpSourceTool missing.
      ff45766f
  18. 09 Sep, 2006 1 commit
    • Michael Natterer's avatar
      changed src_pickable parameter to src_type. · 9eb90fe5
      Michael Natterer authored
      2006-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpclone.c (gimp_clone_line_image): changed src_pickable
      	parameter to src_type.
      
      	(gimp_clone_motion): allow the passed srcPR to have alpha even if
      	the source pickable is flat. Pass the correct GimpImageType to
      	gimp_clone_line_image().
      9eb90fe5
  19. 08 Sep, 2006 2 commits
    • Michael Natterer's avatar
      must not clamp the paint area against the boundary of the src_tiles. · 93a9ad8c
      Michael Natterer authored
      2006-09-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpperspectiveclone.c (gimp_perspective_clone_motion):
      	must not clamp the paint area against the boundary of the
      	src_tiles. Various small cleanups.
      
      	* app/paint/gimpsourcecore.[ch] (GimpSourceCore::motion): removed
      	src_image parameter.
      
      	Added new virtual function GimpSourceCore::get_source() and moved
      	the source PR initialization code to its default implementation.
      	(GimpPerspectiveClone will override this method later).
      
      	* app/paint/gimpclone.c (gimp_clone_motion)
      	* app/paint/gimpheal.c (gimp_heal_motion): changed accordingly.
      93a9ad8c
    • Hans Breuer's avatar
      updated · ccb25e37
      Hans Breuer authored
      2006-09-08  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc app/gimpcore.def : updated
      
      	* app/paint/gimpperspectiveclone.c : error C2057: expected constant
      	expression. Stack allocation of dynamic sized arrays is afaik a GCC
      	extension, use g_alloca() instead.
      ccb25e37
  20. 07 Sep, 2006 3 commits
    • Michael Natterer's avatar
      Merged the "soc-2006-perspective-clone" branch. That branch is now · 1b149765
      Michael Natterer authored
      2006-09-07  Michael Natterer  <mitch@gimp.org>
      
      	Merged the "soc-2006-perspective-clone" branch. That branch is
      	now officially closed and all further fixes and changes have to
      	be applied to HEAD.
      
      	Did some minor adjustments, mostly small indentation and spacing
      	fixes. Derive the tool from GimpBrushTool and renamed the enum
      	added to paint-enums.h and it values, added stock icon and menu
      	entry.
      
      	Thanks a lot to Pedro Alonso Ferrer!
      
      	* app/paint/paint-enums.[ch]: new enum GimpPerspectiveCloneMode.
      
      	* app/paint/Makefile.am
      	* app/paint/gimpperspectiveclone.[ch]
      	* app/paint/gimpperspectivecloneoptions.[ch]: the perspective
      	clone core and its options.
      
      	* app/paint/gimp-paint.c: register it.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpperspectiveclonetool.[ch]: the perspective clone tool.
      
      	* app/tools/gimp-tools.c: register it.
      
      	* app/tools/gimppaintoptions-gui.c: show the widgets that are used
      	by perspective clone.
      
      	* app/widgets/gimphelp-ids.h: the help ID.
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/stock-tool-perspective-clone-16.png
      	* themes/Default/images/tools/stock-tool-perspective-clone-22.png
      	* libgimpwidgets/gimpstock.[ch]: its stock ID and icons.
      
      	* menus/image-menu.xml.in: added it to the menu.
      1b149765
    • Michael Natterer's avatar
      pass the src_offset_x and src_offset_y as separate parameters to · fb137010
      Michael Natterer authored
      2006-09-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpsourcecore.[ch] (gimp_source_core_motion): pass
      	the src_offset_x and src_offset_y as separate parameters to
      	GimpSourceCore::motion().
      
      	* app/paint/gimpheal.c (gimp_heal_motion): changed accordingly.
      
      	* app/paint/gimpclone.c (gimp_clone_motion): ditto and use the new
      	values for pattern cloning instead of asuming stuff that relies on
      	knowledge of gimp_source_core_motion()'s internals.
      fb137010
    • Michael Natterer's avatar
      pass the width and height of the sub-area of paint_area to · f8392567
      Michael Natterer authored
      2006-09-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpsourcecore.[ch] (gimp_source_core_motion): pass
      	the width and height of the sub-area of paint_area to
      	GimpSourceCore::motion().
      
      	* app/paint/gimpclone.c (gimp_clone_motion)
      	* app/paint/gimpheal.c (gimp_heal_motion): use the new parameters
      	instead of taking these values from srcPR->w and ->h, which was
      	very confusing.
      f8392567
  21. 04 Sep, 2006 3 commits
    • Michael Natterer's avatar
      corrected origPR extents calculation. Makes the tool work at image borders · 869ec3ac
      Michael Natterer authored
      2006-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpheal.c (gimp_heal_motion): corrected origPR
      	extents calculation. Makes the tool work at image borders
      	where it used to warn.
      
      	(gimp_heal_laplace_iteration)
      	(gimp_heal_region): minor coding style stuff.
      869ec3ac
    • Michael Natterer's avatar
      do a lot of stuff that was duplicated in clone and heal. Added lots of · 9ecec01d
      Michael Natterer authored
      2006-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpsourcecore.[ch] (gimp_source_core_motion): do a
      	lot of stuff that was duplicated in clone and heal. Added lots of
      	parameters to GimpSourceCore::motion() to get the stuff down to
      	clone and heal.
      
      	* app/paint/gimpclone.c (gimp_clone_motion): changed accordingly.
      
      	* app/paint/gimpheal.c (gimp_heal_motion): ditto. Made it work for
      	dest_drawable != src_pickable. Always add alpha to all buffers and
      	convert the source buffer to the dest drawable's color space
      	because the algorithm works only on buffers of same depth.
      9ecec01d
    • Michael Natterer's avatar
      removed enum GimpHealAlignMode, we use the GimpSourceAlignMode now and can · fca7fc02
      Michael Natterer authored
      2006-09-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/paint-enums.[ch]: removed enum GimpHealAlignMode, we
      	use the GimpSourceAlignMode now and can always disable REGISTERED
      	in the GUI should it turn out to be really totally pointless.
      
      	* app/paint/Makefile.am
      	* app/paint/gimphealoptions.[ch]: removed. Its properties are
      	completely covered by GimpSourceOptions.
      
      	* app/paint/gimpheal.[ch]: derive from GimpSourceCore.
      
      	* app/tools/gimphealtool.[ch]: derive from GimpSourceTool.
      fca7fc02
  22. 03 Sep, 2006 3 commits
    • Michael Natterer's avatar
      added non-property boolean member "use_source" which defalts to TRUE. · 6a073e68
      Michael Natterer authored
      2006-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpsourceoptions.[ch] (struct GimpSourceOptions): added
      	non-property boolean member "use_source" which defalts to TRUE.
      
      	* app/paint/gimpcloneoptions.c: imeplement GObject::notify() and
      	set source_options->use_source to TRUE if the clone type is
      	GIMP_IMAGE_CLONE.
      
      	* app/paint/gimpsourcecore.h: removed bogus
      	gimp_source_core_register() prototype.
      6a073e68
    • Sven Neumann's avatar
      added construct-only property "undo-desc". Use this when pushing an undo · a44d24cc
      Sven Neumann authored
      2006-09-03  Sven Neumann  <sven@gimp.org>
      
              * app/paint/gimppaintcore.[ch]: added construct-only property
              "undo-desc". Use this when pushing an undo instead of attempting
              an unsuccessful lookup of the GimpPaintInfo object.
      
              * tools/pdbgen/pdb/paint_tools.pdb
              * app/tools/gimppainttool.c: use paint_info->blurb as undo
              description when constructing the paint core.
      
              * app/pdb/paint_tools_cmds.c: regenerated.
      a44d24cc
    • Hans Breuer's avatar
      include "gimpcontext.h" for gimp_context_set_gradient() · ad6829dd
      Hans Breuer authored
      2006-09-03  Hans Breuer  <hans@breuer.org>
      
      	* app/core/gimp-gradients.c : include "gimpcontext.h" for
      	gimp_context_set_gradient()
      
      	* **/makefile.msc app/gimpcore.def : updated
      ad6829dd
  23. 02 Sep, 2006 3 commits
    • Michael Natterer's avatar
      renamed enum GimpCloneAlignMode to GimpSourceAlignMode. · 47b50d91
      Michael Natterer authored
      2006-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/paint-enums.[ch]: renamed enum GimpCloneAlignMode to
      	GimpSourceAlignMode.
      
      	* app/paint/Makefile.am
      	* app/paint/gimpsourcecore.[ch]
      	* app/paint/gimpsourceoptions.[ch]: new classes which contain the
      	source selection functionality factored out of the clone core and
      	options.
      
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpcloneoptions.[ch]: remove that functionality here
      	and derive from the new classes.
      
      	* app/tools/gimpclonetool.c: changed accordingly.
      47b50d91
    • Michael Natterer's avatar
      Merged the "soc-2006-healing-brush" branch. That branch is now officially · db526795
      Michael Natterer authored
      2006-09-02  Michael Natterer  <mitch@gimp.org>
      
      	Merged the "soc-2006-healing-brush" branch. That branch is now
      	officially closed and all further fixes and changes have to be
      	applied to HEAD.
      
      	Did some minor adjustments, mostly small indentation and spacing
      	fixes. Derive the tool from the newly introduced GimpBrushTool
      	which did not exist when the branch was created.
      
      	Thanks a lot to Kevin Sookocheff for this nice contribution!
      
      	* app/paint/paint-enums.[ch]: new enum GimpHealAlignMode.
      
      	* app/paint/Makefile.am
      	* app/paint/makefile.msc
      	* app/paint/gimpheal.[ch]
      	* app/paint/gimphealoptions.[ch]: the heal core and its options.
      
      	* app/paint/gimp-paint.c: register the heal core.
      
      	* app/tools/Makefile.am
      	* app/tools/makefile.msc
      	* app/tools/gimphealtool.[ch]: the heal tool.
      
      	* app/tools/gimp-tools.c: register the heal tool.
      
      	* app/tools/gimppaintoptions-gui.c: show the widgets that are used
      	by heal.
      
      	* app/widgets/gimphelp-ids.h: the heal help ID.
      
      	* tools/pdbgen/stddefs.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb: the heal PDB wrappers.
      
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimpcursor.c
      	* cursors/Makefile.am
      	* cursors/makefile.msc
      	* cursors/tool-heal.png
      	* cursors/xbm/tool-heal.xbm
      	* cursors/xbm/tool-heal-mask.xbm: a new cursor for the heal tool.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/makefile.msc
      	* themes/Default/images/tools/stock-tool-heal-16.png
      	* themes/Default/images/tools/stock-tool-heal-22.png: new stock
      	icons for the heal tool.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/paint_tools_cmds.c
      	* libgimp/gimppainttools_pdb.[ch]: regenerated.
      db526795
    • Michael Natterer's avatar
      app/paint/gimpclone.c minor cosmetic cleanup merged from the · a3217d46
      Michael Natterer authored
      2006-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpclone.c
      	* app/paint/gimpink.c: minor cosmetic cleanup merged from the
      	soc-2006-healing-brush branch.
      a3217d46
  24. 29 Aug, 2006 2 commits
    • Michael Natterer's avatar
      Changed GimpViewable preview rendering to have a context to get · b53aa45a
      Michael Natterer authored
      2006-08-29  Michael Natterer  <mitch@gimp.org>
      
      	Changed GimpViewable preview rendering to have a context to get
      	FG/BG/whatever from. Use the context to enable dynamic FG/BG
      	colors in gradients. Fixes bug #127676 and bug #352214. Addresses
      	bug #128367 (doesn't fix it because there's no loading/saving and
      	no GUI yet).
      
      	* app/core/core-enums.[ch]: added enum GimpGradientColor to enable
      	specifying gradient colors in terms of foreground and background.
      
      	* app/core/gimpgradient.[ch]: added color_type members to the
      	GimpGradientSegment struct and honor them in
      	gimp_gradient_get_color_at(). Added GimpContext parameters to all
      	functions which finally call get_color_at().
      
      	* app/core/gimp-gradients.c: use the new method to implement the
      	builtin gradients.
      
      	* app/core/gimpviewable.[ch]: added GimpContext parameters to all
      	get_preview() and get_pixbuf() functions.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-preview.[ch]
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-preview.[ch]
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.[ch]
      	* app/text/gimpfont.c
      	* app/vectors/gimpvectors-preview.[ch]: changed ::get_preview()
      	and ::get_pixbuf() implementations accordingly.
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimppalette-import.[ch]
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationeditor.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/actions/gradient-editor-commands.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcellrendererviewable.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpclipboard.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainercombobox.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerentry.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimppropwidgets.[ch]
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.[ch]
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpundoeditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpview-popup.[ch]
      	* app/widgets/gimpview.[ch]
      	* app/widgets/gimpviewablebutton.c
      	* app/widgets/gimpviewabledialog.c
      	* app/widgets/gimpviewrenderer.[ch]
      	* app/widgets/gimpviewrenderer-frame.c
      	* app/widgets/gimpviewrendererbrush.c
      	* app/widgets/gimpviewrendererbuffer.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimage.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb: added tons of GimpContext members
      	and parameters, implement GimpDocked::set_context() in many
      	widgets. Pass these locally remembered contexts to GimpViewable
      	functions. Did some minor cleanups on the way. There are still
      	some minor FIXMEs around where the code uses a NULL context (which
      	is allowed by the APIs)
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      b53aa45a
    • Michael Natterer's avatar
      minor cleanup. · 9a85ba5b
      Michael Natterer authored
      2006-08-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpbrushcore.c: minor cleanup.
      9a85ba5b
  25. 15 Aug, 2006 1 commit