1. 07 Aug, 2008 1 commit
    • Sven Neumann's avatar
      added new procedure 'gimp-layer-new-from-visible'. · a29da323
      Sven Neumann authored
      2008-08-07  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/layer.pdb: added new procedure
      	'gimp-layer-new-from-visible'.
      
      	* app/pdb/layer-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimp.def: updated.
      
      
      svn path=/trunk/; revision=26422
      a29da323
  2. 19 May, 2008 1 commit
  3. 15 Sep, 2007 1 commit
    • Michael Natterer's avatar
      added gimp-layer-flatten. Fixes bug #477026. Fixed docs of · c1b9979d
      Michael Natterer authored
      2007-09-15  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/layer.pdb: added gimp-layer-flatten.
      	Fixes bug #477026. Fixed docs of gimp-layer-add-alpha.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      	* libgimp/gimp.def: changed accordingly.
      
      
      svn path=/trunk/; revision=23556
      c1b9979d
  4. 28 Mar, 2007 1 commit
    • Sven Neumann's avatar
      app/pdb/layer_cmds.c regenerated. · 3e5bb503
      Sven Neumann authored
      2007-03-28  Sven Neumann  <sven@gimp.org>
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: regenerated.
      
      
      svn path=/trunk/; revision=22189
      3e5bb503
  5. 09 Jan, 2007 1 commit
    • Sven Neumann's avatar
      HACKING tools/pdbgen/lib.pl fixed spelling of "auto-generated". · dcc6ebd1
      Sven Neumann authored
      2007-01-09  Sven Neumann  <sven@gimp.org>
      
      	* HACKING
      	* tools/pdbgen/lib.pl
      	* tools/pdbgen/app.pl: fixed spelling of "auto-generated".
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb: improved wording and fixed
      	spelling errors.
      	
      	* libgimp/gimp.c: fixed spelling errors.
      
      	* app/pdb/*.h: 
      	* libgimp/gimp*_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=21676
      dcc6ebd1
  6. 13 Sep, 2006 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/color.pdb tools/pdbgen/pdb/drawable.pdb · 1303b872
      Sven Neumann authored
      2006-09-13  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paint_tools.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: use the canonical form
      when
      	refering to parameters in the procedure description.
      1303b872
  7. 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
  8. 12 Apr, 2006 1 commit
  9. 02 Apr, 2006 1 commit
    • Michael Natterer's avatar
      use the variable initializer defined with the PDB type instead of figuring · 850dcb48
      Michael Natterer authored
      2006-04-02  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/lib.pl: use the variable initializer defined with
      	the PDB type instead of figuring it manually. Removed a line of
      	code that checked for enums without "Gimp" prefix.
      
      	* libgimp/gimpbrush_pdb.c
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpcontext_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimpunit_pdb.c
      	* libgimp/gimpvectors_pdb.c: all doubles are initialized with 0.0
      	instead of 0 now.
      850dcb48
  10. 24 Mar, 2006 1 commit
    • 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
  11. 15 Mar, 2006 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/channel.pdb removed dim(), accessors(), get_prop() and · 711c191f
      Michael Natterer authored
      2006-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed dim(), accessors(),
      	get_prop() and set_prop() utility functions and expand everything
      	to pdbgen boilerplate code. Use the real layer mask API instead of
      	the crap from pdb_glue.h. Fixed some API docs.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: regenerated.
      
      	* app/pdb/Makefile.am
      	* app/pdb/pdb_glue.h: bye bye uglyness.
      711c191f
  12. 02 Aug, 2005 1 commit
    • Michael Natterer's avatar
      Changed naming scheme for PDB procedure names from · 853f04d5
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	Changed naming scheme for PDB procedure names from
      	random_crap_that_traditionally_has_underscores to
      	enforced-canonical-identifiers. I'm pretty sure some things are
      	broken after this commit. More changes to come...
      
      	* libgimpbase/gimpbase.def
      	* libgimpbase/gimputils.[ch]: added gimp_canonicalize_identifier().
      
      	* app/pdb/procedural_db.[ch] (struct ProcRecord): added
      	"gchar *original_name" to keep a procedure's original name as
      	reigstered by plug-ins (compat cruft).
      
      	(procedural_db_init_procs): canonicalized list of deprecated
      	procedures.
      
      	* app/plug-in/plug-in-proc-def.c (plug_in_proc_def_free): free
      	original_name.
      
      	* app/plug-in/plug-in-message.c: canonicalize procedure names
      	which are received over the wire.
      
      	* app/plug-in/plug-in-rc.c: serialize the original_name and create
      	the canonicalized name on-the-fly when deserializing.
      
      	* app/plug-in/plug-in-run.c: pass the original_name to plug-ins
      	when running them because they strcmp() the passed procedure name.
      
      	* app/plug-in/plug-ins.c (plug_ins_add_to_db): pass
      	canonical procedure names to procedural_db_execute().
      
      	(plug_ins_file_proc_compare): special-case "gimp-xcf", not "gimp_xcf".
      
      	* app/xcf/xcf.c: changed static XCF procedures accordingly.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/lib.pl: do some trivial substitutions to generate
      	canonicalized names in app/, and C identifiers with underscores in
      	libgimp/.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.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/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: canonicaloized procedure
      	names in calls to std_pdb_deprecated() and in procedure names in
      	generated C code.
      
      	* app/pdb/*_cmds.c
      	* libgimp/*_pdb.c: regenerated.
      853f04d5
  13. 10 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/layers-actions.c app/actions/layers-commands.[ch] · 20b4769c
      Michael Natterer authored
      2005-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.[ch]
      	* app/text/gimptextlayer-xcf.c
      	* app/widgets/gimphelp-ids.h
      	* app/widgets/gimplayertreeview.[ch]
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb
      	* menus/image-menu.xml.in
      	* libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in
      	preparation for more layer locking flags.
      
      	* app/pdb/procedural_db.c
      	* libgimp/gimplayer.[ch]: added compat stuff for preserve_trans.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/rotate.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
      	* plug-ins/script-fu/scripts/blend-anim.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/bovinated-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chalk.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/drop-shadow.scm
      	* plug-ins/script-fu/scripts/gimp-headers.scm
      	* plug-ins/script-fu/scripts/gimp-labels.scm
      	* plug-ins/script-fu/scripts/glowing-logo.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/neon-logo.scm
      	* plug-ins/script-fu/scripts/perspective-shadow.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/waves-anim.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      20b4769c
  14. 05 Mar, 2005 1 commit
    • Manish Singh's avatar
      fix documentation of edit_mask accessors. · 838cf193
      Manish Singh authored
      2005-03-04  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/layer.pdb: fix documentation of edit_mask
              accessors.
      
              * libgimp/gimplayer_pdb.c
              * app/pdb/layer_cmds.c: regenerated.
      838cf193
  15. 08 Nov, 2004 1 commit
    • Michael Natterer's avatar
      applied modified patch from Geert Jordaens which adds the missing · b6881325
      Michael Natterer authored
      2004-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/layer.pdb: applied modified patch from Geert
      	Jordaens which adds the missing gimp_layer_from_mask() API.
      	Addresses bug #138662.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]. regenerated.
      
      	* libgimp/gimp.def: changed accordingly.
      b6881325
  16. 15 Oct, 2004 1 commit
  17. 29 May, 2004 1 commit
    • Sven Neumann's avatar
      applied patch from Philip Lafleur that makes Autocrop register a new · 2626b090
      Sven Neumann authored
      2004-05-29  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/autocrop.c: applied patch from Philip Lafleur
      	that makes Autocrop register a new procedure that autocrops a
      	single layer as requested in bug #142618.
      
      	* tools/pdbgen/pdb/layer.pdb
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: fixed documentation for gimp_resize_layer.
      	Patch provided by Philip Lafleur (bug #142618).
      2626b090
  18. 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
  19. 08 Dec, 2003 2 commits
    • Michael Natterer's avatar
      marked gimp_image_add_layer_mask() and gimp_image_remove_layer_mask() as · c6de9711
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb: marked gimp_image_add_layer_mask()
      	and gimp_image_remove_layer_mask() as deprecated. Didnn't remove
      	them from the PDB because the new functions' signature differs and
      	they are used very often in scripts, but removed them from the
      	libgimp C wrappers.
      
      	* tools/pdbgen/pdb/layer.pdb: added gimp_layer_add_mask() and
      	gimp_layer_remove_mask().
      
      	* libgimp/gimpcompat.h: added compat cruft.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/psd.c
      	* plug-ins/pygimp/pygimp-image.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-neon-logo.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carve-it.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chrome-it.scm
      	* plug-ins/script-fu/scripts/chrome-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/fade-outline.scm
      	* plug-ins/script-fu/scripts/frosty-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/news-text.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/slide.scm
      	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
      	* plug-ins/script-fu/scripts/speed-text.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/weave.scm
      	* plug-ins/script-fu/scripts/xach-effect.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpimage.sgml
      	* libgimp/tmpl/gimplayer.sgml: follow layer mask API change.
      c6de9711
    • Michael Natterer's avatar
      Some PDB fixes/cosmetics before doing real changes again: · ed6fe48b
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	Some PDB fixes/cosmetics before doing real changes again:
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed order of generated functions
      	to make more sense.
      
      	* tools/pdbgen/pdb/misc_tools.pdb: doc cosmetics, removed unused
      	subroutines.
      
      	* tools/pdbgen/pdb/image.pdb: reordered generated functions as
      	above, fixed resolution and unit accessors to use functions
      	instead of setting gimage->foo directly, use &image_accessors()
      	for the tattoo_state functions, cleanup.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]
      	* libgimp/gimpmisctools_pdb.c: regenerated.
      ed6fe48b
  20. 04 Dec, 2003 2 commits
    • Michael Natterer's avatar
      renamed gimp_layer_mask() to gimp_layer_get_mask(). · a90e63ca
      Michael Natterer authored
      2003-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/layer.pdb: renamed gimp_layer_mask() to
      	gimp_layer_get_mask().
      
      	* libgimp/gimplayer.h: removed gimp_layer_get_mask_id #define.
      
      	* libgimp/gimpcompat.h: added old stuff.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/pygimp/pygimp-drawable.c
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      2003-12-04  Michael Natterer  <mitch@gimp>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimplayer.sgml: fllow gimp_layer_get_mask() change.
      a90e63ca
    • Michael Natterer's avatar
      removed "linked" API... ...and added it here. · 8589ff4d
      Michael Natterer authored
      2003-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/layer.pdb: removed "linked" API...
      	* tools/pdbgen/pdb/drawable.pdb: ...and added it here.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpcompat.h: added gimp_layer_*_linked compat #defines.
      
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      2003-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpdrawable.sgml
      	* libgimp/tmpl/gimplayer.sgml: "linked" moved from layer to drawable.
      8589ff4d
  21. 03 Dec, 2003 2 commits
    • Michael Natterer's avatar
      tools/pdbgen/pdb/channel.pdb removed gimp_layer_delete() and · f2e227e2
      Michael Natterer authored
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed gimp_layer_delete() and
      	gimp_channel_delete() PDB wrappers...
      
      	* tools/pdbgen/pdb/drawable.pdb: ...added gimp_drawable_delete().
      
      	* libgimp/gimpdrawable.[ch]: removed gimp_drawable_delete()
      	(having this function work on the GimpDrawable wrapper and not on
      	the drawable_id was more than questionable anyway).
      
      	* libgimp/gimpcompat.h: added gimp_layer_delete and
      	gimp_channel_delete cruft #defines.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/script-fu/scripts/add-bevel.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      
      	* plug-ins/imagemap/imap_main.c: just removed the call to
      	gimp_channel_delete(), it was wrong anyway.
      
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpchannel.sgml
      	* libgimp/tmpl/gimpdrawable.sgml
      	* libgimp/tmpl/gimplayer.sgml: updated again.
      f2e227e2
    • Michael Natterer's avatar
      tools/pdbgen/pdb/channel.pdb removed duplicated APIs for "name", "visible" · a1f064c2
      Michael Natterer authored
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: removed duplicated APIs for "name",
      	"visible" and "tattoo"...
      
      	* tools/pdbgen/pdb/drawable.pdb: ...and added them as drawable APIs.
      
      	* libgimp/gimpdrawable.[ch]: removed faked layer/channel
      	polymorphisms, the functions are real drawable functions now.
      
      	* libgimp/gimpcompat.h: added the old cruft here.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpchannel_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* libgimp/gimpexport.c
      	* libgimp/gimpmenu.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/animoptimize.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
      
      2003-12-03  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt: updated.
      a1f064c2
  22. 06 Oct, 2003 1 commit
    • Manish Singh's avatar
      app/gui/image-menu.c app/gui/layers-menu.c "Imagesize" isn't a real word. · f64ad067
      Manish Singh authored
      2003-10-06  Manish Singh  <yosh@gimp.org>
      
              * app/gui/image-menu.c
              * app/gui/layers-menu.c
              * etc/ps-menurc: "Imagesize" isn't a real word. Fix to "Image Size".
      
              * app/paint/gimppaintcore.c: add declaration for rotate_pointers which
              was inadvertently took out.
      
              * tools/pdbgen/pdb/layer.pdb: add gimp_layer_resize_to_image_size.
              Fix failure reporting logic for gimp_layer_delete.
      
              * app/pdb/internal_procs.c
              * app/pdb/layer_cmds.c
              * libgimp/gimplayer_pdb.[ch]: regenerated.
      
              * plug-ins/common/tiff.c: always compare used unsigned chars for 7bit
              ASCII check.
      f64ad067
  23. 03 Jul, 2003 1 commit
    • Manish Singh's avatar
      fix spelling of "quality" in comment · 122c0065
      Manish Singh authored
      2003-07-03  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/jpeg.c: fix spelling of "quality" in comment
      
              * tools/pdbgen/*.pl: update copyright strings to 2003
      
              * libgimp/gimpenums.h
              * libgimp/*_pdb.[ch]
              * app/pdb/*_cmds.[ch]
              * app/pdb/internal_procs.[ch]
              * plug-ins/pygimp/gimpenums.py
              * plug-ins/script-fu/script-fu-constants.c: regenerated
      122c0065
  24. 02 Jul, 2003 1 commit
  25. 06 Mar, 2003 1 commit
    • Sven Neumann's avatar
      fixed parasite serialization that I broke yesterday. · 5e11bae6
      Sven Neumann authored
      2003-03-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpparasitelist.c: fixed parasite serialization that
      	I broke yesterday.
      
      	* app/widgets/gimpenummenu.c: added support for mnemonics.
      
      	* app/core/core-enums.h: removed the inverted variants from the
      	GimpAddMaskType enum. Registered the enum with the type system.
      
      	* app/core/gimplayer.c: changed accordingly.
      
      	* app/gui/layers-commands.c (layers_add_mask_query): use an enum
      	frame and added a check button that allows to invert the inital
      	layer mask.
      
      	* tools/pdbgen/pdb/layer.pdb: updated documentation for the
      	gimp-layer-create-mask PDB function.
      
      	* plug-ins/script-fu/siod-wrapper.c: removed new enum values from
      	the compatibility defines.
      
      	* app/core/core-enums.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimplayer_pdb.c
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      5e11bae6
  26. 03 Dec, 2002 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/display.pdb applied a modified version of a patch from · 2193d83a
      Sven Neumann authored
      2002-12-03  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/layer.pdb: applied a modified version of a
      	patch from Wolfgang Hofer <hof@gimp.org> that adds two new PDB
      	functions needed for GAP: gimp_displays_reconnect() and
      	gimp_layer_new_from_drawable() (bug #77508).
      
      	* app/pdb/display_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpdisplay_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      2193d83a
  27. 13 May, 2002 1 commit
    • Sven Neumann's avatar
      removed FINITE() macro. · fe0bf162
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpmath.h: removed FINITE() macro.
      
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c: define FINITE() here, where it is used.
      
      	* tools/pdbgen/pdb/lib.pl: add "config.h" to all generated libgimp
      	.c files.
      
      	* libgimp/gimp*_pdb.c: regenerated.
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpchannel.c
      	* libgimp/gimpdrawable.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimphelp.c
      	* libgimp/gimpimage.c
      	* libgimp/gimplayer.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimppixelrgn.c
      	* libgimp/gimpproceduraldb.c
      	* libgimp/gimpselection.c
      	* libgimp/gimptile.c
      	* libgimp/gimpui.c
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpvector.c
      	* plug-ins/MapObject/arcball.c
      	* plug-ins/fp/fp_gdk.c
      	* plug-ins/fp/fp_misc.c
      	* plug-ins/ifscompose/ifscompose_storage.c
      	* plug-ins/ifscompose/ifscompose_utils.c
      	* plug-ins/maze/handy.c
      	* plug-ins/rcm/rcm_gdk.c
      	* plug-ins/sel2path/edge.c
      	* plug-ins/xjt/xjpeg.c
      	* plug-ins/xjt/xpdb_calls.c: include "config.h".
      fe0bf162
  28. 04 Mar, 2002 1 commit
    • Michael Natterer's avatar
      Forgot some gint opacity values: · 95235369
      Michael Natterer authored
      2002-03-04  Michael Natterer  <mitch@gimp.org>
      
      	Forgot some gint opacity values:
      
      	* app/core/gimplayer.[ch]: layer->opacity, gimp_layer_new(),
      	gimp_layer_new_from_tiles()
      
      	* app/core/gimpimage-projection.[ch]: gimp_image_projection_opacity()
      
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/gui/layers-commands.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimplayerlistview.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: regenerated.
      95235369
  29. 20 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am put the regex and MMX sources to EXTRA_DIST so they get · a6cce184
      Michael Natterer authored
      2001-05-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* plug-ins/script-fu/Makefile.am: put the regex and MMX sources to
      	EXTRA_DIST so they get distributed unconditionally.
      
      	* tools/pdbgen/pdb/layer.pdb: re-enabled the layer_mask procs but
      	let them use accessors (which don't exist)...
      
      	* app/pdb/pdb_glue.h: ... #define the accessors as macros here.
      
      	Yes, this is ugly, but I simply don't fully understand pdbgen
      	yoshcode.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated with the layer_mask
      	accessors.
      
      	* app/tools/Makefile.am: add the files which are not built to
      	EXTRA_DIST.
      
      	* pixmaps/Makefile.am
      	* pixmaps/channel.xbm
      	* pixmaps/eye.xbm
      	* pixmaps/layer.xbm
      	* pixmaps/linked.xbm
      	* pixmaps/mask.xbm: removed.
      
      	* plug-ins/Makefile.am: build XJT again because the layer_mask
      	stuff is back. Perl also seems to build again.
      
      	* plug-ins/common/aa.c: explicit casting fixes some warnings.
      
      	* plug-ins/script-fu/interp_regex.c: #include "config.h".
      a6cce184
  30. 06 Mar, 2001 1 commit
    • Michael Natterer's avatar
      removed the layer mask functions. · af76f2bb
      Michael Natterer authored
      2001-03-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimage.[ch]: removed the layer mask functions.
      
      	* app/gimpchannel.[ch]: added a boolean "dummy" parameter to
      	gimp_channel_copy() so it has the same signature as
      	gimp_layer_copy() and can be used by the GimpDrawableListView to
      	generically duplicate drawables.
      
      	* app/gimpcontainerview.c: call "select_item" with a NULL item
      	before changing the underlying GimpContainer so subclasses have
      	a chance to update (e.g. set button sensitivity).
      
      	* app/gimpdnd.c: folded all the GtkType comparing code into a
      	utility function (much more readable now).
      
      	* app/gimpdrawablelistview.[ch]: activated the "raise", "lower",
      	"duplicate" and "delete". I'm not really happy with all those
      	function pointers passed to the constructor (and the dummy
      	parameters I've added to some GimpChannel functions) -- OTOH the
      	generic view maybe worth the "gboolean dummy" cruft hanging around
      	in the channel class.
      
      	* app/gimplayer.[ch]: removed the "apply_mask", "edit_mask" and
      	"show_mask" booleans ...
      
      	* app/gimplayermask.[ch]: .. and added them here together with
      	proper accessors and "*_changed" signals.
      
      	This also makes the layer mask undo code much clearer as we don't
      	have to store the booleans separately.
      
      	* app/gimplayerlistitem.c: badly hacked to acheive the correct
      	indicator being drawn around the active drawable. This needs
      	a new GimpPreview function for setting the border color.
      
      	* app/gimplistitem.c: smaller horizontal spacing.
      
      	* app/gimppreview.[ch]: added the "border_width" parameter also to
      	gimp_preview_set_size() so we can modify all previews the same way
      	after creation.
      
      	* app/layers_dialog.c: no need to push an undo group around
      	the "duplicate layer" code. Was this an artefact or did I miss
      	something here ???
      
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/gimage_mask.c
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpdrawablelistitem.c
      	* app/gimpimage.[ch]
      	* app/qmask.c
      	* app/test_commands.c
      	* app/undo.c
      	* app/xcf.c
      	* app/pdb/channel_cmds.c
      	* tools/pdbgen/pdb/channel.pdb
      	* app/pdb/selection_cmds.c
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]
      	* tools/pdbgen/pdb/layer.pdb: commented out the layer mask accessors
      	from the perl code, so the functions temporarily disappeared all
      	over the place.
      
      	* plug-ins/Makefile.am: don't build XJT until the layer mask stuff
      	is back.
      
      	* pixmaps/eye.xpm: cropped it to it's minimal size.
      af76f2bb
  31. 28 Dec, 2000 1 commit
    • Sven Neumann's avatar
      app/channel.c use gtk_object_sink() instead of gtk_object_unref() when · ebe7d2f9
      Sven Neumann authored
      2000-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/channel.c
      	* app/layer.c: use gtk_object_sink() instead of gtk_object_unref()
      	when deleting a layer or channel since only floating objects should
      	be destroyed this way. A layer or channel that has been attached
      	to an image shall never be deleted.
      
      	* app/layer_cmds.c
      	* libgimp/gimplayer_pdb.c
      	* tools/pdbgen/pdb/layer.pdb: reenabled the gimp_layer_delete() PDB
      	function since it might be useful under rare circumstances.
      ebe7d2f9
  32. 27 Dec, 2000 1 commit
    • Sven Neumann's avatar
      app/channel_cmds.c app/layer_cmds.c libgimp/gimpchannel_pdb.c · 243c5f49
      Sven Neumann authored
      2000-12-28  Sven Neumann  <sven@gimp.org>
      
      	* app/channel_cmds.c
      	* app/layer_cmds.c
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* plug-ins/common/warp.c
      	* plug-ins/gap/gap_exchange_image.c
      	* plug-ins/gap/gap_range_ops.c
      	* plug-ins/perl/examples/bricks
      	* plug-ins/perl/examples/glowing_steel
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb:
      
      	Two of the gimp-perl scripts used to call gimp_layer_delete() after
      	gimp_image_remove_layer(). This will fail since the layer is already
      	scheduled for destruction by removing it from the associated image or
      	by deleting that image. It is thus dangerous and superfluous to export
      	this feature through the PDB. The gimp_layer_delete() is hereby
      	obsolete and does nothing any longer. I have removed the code calling
      	it from all over the place (it was commented out in almost all places).
      
      	The PDB help for gimp_channel_delete() now explicetly tells the user
      	about the proper usage of the procedure.
      243c5f49
  33. 24 Aug, 2000 1 commit
  34. 23 Aug, 2000 1 commit
    • Manish Singh's avatar
      $srcdir != $builddir fix for GIMP_CONTRIBUTORS · 50e478ef
      Manish Singh authored
      * configure.in: $srcdir != $builddir fix for GIMP_CONTRIBUTORS
      
      * plug-ins/common/plugin-defs.pl: More tidying up after Daniel Egger
      
      * tools/pdbgen/Makefile.am: parse pdb defs only once for app and lib
      
      * tools/pdbgen/lib.pl
      * tools/pdbgen/pdb/procedural_db.pdb: all void rets now return a
      boolean for success/failure
      
      -Yosh
      50e478ef
  35. 03 Aug, 2000 1 commit
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · deb5760b
      Michael Natterer authored
      2000-08-03  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	* libgimp/*_pdb.c
      	* libgimp/gimpmenu.c
      	* DrMartin.Weber: removed COMPAT_CRUFT
      deb5760b
  36. 01 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · d7b24953
      Michael Natterer authored
      2000-06-01  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimplayer_pdb.[ch]
      	* libgimp/gimppalette_pdb.[ch]: replaced with code based on files
      	generated using pdbgen
      
      	* libgimp/Makefile.am
      	* libgimp/gimplayer.[ch]:  new files wrapping around the
      	autogenerated PDB wrappers as found in *_pdb.[ch].
      
      	* libgimp/gimpdrawable.[ch]: added wrappers around PDB wrappers
      
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimpparasite_pdb.c: various smaller changes
      d7b24953
  37. 31 May, 2000 1 commit
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · ba9ec2a2
      Michael Natterer authored
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	Episode IV...
      
      	* app/Makefile.am
      
      	* app/message_cmds.c: new name
      	* app/interface_cmds.c: removed
      
      	* app/help_cmds.c: new name
      	* app/gimphelp_cmds.c: removed
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* app/plug_in_cmds.c: moved gimp_plugin_help_register to
      	plug_in_cmds.c, s/gimp_plugin_domain_add/gimp_plugin_domain_register/
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpfileops_pdb.[ch]
      	* libgimp/gimpguides_pdb.[ch]
      	* libgimp/gimpmessage_pdb.[ch]
      	* libgimp/gimpprocedural_db_pdb.[ch]
      	* libgimp/gimpplugin_pdb.[ch]: new files containing PDB wrappers
      	moved out of libgimp/gimp.[ch]
      
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdisplay_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimphelp_pdb.[ch]
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimpparasite_pdb.c
      	* libgimp/gimpselection_pdb.c: various changes.
      
      	* libgimp/gimpunit.c: new file
      	* libgimp/gimpunit_pdb.[ch]: contains only PDB wrappers prefixed
      	with "_" which are called from libgimp/gimpunit.c only.
      
      	* libgimp/gimpunit.h: minor stuff
      
      	* libgimp/gimpcompat.h: declared the following functions obsolete:
      	 gimp_query_database
      	 gimp_query_images
      
      	* libgimp/gimp.[ch]: removed all PDB wrappers.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: changed
      
      	* tools/pdbgen/lib.pl: tried to fix libgimp autogeneration and
      	fixed just a few comments.
      
      	* tools/pdbgen/pdb/interface.pdb
      	* tools/pdbgen/pdb/gimphelp.pdb: removed
      
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb: new names
      
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/perl/Gimp/Lib.xs:
      	s/gimp_plugin_domain_add/gimp_plugin_domain_register/
      
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: s/gimpunit_pdb/gimpunit/
      ba9ec2a2