1. 23 Jan, 2005 2 commits
    • Sven Neumann's avatar
      app/text/text-enums.h moved enum to libgimpbase (from app/text and · dd9b1614
      Sven Neumann authored
      2005-01-23  Sven Neumann  <sven@gimp.org>
      
      	* app/text/text-enums.h
      	* libgimpbase/gimpbaseenums.h: moved enum to libgimpbase (from
      	app/text and libgimp).
      
      	* libgimp/gimpenums.h
      	* libgimpbase/gimpbaseenums.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimpbase/gimpbase.def
      	* libgimp/gimp.def: updated.
      dd9b1614
    • Sven Neumann's avatar
      app/paint/paint-enums.h moved enums to libgimpbase (from app/paint and · 98f48f2c
      Sven Neumann authored
      2005-01-23  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/paint-enums.h
      	* libgimpbase/gimpbaseenums.h: moved enums to libgimpbase (from
      	app/paint and libgimp). The remaining enums in
      	app/paint/paint-enums.h need special treatment.
      
      	* app/paint/paint-enums.c:
      	* libgimp/gimpenums.h
      	* libgimpbase/gimpbaseenums.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimpbase/gimpbase.def
      	* libgimp/gimp.def: updated.
      98f48f2c
  2. 22 Jan, 2005 2 commits
    • Sven Neumann's avatar
      app/core/core-enums.h moved enums to libgimpbase (from app/core and · 0aa90155
      Sven Neumann authored
      2005-01-23  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* libgimpbase/gimpbaseenums.h: moved enums to libgimpbase (from
      	app/core and libgimp). The remaining enums in app/core/core-enums.h
      	need special treatment.
      
      	* app/core/core-enums.c:
      	* libgimp/gimpenums.h
      	* libgimpbase/gimpbaseenums.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimpbase/gimpbase.def
      	* libgimp/gimp.def: updated.
      0aa90155
    • Sven Neumann's avatar
      app/base/base-enums.h moved GimpInterpolationType and GimpTransferMode to · bff64411
      Sven Neumann authored
      2005-01-23  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.h
      	* libgimpbase/gimpbaseenums.h: moved GimpInterpolationType and
      	GimpTransferMode to libgimpbase (from core and libgimp). The
      	remaining enums in app/base/base-enums.h need special treatment.
      
      	* app/base/base-enums.c
      	* libgimp/gimpenums.h
      	* libgimpbase/gimpbaseenums.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimpbase/gimpbase.def
      	* libgimp/gimp.def: updated.
      bff64411
  3. 11 Jan, 2005 1 commit
  4. 26 Oct, 2004 1 commit
    • Sven Neumann's avatar
      Added new drawable transform API to the PDB. Largely based on patches from · 57eec590
      Sven Neumann authored
      2004-10-26  Sven Neumann  <sven@gimp.org>
      
      	Added new drawable transform API to the PDB. Largely based on
      	patches from Joao S. O. Bueno. Fixes bug #137053.
      
      	* app/core/gimpdrawable-transform.[ch]: added missing parameters
      	to gimp_drawable_transform_flip().
      
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordinly.
      
      	* app/base/base-enums.h
      	* app/core/core-enums.h: removed pdp-skip for GimpInterpolationType
      	and GimpTransformDirection enums.
      
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/groups.pl: regenerated.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/drawable_transform.pdb: added new file defining
      	the new PDB calls.
      
      	* app/pdb/Makefile.am
      	* app/pdb/drawable_transform_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
      57eec590
  5. 25 Oct, 2004 2 commits
    • Michael Natterer's avatar
      register some missing enums. · b0305309
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: register some missing enums.
      
      	* tools/pdbgen/enumcode.pl: removed code to generate
      	plug-ins/script-fu/script-fu-constants.c, generate code to
      	explicitely initialize and query all of libgimp*'s enums
      	and write it to libgimp/gimpenums.c.tail
      
      	* libgimp/gimpenums.h: regenerated.
      
      	* libgimp/Makefile.am: append gimpenums.c.tail to gimpenums.c
      
      	* libgimp/gimp.c (gimp_main): call g_type_init() and
      	_gimp_enums_init().
      
      	* libgimp/gimp.def: added gimp_enums_get_type_names().
      
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/script-fu-constants.[ch]: removed these files.
      
      	* plug-ins/script-fu/siod-wrapper.c: dynamically register all
      	constants using gimp_enums_get_type_names() and introspection.
      	Also register the built-in unit types.
      
      	* plug-ins/script-fu/script-fu.c: changed accordingly.
      b0305309
    • Michael Natterer's avatar
      tools/pdbgen/enumcode.pl register all enums in libgimp/gimenums.h with the · a3eef872
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/enumcode.pl
      	* libgimp/Makefile.am: register all enums in libgimp/gimenums.h
      	with the type system.
      
      	* libgimp/gimpenums.h: regenerated.
      a3eef872
  6. 29 Jul, 2004 1 commit
    • Sven Neumann's avatar
      removed enums GimpImageType and GimpImageBaseType ... · e10ebe18
      Sven Neumann authored
      2004-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h: removed enums GimpImageType and
      	GimpImageBaseType ...
      
      	* libgimpbase/gimpbaseenums.h: ... and added them here. Also moved
      	all enums from gimpbasetypes.h to this new file.
      
      	* libgimpbase/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly.
      
      	* app/core/core-enums.c
      	* libgimp/gimpenums.h
      	* libgimpbase/gimpbaseenums.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimpbase/gimpparasite.c
      	* libgimpbase/gimpprotocol.c
      	* libgimp/gimp.c: include <glib-object.h>
      
      	* libgimpbase/gimpbasetypes.[ch]: added API to set and get a
      	translation domain on a GType. This is used for translatable enum
      	values.
      
      	* libgimpbase/gimputils.[ch]: added API to retrieve the translated
      	name for an enum value.
      
      	* app/widgets/gimpenumstore.c
      	* app/widgets/gimpenumwidgets.c: use the new API in libgimpbase.
      e10ebe18
  7. 05 Jul, 2004 1 commit
    • Michael Natterer's avatar
      removed enum SizeType. · d2292ffe
      Michael Natterer authored
      2004-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: removed enum SizeType.
      
      	* app/text/text-enums.h: added it as enum GimpSizeType and added
      	comment that it's for backward compatibility only.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
      
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated (pdbgen insisted on
      	reordering the enums).
      d2292ffe
  8. 01 Jun, 2004 1 commit
    • Michael Natterer's avatar
      renamed the values of the GimpGradientSegment* enums from GIMP_GRAD_* to · c399ae1f
      Michael Natterer authored
      2004-06-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h: renamed the values of the
      	GimpGradientSegment* enums from GIMP_GRAD_* to
      	GIMP_GRADIENT_SEGMENT_* because they are exported now.
      
      	* app/core/gimp-gradients.c
      	* app/core/gimpgradient.c
      	* app/actions/gradient-editor-actions.c: changed accordingly.
      
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      c399ae1f
  9. 30 May, 2004 1 commit
    • Michael Natterer's avatar
      app/core/core-enums.h app/core/gimpgradient.[ch] app/pdb/Makefile.am · 421024cc
      Michael Natterer authored
      2004-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/gimpgradient.[ch]
      	* app/pdb/Makefile.am
      	* app/widgets/gimpgradienteditor.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/gradient_edit.pdb: applied a patch from Shlomi
      	Fish that adds lots of gradient edit functions to
      	gimpgradient.[ch] and makes them available through the PDB.
      	Fixes bug #129675 and bug #129678.
      
      	Did some cleanups / enhancments to the patch:
      
      	* app/core/gimpgradient.[ch]: changed the naming scheme of the new
      	functions and changed old functions to match the new scheme.
      	Introduce a "freeze_count" and public freeze()/thaw() API which
      	enables subsequent gradient changes without "dirty" being emitted
      	all the time.  Added GimpGradient parameters to all functions
      	which modify the gradient.
      
      	* app/widgets/gimpgradienteditor.c: use the new freeze/thaw
      	stuff to keep the gradient from updating when not in
      	"Instant Update" mode.
      
      	* app/actions/gradient-editor-commands.c: removed all gradient
      	editing code and call the new core functions.
      
      	* libgimp/Makefile.am
      	* tools/pdbgen/pdb/gradient_edit.pdb: changed the namespace of all
      	added functions. Generate libgimp wrappers for them..
      
      	* app/pdb/gradient_edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpenums.h
      	* libgimp/gimpgradientedit_pdb.[ch]
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: (re)generated.
      421024cc
  10. 18 May, 2004 1 commit
    • Michael Natterer's avatar
      Allow plug-ins to register menu icons. Fixes bug #120500. · 3fb934b2
      Michael Natterer authored
      2004-05-18  Michael Natterer  <mitch@gimp.org>
      
      	Allow plug-ins to register menu icons. Fixes bug #120500.
      
      	* app/core/core-enums.[ch]: added enum GimpIconType which can
      	be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
      	* app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
      	functions which write/parse raw binary data. Needed for storing
      	inline pixbufs in pluginrc.
      
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
      	new function which writes out an unquoted and unescaped string.
      
      	* app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
      	new members "icon_type", "icon_data_length" and "icon_data".
      	Reordered members so file_proc specific stuff is at the end.
      
      	(plug_in_proc_def_get_stock_id)
      	(plug_in_proc_def_get_pixbuf): new functions to access the
      	procedure's icon.
      
      	* app/plug-in/plug-in-rc.c: save/restore the registered icons.
      
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: set the action's stock ID from
      	the procedure's stock ID.
      
      	* app/widgets/gimppluginaction.c
      	(gimp_plug_in_action_connect_proxy): if the procedure provides a
      	pixbuf, set it as icon for the menu item.
      
      	* app/menus/file-dialog-menu.[ch]
      	* app/menus/file-open-menu.c
      	* app/menus/file-save-menu.c
      	* app/xcf/xcf.c: changed accordingly.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
      	function which can be called during query().
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpplugin_pdb.c
      	* libgimp/gimpplugin_pdb.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/print/print.c: register stock_id icons.
      
      	* plug-ins/common/screenshot.c: register an inline_pixbuf icon for
      	testing purposes (used emblem-camera.png from gnome-icon-theme).
      
      	* app/actions/dialogs-actions.c
      	* app/actions/file-actions.c: unrelated: added some more icons
      	to menu items.
      3fb934b2
  11. 13 Jan, 2004 1 commit
    • Michael Natterer's avatar
      removed GimpChannelLutType enum and export GimpHistogramChannel to the · 8394e9e0
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-enums.h: removed GimpChannelLutType enum and
      	export GimpHistogramChannel to the PDB. The removed enum was just
      	there for libgimp compatibility.
      
      	* tools/pdbgen/pdb/color.pdb: changed accordingly.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compat cruft.
      
      	* app/pdb/color_cmds.c
      	* libgimp/gimpcolor_pdb.[ch]
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      8394e9e0
  12. 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
  13. 09 Dec, 2003 1 commit
    • Michael Natterer's avatar
      export enum GimpRotationType to libgimp. · e009182a
      Michael Natterer authored
      2003-12-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h: export enum GimpRotationType to libgimp.
      
      	* tools/pdbgen/pdb/image.pdb: added gimp_image_rotate() PDB wrapper.
      
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpimage_pdb.[ch]
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      2003-12-09  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpenums.sgml
      	* libgimp/tmpl/gimpimage.sgml: added gimp_image_rotate().
      e009182a
  14. 26 Nov, 2003 2 commits
    • Michael Natterer's avatar
      eek, it should be GIMP_ADD_ALPHA_TRANSFER_MASK, not · c97d090d
      Michael Natterer authored
      2003-11-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: eek, it should be
      	GIMP_ADD_ALPHA_TRANSFER_MASK, not GIMP_ADD_ALPHA_MASK_TRANSFER.
      
      	* app/core/gimplayer.c (gimp_layer_create_mask): changed accordingly.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      c97d090d
    • Michael Natterer's avatar
      added enum values GIMP_ADD_ALPHA_MASK_TRANSFER and · e0e8a34f
      Michael Natterer authored
      2003-11-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: added enum values
      	GIMP_ADD_ALPHA_MASK_TRANSFER and GIMP_UNDO_GROUP_LAYER_ADD_MASK.
      
      	* app/core/gimplayer.c (gimp_layer_create_mask): applied patch
      	from Pedro Gimeno which implements the new ADD_MASK type and
      	added undo. Fixes bug #127930.
      
      	* app/gui/layers-commands.c: push an undo group around layer mask
      	creation & adding since the creation may change the layer now.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      e0e8a34f
  15. 26 Aug, 2003 1 commit
    • Sven Neumann's avatar
      use GIMP_GRADIENT as prefix for the GimpGradientType enum. · ee6dad2e
      Sven Neumann authored
      2003-08-26  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h: use GIMP_GRADIENT as prefix for the
      	GimpGradientType enum.
      
      	* app/core/core-enums.c
      	* app/pdb/misc_tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/gimpdrawable-blend.c
      	* app/tools/gimpblendoptions.c
      	* plug-ins/pygimp/plug-ins/sphere.py
      	* plug-ins/script-fu/scripts: changed accordingly.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compatibility defines
      	for the old enum values.
      ee6dad2e
  16. 22 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients · 075195d1
      Michael Natterer authored
      2003-07-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpgradient.[ch]: added "gboolean reverse" to
      	gimp_gradient_get_color_at() so all gradients can be used
      	reversed.
      
      	* app/core/gimpdrawable-blend.[ch] (gimp_drawable_blend)
      	* app/core/gimppalette-import.[ch] (gimp_palette_import_from_gradient):
      	added "gboolean reverse".
      
      	* app/paint/paint-enums.[ch]: removed enum GimpGradientRepeatMode
      	since it is identical to GimpRepeatMode, except for the now
      	obsolete ONCE_BACKWARD value.
      
      	* app/paint/gimppaintcore.[ch]: removed
      	gimp_paint_core_get_color_from_gradient()...
      
      	* app/paint/gimppaintoptions.[ch]: ...and added
      	gimp_paint_options_get_gradient_color(), which is much more
      	general. Added a "reverse" property to GimpGradientOptions and
      	changed the type of the "repeat" property to GimpRepeatMode.
      
      	* app/paint/gimppaintbrush.c: use
      	gimp_paint_options_get_gradient_color().
      
      	* app/tools/gimpblendoptions.[ch]: removed the "repeat" property
      	since it is in the parent class now.
      
      	* app/gui/gradient-select.c
      	* app/gui/palette-import-dialog.c
      	* app/widgets/gimpgradienteditor.c
      	* app/tools/gimpblendtool.c
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
      
      	* app/tools/gimppaintoptions-gui.c: added a "Reverse" toggle right
      	of the gradient preview.
      
      	* app/widgets/gimppreviewrenderergradient.[ch]: added "gboolean
      	reverse" member and gimp_preview_renderer_gradient_set_reverse()
      	API.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: fixed the paintbrush invoker
      	to set GimpPaintOption's "use-fade" and "use-gradient" properties
      	correctly.
      
      	* app/pdb/gradients_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* app/pdb/paint_tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpmisctools_pdb.[ch]
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: removed GimpGradientPaintMode
      	here too since it was only exported accidentially (it's not used
      	by any external API).
      
      	* plug-ins/script-fu/scripts/3dTruchet.scm
      	* plug-ins/script-fu/scripts/alien-glow-arrow.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-button.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-button.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/coffee.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/gradient-example.scm
      	* plug-ins/script-fu/scripts/pupi-button.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/sphere.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/test-sphere.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/weave.scm: pass "reverse" to
      	gimp_blend(). Pass FALSE in most cases and added script
      	parameters were it makes sense.
      075195d1
  17. 03 Jul, 2003 1 commit
    • Manish Singh's avatar
      fix spelling of "quality" in comment · 122c0065
      Manish Singh authored
      2003-07-03  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/jpeg.c: fix spelling of "quality" in comment
      
              * tools/pdbgen/*.pl: update copyright strings to 2003
      
              * libgimp/gimpenums.h
              * libgimp/*_pdb.[ch]
              * app/pdb/*_cmds.[ch]
              * app/pdb/internal_procs.[ch]
              * plug-ins/pygimp/gimpenums.py
              * plug-ins/script-fu/script-fu-constants.c: regenerated
      122c0065
  18. 06 Mar, 2003 1 commit
    • Sven Neumann's avatar
      fixed parasite serialization that I broke yesterday. · 5e11bae6
      Sven Neumann authored
      2003-03-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpparasitelist.c: fixed parasite serialization that
      	I broke yesterday.
      
      	* app/widgets/gimpenummenu.c: added support for mnemonics.
      
      	* app/core/core-enums.h: removed the inverted variants from the
      	GimpAddMaskType enum. Registered the enum with the type system.
      
      	* app/core/gimplayer.c: changed accordingly.
      
      	* app/gui/layers-commands.c (layers_add_mask_query): use an enum
      	frame and added a check button that allows to invert the inital
      	layer mask.
      
      	* tools/pdbgen/pdb/layer.pdb: updated documentation for the
      	gimp-layer-create-mask PDB function.
      
      	* plug-ins/script-fu/siod-wrapper.c: removed new enum values from
      	the compatibility defines.
      
      	* app/core/core-enums.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimplayer_pdb.c
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      5e11bae6
  19. 09 Feb, 2003 1 commit
    • Michael Natterer's avatar
      changed GimpOrientationType from GIMP_HORIZONTAL to · 933e52ad
      Michael Natterer authored
      2003-02-09  Michael Natterer  <mitch@convergence.de>
      
      	* app/core/core-enums.[ch]: changed GimpOrientationType from
      	GIMP_HORIZONTAL to GIMP_ORIENTATION_HORIZONTAL etc.
      
      	* tools/pdbgen/pdb/guides.pdb: changed accordingly. Don't subtract
      	1 from guide->orientation because InternalOrientationType no
      	longer exists.
      
      	* tools/pdbgen/stddefs.pl: chop the whole GIMP_ORIENTATION_UNKNOWN
      	value from the enum, not just UNKNOWN.
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpguides_pdb.c
      	* plug-ins/script-fu/script-fu-constants.c
      	* plug-ins/pygimp/gimpenums.py
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compat enums.
      
      	* plug-ins/imagemap/imap_cmd_gimp_guides.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/xjt/xpdb_calls.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/guillotine.c
      	* plug-ins/common/rotate.c: changed accordingly.
      933e52ad
  20. 07 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Added object properties for almost all tool_options values and registered · eeec3ced
      Michael Natterer authored
      2003-02-07  Michael Natterer  <mitch@gimp.org>
      
      	Added object properties for almost all tool_options values
      	and registered lots of enums with the type system:
      
      	Part I (enum and type cleanup):
      
      	* app/core/core-enums.[ch]
      	* app/core/core-types.h: removed InternalOrientaionType and
      	register GimpOrientationType. Register GimpChannelOps.
      	Removed GimpToolOptionsGUIFunc.
      
      	* app/xcf/xcf-private.h: added XcfOrientationType with the
      	same values as the old InternalOrientationType
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: translate between GimpOrientationType and
      	XcfOrientationType.
      
      	* app/core/gimpdrawable-transform-utils.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.h
      	* app/display/gimpdisplayshell.c
      	* tools/pdbgen/stddefs.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimpproxy/gimpproxytypes.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimptool/gimptoolenums.[ch]: added GimpTransformGridType.
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptionsResetFunc,
      	added GimpToolOptionsGUIFunc.
      
      	Part II (tool options changes):
      
      	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
      	don't reset object properties because they have NULL as default
      	value.
      
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_[enum|boolean]_radio_frame_new(),
      	gimp_prop_paint_mode_menu_new() and gimp_prop_scale_entry_new(),
      	which are all needed by the new tool options GUI code.
      
      	* app/tools/tool_options.[ch]: removed the "reset_func" since
      	the virtual reset() method is used now.
      
      	* app/paint/gimpairbrushoptions.[ch]
      	* app/paint/gimpcloneoptions.[ch]
      	* app/paint/gimpconvolveoptions.[ch]
      	* app/paint/gimpdodgeburnoptions.[ch]
      	* app/paint/gimperaseroptions.[ch]
      	* app/paint/gimppaintoptions.[ch]
      	* app/paint/gimpsmudgeoptions.[ch]: added properties all over the
      	place and removed the widget and default_value members from
      	the structs. Renamed some values (e.g. s/type/clone_type/).
      	Don't #include <gtk/gtk.h>.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint-types.h
      	* app/paint/paint.c: changed accordingly. Don't #include <gtk/gtk.h>.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimptextoptions.c
      	* app/tools/paint_options.[ch]
      	* app/tools/selection_options.[ch]
      	* app/tools/transform_options.[ch]: ditto: added properties and
      	removed widget and default_value stuff. Removed most reset functions.
      	Use gimp_prop widgets all over the place, renamed some values
      	as above.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectoroptions.c: changed accordingly. Ported
      	the paint_options GUI constructors to gimp_prop widgets.
      
      	* app/widgets/gimpselectioneditor.c
      	* app/gui/tool-options-dialog.c: changed accordingly.
      eeec3ced
  21. 01 Dec, 2002 2 commits
  22. 05 Nov, 2002 1 commit
    • Sven Neumann's avatar
      app/base/base-enums.h app/paint-funcs/paint-funcs-generic.h · ace7acd3
      Sven Neumann authored
      2002-11-05  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.h
      	* app/paint-funcs/paint-funcs-generic.h
      	* app/paint-funcs/paint-funcs.c
      	* app/widgets/gimpwidgets-constructors.c: applied a patch from
      	Guillermo S. Romero that adds three new layer modes (Softlight,
      	Grain Extract and Grain Merge, #97686).
      
      	* app/base/base-enums.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* app/widgets/gimpwidgets-constructors.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      ace7acd3
  23. 26 Aug, 2002 1 commit
    • Michael Natterer's avatar
      Color correction tool chopping: · 1186e83a
      Michael Natterer authored
      2002-08-26  Michael Natterer  <mitch@gimp.org>
      
      	Color correction tool chopping:
      
      	* app/Makefile.am
      	* app/image_map.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimagemap.[ch]: ...and added here as object.
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/color-balance.[ch]
      	* app/base/curves.[ch]
      	* app/base/hue-saturation.[ch]
      	* app/base/threshold.[ch]: the lowlevel color correction functions
      	plus their parameter structs cut out of the resp. tools.
      
      	* app/core/core-enums.[ch]: removed GimpTransferMode enum...
      
      	* app/base/base-enums.[ch]: ...added it here. Also added
      	GimpHueRange for the new hue-saturation files.
      
      	* tools/pdbgen/enums.pl
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* app/tools/Makefile.am
      	* app/tools/gimpcolorbalancetool-transfer.c: removed (code went
      	to base/color-balance.c).
      
      	* app/tools/gimpimagemaptool.[ch]: added most code which was
      	diplicated in subclasses. Create the dialog here with a nice title
      	bar including image preview and name (fixes #66033). Added virtual
      	functions map(), dialog() and reset() which need to be implemented
      	by subclasses.
      
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimphuesaturationtool.[ch]
      	* app/tools/gimplevelstool.[ch]
      	* app/tools/gimpposterizetool.[ch]
      	* app/tools/gimpthresholdtool.[ch]: removed tons of duplicated
      	code and simply implement GimpImageMapTool's virtual functions.
      	Removed all dialog structs and keep the variables in the tool
      	structs. The dialogs are now created on-the-fly and destroyed when
      	the tool goes away, which makes all callbacks much simpler and
      	safer. Lots of GUI & code cleanup in all dialogs.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: added separate "Reset Channel"
      	buttons and let the global "Reset" buttons reset all color
      	channels.
      
      	* app/tools/tools.c: the various antique foo_free() functions
      	don't exist any more.
      
      	* app/tools/gimphistogramtool.c: removed ImageMap field from
      	dialog struct (it was unused). Cleaned up dialog a bit.
      
      	* tools/pdbgen/Makefile.am: don't scan tools/gimphuesaturationtool.h
      	for enums.
      
      	* tools/pdbgen/pdb/color.pdb: use the new stuff from base/ and
      	don't include stuff from tools/ any more.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/paint_tools_cmds.c: regenerated.
      1186e83a
  24. 20 Mar, 2002 1 commit
  25. 19 Mar, 2002 2 commits
    • Sven Neumann's avatar
      app/base/Makefile.am app/base/base-enums.c app/core/Makefile.am · 3db3dff4
      Sven Neumann authored
      2002-03-19  Sven Neumann  <sven@gimp.org>
      
      	* app/base/Makefile.am
      	* app/base/base-enums.c
      	* app/core/Makefile.am
      	* app/core/core-enums.c
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-enums.c: purely cosmetic change.
      
      	* app/paint/Makefile.am
      	* app/paint/paint-enums.[ch]: generate paint-enums.c with registered
      	enums. Skip GIMP_BRUSH_PRESSURE and GIMP_CUSTOM_CONVOLVE so they
      	don't get exported to libgimp and are not registered as enum values.
      
      	* tools/pdbgen/pdb/paint_tools.pdb: removed special casing of
      	GimpBrushApplicationMode and GimpConvolveType since the forbidden
      	values are now skipped anyway.
      
      	* libgimp/gimpcompat.h: removed compat defines for the forbidden
      	enum values. They shouldn't have been used.
      
      	* app/tools/Makefile.am
      	* app/tools/tools-enums.[ch]: generate tools-enums.c with registered
      	enums.
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.h
      	* app/paint/gimpdodgeburn.h
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/paint_options.c: changed accordingly. Added more enum
      	radio frames and enum option menus.
      3db3dff4
    • Sven Neumann's avatar
      app/paint/Makefile.am app/paint/paint-enums.h split enums into their own · 9ea91143
      Sven Neumann authored
      2002-03-19  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/Makefile.am
      	* app/paint/paint-enums.h
      	* app/paint/paint-types.h: split enums into their own file and
      	namespacified them.
      
      	* app/tools/Makefile.am
      	* app/tools/tools-enums.h
      	* app/tools/tools-types.h: split enums into their own file.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore.[ch]
      	* app/paint/gimppaintoptions.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/paint_options.c
      	* plug-ins/gfig/gfig.c: changed accordingly.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compatibility defines for
      	changed enums.
      
      	* tools/pdbgen/Makefile.am: updated list of headers to parse for enums.
      
      	* app/pdb/paint_tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/paint_tools.pdb: regenerated.
      9ea91143
  26. 18 Mar, 2002 4 commits
    • Sven Neumann's avatar
      app/core/core-enums.h more enum cleanup (GimpOffsetType, MergeType). · fe96c955
      Sven Neumann authored
      2002-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: more enum cleanup (GimpOffsetType, MergeType).
      
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpimage-merge.[ch]
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      fe96c955
    • Sven Neumann's avatar
      app/core/core-enums.h more enum cleanup (ChannelOps this time). · d68b730a
      Sven Neumann authored
      2002-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: more enum cleanup (ChannelOps this time).
      
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpimage-mask-select.[ch]
      	* app/gui/channels-commands.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/tools-types.h
      	* app/widgets/gimpchannellistview.[ch]
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      d68b730a
    • Sven Neumann's avatar
      app/core/core-enums.h more enum cleanup (ConvertPaletteType and · f85c711c
      Sven Neumann authored
      2002-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: more enum cleanup (ConvertPaletteType and
      	ConvertDitherType this time).
      
      	* app/core/gimpimage-convert.[ch]
      	* app/gui/convert-dialog.c
      	* tools/pdbgen/pdb/convert.pdb: changed accordingly.
      
      	* app/pdb/convert_cmds.c
      	* libgimp/gimpconvert_pdb.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      f85c711c
    • Sven Neumann's avatar
      app/core/core-enums.h moved some more enums into the right place and · bba46560
      Sven Neumann authored
      2002-03-18  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h
      	* app/core/core-types.h: moved some more enums into the right place
      	and namespacified them.
      
      	* app/undo.c
      	* app/core/gimpdrawable-bucket-fill.[ch]
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimplayer.[ch]
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/channels-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimpbucketfilltool.c
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: added compat defines for changed
      	GimpMaskApplyMode enum.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      bba46560
  27. 17 Mar, 2002 1 commit
    • Manish Singh's avatar
      tools/pdbgen/app.pl tools/pdbgen/enumcode-py.pl tools/pdbgen/enumcode.pl · 96f78088
      Manish Singh authored
      2002-03-17  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/app.pl
              * tools/pdbgen/enumcode-py.pl
              * tools/pdbgen/enumcode.pl
              * tools/pdbgen/enumgen.pl: removed enum nick support, best to keep
              internal and external names consistent
      
              * app/core/core-enums.h: remove chops from enums. Change TRANS to
              TRANSPARENT in GimpBlendMode
      
              * app/core/core-types.h: remove chops and nicks from enums. Change INV
              to INVERSE and SUB to SUBTRACT to make things more clear
      
              * app/core/gimpchannel.c
              * app/gui/channels-commands.c
              * app/gui/vectors-commands.c
              * app/tools/gimpbezierselecttool.c
              * app/tools/gimpbycolorselecttool.c
              * app/tools/gimprectselecttool.c
              * app/tools/gimpselectiontool.c
              * app/tools/selection_options.c
              * app/tools/tools-types.h
              * app/widgets/gimpchannellistview.c
              * app/widgets/gimpvectorslistview.c: reflect SUB -> SUBTRACT change
      
              * app/core/gimpdrawable-blend.c: reflect TRANS -> TRANSPARENT change
      
              * app/core/gimplayer.c
              * app/gui/layers-commands.c: reflect INV -> INVERSE change
      
              * app/paint/paint-types.h: remove nick from PaintApplicationMode
      
              * app/tools/gimperasertool.c: fix tooltip
      
              * app/widgets/gimpenummenu.c: #include "libgimp/gimpintl.h" for
              gettext
      
              * libgimp/gimpcompat.h: compatibility enums here, since we removed
              the nicks
      
              * tools/pdbgen/enums.pl
              * libgimp/gimpenums.h
              * plug-ins/script-fu/script-fu-constants.c
              * app/core/core-enums.c
              * app/pdb/channel_cmds.c
              * app/pdb/drawable_cmds.c
              * app/pdb/edit_cmds.c
              * app/pdb/layer_cmds.c
              * app/pdb/misc_tools_cmds.c
              * app/pdb/paint_tools_cmds.c
              * app/pdb/selection_cmds.c
              * app/pdb/selection_tools_cmds.c: regenerated, enum changes
      
              * plug-ins/common/hot.c: GIMP_TRANS_IMAGE_FILL -> GIMP_TRANSPARENT_FILL
      
              * plug-ins/common/warp.c: GIMP_BG_IMAGE_FILL -> GIMP_BACKGROUND_FILL
      
              * plug-ins/script-fu/siod-wrapper.c: compat constant definitions
      96f78088
  28. 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
  29. 20 Feb, 2002 1 commit
    • Michael Natterer's avatar
      Implemented #7100 (initialize layer mask with a copy of the image) · bc7c7f32
      Michael Natterer authored
      2002-02-20  Michael Natterer  <mitch@gimp.org>
      
      	Implemented #7100 (initialize layer mask with a copy of the image)
      
      	* app/core/core-types.h: added ADD_COPY_MASK and ADD_INV_COPY_MASK
      	enum values.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/gimplayer.c (gimp_layer_create_mask): implement
      	the new layer mask add modes.
      
      	* app/gui/layers-commands.c (layers_add_mask_query): added radio
      	buttons for the new modes.
      
      	* app/paint-funcs/paint-funcs.c (flatten_region): this function
      	was never needed so nobody noticed that it never worked. Fixed now.
      
      	* app/undo.c
      	* app/core/gimplayermask.h
      	* app/core/gimpimage.c: the "mode" field of LayerMaskUndo is
      	obsolete since some earlier 1.3 layer mask change. Removed it.
      	(Makes mask undos work again)
      bc7c7f32
  30. 12 Feb, 2002 1 commit
    • Sven Neumann's avatar
      renamed GimpInterpolationType values to something sane and unexported it · 04c995fb
      Sven Neumann authored
      2002-02-12  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.h: renamed GimpInterpolationType values to
      	something sane and unexported it from the PDB since it was never
      	used in any PDB calls.
      
      	* app/gimprc.c
      	* app/config/gimpcoreconfig.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimplayer.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/paint-funcs/paint-funcs.c
      	* app/pdb/transform_tools_cmds.c
      	* app/tools/transform_options.c
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      04c995fb
  31. 19 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files. Started to split plug-in.c into smaller · 774caf0e
      Sven Neumann authored
      2001-12-19  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split
      	plug-in.c into smaller pieces.
      
      	* app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and
      	renamed it to GimpRunMode.
      
      	* app/plug-in/plug-in.[ch]
      	* app/gimphelp.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
      
      	* app/pdb/fileops_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* libgimp/gimpfileops_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to
      	document plug-in API changes.
      
      	* plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
      774caf0e