1. 04 Apr, 2008 7 commits
    • Sven Neumann's avatar
      changed the names of the generated files. · b8e46959
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: changed the names of the generated files.
      
      	* app/pdb/Makefile.am
      	* app/pdb/*cmds.c: renamed.
      
      svn path=/trunk/; revision=25359
      b8e46959
    • Sven Neumann's avatar
      cosmetic change in the generated code. · ccce5a29
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: cosmetic change in the generated code.
      
      	* app/pdb/*_cmds.c: regenerated.
      
      svn path=/trunk/; revision=25358
      ccce5a29
    • Sven Neumann's avatar
      cosmetics. · 18b7d42c
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/plug_in.pdb: cosmetics.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      svn path=/trunk/; revision=25357
      18b7d42c
    • Sven Neumann's avatar
      added test for floating items. · 62e6240b
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimppdb-utils.[ch]: added test for floating items.
      
      	* tools/pdbgen/pdb/image.pdb: use it to improve error handling.
      
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25356
      62e6240b
    • Sven Neumann's avatar
      improved error handling. · 472fa72b
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: improved error handling.
      
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25355
      472fa72b
    • Sven Neumann's avatar
      added utility functions to check the image base type. · 54e8c482
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimppdb-utils.[ch]: added utility functions to check 
      the
      	image base type.
      
      	* tools/pdbgen/pdb/convert.pdb: use it so that we get a proper
      	error set on failure.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25354
      54e8c482
    • Sven Neumann's avatar
      minor cleanup. · 6f2e7768
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-convert.[ch]
      	(gimp_image_convert_set_dither_matrix): minor cleanup.
      
      	* tools/pdbgen/pdb/convert.pdb: changed accordingly.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25353
      6f2e7768
  2. 03 Apr, 2008 2 commits
    • Michael Natterer's avatar
      app/pdb/gimppdb-utils.c GIMP_PDB_CALLING_ERROR and · 953a62b6
      Michael Natterer authored
      2008-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/gimppdb-utils.c
      	* tools/pdbgen/pdb/text_layer.pdb: GIMP_PDB_CALLING_ERROR and
      	GIMP_PDB_EXECUTION_ERROR are not from the GimpPdbErrorCode
      	enum. Use GIMP_PDB_INVALID_ARGUMENT instead.
      
      	* app/pdb/text_layer_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25351
      953a62b6
    • Michael Natterer's avatar
      don't accept palettes with more than 256 colors. · 356d689e
      Michael Natterer authored
      2008-04-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-convert.c (gimp_image_convert): don't accept
      	palettes with more than 256 colors.
      
      	* tools/pdbgen/pdb/convert.pdb: fail here too for palettes
      	with > 256 colors. Fixes bug #525471.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25348
      356d689e
  3. 02 Apr, 2008 5 commits
    • Sven Neumann's avatar
      tools/pdbgen/Makefile.am new text layer PDB API created by Marcus Heese · d331fbd3
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/text_layer.pdb: new text layer PDB API 
      created
      	by Marcus Heese (see bug #164539).
      
      	* app/pdb/Makefile.am
      	* app/pdb/text_layer_cmds.c: new generated file.
      
      	* libgimp/Makefile.am
      	* libgimp/gimptextlayer_pdb.[ch]: new generated files.
      
      	* app/pdb/internal_procs.[ch]
      	* libgimp/gimp_pdb.h
      	* tools/pdbgen/groups.pl: regenerated.
      
      
      svn path=/trunk/; revision=25342
      d331fbd3
    • Sven Neumann's avatar
      special treatment for gimppdberror.h to get a saner include order. · 078a4b64
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl: special treatment for gimppdberror.h to 
      get
      	a saner include order.
      
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25341
      078a4b64
    • Sven Neumann's avatar
      added gimp_pdb_layer_is_text_layer(). · bd1feb95
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/gimppdb-utils.[ch]: added 
      gimp_pdb_layer_is_text_layer().
      
      
      svn path=/trunk/; revision=25339
      bd1feb95
    • Sven Neumann's avatar
      fixed bug in last commit. · c5143ab8
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/stddefs.pdb: fixed bug in last commit.
      
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpdrawable_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=25338
      c5143ab8
    • Sven Neumann's avatar
      added shortcut for contributions from Marcus Heese. · 52c09fcf
      Sven Neumann authored
      2008-04-02  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/stddefs.pdb: added shortcut for contributions 
      from 
      	Marcus Heese.
      
      	* tools/pdbgen/pdb/drawable.pdb: added 
      gimp_drawable_is_text_layer(),
      	taken from the patch attached to bug #164539.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      
      
      svn path=/trunk/; revision=25337
      52c09fcf
  4. 06 Mar, 2008 1 commit
    • Michael Natterer's avatar
      add gimp_pdb_get_vectors_stroke() which is a replacement for · bc5aa054
      Michael Natterer authored
      2008-03-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/gimppdb-utils.[ch]: add gimp_pdb_get_vectors_stroke()
      	which is a replacement for gimp_vectors_stroke_get_by_ID() and
      	sets an error message if the stroke doesn't exist.
      
      	* tools/pdbgen/pdb/vectors.pdb: use it.
      
      	* app/pdb/vectors_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25051
      bc5aa054
  5. 21 Feb, 2008 1 commit
    • Sven Neumann's avatar
      insert a missing newline for procedures without additional return values. · 698810f4
      Sven Neumann authored
      2008-02-21  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl (marshal_outargs): insert a missing newline
      	for procedures without additional return values.
      
      	* tools/pdbgen/pdb/display.pdb: cosmetics.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      
      svn path=/trunk/; revision=24933
      698810f4
  6. 09 Feb, 2008 1 commit
    • Michael Natterer's avatar
      don't include <gegl.h> · a0bcf5f0
      Michael Natterer authored
      2008-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/color.pdb: don't include <gegl.h>
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24844
      a0bcf5f0
  7. 07 Feb, 2008 2 commits
    • Michael Natterer's avatar
      add some perl evilness to make the includes in the generated files look · dc490d3b
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/app.pl: add some perl evilness to make the includes
      	in the generated files look almost like they should.
      
      	* tools/pdbgen/pdb/*.pdb: remove inclusion of "core/gimp.h" where
      	not needed, clean up lists of includes and functions and reorder
      	some functions to make more sense. Zero logic changed.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimpcontext_pdb.[ch]
      	* libgimp/gimpbrush_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=24829
      dc490d3b
    • Michael Natterer's avatar
      add get_pid() which returns getpid(). · 3a66deae
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-utils.[ch]: add get_pid() which returns getpid().
      
      	* app/base/base.c
      	* app/base/tile-swap.c
      	* app/core/gimp-utils.c
      	* app/plug-in/gimppluginshm.c
      	* app/widgets/gimpselectiondata.c
      	* tools/pdbgen/pdb/misc.pdb: use it instead of getpid() and remove
      	all the #ifdef'ed includes getpid() needs.
      
      	* tools/pdbgen/app.pl: remove support for these includes. Also
      	remove some perl cruft in the include handling which is not needed
      	any longer.
      
      	* app/pdb/misc_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24827
      3a66deae
  8. 04 Feb, 2008 3 commits
    • 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
    • Michael Natterer's avatar
      add gimp_pdb_item_is_attached() which is a replacement for · 9d3850bc
      Michael Natterer authored
      2008-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/gimppdb-utils.[ch]: add gimp_pdb_item_is_attached()
      	which is a replacement for gimp_item_is_attached() and returns a
      	proper error message.
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: use it.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/drawable_transform_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/floating_sel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24790
      9d3850bc
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/gimpdrawable-brightness-contrast.[ch] · 3a9f7d7c
      Michael Natterer authored
      2008-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-brightness-contrast.[ch]
      	* app/core/gimpdrawable-color-balance.[ch]
      	* app/core/gimpdrawable-colorize.[ch]
      	* app/core/gimpdrawable-curves.[ch]
      	* app/core/gimpdrawable-hue-saturation.[ch]
      	* app/core/gimpdrawable-posterize.[ch]
      	* app/core/gimpdrawable-threshold.[ch]: new files containing all
      	the code that was in pdb/color_cmds.c. Cleaned up and GEGL-enabled
      	everyting.
      
      	* tools/pdbgen/pdb/color.pdb: remove almost all code and simply call
      	the new functions.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24784
      3a9f7d7c
  9. 22 Jan, 2008 1 commit
    • Sven Neumann's avatar
      added new function gimp_use_gegl(). · 64880a81
      Sven Neumann authored
      2008-01-22  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp.[ch]: added new function gimp_use_gegl().
      
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpdrawable-invert.c
      	* app/tools/gimpimagemaptool.c
      	* app/pdb/color_cmds.c
      	* tools/pdbgen/pdb/color.pdb: use it instead of accessing the
      	GimpCoreConfig struct directly.
      
      svn path=/trunk/; revision=24668
      64880a81
  10. 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
  11. 04 Jan, 2008 2 commits
  12. 29 Dec, 2007 1 commit
    • Sven Neumann's avatar
      let gimp_drawable_invert() take a GimpProgress parameter. · ff768c52
      Sven Neumann authored
      2007-12-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-invert.[ch]: let gimp_drawable_invert()
      	take a GimpProgress parameter.
      
      	* tools/pdbgen/pdb/color.pdb
      	* app/pdb/color_cmds.c
      	* app/actions/drawable-commands.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24473
      ff768c52
  13. 25 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/channels-commands.c app/actions/colormap-actions.c · 75061fcc
      Michael Natterer authored
      2007-12-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/channels-commands.c
      	* app/actions/colormap-actions.c
      	* app/actions/colormap-commands.c
      	* app/actions/image-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpimage-colorhash.c
      	* app/core/gimpimage-colormap.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-sample-points.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpimageundo.c
      	* app/core/gimpitem-preview.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/core/gimpprojection-construct.c
      	* app/core/gimpprojection.c
      	* app/core/gimpselection.c
      	* app/core/gimpundo.c
      	* app/dialogs/layer-options-dialog.c
      	* app/dialogs/print-size-dialog.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpstatusbar.c
      	* app/file/file-open.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimprotatetool.c
      	* app/vectors/gimpvectors-export.c
      	* app/vectors/gimpvectors-import.c
      	* app/vectors/gimpvectors.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimpnavigationview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: use accessors for many image properties.
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24432
      75061fcc
  14. 14 Dec, 2007 2 commits
    • Michael Natterer's avatar
      use gimp_pdb_get_buffer() which sets a proper error instead of looking up · 34de04a0
      Michael Natterer authored
      2007-12-14  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: use gimp_pdb_get_buffer() which
      	sets a proper error instead of looking up the buffers manually.
      
      	* app/pdb/edit_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24363
      34de04a0
    • Michael Natterer's avatar
      added GErrors when functions can fail. · db553767
      Michael Natterer authored
      2007-12-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.[ch]: added GErrors when functions can fail.
      
      	* app/actions/edit-commands.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/edit.pdb: same here (*don't* pass the error as
      	usual since these functions never fail but have a boolean return
      	value indicating success instead; ugly, but better than having the
      	gimp_message() calls in the core). Also changed the named buffer
      	cut and copy functions to do the same (never fail but return a
      	NULL buffer name on failure), so they behave as documented.
      
      	* app/pdb/edit_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24362
      db553767
  15. 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
  16. 11 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/pdb/Makefile.am new utility functions which look up brushes, patterns · 2424e2ba
      Michael Natterer authored
      2007-12-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/Makefile.am
      	* app/pdb/gimppdb-utils.[ch]: new utility functions which look up
      	brushes, patterns etc. and set appropriate error messages if the
      	objects are not found.
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/buffer.pdb
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/pattern.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use them here. Also set non_empty
      	to TRUE for all brush, pattern etc. names.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/buffer_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/pattern_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24318
      2424e2ba
  17. 09 Dec, 2007 1 commit
  18. 07 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added GErrors to gimp_selection_extract() and gimp_selection_float(). · 58c2dd9b
      Michael Natterer authored
      2007-12-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpselection.[ch]: added GErrors to
      	gimp_selection_extract() and gimp_selection_float().
      
      	* app/core/gimp-edit.c
      	* app/tools/gimpeditselectiontool.c
      	* app/actions/select-commands.c: handle the returned error.
      
      	* app/core/gimpdrawable-transform.c: pass NULL errors since this
      	file knows what it does and won't get errors.
      
      	* tools/pdbgen/pdb/selection.pdb: pass the error.
      
      	* app/pdb/selection_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24286
      58c2dd9b
  19. 06 Dec, 2007 4 commits
    • Michael Natterer's avatar
      app/core/gimpimage-merge.[ch] added GError parameters. · 0ed8370a
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-convert.[ch]: added GError parameters.
      
      	* app/dialogs/convert-dialog.c
      	* app/actions/image-commands.c
      	* app/actions/vectors-commands.c: handle the returned error.
      
      	* tools/pdbgen/pdb/convert.pdb: pass the error.
      
      	* app/pdb/convert_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24276
      0ed8370a
    • Michael Natterer's avatar
      add GError parameter. · 90606bc4
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-bucket-fill.[ch]: add GError parameter.
      
      	* app/tools/gimpbucketfilltool.c: handle the returned error.
      
      	* tools/pdbgen/pdb/edit.pdb: pass the error.
      
      	* app/pdb/edit_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24275
      90606bc4
    • 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
    • Michael Natterer's avatar
      Move some gimp_message() calls where they belong: · 543302f5
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	Move some gimp_message() calls where they belong:
      
      	* app/core/gimplayer-floating-sel.[ch]: removed unreachable
      	gimp_message() in floating_sel_anchor() and added GError parameter
      	to floating_sel_to_layer().
      
      	* app/core/gimplayer.c
      	* app/core/gimpimage-quick-mask.c
      	* app/actions/layers-commands.c: pass NULL or an error as
      	appropriate and show the error message.
      
      	* tools/pdbgen/pdb/floating_sel.pdb: set the error when the passed
      	layer was no floating selection.
      
      	* app/pdb/floating_sel_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24272
      543302f5
  20. 05 Dec, 2007 2 commits