1. 24 Oct, 2006 1 commit
  2. 22 May, 2005 1 commit
    • Sven Neumann's avatar
      use quotewords() from Text::ParseWords to split the trigraph. This · d21f31d0
      Sven Neumann authored
      2005-05-22  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-mkenums (parse_trigraph): use quotewords() from
      	Text::ParseWords to split the trigraph. This function correctly
      	deals with commas inside quotes.
      
      	* app/core/core-enums.[ch]: tweaked descriptions in the
      	GimpDashPreset enum.
      d21f31d0
  3. 25 Oct, 2004 1 commit
    • Michael Natterer's avatar
      Don't store human readable and translatable enum/flag strings in · 67116466
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	Don't store human readable and translatable enum/flag strings in
      	GEnumValue's and GTypeValue's fields but attach them to their
      	GType using separate structs and utility functions:
      
      	* tools/gimp-mkenums: added params and perl voodoo to support
      	generating a second array of values, which is used by the
      	Makefiles below to create and register arrays of value
      	descriptions.
      
      	* libgimpbase/gimpbasetypes.[ch]: added API to attach/retreive
      	arrays of translatable strings to/from enum and flags types. Added
      	structs GimpEnumDesc and GimpFlagsDesc for that purpose.
      
      	* libgimpbase/gimputils.[ch]: changed existing enum utility
      	functions, added new ones and added a symmetric API for flags.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: changed *-enums.c generation rules
      	accordingly.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c: regenerated.
      
      	* app/widgets/gimpenumstore.c
      	* app/widgets/gimpenumwidgets.c
      	* app/widgets/gimptemplateeditor.c
      	* libgimpwidgets/gimppreviewarea.c: follow the enum utility
      	function API changes.
      67116466
  4. 28 Jul, 2004 2 commits
  5. 06 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Enabled skipping enum values for either the PDB or GType registration · dec20d82
      Michael Natterer authored
      2004-01-06  Michael Natterer  <mitch@gimp.org>
      
      	Enabled skipping enum values for either the PDB or GType
      	registration (don't always skip both targets):
      
      	* tools/gimp-mkenums: skip enum values only if there is a literal
      	"skip" (don't match "pdb-skip").
      
      	* tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip"
      	ones.
      
      	* app/base/base-enums.h
      	* app/core/core-enums.h
      	* app/paint/paint-enums.h
      	* libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip"
      	combination to skip enum values. Changed comments accordingly.
      
      	Cleaned up the fill functions:
      
      	* app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to
      	the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB
      	because it's completely useless to export a NOP.
      
      	* app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal):
      	handle pattern fill requests.
      
      	* app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern
      	parameter and fill with it if it's non-NULL.
      
      	(gimp_drawable_fill_by_type): handle pattern fill and pass the
      	current pattern to gimp_drawable_fill().
      
      	* app/text/gimptextlayer.c: changed accordingly.
      
      	* app/gui/edit-commands.c
      	* app/gui/image-menu.c: use gimp_edit_fill() instead of
      	gimp_drawable_bucket_fill() for FG, BG and pattern filling.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat
      	enum value. It should have never been exported to the PDB.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      dec20d82
  6. 29 Jun, 2003 1 commit
    • Manish Singh's avatar
      handle options with -'s in them · 35907ff2
      Manish Singh authored
      2003-06-29  Manish Singh  <yosh@gimp.org>
      
              * tools/gimp-mkenums: handle options with -'s in them
      
              * tools/pdbgen/enumgen.pl: redo a bunch of logic for the below
      
              * app/core/core-enums.h: use /*< pdb-skip, skip >*/ for skipping
              in both gimp-mkenums and enumgen.pl
      
              * app/core/core-enums.c: regenerated
      35907ff2
  7. 26 Mar, 2002 1 commit
  8. 17 Mar, 2002 2 commits
    • Sven Neumann's avatar
      allowing NULL for names was a bad idea... · 4d4ec70f
      Sven Neumann authored
      2002-03-17  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-mkenums: allowing NULL for names was a bad idea...
      
      	* app/base/base-enums.[ch]: added more descriptions.
      4d4ec70f
    • Sven Neumann's avatar
      define GIMP_MKENUMS for use in Makefile.am. · 26578e75
      Sven Neumann authored
      2002-03-17  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: define GIMP_MKENUMS for use in Makefile.am.
      
      	* tools/Makefile.am
      	* tools/gimp-mkenums: a modified version of glib-mkenums that parses
      	literal descriptions for enum values out of the header file.
      
      	* app/base/Makefile.am
      	* app/base/base-enums.h: added descriptions for the InterpolationType.
      
      	* app/base/base-enums.c: added to CVS although it is generated since
      	translatable messages are extracted from this file and translators
      	shouldn't need to build stuff.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpenummenu.[ch]: new widget to create a GtkMenu or a
      	GtkOptionMenu directly from a registered enum.
      
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/tools/transform_options.c: use gimp_enum_option_menu_new() for
      	the Interpolation menus.
      26578e75