1. 25 Apr, 2007 1 commit
    • Michael Natterer's avatar
      added "gboolean non_empty" to require the string being non-empty. Changed · d6fd5506
      Michael Natterer authored
      2007-04-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparamspecs.[ch] (struct GimpParamSpecString)
      	(gimp_param_spec_string): added "gboolean non_empty" to require
      	the string being non-empty. Changed validation accordingly.
      	Also fixed validation for static strings (we were happily
      	freeing and modifying them before).
      
      	* app/xcf/xcf.c: filenames should be non-empty.
      	* app/pdb/gimp-pdb-compat.c: compat strings shouldn't.
      
      	* tools/pdbgen/app.pl: add support for $arg->{non_empty} and
      	changed generation of calls to gimp_param_spec_string().
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/vectors.pdb
      	* tools/pdbgen/pdb/plug_in.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/unit.pdb
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/buffer.pdb: require non-empty strings for data
      	object names, procedure names, unit strings, PDB data identifiers
      	and buffer names. Removed some manual strlen() checks, all other
      	places just got better error reporting for free (proper validation
      	error instead of unspecific execution error).
      
      	* app/pdb/*_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=22329
      d6fd5506
  2. 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
  3. 09 Dec, 2006 1 commit
  4. 22 Sep, 2006 1 commit
    • Sven Neumann's avatar
      app/gui/gui-message.c moved utility function to gimpwidgets-utils. · a69c1ff1
      Sven Neumann authored
      2006-09-22  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/gui-message.c
      	* app/widgets/gimpwidgets-utils.[ch]: moved utility function to
      	gimpwidgets-utils.
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: added a progress parameter to
      	gimp_pdb_dialog_new() and make the dialog transient to the progress
      	window.
      
      	* 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: pass progress to
      	gimp_pdb_dialog_new().
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/font_select_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      
      	* libgimp/gimpselectbutton.c: cosmetics.
      a69c1ff1
  5. 26 Apr, 2006 1 commit
    • Michael Natterer's avatar
      app/pdb/Makefile.am app/pdb/pdb-types.h new object GimpPDB which keeps all · f65bd53e
      Michael Natterer authored
      2006-04-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/Makefile.am
      	* app/pdb/pdb-types.h
      	* app/pdb/gimppdb.[ch]: new object GimpPDB which keeps all
      	procedures and functions to register and run them. Renamed all
      	functions and did some cleanups.
      
      	* app/pdb/gimp-pdb.[ch]
      	* app/core/gimp.[ch]: removed the same stuff here.
      
      	* app/pdb/gimp-pdb-query.[ch]: removed these files...
      
      	* app/pdb/gimppdb-query.[ch]: ...added here as members of GimpPDB.
      
      	* app/pdb/gimp-pdb-compat.h: fix include guard.
      
      	* app/batch.c
      	* app/actions/vectors-commands.c
      	* app/dialogs/about-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimphelp.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/fileops.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
      	* tools/pdbgen/pdb/procedural_db.pdb: changed includes and function
      	calls accordingly.
      
      	* tools/pdbgen/app.pl: pass around GimpPDB instead of Gimp
      	pointers to register the internal procedures with. Changed some
      	newlines in the generated code.
      
      	* app/pdb/*_cmds.c
      	* app/pdb/internal_procs.[ch]: regenerated.
      
      	* app/core/gimppdbprogress.[ch]
      	* app/widgets/gimppdbdialog.[ch]: added "pdb" CONSTRUCT_ONLY
      	properties.
      
      	* app/plug-in/plug-in-progress.c
      	* app/gui/gui-vtable.c: pass gimp->pdb when creating them.
      
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c: use the new local pdb pointers
      	instead of some foo->bar->gimp->pdb overkill.
      f65bd53e
  6. 04 Apr, 2006 1 commit
    • Michael Natterer's avatar
      app/pdb/Makefile.am app/pdb/procedural_db.[ch] removed... · a184c909
      Michael Natterer authored
      2006-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/Makefile.am
      	* app/pdb/procedural_db.[ch]
      	* app/pdb/procedural-db-query.[ch]: removed...
      
      	* app/pdb/gimp-pdb.[ch]
      	* app/pdb/gimp-pdb-query.[ch]: ...and added namespacefied.
      
      	* app/batch.c
      	* app/actions/vectors-commands.c
      	* app/core/gimp.c
      	* app/core/gimppdbprogress.c
      	* app/dialogs/about-dialog.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-params.c
      	* app/plug-in/plug-in-proc-def.c
      	* app/plug-in/plug-in-progress.c
      	* app/plug-in/plug-ins-query.c
      	* app/plug-in/plug-ins.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppatternselect.c
      	* app/widgets/gimppdbdialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/fileops.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
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly.
      
      	* app/pdb/*_cmds.c: regenerated.
      a184c909
  7. 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
  8. 22 Mar, 2006 2 commits
    • Michael Natterer's avatar
      tools/pdbgen/pdb/buffer.pdb tools/pdbgen/pdb/color.pdb · dfc1fbde
      Michael Natterer authored
      2006-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/buffer.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/fileops.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gimprc.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: more perl stuff flattened,
      	cleanup, nitpickyness.
      
      	* app/pdb/buffer_cmds.c
      	* app/pdb/color_cmds.c
      	* app/pdb/display_cmds.c
      	* app/pdb/drawable_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/selection_cmds.c
      	* libgimp/gimpselection_pdb.[ch]: regenerated.
      dfc1fbde
    • 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
  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. 09 Jul, 2004 1 commit
    • Michael Natterer's avatar
      app/gui/Makefile.am app/gui/brush-select.[ch] app/gui/font-select.[ch] · 8d9e3622
      Michael Natterer authored
      2004-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/Makefile.am
      	* 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]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppdbdialog.[ch]
      	* app/widgets/gimpdataselect.[ch]
      	* app/widgets/gimpbrushselect.[ch]
      	* app/widgets/gimpgradientselect.[ch]
      	* app/widgets/gimppaletteselect.[ch]
      	* app/widgets/gimppatternselect.[ch]
      	* app/widgets/gimpfontselect.[ch]: ...and added here as a
      	hierarchy of widgets.
      
      	* app/widgets/gimpdatafactoryview.h: removed typdef
      	GimpDataEditFunc, it's in widgets-types.h now.
      
      	* app/gui/convert-dialog.c: changed accordingly.
      
      	* app/core/gimp.[ch]: added vtable entries for creating, closing
      	and setting PDB dialogs.
      
      	* app/gui/gui-vtable.c: implement the vtable entries using the new
      	widgets.
      
      	* 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: use the new functions of
      	the Gimp object to create / manage the selection dialogs. The
      	generated files don't depend on GUI stuff any longer.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/font_select_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      8d9e3622
  11. 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
  12. 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
  13. 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
  14. 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
  15. 16 Jun, 2003 1 commit
    • Michael Natterer's avatar
      don't fail on brush_spacing values < 0, but behave as documented (use the · 58222c79
      Michael Natterer authored
      2003-06-16  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brush_select.pdb (brush_args): don't fail on
      	brush_spacing values < 0, but behave as documented (use the
      	brush's own spacing).
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/font_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: gtk_window_present() the
      	dialog on each set_popup(). This way the dialogs can be risen via
      	the PDB by setting the already selected object. Replaced
      	unreadable variable names by verbose ones.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/font_select_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      58222c79
  16. 28 Mar, 2003 1 commit
    • Sven Neumann's avatar
      app/gui/Makefile.am added font selection GUI to be used through the PDB. · c7281b52
      Sven Neumann authored
      2003-03-28  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/Makefile.am
      	* app/gui/font-select.[ch]: added font selection GUI to be used
      	through the PDB.
      
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: unified preview and dialog sizes.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/font_select.pdb: added new file that provides
      	PDB accessors to the font selection GUI.
      
      	* app/pdb/font_select_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpfontselect_pdb.[ch]
      	* tools/pdbgen/groups.pl: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpfontmenu.c
      	* libgimp/gimpmenu.[ch]: added a simple font selection widget to
      	be used by plug-ins and scripts.
      
      	* plug-ins/script-fu/script-fu-scripts.c: use the new font
      	selection widget. Fixes bug #105610.
      c7281b52