1. 31 Dec, 2004 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 8a651f34
      William Skaggs authored
      	* tools/pdbgen/pdb/gradient.pdb: added gradient-is-editable
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/palette.pdb: changed mitch_misc to bill_misc
      	where correct.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/palette_cmds.c
      	* libgimp/gimpbrush_pdb.c
      	* libgimp/gimppalette_pdb.c: regenerated.
      8a651f34
  2. 30 Dec, 2004 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 610b26c2
      William Skaggs authored
      	* tools/pdbgen/pdb/brush.pdb: added api for changing properties
      	of generated brushes.
      
      	* tools/pdbgen/pdb/palette.pdb: added palette_is_editable().
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* libgimp/gimpbrush_pdb.c
      	* libgimp/gimpbrush_pdb.h
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimppalette_pdb.h: autogenerated.
      610b26c2
  3. 06 Oct, 2004 1 commit
    • Michael Natterer's avatar
      return the mask's bpp and the brush's pixmap data if it has one. · 7ed9a288
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush.pdb: return the mask's bpp and the
      	brush's pixmap data if it has one.
      
      	* tools/pdbgen/pdb/pattern.pdb: cleaned up.
      
      	* tools/pdbgen/pdb/image.pdb: added $deprecated = 1 to deprecated
      	functions even if they are not exported to libgimp any more.
      
      	* app/pdb/procedural_db.h (struct ProcRecord): added member
      	"gboolean deprecated".
      
      	* tools/pdbgen/app.pl
      	* app/xcf/xcf.c: fill it accordingly.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): warn
      	not only for deprecated procedured which are in the compat hach
      	table, but also for procedures with deprecated flag set to TRUE.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimppattern_pdb.[ch]: regenerated.
      
      	* libgimp/gimpbrushmenu.c
      	* plug-ins/gfig/gfig-style.c: changed accordingly.
      7ed9a288
  4. 05 Oct, 2004 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data) · caf47869
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
      	* tools/pdbgen/pdb/gradients.pdb (gradients_sample_uniform)
      	(gradients_sample_custom) (gradients_get_gradient_data)
      	* tools/pdbgen/pdb/patterns.pdb (patterns_get_pattern_data):
      	deprecated.
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern.pdb: added replacements for the
      	deprecated functions. Removed the silly feature that passing NULL
      	as name operates on the current brush, pattern etc.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradient_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimppattern_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimppatternmenu.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/common/gradmap.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig-style.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/script-fu/scripts/spyrogimp.scm: changed accordingly.
      caf47869
  5. 04 Oct, 2004 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brush.pdb tools/pdbgen/pdb/gradient.pdb disallow the · 3eb69a85
      Michael Natterer authored
      2004-10-04  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb: disallow the empty string for
      	new brushes, gradients and palettes and check the return value
      	of gimp_data_factory_data_new(). Cleanup.
      
      	* app/core/gimpbrushgenerated.c (gimp_brush_generated_new)
      	* app/core/gimpgradient.c (gimp_gradient_new)
      	* app/core/gimpdatafactory.c (gimp_data_factory_data_new): same
      	here. Fixes bug #154264.
      
      	* app/core/gimpdata.[ch] (gimp_data_set_filename): added boolean
      	"deletable" parameter because it's not derivable from "writable".
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_load_data): need
      	to figure "deletable" separately from "writable" to be able to
      	delete unsavable stuff in the user-writable data directories.
      	Fixes bug #154410.
      
      	(gimp_data_factory_data_save_single): cleaned up.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/palette_cmds.c
      	* libgimp/gimpbrush_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimppalette_pdb.c: regenerated.
      3eb69a85
  6. 28 Sep, 2004 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/Makefile.am renamed group "gradient_edit" to "gradient" and · 3004cb1b
      Michael Natterer authored
      2004-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: renamed group "gradient_edit" to
      	"gradient" and added "brush", "palette" and "pattern" groups.
      
      	* tools/pdbgen/pdb/gradient_edit.pdb: removed.
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern.pdb: new files containing functions
      	which create, duplicate, rename, delete, query and manipulate
      	a single brush, pattern etc.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: deprecated stuff that is obsolete
      	now and simply removed the procedures that were added after 2.0.
      
      	* app/pdb/gradient_edit_cmds.c
      	* libgimp/gimpgradientedit_pdb.[ch]: removed.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_cmds.c
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimpgradient_pdb.[ch]
      	* libgimp/gimppalette_pdb.[ch]
      	* libgimp/gimppattern_pdb.[ch]: new files.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* plug-ins/gfig/gfig-style.c: changed accordingly.
      3004cb1b