1. 19 May, 2008 1 commit
  2. 17 May, 2008 1 commit
    • Michael Natterer's avatar
      applied patch from Lars-Peter Clausen which adds · 18502898
      Michael Natterer authored
      2008-05-17  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/gradient.pdb: applied patch from Lars-Peter
      	Clausen which adds gimp-gradient-get-number-of-segments. Fixes
      	bug #533474.
      
      	* app/pdb/gradient-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimpgradient_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: add the new symbol.
      
      
      svn path=/trunk/; revision=25683
      18502898
  3. 26 Apr, 2008 1 commit
  4. 21 Apr, 2008 1 commit
    • Michael Natterer's avatar
      Move the shadow tiles from the image to the drawable. Fixes bug #100469. · e5be5664
      Michael Natterer authored
      2008-04-21  Michael Natterer  <mitch@gimp.org>
      
      	Move the shadow tiles from the image to the drawable.
      	Fixes bug #100469.
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-shadow.[ch]: new files implementing
      	the shadow tiles.
      
      	* app/core/gimpimage.[ch]: remove the shadow tile manager from the
      	GimpImage struct. Remove gimp_image_get_shadow_tiles() and
      	_free_shadow_tiles().
      
      	* app/core/gimpdrawable.[ch]: add the shadow tile manager
      	here. Remove get_shadow_tiles() and merge_shadow(). Free the
      	shadow tiles in finalize and when the drawable gets removed from
      	the image.
      
      	* app/core/gimpdrawable-brightness-contrast.c
      	* app/core/gimpdrawable-color-balance.c
      	* app/core/gimpdrawable-colorize.c
      	* app/core/gimpdrawable-curves.c
      	* app/core/gimpdrawable-desaturate.c
      	* app/core/gimpdrawable-equalize.c
      	* app/core/gimpdrawable-hue-saturation.c
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpdrawable-levels.c
      	* app/core/gimpdrawable-operation.c
      	* app/core/gimpdrawable-posterize.c
      	* app/core/gimpdrawable-threshold.c
      	* app/core/gimpimagemap.c: changed accordingly. Free the shadow tiles
      	after using them.
      
      	* app/plug-in/gimpplugin-cleanup.[ch]: add
      	gimp_plug_in_cleanup_add_shadow() and _remove_shadow() which keep
      	track of whether shadow tiles were created on behalf of a plug-in
      	procedure.
      
      	(gimp_plug_in_cleanup): free shadow tiles which were created but
      	not destroyed by a plug-in procedure.
      
      	* app/plug-in/gimpplugin-message.c (plug_in_handle_tile_request):
      	call gimp_plug_in_cleanup_add_shadow() whenever a plug-in requests
      	shadow tiles.
      
      	* tools/pdbgen/pdb/drawable.pdb: use the new drawable shadow
      	API. Add new procedure gimp-drawable-free-shadow. Call
      	gimp_plug_in_cleaup_remove_shadow() when it gets called.
      
      	* tools/pdbgen/pdb/image.pdb: deprecate gimp-image-free-shadow.
      	Calling it has no effect any longer.
      
      	* app/pdb/drawable-cmds.c
      	* app/pdb/image-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=25510
      e5be5664
  5. 20 Apr, 2008 1 commit
    • Michael Natterer's avatar
      replaced unused parameter "context" by "progress" and pass the progress on · 4c2a0f58
      Michael Natterer authored
      2008-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-levels.[ch]: replaced unused parameter
      	"context" by "progress" and pass the progress on internally.
      	Factor common code out to gimp_drawable_levels_internal().
      
      	* tools/pdbgen/pdb/color.pdb: pass progress instead of context.
      
      	* app/pdb/color-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=25501
      4c2a0f58
  6. 07 Apr, 2008 1 commit
    • Sven Neumann's avatar
      canonicalize the procedure name and also try compat names. · 2f8cf53b
      Sven Neumann authored
      2008-04-07  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/procedural_db.pdb (procedural_db_proc_exists):
      	canonicalize the procedure name and also try compat names.
      
      	* app/pdb/procedural-db-cmds.c: regenerated.
      
      svn path=/trunk/; revision=25386
      2f8cf53b
  7. 06 Apr, 2008 1 commit
  8. 04 Apr, 2008 10 commits
    • Michael Natterer's avatar
      reorder functions so getters and setters are together, rename fontsize() · b5207f42
      Michael Natterer authored
      2008-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/text_layer.pdb: reorder functions so getters
      	and setters are together, rename fontsize() functions to
      	font_size(), fix get_color() implementation.
      
      	* app/pdb/text-layer-cmds.c
      	* libgimp/gimptextlayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      
      
      svn path=/trunk/; revision=25368
      b5207f42
    • Sven Neumann's avatar
      added gimp_vectors_new_from_text_layer(). · 5fce4a4d
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/vectors.pdb: added
      	gimp_vectors_new_from_text_layer().
      
      	* app/pdb/internal-procs.c
      	* app/pdb/vectors-cmds.c
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      
      svn path=/trunk/; revision=25367
      5fce4a4d
    • Sven Neumann's avatar
      added missing include. · b5c23c3d
      Sven Neumann authored
      2008-04-04  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/drawable.pdb: added missing include.
      
      	* app/pdb/drawable-cmds.c: regenerated.
      
      svn path=/trunk/; revision=25360
      b5c23c3d
    • 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
  9. 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
  10. 02 Apr, 2008 4 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
      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
  11. 31 Mar, 2008 1 commit
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 04 Jan, 2008 1 commit
    • Michael Natterer's avatar
      optionally use gegl where we already have operations (breaking the · 45b2a5e0
      Michael Natterer authored
      2008-01-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/color.pdb: optionally use gegl where we already
      	have operations (breaking the indentation to keep the diff small
      	and readable).
      
      	* app/pdb/Makefile.am: add GEGL_CFLAGS.
      
      	* app/pdb/color_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24531
      45b2a5e0
  20. 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
  21. 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
  22. 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
  23. 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