1. 25 Oct, 2008 2 commits
    • 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
    • Michael Natterer's avatar
      add "gboolean use_context_color" parameter to gimp_stroke_options_new() · efb6d15a
      Michael Natterer authored
      2008-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpstrokeoptions.[ch]: add "gboolean use_context_color"
      	parameter to gimp_stroke_options_new() and set the passed context
      	as parent of the new options only if it's TRUE. Also fixed the
      	GimpConfig::duplicate() implementation to really duplicate the
      	object and not just return an object containing default values.
      
      	* app/core/gimpfilloptions.[ch]: add gimp_fill_options_new().
      
      	* app/actions/select-commands.c
      	* app/dialogs/stroke-dialog.c
      	* app/actions/vectors-commands.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/paths.pdb: pass TRUE to gimp_stroke_options_new().
      
      	* app/pdb/edit-cmds.c
      	* app/pdb/paths-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27393
      efb6d15a
  2. 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
  3. 28 Jul, 2008 1 commit
    • Sven Neumann's avatar
      check that the passed vectors item is attached. · 77402aae
      Sven Neumann authored
      2008-07-28  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb (edit_stroke_vectors_invoker): check
      	that the passed vectors item is attached.
      
      	* app/pdb/edit-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=26329
      77402aae
  4. 14 Jul, 2008 1 commit
    • Sven Neumann's avatar
      fixed documentation (bug #542972). · 66b0b1d4
      Sven Neumann authored
      2008-07-15  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: fixed documentation (bug #542972).
      
      	* app/pdb/edit-cmds.c
      	* libgimp/gimpedit_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=26193
      66b0b1d4
  5. 07 Feb, 2008 1 commit
    • 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
  6. 04 Feb, 2008 1 commit
    • 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
  7. 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
  8. 06 Dec, 2007 2 commits
    • 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
  9. 06 May, 2007 1 commit
    • Simon Budig's avatar
      make gimp-edit-paste-as-new not fail at an empty clipboard, but return -1 · 196dda77
      Simon Budig authored
      2007-05-05  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: make gimp-edit-paste-as-new not fail
      	at an empty clipboard, but return -1 as image id.
      
      	* app/pdb/edit_cmds.c
      	* libgimp/gimpedit_pdb.c: regenerated.
      
      	* plug-ins/script-fu/scripts/paste-as-brush.scm
      	* plug-ins/script-fu/scripts/paste-as-pattern.scm: Changed
      	accordingly, fixes bug #357059.
      
      	* modules/controller_linux_input.c: changed some axis names to
      	make more sense.
      
      
      svn path=/trunk/; revision=22429
      196dda77
  10. 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
  11. 26 Apr, 2007 1 commit
    • Michael Natterer's avatar
      renamed GimpParamSpecString's flag "no_validate" to "allow_non_utf8". · ff8ba7ea
      Michael Natterer authored
      2007-04-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparamspecs.[ch]: renamed GimpParamSpecString's
      	flag "no_validate" to "allow_non_utf8".
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/*.pdb: renamed argument flag
      	"no_validate" (which turns off utf8-validation for strings) to
      	"allow_non_utf8" and renamed "no_success" (which turns off
      	argument validation alltogether) to "no_validate".
      	Doesn't affect generated code.
      
      
      svn path=/trunk/; revision=22350
      ff8ba7ea
  12. 25 Apr, 2007 1 commit
    • Michael Natterer's avatar
      added "gboolean non_empty" to require the string being non-empty. Changed · d6fd5506
      Michael Natterer authored
      2007-04-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparamspecs.[ch] (struct GimpParamSpecString)
      	(gimp_param_spec_string): added "gboolean non_empty" to require
      	the string being non-empty. Changed validation accordingly.
      	Also fixed validation for static strings (we were happily
      	freeing and modifying them before).
      
      	* app/xcf/xcf.c: filenames should be non-empty.
      	* app/pdb/gimp-pdb-compat.c: compat strings shouldn't.
      
      	* tools/pdbgen/app.pl: add support for $arg->{non_empty} and
      	changed generation of calls to gimp_param_spec_string().
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/vectors.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/unit.pdb
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/buffer.pdb: require non-empty strings for data
      	object names, procedure names, unit strings, PDB data identifiers
      	and buffer names. Removed some manual strlen() checks, all other
      	places just got better error reporting for free (proper validation
      	error instead of unspecific execution error).
      
      	* app/pdb/*_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=22329
      d6fd5506
  13. 09 Dec, 2006 1 commit
  14. 25 Oct, 2006 1 commit
    • Simon Budig's avatar
      added gimp_edit_stroke_vectors () deprecated gimp_path_stroke_current () · 0de5d32f
      Simon Budig authored
      2006-10-26  Simon Budig  <simon@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_stroke_vectors ()
      	* tools/pdbgen/pdb/paths.pdb: deprecated gimp_path_stroke_current ()
      
      	* libgimp/gimp.def: updated.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/paths_cmds.c
      	* devel-docs/libgimp/tmpl/gimppaths.sgml
      	* libgimp/gimpedit_pdb.[ch]
      	* libgimp/gimppaths_pdb.[ch]: regenerated.
      0de5d32f
  15. 15 Aug, 2006 1 commit
    • Sven Neumann's avatar
      app/core/core-enums.h tools/pdbgen/pdb/edit.pdb applied patch from David · 0b5a30d1
      Sven Neumann authored
      2006-08-15  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: applied patch from David
      	Gowers that adds extended PDB interface for gimp-edit-bucket-fill,
      	gimp-by-color-select and gimp-fuzzy-select. Fixes bugs #348291 and
      	#347499.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/selection_tools_cmds.c
      	* libgimp/gimpedit_pdb.[ch]
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpenums.h
      	* libgimp/gimpselectiontools_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/gimp.def: updated.
      0b5a30d1
  16. 05 Aug, 2006 1 commit
    • Michael Natterer's avatar
      Applied (modified and enhanced) patch from Chris Moller which allows tools · 9dabd23e
      Michael Natterer authored
      2006-08-05  Michael Natterer  <mitch@gimp.org>
      
      	Applied (modified and enhanced) patch from Chris Moller which allows
      	tools to distinguish similar colors not only by composite, but also
      	by R, G, B, H, S and V. Fixes bug #348291.
      
      	* app/core/core-enums.[ch]: added new enum GimpSelectCriterion
      	which can be one of { COMPOSITE, R, G, B, H, S, V }.
      
      	* app/core/gimpimage-contiguous-region.[ch]: added
      	select_criterion params and create the region based on difference
      	by the selected criterion.
      
      	* app/core/gimpchannel-select.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]: take criterion params and
      	pass them through to the contiguous region functions.
      
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpselectionoptions.[ch]: added criterion properties
      	and GUI to select it.
      
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpfuzzyselecttool.c: pass the selected criterion to
      	the resp. core functions.
      
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/display/gimpdisplayshell-dnd.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly
      	(simply pass GIMP_SELECT_CRITERION_COMPOSITE in most cases).
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      9dabd23e
  17. 14 Jun, 2006 1 commit
    • Michael Natterer's avatar
      in help texts, refer to other procedures using_c_syntax(). This way · e4e581cc
      Michael Natterer authored
      2006-06-14  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/[many].pdb: in help texts, refer to other
      	procedures using_c_syntax(). This way gtk-doc can cross-reference
      	them correctly in libgimp, and app.pl will transform them
      	'to-canonical-names' for PDB registering.
      
      	* app/pdb/[many]_cmds.c
      	* libgimp/[many]_pdb.c: regenerated.
      e4e581cc
  18. 18 May, 2006 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/app.pl removed code that used to fiddles with the argument · fae8657c
      Sven Neumann authored
      2006-05-18  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/lib.pl: removed code that used to fiddles with
      the
      	argument descriptions.
      
      	* tools/pdbgen/pdb/*.pdb: removed %%desc%% placeholder, added
      some
      	missing argument descriptions.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimpdrawabletransform_pdb.c
      	* libgimp/gimpfloatingsel_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimppainttools_pdb.c: regenerated.
      
      	* app/core/Makefile.am
      	* app/core/gimpparamspecs-desc.[ch] (gimp_param_spec_get_desc):
      	new function that creates a parameter description for the PDB.
      
      	* app/pdb/gimppdb-query.c
      	* app/pdb/procedural_db_cmds.c: use the new function to create
      the
      	descriptions on the fly.
      fae8657c
  19. 24 Mar, 2006 2 commits
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/brushes.pdb · 0de4f680
      Michael Natterer authored
      2006-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/gradient.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/plug_in.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: removed all ':' before and all
      	'()' around %%desc%%.
      
      	* tools/pdbgen/app.pl: add () to int32, float and boolean
      	descriptions automatically. They all look the same now.
      
      	* tools/pdbgen/lib.pl: tweaked regex so %%desc%% doesn't appear in
      	libgimp API docs.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/context_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/plug_in_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* libgimp/gimpedit_pdb.c
      	* libgimp/gimpplugin_pdb.c: regenerated.
      0de4f680
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/brushes.pdb · 328345dc
      Michael Natterer authored
      2006-03-24  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/gradient.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/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb
      	* tools/pdbgen/pdb/undo.pdb
      	* tools/pdbgen/pdb/vectors.pdb: replaced 'True', 'true' and
      	'non-zero' by 'TRUE' where appropriate. Added %%desc%% to enum arg
      	descriptions where missing. Get object names using
      	gimp_object_get_name(). Set 'success' more consistently. Removed
      	{ } from all enum arg descriptions...
      
      	* tools/pdbgen/app.pl (make_arg_recs): ...and add the { }
      	generically here. Removed some code that replaced the ',' by 'or'
      	for enums without { } so all enums are now documented the same.
      
      	* app/pdb/<some>_cmds.c
      	* libgimp/<some>_pdb.c: regenerated.
      328345dc
  20. 23 Mar, 2006 1 commit
    • Michael Natterer's avatar
      removed std_image_arg(), std_antialias_arg() and std_orientation_enum(). · cfa08678
      Michael Natterer authored
      2006-03-23  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/stddefs.pdb: removed std_image_arg(),
      	std_antialias_arg() and std_orientation_enum().
      
      	* tools/pdbgen/pdb/*.pdb: changed accordingly. Did a global
      	s/gimage/image/. Some more cleanup.
      
      	* tools/pdbgen/pdb/grid.pdb
      	* tools/pdbgen/pdb/guides.pdb: removed utility functions.
      
      	* tools/pdbgen/pdb/vectors.pdb: reordered procedures. Removed
      	obsolete procedure.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/grid_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/undo_cmds.c
      	* app/pdb/vectors_cmds.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpvectors_pdb.[ch]: regenerated.
      cfa08678
  21. 22 Mar, 2006 1 commit
    • Michael Natterer's avatar
      export GimpBrushGeneratedShape to the PDB. · 2368a6a3
      Michael Natterer authored
      2006-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h: export GimpBrushGeneratedShape to the PDB.
      
      	* tools/pdbgen/pdb/brush.pdb: use it instead of int32.
      
      	* libgimp/gimp.def: add gimp_brush_generated_shape_get_type().
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/floating_sel.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/fonts.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/misc.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/plug_in.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: more perl/C code separation,
      	removed some more utility functions, cleanup.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/enums.pl
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpenums.h: regenerated.
      2368a6a3
  22. 21 Mar, 2006 1 commit
    • Michael Natterer's avatar
      removed support for arg->cond. · 1effc52d
      Michael Natterer authored
      2006-03-21  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/app.pl: removed support for arg->cond.
      
      	* tools/pdbgen/edit.pdb
      	* tools/pdbgen/image.pdb: move its logic into the C code.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      1effc52d
  23. 15 Mar, 2006 2 commits
    • Michael Natterer's avatar
      define init values for all pdb types. · 04bf6d04
      Michael Natterer authored
      2006-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb.pl: define init values for all pdb types.
      
      	* tools/pdbgen/app.pl: unconditionally initialize all return
      	values, and no parameter.
      
      	* tools/pdbgen/pdb/*.pdb: removed init => 1 from all arguments
      	and return values.
      
      	* app/pdb/*_cmds.c: regenerated.
      04bf6d04
    • Michael Natterer's avatar
      tools/pdbgen/pdb/context.pdb tools/pdbgen/pdb/convert.pdb · 82c8729d
      Michael Natterer authored
      2006-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/misc.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/undo.pdb
      	* tools/pdbgen/pdb/unit.pdb: get rid of much more alias => 'foo'.
      	Even more cleanup.
      
      	* app/pdb/context_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/misc_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/undo_cmds.c
      	* app/pdb/unit_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      82c8729d
  24. 14 Mar, 2006 1 commit
    • Michael Natterer's avatar
      remove lots of perl crack: - create almost all parameter arrays manually · 2ff56f8d
      Michael Natterer authored
      2006-03-14  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/*.pdb: remove lots of perl crack:
      	- create almost	all parameter arrays manually instead of
      	  generating them from utility functions
      	- removed lots of other utility functions
      	- moved variable declarations into the enclosed code snippets
      	  where possible
      	- some cleanup and API doc fixes
      
      	* tools/pdbgen/stddefs.pdb: added some perl crack:
      	define utility functions for all contributors which own more than
      	some functions, so they can change their names and email addresses
      	at a central place.
      
      	* app/pdb/[many].c: regenerated.
      
      	* libgimp/gimpcolor_pdb.c
      	* libgimp/gimpdrawabletransform_pdb.c
      	* libgimp/gimptransformtools_pdb.c
      	* libgimp/gimpvectors_pdb.c: ditto. Changed affect only API docs.
      2ff56f8d
  25. 30 Sep, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/image-commands.c app/actions/layers-commands.c · e7e2296f
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/view-actions.c
      	* app/core/gimpdrawable-foreground-extract.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpprogress.c
      	* app/dialogs/convert-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpthumbbox.c
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: removed '...' from
      	progress messages. Removed spaces between the text and the '...'
      	in some other places.
      
      	* app/pdb/drawable_transform_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      e7e2296f
  26. 27 Sep, 2005 1 commit
    • Michael Natterer's avatar
      added gimp_buffer_get_bytes() and gimp_buffer_get_image_type(). · 30f1e8ef
      Michael Natterer authored
      2005-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbuffer.[ch]: added gimp_buffer_get_bytes()
      	and gimp_buffer_get_image_type().
      
      	* tools/pdbgen/pdb/edit.pdb: removed edit_named_rename() and
      	edit_named_delete().
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/buffer.pdb: new PDB group featuring
      	buffer_rename(), delete(), get_width(), get_height(), get_bytes(),
      	get_image_type().
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/buffer_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbuffer_pdb.[ch]
      	* libgimp/gimpedit_pdb.[ch]: (re)generated.
      30f1e8ef
  27. 05 Sep, 2005 1 commit
    • Michael Natterer's avatar
      applied patch from David Gowers which adds "gimp-edit-named-delete". · dc65f101
      Michael Natterer authored
      2005-09-05  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/edit.pdb: applied patch from David Gowers which
      	adds "gimp-edit-named-delete". Addresses bug #315130. Added
      	"gimp-edit-named-rename" additionally.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      dc65f101
  28. 02 Sep, 2005 1 commit
    • Michael Natterer's avatar
      don't create a display here. · 89bb3fff
      Michael Natterer authored
      2005-09-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.[ch] (gimp_edit_paste_as_new): don't create a
      	display here.
      
      	(gimp_edit_named_cut)
      	(gimp_edit_named_copy)
      	(gimp_edit_named_copy_visible): new functions containing named
      	buffer wrappers around the functions affecting the global buffer
      	only.
      
      	* app/actions/edit-commands.c: use the new functions instead of
      	implementing them here, create a display for the image returned
      	by paste as new.
      
      	* app/actions/buffers-commands.c
      	* app/widgets/gimptoolbox-dnd.c: create displays here too.
      
      	* tools/pdbgen/pdb/edit.pdb: added wrappers for paste as new and
      	wrappers for all the cut/copy/paste named stuff.
      	Fixes bug #315130. Cleaned up and de-obfuscated.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      89bb3fff
  29. 16 Jun, 2005 1 commit
  30. 15 Jun, 2005 1 commit
  31. 12 Dec, 2004 1 commit
    • Michael Natterer's avatar
      added new function copy_region_nocow() as a workaround for the fact that · 53c3ff18
      Michael Natterer authored
      2004-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs.[ch]: added new function
      	copy_region_nocow() as a workaround for the fact that sharing
      	tiles with the projection is heavily broken.
      
      	* app/base/tile-manager.c (tile_invalidate): added a warning when
      	entering the code path that breaks badly.
      
      	* app/core/gimp-edit.[ch]: added gimp_edit_copy_visible(), using
      	the non-COW copying function above.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_COPY_VISIBLE.
      
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.[ch]: added action & callback for
      	"edit-copy-visible".
      
      	* menus/image-menu.xml.in: added "edit-copy-visible" to the image
      	menu.
      
      	* tools/pdbgen/pdb/edit.pdb: added gimp_edit_copy_visible()
      	PDB wrapper.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpedit_pdb.[ch]: regenerated.
      
      	* plug-ins/script-fu/scripts/copy-visible.scm: removed all code
      	and made it a backward compat wrapper around gimp-edit-copy-visible.
      	Fixes bug #138662.
      53c3ff18
  32. 11 Nov, 2004 1 commit
    • Michael Natterer's avatar
      app/core/gimp-edit.c app/core/gimpdrawable-blend.c · f6e5ecb2
      Michael Natterer authored
      2004-11-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpitem.c (gimp_item_stroke): added precondition
      	checks for gimp_item_is_attached() and removed checks for
      	gimp_item_get_image() to actually return an image (because it
      	always returns an image).
      
      	* tools/pdbgen/pdb/edit.pdb: let all wrappers fail if the drawable
      	is not attached.
      
      	* app/pdb/edit_cmds.c: regenerated.
      f6e5ecb2
  33. 29 Oct, 2004 1 commit
  34. 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
  35. 31 Aug, 2004 1 commit
    • Michael Natterer's avatar
      added GimpProgress parameter to gimp_drawable_transform_affine(). · 6b43c205
      Michael Natterer authored
      2004-08-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-transform.[ch]: added GimpProgress
      	parameter to gimp_drawable_transform_affine().
      
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: show progress for "blend"
      	and all transform functions.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      6b43c205