1. 26 Apr, 2007 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/pattern.pdb tools/pdbgen/pdb/gradients.pdb · e8215c6d
      Michael Natterer authored
      2007-04-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/pattern.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb: some argument cleanup: use
      	"=> 1" instead of "=> '1'" for setting argument flags, also made
      	argument property order consistent so flags come before "desc".
      	Doesn't affect generated code.
      
      
      svn path=/trunk/; revision=22348
      e8215c6d
  2. 09 Dec, 2006 1 commit
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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/brush.pdb tools/pdbgen/pdb/brushes.pdb · 59771587
      Michael Natterer authored
      2006-03-15  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/pattern.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: let pdbgen handle *only*
      	variables for arguments and return values and declare all local
      	variables inside the C code. Removed lots of alias => '<expression>'
      	and no_declare => 1 stuff from return values, instead let pdbgen
      	declare the variables and assign them manually in the C code.
      	More cleanup.
      
      	* tools/pdbgen/app.pl: removed support for proc->vars.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/drawable_transform_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/pattern_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpbrush_pdb.c
      	* libgimp/gimpbrushes_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimpgradients_pdb.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimppalettes_pdb.c
      	* libgimp/gimppatterns_pdb.c: regenerated.
      59771587
  9. 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
  10. 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
  11. 12 Apr, 2005 1 commit
    • Sven Neumann's avatar
      added gimp_data_factory_refresh(). · c3807c6a
      Sven Neumann authored
      2005-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdatafactory.[ch]: added gimp_data_factory_refresh().
      
      	* app/actions/data-commands.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use the new function.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      c3807c6a
  12. 06 Oct, 2004 1 commit
    • Michael Natterer's avatar
      changed new member "deprecated" from "gboolean" to a "gchar*" which holds · 6f42c42d
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/procedural_db.h (struct ProcRecord): changed new member
      	"deprecated" from "gboolean" to a "gchar*" which holds the name of
      	the replacement procedure.
      
      	* tools/pdbgen/app.pl: changed accordingly.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): show
      	the name of the replacement procedure in the warning message.
      
      	* tools/pdbgen/stddefs.pdb: added utility function
      	std_pdb_deprecated() which takes the name of the replacement
      	procedure and fills the blurb, help, author, copyright, date and
      	deprecated fields of the procedure definition.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: use it instead of duplicating
      	the same code and strings for all deprecated procedures.
      
      	* app/pdb/*_cmds.c: regenerated.
      6f42c42d
  13. 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
  14. 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
  15. 23 Sep, 2004 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/gradients.pdb · 46989bc7
      Michael Natterer authored
      2004-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: removed the foos_set_foo()
      	procedures and marked the foos_set_foo() ones as deprecated. For
      	brushes, patterns and palettes, added foos_get_foo_info()
      	procedures which work like foos_get_foo_data() but return just the
      	properties, not the actual data. Allow NULL or "" to be passed
      	as name to all functions (use the current brush, pattern etc.
      	in this case).
      
      	* tools/pdbgen/pdb/fonts.pdb: cleanup.
      
      	* app/pdb/procedural_db.c: added the removed ones to the compat
      	hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpbrushes.[ch]
      	* libgimp/gimpgradients.[ch]
      	* libgimp/gimppalettes.[ch]
      	* libgimp/gimppatterns.[ch]: new files with compat functions
      	wich call the resp. gimp_context_*() functions.
      
      	* libgimp/gimp.h: changed accordingly.
      
      	* 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/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gfig/gfig-dialog.c
      	* plug-ins/gfig/gfig-style.[ch]
      	* plug-ins/gflare/gflare.c: changed accordingly.
      46989bc7
  16. 22 Sep, 2004 1 commit
    • Michael Natterer's avatar
      removed the opacity and paint_mode functions... · 81256e00
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb: removed the opacity and paint_mode
      	functions...
      
      	* tools/pdbgen/pdb/context.pdb: ...and added them here.
      
      	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpbrushes.[ch]: new files with compat functions
      	which call the gimp_context_*() functions.
      
      	* libgimp/gimp.h: changed accordingly.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      81256e00
  17. 14 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Get rid of the "current_context" which was in fact just a bunch of global · 18d9161e
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	Get rid of the "current_context" which was in fact just a bunch of
      	global variables. Instead, pass the needed context all the way
      	from the GUI and the PDB to the core. This is a prerequisite for
      	macro recording and generally helps separating the various
      	subsystems from each other. Work in progress...
      
      	* app/core/gimp.[ch]: removed member "current_context" and
      	gimp_[get|set]_current_context().
      
      	* app/core/gimp-edit.[ch]
      	* app/core/gimpdrawable-blend.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable-offset.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.[ch]
      	* app/core/gimpimage-flip.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-rotate.[ch]
      	* app/core/gimpimage.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpitem.[ch]
      	* app/core/gimplayer.[ch]
      	* app/core/gimpselection.[ch]
      	* app/core/gimptemplate.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/pdb/procedural_db.[ch]
      	* app/text/gimptext-compat.[ch]
      	* app/text/gimptextlayer-transform.[ch]
      	* app/gui/brush-select.[ch]
      	* app/gui/font-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
      	parameters and use the passed context instead of
      	gimp_get_current_context().
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
      	GIMP_CONTEXT(tool_options) or whatever is the right context
      	to the changed core functions.
      
      	* tools/pdbgen/app.pl: pass "GimpContext *context" to all
      	generated PDB invokers.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/font_select.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/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/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
      	parameter to the changed core functions.
      
      	* app/pdb/*_cmds.c: regenerated.
      18d9161e
  18. 08 Dec, 2003 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/fonts.pdb · 95c13dad
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fonts.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: removed comments that
      	gimp_data_factory_data_init() should return a boolean indicating
      	success, since it is highly unclear when to return FALSE. This
      	function just always succeeds. Changed docs accordingly. Cleanup.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: minor cleanups.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/font_select_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrushes_pdb.c
      	* libgimp/gimpfonts_pdb.c
      	* libgimp/gimpgradients_pdb.c
      	* libgimp/gimppalettes_pdb.c
      	* libgimp/gimppatterns_pdb.c: regenerated.
      95c13dad
  19. 04 Sep, 2003 3 commits
    • Manish Singh's avatar
      tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/fonts.pdb · b982386f
      Manish Singh authored
      2003-09-04  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/brushes.pdb
              * tools/pdbgen/pdb/fonts.pdb
              * tools/pdbgen/pdb/gradients.pdb
              * tools/pdbgen/pdb/palettes.pdb
              * tools/pdbgen/pdb/patterns.pdb: init pattern_list to quell gcc
              warning.
      
              * app/pdb/brushes_cmds.c
              * app/pdb/fonts_cmds.c
              * app/pdb/gradients_cmds.c
              * app/pdb/palettes_cmds.c
              * app/pdb/patterns_cmds.c: regenerated.
      b982386f
    • Sven Neumann's avatar
      app/core/Makefile.am app/core/core-types.h added filter functionality for · 85adefe7
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpcontainer-filter.[ch]: added filter functionality
      	for GimpContainers.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/fonts.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: made the gimp_foo_get_list()
      	PDB function somewhat useful by adding a filter parameter that
      	allows to specify a regular expression to be used on the list.
      
      	* app/pdb/Makefile.am: had to uglify the ugly hack even more :(
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/fonts_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpfonts_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* plug-ins/gflare/gflare.c
      	* plug-ins/pygimp/gimpmodule.c: changed accordingly.
      
      	* plug-ins/script-fu/scripts/font-map.scm: replaced the font list
      	parameter with a more useful regexp filter on the available fonts.
      85adefe7
    • Sven Neumann's avatar
      added new function gimp_container_get_name_array(). · 0acc96d9
      Sven Neumann authored
      2003-09-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcontainer.[ch]: added new function
      	gimp_container_get_name_array().
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use the new GimpContainer function
      	instead of duplicating this code over and over again.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpgradients_pdb.c: regenerated.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/fonts.pdb: added new file that defines a simple
      	PDB API for fonts.
      
      	* tools/pdbgen/groups.pl
      	* app/pdb/Makefile.am
      	* app/pdb/fonts_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpfonts_pdb.[ch]: (re)generated.
      0acc96d9
  20. 19 Aug, 2003 1 commit
    • Manish Singh's avatar
      Default all strings to validate UTF-8, use no_validate to disable. Also · 78071018
      Manish Singh authored
      2003-08-18  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/app.pl: Default all strings to validate UTF-8, use
              no_validate to disable. Also added a null_ok parameter which does
              validate UTF-8, but allows NULL.
      
              * tools/pdbgen/pdb/brush_select.pdb
              * tools/pdbgen/pdb/brushes.pdb
              * tools/pdbgen/pdb/channel.pdb
              * tools/pdbgen/pdb/convert.pdb
              * tools/pdbgen/pdb/fileops.pdb
              * tools/pdbgen/pdb/font_select.pdb
              * tools/pdbgen/pdb/gimprc.pdb
              * tools/pdbgen/pdb/gradient_select.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/palette_select.pdb
              * tools/pdbgen/pdb/palettes.pdb
              * tools/pdbgen/pdb/parasite.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/procedural_db.pdb
              * tools/pdbgen/pdb/text_tool.pdb
              * tools/pdbgen/pdb/unit.pdb: removed utf8, added no_validate and
              null_ok where appropriate.
      
              * app/pdb/brush_select_cmds.c
              * app/pdb/font_select_cmds.c
              * app/pdb/gradient_select_cmds.c
              * app/pdb/layer_cmds.c
              * app/pdb/palette_select_cmds.c
              * app/pdb/pattern_select_cmds.c
              * app/pdb/plug_in_cmds.c: regenerated.
      78071018
  21. 18 Aug, 2003 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brush_select.pdb tools/pdbgen/pdb/brushes.pdb · db2db08f
      Michael Natterer authored
      2003-08-18  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/message.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/procedural_db.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/unit.pdb: UTF-8 validate all strings except
      	filenames. Does not work yet for string params which may be NULL.
      	They currently don't get checked because I still don't understand
      	pdbgen enough :)
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/font_select_cmds.c
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/pdb/unit_cmds.c: regenerated.
      db2db08f
  22. 17 Jun, 2003 1 commit
    • Sven Neumann's avatar
      update the BrushSelect "object" when the brush opacity is changed. · 1fd0eb07
      Sven Neumann authored
      2003-06-17  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/brush-select.c (opacity_scale_update): update the
      	BrushSelect "object" when the brush opacity is changed.
      
      	* libgimp/gimpmenu.[ch]
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpfontmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimppatternmenu.c: raise selection dialogs when being
      	called again, marked strings for translation, added lots of const
      	qualifiers, cleaned up code.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use g_memdup() instead of
      	g_memmove().
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      
      2003-06-17  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added files with newly marked strings.
      
      	* de.po: updated.
      1fd0eb07
  23. 13 Mar, 2002 1 commit
    • Michael Natterer's avatar
      renamed parameters to be consistent with the other foo-select.* files. · 4fc885d4
      Michael Natterer authored
      
      
      2002-03-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/brush-select.[ch]: renamed parameters to be consistent
      	with the other foo-select.* files.
      
      	* app/gui/tool-options-dialog.c: removed unused function.
      
      	* app/plug-in/plug-in-types.h: PlugInImageType was accidentially
      	exported to the PDB.
      
      	* tools/pdbgen/enums.pl
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	More brush, pattern, ... PDB wrapper cleanup:
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: even more cleanup, guard
      	all functions with if(!gimp->no_interface).
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: reordered functions to be
      	consistent across all files. Generate libgimp wrappers for *all*
      	functions because of API symmetry.
      
      	* tools/pdbgen/pdb/gradients.pdb: renamed gradients_[get|set]_active
      	to gradients_[get|set]_gradient because of API symmetry.
      
      	* libgimp/gimpcompat.h: added the old function names here, guard
      	the whole file with GIMP_ENABLE_COMPAT_CRUFT (it's back, yeah).
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gflare/gflare.c: use the new function names.
      
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      4fc885d4
  24. 12 Mar, 2002 1 commit
    • Michael Natterer's avatar
      app/gimprc.[ch] app/gui/preferences-dialog.c · 17d655c1
      Michael Natterer authored
      2002-03-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimprc.[ch]
      	* app/gui/preferences-dialog.c
      	* app/paint/gimppaintoptions.[ch]
      	* app/tools/paint_options.[ch]
      	* app/tools/tool_manager.[ch]: removed the "global_paint_options"
      	gimprc option because it doesn't quite fit the new dockable dialog
      	architecture.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: removed the "Global Brush/Pattern/...
      	Selection" part of them. They are now only used for temp popup
      	selections and the PDB. *Lots* of cleanup.
      
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/plug-in/plug-in.c: changed accordingly.
      
      	Cleaned up the palette and other data PDB stuff:
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: added "palette_select" and "palettes".
      
      	* tools/pdbgen/pdb/palette_select.pdb: new file. Makes the palette
      	selection PDB controllable.
      
      	* tools/pdbgen/pdb/palettes.pdb: new file cut out of palette.pdb
      	because of API symmetry with brushes, patterns, ...
      
      	* tools/pdbgen/pdb/palette.pdb: removed from here.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: lots of cleanup.
      
      	Autogenerated stuff:
      
      	* app/pdb/Makefile.am
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/palettes_cmds.c: new files.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppaletteselect_pdb.[ch]: new files.
      
      	* libgimp/gimpgradientselect_pdb.[ch]
      	* libgimp/gimppalette_pdb.[ch]
      	* libgimp/gimppatterns_pdb.c: regenerated.
      
      	* devel-docs/libgimp/tmpl/gimpgradients.sgml
      	* devel-docs/libgimp/tmpl/gimppalette.sgml: regenerated.
      17d655c1
  25. 08 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am new file that holds enums that are registered with · a65e1a39
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-enums.h: new file that holds enums that are registered
      	with the type system and is used to generate core-enums.c.
      
      	* app/core/core-types.h: include core-enums.h
      
      	* app/base/base-types.h: namespace cleanup. Prefix all enumeration
      	types with Gimp and their values with GIMP. Moved GimpLayerModeEffects
      	enum ...
      
      	* app/base/base-enums.h: ... here.
      
      	* app/image_map.c
      	* app/base/temp-buf.c
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/brush-select.c
      	* app/gui/layers-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimptexttool.c
      	* app/tools/paint_options.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpwidgets-constructors.[ch]
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      
      	* libgimpbase/gimpbasetypes.h: no need to chop GIMP prefix off the
      	enums any longer.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/gimprc.c: removed code to parse for "plug_in" keyword which was
      	left over from some very early gimp days.
      
      	* app/plug-in/plug-in.[ch]: removed now unused function plug_in_add().
      a65e1a39
  26. 07 Jul, 2001 1 commit
  27. 04 Jul, 2001 2 commits
    • Michael Natterer's avatar
      renamed gimp_initialize() to gimp_restore() because it loads all kinds of · f7c69b07
      Michael Natterer authored
      2001-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: renamed gimp_initialize() to gimp_restore()
      	because it loads all kinds of data. Added gimp_shutdown() to save
      	the data. Added the global parasite list.
      
      	* app/apptypes.h: removed ParasiteList.
      
      	* app/core/core-types.h: added GimpParasiteList.
      
      	* app/gimpparasite.[ch]: removed the global parasite list.
      
      	* app/parasitelist.[ch]: s/ParasiteList/GimpParasiteList/
      	s/parasite_list_*/gimp_patasite_list_*/
      
      	* app/widgets/gimpdatafactoryview.c: don't save the data in
      	gimp_data-factory_data_free().
      
      	* app/app_procs.c
      	* app/gimprc.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/parasite.pdb: changed accordingly.
      f7c69b07
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h added an "application object" · 01645960
      Michael Natterer authored
      2001-07-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimp.[ch]: added an "application object" called Gimp.
      
      	Currently, it contains the image list, the clipboard, the data
      	factories, the procedural hashtable and the tool info list.  It's
      	the toplevel object of the core object system. Finally, creating a
      	Gimp object will return a standalone gimp core engine instance
      	with no other global states/variables involved.
      
      	* app/app_procs.[ch]: allocate a "Gimp" instance called "the_gimp" :)
      	Removed stuff which is now done by the "Gimp" object. Merged
      	gimp_init() into app_init() because gimp_init() is taken now.
      
      	* app/context_manager.[ch]: removed stuff done by "Gimp".
      
      	* app/batch.[ch]
      	* app/gimage.[ch]
      	* app/xcf/xcf-load.[ch]
      	* app/xcf/xcf.[ch]
      	* app/core/gimpedit.[ch]
      	* app/tools/tool_manager.[ch]: pass around an additional "Gimp"
      	argument.
      
      	* app/pdb/procedural_db.[ch]: pass a "Gimp" pointer as first
      	parameter to all internal procedures and to all procedural_db_*
      	functions.
      
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpimage.[ch]: added a "Gimp" pointer to the structs.
      
      	* app/devices.c
      	* app/errors.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/gimphelp.c
      	* app/gimpunit.c
      	* app/image_new.c
      	* app/main.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/base/base.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimptoolinfo.[ch]
      	* app/gui/brush-select.c
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/test-commands.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimppainttool.h
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.h
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpimagedock.c: changed accordingly. Cleaned up
      	lots of includes. Many files still access the global "the_gimp"
      	variable exported by app_procs.h.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly. Don't
      	use "the_gimp" here because all procedures get passed a "Gimp"
      	pointer now.
      
      	* app/pdb/*: regenerated.
      01645960
  28. 15 May, 2001 1 commit
    • Michael Natterer's avatar
      new directory app/base/ · d240f623
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directory app/base/
      
      	* app/Makefile.am
      	* app/boundary.[ch]
      	* app/brush_scale.[ch]
      	* app/gimpchecks.h
      	* app/gimplut.[ch]
      	* app/pixel_processor.[ch]
      	* app/pixel_region.[ch]
      	* app/pixel_surround.[ch]
      	* app/temp_buf.[ch]
      	* app/tile.[ch]
      	* app/tile_cache.[ch]
      	* app/tile_manager.[ch]
      	* app/tile_manager_pvt.h
      	* app/tile_pvt.h
      	* app/tile_swap.[ch]: moved to base/
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/*: new directory for the sub-object pixel maniplation
      	and storage stuff. Does not include Gtk+ or anything outside
      	base/. Did some cleanup in all files.
      
      	* app/appenums.h
      	* app/apptypes.h
      	* app/core/gimpimage.h: removed types which are now in
      	base/base-types.h.
      
      	* app/base/base-config.[ch]
      	* app/gimprc.[ch]: put the config variables for base/ to their own
      	file so base/ doesn not have to include gimprc.h (does not yet
      	work, i.e. the variables are un-configurable right now)
      
      	* app/main.c: set a log handler for "Gimp-Base".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs.[ch]: removed the color hash which
      	maps RGB to color indices because it's a totally standalone system
      	which has nothing to do with the paint-funcs and introduced a
      	GimpImage dependency.
      
      	paint-funcs/ should be considered on the same sub-object
      	(glib-only) level as base/, only in a different directory.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-colorhash.[ch]: put the color hash here.
      
      	* app/gimage.c: don't invalidate the color hash here...
      
      	* app/core/gimpimage.c: ... but in the colormap_changed() default
      	inplementation. Initialize the hash in class_init().
      
      	* tools/pdbgen/Makefile.am: scan app/base/base-types.h for enums.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/pdb/[all]
      	* app/tools/[over]
      	* app/widgets/[the]
      	* tools/pdbgen/pdb/[place]: changed #includes accordingly. And use
      	base_config->value instead of the stuff from gimprc.h.
      d240f623
  29. 09 May, 2001 1 commit
    • Michael Natterer's avatar
      configure.in added new directory app/core/ for the core object system. · 8985b107
      Michael Natterer authored
      2001-05-09  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am: added new directory app/core/ for the core
      	object system.
      
      	* app/gimage_mask.[ch]
      	* app/gimpbrush-header.h
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpchannel.[ch]
      	* app/gimpcontainer.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdata.[ch]
      	* app/gimpdatafactory.[ch]
      	* app/gimpdatalist.h
      	* app/gimpdrawable-desaturate.[ch]
      	* app/gimpdrawable-equalize.[ch]
      	* app/gimpdrawable-invert.[ch]
      	* app/gimpdrawable-offset.[ch]
      	* app/gimpdrawable-preview.[ch]
      	* app/gimpdrawable.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimpimage-convert.[ch]
      	* app/gimpimage-duplicate.[ch]
      	* app/gimpimage-undo.[ch]
      	* app/gimpimage.[ch]
      	* app/gimplayer.[ch]
      	* app/gimplayermask.[ch]
      	* app/gimplist.[ch]
      	* app/gimpmarshal.[ch]
      	* app/gimpobject.[ch]
      	* app/gimppalette-import.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern-header.h
      	* app/gimppattern.[ch]
      	* app/gimpundo.[ch]
      	* app/gimpundostack.[ch]
      	* app/gimpviewable.[ch]: removed these files...
      
      	* app/core/*: ...and added them here.
      
      	* app/*.c
      	* app/gui/*.c
      	* app/pdb/*.c
      	* app/tools/*.c
      	* app/widgets/*.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* po/POTFILES.in
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/*.pdb: changed accordingly.
      8985b107
  30. 14 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am po/POTFILES.in app/brushes.[ch] app/gradients.[ch] · a97e433b
      Michael Natterer authored
      2001-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* po/POTFILES.in
      	* app/brushes.[ch]
      	* app/gradients.[ch]
      	* app/palettes.[ch]
      	* app/patterns.[ch]: removed.
      
      	* app/gimpdatafactory.[ch]: completely manage the data lists,
      	including loading with different callbacks per extension.
      
      	* app/gimpdatafactoryview.[ch]: enabled "new", "edit", "delete"
      	and "refresh".
      
      	* app/context_manager.c: initisalize the data factories.
      
      	* app/gimpcontext.c: fixed some bad bugs introduced yesterday.
      
      	* app/gradient_editor.[ch]: removed the public "create" function
      	and create the editor implicitly on "set_gradient"
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/brush_edit.h
      	* app/brush_select.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/gimpbrushpipe.c
      	* app/gimpcontainerview.h
      	* app/gimpgradient.c
      	* app/gimppattern.c
      	* app/gradient_select.c
      	* app/palette.c
      	* app/pattern_select.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: um, much stuff, mostly "changed
      	accordingly" ;-)
      a97e433b
  31. 13 Feb, 2001 1 commit
    • Michael Natterer's avatar
      gimprc.in user_install user_install.bat app/gimprc.[ch] removed the · b5d8536f
      Michael Natterer authored
      2001-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* gimprc.in
      	* user_install
      	* user_install.bat
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: removed the "brush_vbr_path" variable,
      	because all data types will be editable and saveable soon.
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdatafactory.[ch]: new object which holds a data list and
      	knows how to create, edit, duplicate etc. the items in it. Will
      	completely replace the brushes.[ch], patterns.[ch], ... files soon.
      
      	* po/POTFILES.in
      	* app/gimpdatacontainerview.[ch]: removed.
      	* app/gimpdatafactoryview.[ch]: added.
      
      	A view on the GimpDataFactory with a GUI for creating, editing,
      	deleting etc. items (mostly unimplemented).
      
      	* app/context_manager.[ch]: replaced the global data lists by global
      	data factories.
      
      	* app/brush_select.c
      	* app/brushes.[ch]
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpcontext.c
      	* app/gimpdata.[ch]
      	* app/gimpdatalist.[ch]
      	* app/gimpdnd.c
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/gradients.[ch]
      	* app/indicator_area.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/palette_select.c
      	* app/palettes.[ch]
      	* app/pattern_select.c
      	* app/patterns.[ch]
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      b5d8536f
  32. 12 Feb, 2001 1 commit
    • Michael Natterer's avatar
      took gimpcontextpreview.[ch] out of the build but still left the sources · d6a2d391
      Michael Natterer authored
      2001-02-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: took gimpcontextpreview.[ch] out of the build
      	but still left the sources there as reference.
      
      	* app/app_procs.c: initialize the render stuff before creating the
      	toolbox (needed for the previews).
      
      	* app/devices.c
      	* app/indicator_area.c: use GimpPreviews instead of
      	GimpContextPreviews.
      
      	* app/context_manager.[ch]: create the global data lists here
      	because they now must exist before any context is created.
      
      	* app/brushes.[ch]
      	* app/gradients.[ch]
      	* app/palettes.[ch]
      	* app/patterns.[ch]: removed them here.
      
      	* app/gimpcontainer.[ch]: added a "freeze_count" and emit the
      	"freeze" and "thaw" signals accordingly.
      
      	* app/gimpcontext.[ch]: greatly simplified the way how the
      	contexts connect to the data lists (simply keep them connected all
      	the time). Also removed all those ugly explicit update functions
      	because "thaw" callbacks do this job now.
      
      	* app/gimpdata.c: a GimpData object now becomes dirty on
      	"name_changed"; "dirty" now triggers "invalidate_preview" because
      	the context does not dispatch these signals any more soon.
      
      	* app/brush_select.c
      	* app/convert.c
      	* app/gimpdnd.c
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/pattern_select.c
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/gradients.[ch]
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      d6a2d391
  33. 05 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpcontainer.[ch] made the "get_by_name" and the "by_index" access · 2e464cf5
      Michael Natterer authored
      2001-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontainer.[ch]
      	* app/gimplist.[ch]: made the "get_by_name" and the "by_index"
      	access functions methods of the GimpContainerClass. The semantic
      	of this index is somewhat unclear if we have e.g. a hash table
      	implementation but the container needs to have an order for the
      	ContainerView. Finally, the ordering will be a feature of the
      	ContainerView.
      
      	* app/gimpmarshal.[ch]: marshallers needed for the new methods.
      
      	* app/brushes.[ch]
      	* app/patterns.[ch]: the public global brush and pattern lists
      	are GimpContainers now (they are really GimpLists of course).
      
      	* app/brush_select.c
      	* app/devices.c
      	* app/gimpcontainerlistview.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/pattern_select.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      2e464cf5
  34. 04 Feb, 2001 2 commits
    • Michael Natterer's avatar
      app/Makefile.am new object. · 78a8bb4c
      Michael Natterer authored
      2001-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimppattern.[ch]: new object.
      
      	* app/apptypes.h: added GimpPattern, removed GPattern.
      
      	* app/patterns.[ch]: contains only the "patterns_()" functions for
      	the global pattern list, s/pattern_list/global_pattern_list/g
      
      	* app/brushes.[ch]: s/brush_list/global_brush_list/g
      
      	* app/pattern_select.[ch]
      	* app/gimpcontext.[ch]: connect to the Patterns' and the pattern
      	list's signals.
      
      	* app/brush_select.[ch]
      	* app/devices.c
      	* app/disp_callbacks.[ch]
      	* app/gimpbrush.c
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpcontextpreview.[ch]
      	* app/gimpdnd.[ch]
      	* app/indicator_area.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/tools/bucket_fill.c
      	* app/tools/clone.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* po/POTFILES.in: changed accordingly.
      78a8bb4c
    • Michael Natterer's avatar
      renamed gimp_container_lookup() back to gimp_container_have(). Virtualized · 1994facc
      Michael Natterer authored
      2001-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpcontainer.[ch]: renamed gimp_container_lookup() back
      	to gimp_container_have(). Virtualized the "add", "remove",
      	"have" and "foreach" methods and removed the "children" list.
      
      	* app/gimplist.[ch]: derived from GimpContainer now.
      
      	* app/Makefile.am
      	* app/gimpdatalist.[ch]: new object: an alphabetically sorted
      	GimpList with unique names.
      
      	* app/gimpbrushlist.[ch]: removed. It's job is done by the
      	GimpDataList now.
      
      	* app/brushes.[ch]: new files. Contain the "brushes_()" functions
      	for the global brush list.
      
      	* app/app_procs.c
      	* app/apptypes.h
      	* app/brush_select.[ch]
      	* app/colormap_dialog.[ch]
      	* app/context_manager.c
      	* app/devices.c
      	* app/gimpbrush.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/info_window.c
      	* app/lc_dialog.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/tools/by_color_select.c
      	* app/tools/paintbrush.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* po/POTFILES.in: changed accordingly.
      1994facc