1. 02 Nov, 2008 1 commit
    • Martin Nordholts's avatar
      Move the base GeglNode here in preparation for moving the GimpLayer · 24fac1de
      Martin Nordholts authored
      * app/core/gimpitem.[ch]: Move the base GeglNode here in
      preparation for moving the GimpLayer gegl:shift op to here as
      well. After all, the offsets are properties of GimpItem and not
      GimpLayer.
      
      * app/core/gimpdrawable.[ch]: Delegate appropriate stuff to the
      GimpItem base class, like part of the visibility toggling and the
      creation and destruction of the GimpItem node.
      
      * app/core/gimplayer.c
      * app/core/gimpchannel.c
      * app/core/gimpdrawablestack.c: Changed accordingly, use the new
      function names.
      
      * app/core/gimpitempropundo.c
      * app/vectors/gimpvectors-warp.c
      * app/vectors/gimpvectorsmodundo.c: Include gegl.h instead of
      glib-object.h
      
      svn path=/trunk/; revision=27521
      24fac1de
  2. 25 Oct, 2008 1 commit
    • Michael Natterer's avatar
      More merging from SOC 2006's vector layer branch: · 39af762f
      Michael Natterer authored
      2008-10-25  Michael Natterer  <mitch@gimp.org>
      
      	More merging from SOC 2006's vector layer branch:
      
      	* app/core/gimpitem.[ch]: add "gboolean push_undo" to
      	GimpItem::stroke().
      
      	* app/core/gimpdrawable-stroke.[ch]
      	* app/paint/gimppaintcore-stroke.[ch]
      	* app/paint/gimppaintcore.[ch] (gimp_paint_core_finish): add
      	"push_undo" parameters here too.
      
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimpchannel.c
      	* app/core/gimpselection.c
      	* app/dialogs/stroke-dialog.c
      	* app/tools/gimppainttool.c
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/paths.pdb: pass TRUE all over the place.
      
      	* app/pdb/edit-cmds.c
      	* app/pdb/paint-tools-cmds.c
      	* app/pdb/paths-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27398
      39af762f
  3. 24 Oct, 2008 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h remove this mis-engineered · 1a453c37
      Michael Natterer authored
      2008-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpstrokedesc.[ch]: remove this mis-engineered
      	abstraction...
      
      	* app/core/gimpstrokeoptions.[ch]: ...and add its properties and
      	API here.
      
      	* app/core/gimpitem.[ch]: GimpItem::stroke() take a
      	GimpStrokeOptions instead of a GimpStrokeDesc.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/dialogs/stroke-dialog.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/edit-cmds.c
      	* app/pdb/paths-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27388
      1a453c37
  4. 08 Jan, 2008 1 commit
    • Sven Neumann's avatar
      removed "add_alpha" parameter from gimp_item_duplicate() and · 4aa7e67c
      Sven Neumann authored
      2008-01-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpitem.[ch]: removed "add_alpha" parameter from
      	gimp_item_duplicate() and gimp_item_convert(). This is a relict
      	from the time when only the bottom layer was allowed to have no
      	alpha channel.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      svn path=/trunk/; revision=24570
      4aa7e67c
  5. 12 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added GError to GimpItem::rename(). · dfaf761d
      Michael Natterer authored
      2007-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added GError to GimpItem::rename().
      
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c: set errors when renaming is impossible.
      
      	* app/text/gimptextlayer.c
      	* app/core/gimpimage-quick-mask.c: changed accordingly.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/widgets/gimpitemtreeview.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/vectors.pdb: pass the error.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/vectors_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24338
      dfaf761d
  6. 06 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added GError arguments and fixed all functions to abort when the first · e418cf6d
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore-stroke.[ch]: added GError arguments and
      	fixed all functions to abort when the first call to
      	gimp_paint_core_start() fails (it won't succeed either for the
      	next path or whatever segemts).
      
      	* app/core/gimpitem.[ch]: added GError to gimp_item_stroke()
      
      	* app/core/gimpselection.c
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: don't gimp_message() in
      	GimpItem::stroke() but set the error.
      
      	* app/dialogs/stroke-dialog.c
      	* app/actions/vectors-commands.c
      	* app/actions/select-commands.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb: pass the error to the stroke
      	functions.
      
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24273
      e418cf6d
  7. 10 Sep, 2007 1 commit
    • Sven Neumann's avatar
      app/core/gimp-transform-region.[ch] app/core/gimpchannel.c · 77b7161a
      Sven Neumann authored
      2007-09-10  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-transform-region.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-item-list.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.c
      	* app/paint/gimpperspectiveclone.c
      	* app/vectors/gimpvectors.c: removed supersample parameter from
      	transform functions and perform it depending on the interpolation
      	type (bug #473265).
      
      	* app/tools/gimptransformoptions.[ch]
      	* app/tools/gimptransformtool.c: removed Supersample toggle from
      	the transform tool options.
      
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: document that the
      	supersample parameter is unused and improved documentation of the
      	recursion-level parameter.
      
      	* app/pdb/transform_tools_cmds.c
      	* app/pdb/drawable_transform_cmds.c
      	* libgimp/gimpdrawabletransform_pdb.c: regenerated.
      
      svn path=/trunk/; revision=23494
      77b7161a
  8. 03 May, 2007 1 commit
    • Sven Neumann's avatar
      Handle the core part of bug #434274: · 6c427acf
      Sven Neumann authored
      2007-05-03  Sven Neumann  <sven@gimp.org>
      
      	Handle the core part of bug #434274:
      
      	* app/core/gimpchannel.c (gimp_channel_real_boundary): return
      	FALSE for an empty channel.
      
      	* app/core/gimpitem.[ch]: added a progress parameter to
      	gimp_item_stroke.
      
      	* app/core/gimpchannel.c (gimp_channel_stroke)
      	* app/core/gimpselection.c (gimp_selection_stroke): pass progress
      	to gimp_message().
      
      	* app/actions/vectors-commands.c
      	* app/actions/select-commands.c
      	* app/dialogs/stroke-dialog.c
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      
      	* app/core/gimplayermaskundo.c: added a missing cast.
      
      svn path=/trunk/; revision=22389
      6c427acf
  9. 24 Dec, 2006 1 commit
    • Mukund Sivaraman's avatar
      app/core/Makefile.am app/core/gimp-transform-resize.c · f0cff0ff
      Mukund Sivaraman authored
      2006-12-24  Mukund Sivaraman  <muks@mukund.org>
      
              * app/core/Makefile.am
              * app/core/gimp-transform-resize.c
              * app/core/gimpchannel.c
              * app/core/gimpdrawable-transform.c
              * app/core/gimpdrawable-transform.h
              * app/core/gimpdrawable.c
              * app/core/gimpimage-item-list.c
              * app/core/gimpimage-item-list.h
              * app/core/gimpitem-linked.c
              * app/core/gimpitem-linked.h
              * app/core/gimpitem.c
              * app/core/gimpitem.h
              * app/core/gimplayer.c
              * app/pdb/drawable_transform_cmds.c
              * app/text/gimptextlayer-transform.c
              * app/text/gimptextlayer-transform.h
              * app/tools/gimptransformoptions.c
              * app/tools/gimptransformtool.c
              * app/vectors/gimpvectors.c
              * libgimp/gimpdrawabletransform_pdb.c
              * libgimp/gimpdrawabletransform_pdb.h
              * libgimp/gimpenums.c.tail
              * libgimpbase/gimpbase.def
              * libgimpbase/gimpbaseenums.c
              * libgimpbase/gimpbaseenums.h
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/drawable_transform.pdb: implemented UI and PDB
              for new clipping modes for affine transforms (crop to largest
              rectangle, and crop to largest rectangle with the source's aspect
              ratio); fixed various bugs in the largest rectangle computation
              code; set padding to 6 in the transformation tool options.
      f0cff0ff
  10. 09 Dec, 2006 1 commit
  11. 16 Oct, 2006 1 commit
    • Michael Natterer's avatar
      removed the "floating" flag and the floating/sink API. · b72ffb8b
      Michael Natterer authored
      2006-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: removed the "floating" flag and the
      	floating/sink API.
      
      	(gimp_item_init): call g_object_force_floating() instead.
      
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb: use combinations of
      	g_object_ref_sink() and g_object_unref() instead of
      	gimp_item_sink(). Use g_object_is_floating() instead of
      	gimp_item_is_floating().
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      b72ffb8b
  12. 21 May, 2006 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new files with functions to translate, flip, rotate, · 3e5b6e0e
      Michael Natterer authored
      2006-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-item-list.[ch]: new files with functions to
      	translate, flip, rotate, transform and align a list of items
      	inside an undo group.
      
      	(gimp_image_item_list_get_list): returns a list of items matching
      	any combination of GimpItemTypeMask and GimpItemSet.
      
      	* app/core/gimpitem.[ch]: added new function gimp_item_is_in_set().
      
      	* app/core/gimpitem-linked.[ch]: use the new functions. Removed
      	gimp_item_linked_get_list().
      
      	* app/tools/gimpeditselectiontool.c: use
      	gimp_image_item_list_get_list() instead of
      	gimp_item_linked_get_list().
      
      	* app/core/gimpimage-resize.c
      	* app/tools/gimpaligntool.c: use the new functions instead of
      	creating and iterating the lists manually.
      3e5b6e0e
  13. 12 Apr, 2006 1 commit
  14. 02 Apr, 2006 1 commit
    • Michael Natterer's avatar
      removed the return value again. · 5fb387ea
      Michael Natterer authored
      2006-04-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparasitelist.[ch] (gimp_parasite_list_add): removed
      	the return value again.
      
      	(gimp_parasite_list_find): return a const parasite.
      
      	* app/core/gimp-parasites.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpitem.[ch] (*_parasite_attach): take a const
      	parasite. Make a local copy of the parasite struct because
      	gimp_parasite_shift_parent() changes it.
      
      	(*_parasite_find): return a const parasite.
      
      	* app/core/gimptemplate.c
      	* app/text/gimptextlayer-xcf.c
      	* app/xcf/xcf-load.c: changed accordingly.
      5fb387ea
  15. 28 Mar, 2006 1 commit
  16. 12 Jul, 2005 1 commit
  17. 03 Jun, 2005 2 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 643e2257
      William Skaggs authored
      	* app/core/gimpitem-align.[ch]: newly created to
      	hold code for gimp_item_align().
      
      	* app/core/Makefile.am: add new files
      
      	* app/core/gimpitem.[ch]: remove code from here.
      
      	* app/tools/gimpaligntool.c: fix includes and remove
      	unneeded includes.
      643e2257
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 72502972
      William Skaggs authored
      	* gimp/app/tools/Makefile.am
      	* gimp/app/tools/gimp-tools.c
      	* gimp/app/tools/gimpalignoptions.c
      	* gimp/app/tools/gimpalignoptions.h
      	* gimp/app/tools/gimpaligntool.c
      	* gimp/app/tools/gimpaligntool.h: Add new tool for
      	aligning layers etc, as described in bug #147437.
      
      	* gimp/app/core/gimpitem.c
      	* gimp/app/core/gimpitem.h (gimp_item_align): add
      	function required by new tool.
      
      	* gimp/app/core/core-enums.c
      	* gimp/app/core/core-enums.h: add enum for alignment
      	types.
      
      	* gimp/themes/Default/images/stock-hcenter-24.png
      	* gimp/themes/Default/images/stock-vcenter-24.png
      	* gimp/libgimpwidgets/gimpstock.c
      	* gimp/libgimpwidgets/gimpstock.h
      	* gimp/themes/Default/images/Makefile.am
      	* gimp/themes/Default/images/makefile.msc: add two
      	stock symbols, modeled on the gravity symbols.
      72502972
  18. 13 Jan, 2005 1 commit
    • Michael Natterer's avatar
      Splitting GimpItem::convert() into two virtual functions was apparently · 4e942377
      Michael Natterer authored
      2005-01-13  Michael Natterer  <mitch@gimp.org>
      
      	Splitting GimpItem::convert() into two virtual functions was
      	apparently buggy over-engineering. Reverted that stuff and
      	implement item conversion much simpler:
      
      	* app/core/gimpitem.[ch]: have a single virtual function,
      	GimpItem::convert(), which takes a newly duplicated item and the
      	destination image.
      
      	(gimp_item_convert): simply call GimpItem::convert() on the result
      	of gimp_item_duplicate().
      
      	(gimp_item_real_convert): set the item's new image.
      
      	* app/core/gimplayer.c (gimp_layer_convert)
      	* app/vectors/gimpvectors.c (gimp_vectors_convert): changed
      	accordingly and chain up after, not before doing our own stuff
      	so the old image is still available as item->image for stuff
      	like colormap conversion. Fixes bug #163879.
      4e942377
  19. 23 Dec, 2004 1 commit
    • Michael Natterer's avatar
      Item conversion depends on the old *and* the new item type, so it can't · 0527989e
      Michael Natterer authored
      2004-12-23  Michael Natterer  <mitch@gimp.org>
      
      	Item conversion depends on the old *and* the new item type, so
      	it can't live in the old item's vtable only:
      
      	* app/core/gimpitem.[ch]: split GimpItem::convert() into
      	GimpItem::convert_from() (which is called on the old item and
      	creates the new item) and GimpItem::convert_to() (which is called
      	on the new item). This way functions from the old *and* new items'
      	vtables are called and it's possible to convert between item types
      	which live on different branches of the class hierarchy or to item
      	types which live further down the class tree than the old item.
      
      	(gimp_item_convert): call ::convert_to() on the new item created
      	by ::convert_from().
      
      	* app/vectors/gimpvectors.c: changed ::convert() implementation
      	to ::convert_from().
      
      	* app/core/gimplayer.c: changed ::convert() to ::convert_to().
      	Fixes bug #161877.
      0527989e
  20. 22 Oct, 2004 1 commit
    • Michael Natterer's avatar
      added new enum GimpStrokeMethod which can be one of { LIBART, PAINT_CORE · 06447c00
      Michael Natterer authored
      2004-10-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: added new enum GimpStrokeMethod which
      	can be one of { LIBART, PAINT_CORE }.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpstrokedesc.[ch]: new object which encapsulates
      	the params and setup logic for the different stroke methods.
      
      	* app/core/gimpitem.[ch]: use it in GimpItem::stroke() and
      	in the gimp_item_stroke() wrapper.
      
      	* app/core/gimpchannel.c (gimp_channel_stroke)
      	* app/core/gimpselection.c (gimp_selection_stroke)
      	* app/vectors/gimpvectors.c (gimp_vectors_stroke): changed accprdingly.
      
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/dialogs/stroke-dialog.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: use GimpStrokeDesc. Simplifies the
      	code quite a bit.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      06447c00
  21. 26 Aug, 2004 1 commit
  22. 10 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Redid the whole internal progress stuff: don't pass around · 02d2b990
      Michael Natterer authored
      2004-08-10  Michael Natterer  <mitch@gimp.org>
      
      	Redid the whole internal progress stuff: don't pass around
      	progress_callback and progress_data; instead, provide a
      	pointer to a GimpProgressInterface which can be implemented
      	by a variety of backends.
      
      	Addresses (but not yet fixes) bugs #6010, #97266 and #135185.
      
      	* app/display/Makefile.am
      	* app/display/gimpprogress.[ch]: removed the old progress hack.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpprogress.[ch]: implement GimpProgressInterface.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpprogressdialog.[ch]: the standalone progress
      	dialog as widget implementing GimpProgressInterface.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpstatusbar.[ch]
      	* app/widgets/gimpfiledialog.[ch]
      	* app/widgets/gimpthumbbox.[ch]: added GimpProgressInterface
      	implementation to these classes.
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: replaced the old progress vtable entries
      	by two new to create and destroy a GimpProgressDialog in case
      	no other progress is available.
      
      	* app/pdb/procedural_db.[ch]
      	* app/plug-in/plug-in-run.[ch]
      	* tools/pdbgen/app.pl: pass a GimpProgress to all PDB wrappers and
      	all plug-ins.
      
      	* app/plug-in/plug-in.[ch]
      	* app/plug-in/plug-ins.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c: handle the case there the
      	plug-in was crated with a progress as well as the case where it
      	wasn't.
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/xcf/xcf.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c: changed accordingly.
      
      	* app/core/gimpimagefile.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-open-location-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c: pass a GimpProgress to all file
      	related functions. Embed the progress in the file dialog where
      	possible.
      
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-convert.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage-scale.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: replaced callback/data by GimpProgress.
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimptransformtool.c
      	* app/gui/convert-dialog.c
      	* app/actions/documents-commands.c
      	* app/actions/file-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed callers accordingly.
      
      	* app/pdb/*_cmds.c: regenerated.
      02d2b990
  23. 15 Apr, 2004 2 commits
    • Michael Natterer's avatar
      added "const gchar *stroke_desc" to the GimpItemClass struct and always · f41e1ff5
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added "const gchar *stroke_desc" to
      	the GimpItemClass struct and always push an undo group
      	around GimpItem::stroke().
      
      	* app/core/gimpchannel.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: set the stroke_desc accordingly
      	and don't push undo groups.
      
      	* app/text/gimptextlayer.c (gimp_text_layer_class_init): set
      	all of GimpItemClass' undo_descs.
      
      	* app/text/gimptextlayer-transform.c: don't push undo groups here.
      f41e1ff5
    • Michael Natterer's avatar
      Context cleanup continued: · 837fa429
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Context cleanup continued:
      
      	* app/core/gimpitem.[ch]: added context parameter to
      	GimpItem::stroke().
      
      	* app/core/gimpchannel.c (gimp_channel_stroke)
      	* app/vectors/gimpvectors.c (gimp_vectors_stroke): use it to get
      	default values from instead of gimp_get_user_context().
      
      	* app/core/gimpselection.c
      	* app/gui/stroke-dialog.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      
      	* app/plug-in/plug-in.[ch]: added GimpContext member to the PlugIn
      	struct. Added context parameter to plug_in_new(),
      	plug_in_call_query() and plug_in_call_init().
      
      	* app/plug-in/plug-in-run.[ch]: added context parameters to
      	plug_in_run() and plug_in_repeat().
      
      	* app/gui/plug-in-commands.c
      	* app/gui/vectors-commands.c
      	* app/pdb/procedural_db.c
      	* app/widgets/gimphelp.c: pass a context to plug_in_run() and
      	plug_in_repeat().
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): call
      	procedures with the plug-in's context.
      
      	* app/plug-in/plug-ins.c: use a temporary context for running the
      	plug-ins' query() and init() functions. Use the same context for
      	running automatic extensions. This temporarily separates the main
      	Script-Fu extension from the user context (i.e. scripts have no
      	way of setting/getting the global FG, BG, brush etc.).
      837fa429
  24. 14 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Get rid of the "current_context" which was in fact just a bunch of global · 18d9161e
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Get rid of the "current_context" which was in fact just a bunch of
      	global variables. Instead, pass the needed context all the way
      	from the GUI and the PDB to the core. This is a prerequisite for
      	macro recording and generally helps separating the various
      	subsystems from each other. Work in progress...
      
      	* app/core/gimp.[ch]: removed member "current_context" and
      	gimp_[get|set]_current_context().
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable-offset.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimpselection.[ch]
      	* app/core/gimptemplate.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/text/gimptext-compat.[ch]
      	* app/text/gimptextlayer-transform.[ch]
      	* app/gui/brush-select.[ch]
      	* app/gui/font-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
      	parameters and use the passed context instead of
      	gimp_get_current_context().
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.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/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
      	GIMP_CONTEXT(tool_options) or whatever is the right context
      	to the changed core functions.
      
      	* tools/pdbgen/app.pl: pass "GimpContext *context" to all
      	generated PDB invokers.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
      	parameter to the changed core functions.
      
      	* app/pdb/*_cmds.c: regenerated.
      18d9161e
  25. 13 Apr, 2004 1 commit
    • Michael Natterer's avatar
      GimpItem undo group cleanup in preparation of fixing bug #138356: · 069489fb
      Michael Natterer authored
      2004-04-13  Michael Natterer  <mitch@gimp.org>
      
      	GimpItem undo group cleanup in preparation of fixing bug #138356:
      
      	* app/core/core-enums.[c]: renamed LAYER_SCALE and LAYER_RESIZE
      	undo groups to ITEM_SCALE and ITEM_RESIZE.
      
      	* app/core/gimpitem.[ch]: always push undo groups around
      	GimpItem::translate(), scale(), resize(), flip(), rotate() and
      	transform(). Added the resp. undo_desc strings to GimpItemClass.
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimplayer.c: removed all undo groups from
      	implementations of the above methods. Removed the undo_desc
      	strings which were moved to GimpItemClass.
      
      	* app/core/gimpimage-crop.c
      	* app/core/gimpselection.c
      	* app/gui/layers-commands.c
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      069489fb
  26. 28 Mar, 2004 1 commit
    • Michael Natterer's avatar
      added "gboolean removed" to the GimpItem struct. Defaults to FALSE. Set it · 77447984
      Michael Natterer authored
      2004-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added "gboolean removed" to the GimpItem
      	struct. Defaults to FALSE. Set it to TRUE in gimp_item_removed().
      	Added public function gimp_item_is_removed().
      
      	* app/core/gimpimage-undo-push.c (undo_pop_layer)
      	(undo_pop_layer_mask) (undo_pop_channel) (undo_pop_vectors):
      	set it to FALSE manually when re-adding something from the
      	undo stack.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb.pl: don't allow any operation on items which
      	are removed from the image (and exist on the undo stack only).
      	Fixes bug #138311.
      
      	* 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/paint_tools_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      77447984
  27. 13 Mar, 2004 1 commit
    • Michael Natterer's avatar
      Completed the fix for bug #136702: · 2498c665
      Michael Natterer authored
      2004-03-13  Michael Natterer  <mitch@gimp.org>
      
      	Completed the fix for bug #136702:
      
      	* app/core/gimpitem.[ch]: added "gboolean supersample" and
      	"gint recursion_level" to GimpItem::transform().
      
      	* app/core/gimpitem-linked.[ch]	(gimp_item_linked_transform): ditto.
      
      	* app/core/gimpdrawable-transform.[ch]: added "recursion_level"
      	parameters and removed the RECURSION_LEVEL #define.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimplayer.c
      	* app/vectors/gimpvectors.c: changed accordingly.
      
      	* app/tools/gimptransformoptions.[ch]: added new property
      	"recursion_level" which is not serializable and has no GUI. Pretty
      	useless, but it's IMHO better to hardcode the default value here
      	than in gimpdrawable-transform.c
      
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* tools/pdbgen/pdb/transform_tools.pdb: hardcode "recursion_level"
      	to 3.
      
      	* app/pdb/transform_tools_cmds.c: regenerated.
      2498c665
  28. 09 Feb, 2004 1 commit
    • Sven Neumann's avatar
      added progress callback pointers to gimp_item_scale() and its variants. · 1359960a
      Sven Neumann authored
      2004-02-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpitem.[ch]: added progress callback pointers to
      	gimp_item_scale() and its variants.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/gui/layers-commands.c97999
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly. Fixes bug #97999.
      
      	* app/pdb/layer_cmds.c: regenerated.
      1359960a
  29. 01 Feb, 2004 1 commit
    • Michael Natterer's avatar
      Disallow to rename the layer mask. Instead, always name the mask "<layer · 82276ada
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      
      	Disallow to rename the layer mask. Instead, always name the mask
      	"<layer name> mask". Fixes bug #133112 along with some other
      	unreported ones.
      
      	* app/core/gimpitem.[ch]: added a boolean return value indicating
      	success to GimpItem::rename().
      
      	(gimp_item_real_rename): push an undo step only if the item is
      	attached.
      
      	* app/core/gimplayer.c (gimp_layer_rename): refuse renaming if
      	the layer is a floating selection floated from a channel
      	(renaming a layer's floating selection makes a new layer out
      	of the floating selection).
      
      	(gimp_layer_duplicate): use gimp_layer_add_mask() to attach the
      	mask's duplicate. Fixes mask refcount brokenness for duplicated
      	layer masks.
      
      	(gimp_layer_name_changed): new function. Automatically renames the
      	layer mask when the layer's name changes.
      
      	* app/core/gimplayermask.c (gimp_layer_mask_rename): new function
      	which refuses renaming.
      
      	(gimp_layer_mask_name_changed): skip the unique name voodoo
      	GimpItem does by not chaining up.
      
      	(gimp_layer_mask_set_layer): change the mask's name whenever it is
      	attached to a layer.
      
      	* app/text/gimptextlayer.c (gimp_text_layer_rename): fiddle with
      	text_layer->auto_rename only if renaming was successful.
      
      	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_name_edited):
      	restore the old name if renaming failed.
      
      	* tools/pdbgen/pdb/drawable.pdb (set_name): return an execution
      	error if renaming failed.
      
      	* app/pdb/drawable_cmds.c: regenerated.
      82276ada
  30. 26 Jan, 2004 1 commit
    • Michael Natterer's avatar
      removed gimp_image_owns_item() again. · 748d432f
      Michael Natterer authored
      2004-01-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: removed gimp_image_owns_item() again.
      
      	* app/core/gimpitem.[ch]: instead, added new virtual function
      	GimpItem::is_attached().
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/vectors/gimpvectors.c: implement it.
      
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimplayer-floating-sel.c
      	* app/text/gimptext-compat.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb_ changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      748d432f
  31. 22 Jan, 2004 1 commit
    • Michael Natterer's avatar
      added "gboolean use_default_values" to GimpItem::stroke(). · f3c91918
      Michael Natterer authored
      2004-01-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added "gboolean use_default_values"
      	to GimpItem::stroke().
      
      	* app/core/gimpselection.c: changed accordingly.
      
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: if use_default_values is TRUE, don't
      	use the GimpPaintOptions passed in the GimpPaintInfo, but create a
      	new one.
      
      	* app/gui/stroke-dialog.c: pass FALSE so the values as set in the
      	tool options are used.
      
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: pass TRUE so tool options settings
      	don't affect PDB stroke calls. Fixes part 2 of bug #132145.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c: regenerated.
      f3c91918
  32. 09 Dec, 2003 1 commit
    • Michael Natterer's avatar
      Fixed memory management of layers and channels which were created using · 1cc434fa
      Michael Natterer authored
      2003-12-09  Michael Natterer  <mitch@gimp.org>
      
      	Fixed memory management of layers and channels which were created
      	using the PDB:
      
      	* app/core/gimpitem.[ch]: added "gboolean floating" flag to
      	GimpItem. Items are created with floating == TRUE. Added
      	gimp_item_sink() which resets the floating flag and unrefs the
      	item if it was TRUE.  Added gimp_item_is_floating() accessor.
      
      	* app/core/gimpimage.c (gimp_image_add_layer,channel,vectors):
      	g_object_ref()/gimp_item_sink() added items to take ownership of
      	them.
      
      	* app/core/gimplayer.c (gimp_layer_add_mask):
      	g_object_ref()/gimp_item_sink() the mask.
      
      	* app/gui/layers-commands.c
      	* app/xcf/xcf-load.c: don't unref layer masks after adding them to
      	the layer.
      
      	* tools/pdbgen/pdb/drawable.pdb (drawable_delete):
      	gimp_item_sink() the drawable if it's floating and fail if it's
      	not. Fixes bug #128881.
      
      	* tools/pdbgen/pdb/layer.pdb (layer_create_mask): fixed docs.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: regenerated.
      1cc434fa
  33. 26 Sep, 2003 1 commit
    • Simon Budig's avatar
      New Object, holding the Options for a Libart-Stroke. · 10a5269e
      Simon Budig authored
      2003-09-26  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpstrokeoptions.[ch]: New Object, holding the
      	Options for a Libart-Stroke.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h: Changed accordingly.
      
      	* app/core/gimpitem.[ch]: Changed the Signature of
      	gimp_item_stroke to accept a GimpObject instead of a
      	GimpPaintInfo. This enables us to pass GimpStrokeOptions
      	to it. To be cleaned up for 2.2.
      
      	* app/core/gimpselection.c
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: Changed accordingly
      
      	* app/gui/edit-commands.c
      	* app/gui/vectors-commands.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpvectorstreeview.c: Fixed warnings by
      	casting the GimpPaintInfo to GimpObject.
      10a5269e
  34. 11 Sep, 2003 1 commit
    • Michael Natterer's avatar
      removed "visible" and all its API... · 7cf4eb46
      Michael Natterer authored
      2003-09-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: removed "visible" and all its API...
      
      	* app/core/gimpitem.[ch]: ...and added it here.
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]: changed the drawable
      	visibility undo to be an item visibility undo.
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: save it in PROP_VECTORS and changed channel
      	and layer loading/saving accordingly.
      
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimpselection.c
      	* app/text/gimptextlayer.c
      	* app/gui/channels-commands.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      
      	* app/widgets/gimpdrawabletreeview.[ch]: removed the eye icon...
      
      	* app/widgets/gimpitemtreeview.[ch]: ...and added it here.
      7cf4eb46
  35. 01 Sep, 2003 1 commit
    • Michael Natterer's avatar
      added new virtual function GimpItem::stroke(). · dcb6f225
      Michael Natterer authored
      2003-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added new virtual function
      	GimpItem::stroke().
      
      	* app/core/gimpchannel.c
      	* app/vectors/gimpvectors.c: implement GimpItem::stroke().
      
      	* app/core/gimpimage-mask.[ch] (gimp_image_mask_stroke): changed
      	signature to match gimp_item_stroke() (the selection mask *really*
      	should be a GimpChannel subclass).
      	Removed global variable "gboolean gimp_image_mask_stroking"...
      
      	* app/core/gimpimage.[ch]: ...and added "gboolean mask_stroking"
      	to the GimpImage struct.
      
      	* app/gui/vectors-commands.[ch]: removed vectors_stroke_vectors().
      
      	* app/widgets/widgets-types.h: removed GimpStrokeItemFunc typedef.
      
      	* app/widgets/gimpvectorstreeview.[ch]: removed "stroke_item_func"
      	member and use gimp_item_stroke() instead.
      
      	* app/gui/dialogs-constructors.c (dialogs_vectors_list_view_new)
      	* app/gui/edit-commands.c (edit_stroke_cmd_callback)
      	* app/gui/vectors-commands. (vectors_stroke_cmd_callback)
      	* app/widgets/gimpselectioneditor.c
      	(gimp_selection_editor_stroke_clicked)
      	* tools/pdbgen/pdb/edit.pdb (gimp_edit_stroke): changed accordingly.
      
      	* app/pdb/edit_cmds.c: regenerated.
      
      	Note that there is no GUI for "stroke channel", although it would
      	be utterly cool to have one, since currently slelection stroking
      	cannot be masked by a selection (because we stroke the selection).
      	Anyway, if anyone has an idea how to trigger "stroke channel" with
      	another drawable active (the one to stroke to), please let me
      	know...
      dcb6f225
  36. 27 Aug, 2003 1 commit
    • Michael Natterer's avatar
      Enabled type-preserving DND of all kinds of items between different · c4dfccd8
      Michael Natterer authored
      2003-08-27  Michael Natterer  <mitch@gimp.org>
      
      	Enabled type-preserving DND of all kinds of items between
      	different images. Fixes bug #119983.
      
      	* app/core/gimpitem.[ch]: added new virtual function
      	GimpItem::convert() which duplicates an item for another image.
      
      	* app/core/gimplayer.[ch]: removed gimp_layer_new_from_drawable()
      	and made it a GimpItem::convert() implementation.
      
      	* app/vectors/gimpvectors.[ch]: removed gimp_vectors_convert() and
      	made it a GimpItem::convert() implementation.
      
      	* app/widgets/gimpitemtreeview.[ch]: removed GimpConvertItemFunc
      	typedef and function pointer in GimpItemTreeViewClass since
      	we can simply call gimp_item_convert() now.
      
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/display/gimpdisplayshell-dnd.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c: regenerated.
      c4dfccd8
  37. 08 Aug, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpconfig-serialize.c · 2dbb3880
      Sven Neumann authored
      2003-08-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig.c
      	* app/config/gimprc.c
      	* app/core/gimpitem.[ch]
      	* app/display/gimpprogress.[ch]
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpenummenu.c
      	* app/widgets/gimpfontselection.c
      	* app/widgets/gimpwidgets-utils.c: documentation fixes.
      2dbb3880
  38. 07 Jul, 2003 1 commit
    • Sven Neumann's avatar
      libgimpmath/gimpmathtypes.h moved struct declarations. · 5c4020ed
      Sven Neumann authored
      2003-07-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpvector.h: moved struct declarations.
      
      	* libgimpmath/gimpmatrix.[ch]: made GimpMatrix3 and GimpMatrix4
      	structs instead of typedefs for arrays. Pass them by reference,
      	not by value. Added lots of const qualifiers.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-transform-utils.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.c
      	* app/pdb/transform_tools_cmds.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      5c4020ed