1. 24 Sep, 2006 1 commit
    • Michael Natterer's avatar
      Some more proper typing instead of using pointers: · 8e04fb1b
      Michael Natterer authored
      2006-09-24  Michael Natterer  <mitch@gimp.org>
      
      	Some more proper typing instead of using pointers:
      
      	* libgimpconfig/gimpconfig-params.h: added macro
      	GIMP_CONFIG_INSTALL_PROP_BOXED().
      
      	* app/core/gimpcontainer.c: made "children-type" a GParamSpecGType.
      
      	* app/widgets/gimpcontrollerinfo.c: made "mapping" a
      	GParamSpecBoxed and use g_hash_table_unref() instead of destroy().
      
      	* app/widgets/gimppdbdialog.c: made "select-type" a GParamSpecGType.
      
      	* app/dialogs/module-dialog.c
      	* app/widgets/gimpcolordisplayeditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimppluginaction.c: use proper object types, boxed
      	types and G_TYPE_GTYPE instead of G_TYPE_POINTER for various list
      	stores and signal signatues.
      8e04fb1b
  2. 27 Apr, 2006 1 commit
    • Sven Neumann's avatar
      added "has_alpha" to GimpParamSpecRGB. Made the GimpParamSpecRGB struct · e779cf0b
      Sven Neumann authored
      2006-04-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb.[ch]: added "has_alpha" to GimpParamSpecRGB.
      	Made the GimpParamSpecRGB struct public. When validating a color,
      	only look at the alpha channel if has_alpha is set.
      
      	* libgimpconfig/gimpconfig-params.h: added "has_alpha" to
      	GIMP_CONFIG_INSTALL_PROP_RGB macro definition.
      
      	* libgimpconfig/gimpconfig-serialize.c: serialize color values as
      	"(rgb r g b)" if the param-spec indicates that the alpha channel
      	is meaningless.
      
      	* app/config/gimpconfig-dump.c: take "has_alpha" into account when
      	documenting color properties.
      
      	* app/core/gimpcontext.c
      	* app/core/gimpgrid.c
      	* app/display/gimpdisplayoptions.c
      	* app/text/gimptext.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpcolorbar.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c: specify whether color properties
      	have an alpha channel.
      
      	* tools/pdbgen/app.pl: handle "has_alpha" for color paramaters.
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/grid.pdb
      	* tools/pdbgen/pdb/image.pdb: set the "has_alpha" flag where
      	appropriate.
      
      	* app/pdb/gimp-pdb-compat.c (gimp_pdb_compat_param_spec): set
      	"has_alpha" to TRUE for GIMP_PDB_COLOR.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/grid_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      
      	* app/config/gimpdisplayconfig.c (gimp_display_config_class_init):
      	removed unused code.
      e779cf0b
  3. 22 Jun, 2005 1 commit
    • Michael Natterer's avatar
      libgimpconfig/gimpconfig-deserialize.h libgimpconfig/gimpconfig-error.h · ff7343ee
      Michael Natterer authored
      2005-06-22  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-deserialize.h
      	* libgimpconfig/gimpconfig-error.h
      	* libgimpconfig/gimpconfig-iface.h
      	* libgimpconfig/gimpconfig-params.h
      	* libgimpconfig/gimpconfig-path.h
      	* libgimpconfig/gimpconfig-serialize.h
      	* libgimpconfig/gimpconfig-utils.h: added G_BEGIN_DECLS/G_END_DECLS.
      ff7343ee
  4. 03 Mar, 2005 1 commit
  5. 05 Feb, 2005 1 commit
    • Sven Neumann's avatar
      renamed GIMP_PARAM_ #defines to GIMP_CONFIG_PARAM_. · 692669f4
      Sven Neumann authored
      2005-02-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-params.h: renamed GIMP_PARAM_ #defines
      	to GIMP_CONFIG_PARAM_.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimprc-deserialize.c
      	* app/config/gimprc-serialize.c
      	* app/config/gimprc.c
      	* app/core/gimp.c
      	* app/core/gimpstrokedesc.c
      	* app/dialogs/preferences-dialog.c
      	* app/text/gimptext.c
      	* app/tools/gimptextoptions.c
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c: changed accordingly.
      
      	* libgimpmodule/gimpmoduletypes.h: deprecate the
      	GIMP_MODULE_PARAM_SERIALIZE #define, GIMP_CONFIG_PARAM_SERIALIZE
      	should be used instead.
      
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: changed accordingly.
      692669f4
  6. 25 Jan, 2005 2 commits
    • Sven Neumann's avatar
      libgimpbase/Makefile.am removed these two files again. · 4aa2bf93
      Sven Neumann authored
      2005-01-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimppath.[ch]: removed these two files again.
      
      	* libgimpconfig/gimpconfig-path.[ch]: merged the path type and
      	param spec here. Renamed to GimpConfigPath and GimpParamConfigPath.
      
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-params.h
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      
      	* libgimpbase/gimpbase.def: updated.
      4aa2bf93
    • William Skaggs's avatar
      continuing commit after broken pipe · 1cee9b72
      William Skaggs authored
      1cee9b72
  7. 22 Jan, 2005 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · c9926ee1
      William Skaggs authored
      	* app/config/gimpconfig-types.c
      	* app/config/gimpconfig-types.h: removed...
      
      	* libgimpbase/gimpbasetypes.c
      	* libgimpbase/gimpbasetypes.h: and contents merged
      	into here.
      
      	* app/config/gimpconfig-params.c: removed...
      
      	* libgimpbase/gimpbaseparams.c
      	* libgimpcolor/gimprgb.c
      	* libgimpmath/gimpmatrix.c: and contents merged
      	into here.
      
      	* app/config/gimpconfig-params.h: part removed...
      
      	* libgimpbase/gimpbaseparams.h
      	* libgimpcolor/gimprgb.h
      	* libgimpmath/gimpmatrix.h: and merged into here
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpcolor/gimpbilinear.c
      	* libgimpcolor/gimpcmyk.c
      	* libgimpmath/gimpvector.c
      	* app/config/Makefile.am
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c
      	* app/core/gimp-utils.c
      	* app/core/gimpcontext.c
      	* app/tools/tools-utils.c
      	* app/widgets/gimpaction.c
      	* plug-ins/gimpressionist/utils.c: dependencies changed
      	accordingly.
      
      	First step in config migration out of core.  Need to fix
      	devel-docs to reflect these changes.
      c9926ee1
  8. 26 Jul, 2004 1 commit
    • Michael Natterer's avatar
      removed GIMP_TYPE_COLOR. · caabe7f3
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-types.h: removed GIMP_TYPE_COLOR.
      
      	* app/config/gimpconfig-params.[ch]: renamed GimpParamSpecColor
      	to GimpParamSpecRGB.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpscanner.c
      	* app/core/gimp-utils.c
      	* app/core/gimpcontext.c
      	* app/core/gimpgrid.c
      	* app/display/gimpdisplayoptions.c
      	* app/text/gimptext.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpcolorbar.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      caabe7f3
  9. 16 Jun, 2004 1 commit
    • Michael Natterer's avatar
      added #define GIMP_CONTROLLER_PARAM_SERIALIZE. Made all properties · 3a7f7d54
      Michael Natterer authored
      2004-06-16  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcontroller.[ch]: added #define
      	GIMP_CONTROLLER_PARAM_SERIALIZE. Made all properties serializable.
      
      	* modules/controller_linux_input.c: made "device-name"
      	serializable.
      
      	* app/config/gimpconfig-params.h: added macro
      	GIMP_CONFIG_INSTALL_PROP_POINTER() which needs to be handled
      	by custom (de)serialize_property() implementations.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: made object (de)serialization
      	work for object properties which are *not* GIMP_PARAM_AGGREGATE.
      	Write/parse the exact type of the object to create to enable this.
      
      	* app/core/gimpmarshal.list: new marshaller for GimpControllerInfo.
      
      	* app/widgets/gimpcontrollerinfo.[ch]: implement GimpConfigInterface
      	and add "controller" and "mapping" properties. Add "event-mapped"
      	signal which carries the action_name.
      
      	* app/widgets/gimpcontrollers.c: removed all deserialization code
      	and simply (de)serialize the controller container. Install a
      	container handler for "event-mapped" and do the action_name ->
      	action mapping in the callback.
      
      	* etc/controllerrc: regenerated with new syntax. Delete your old one!
      3a7f7d54
  10. 14 Nov, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpscanner.c configured the scanner to use 64bit integers. · f98c0013
      Sven Neumann authored
      2003-11-14  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpscanner.c
      	* app/config/gimpconfig-deserialize.c: configured the scanner to
      	use 64bit integers. This means you must now access value.v_int64
      	instead of value.v_int. Fortunately gimp_scanner_parse_int() hides
      	this ugly detail from you.
      
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-types.c: derive GimpMemsize from guint64
      	now that support for 64bit integers is guaranteed by glib.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.[ch]
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      
      	* app/gui/preferences-dialog.c: changed a label.
      f98c0013
  11. 26 Oct, 2003 1 commit
    • Sven Neumann's avatar
      handle negative float and double values similar to how this is done for · d533104d
      Sven Neumann authored
      2003-10-26  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_fundamental): handle negative float and
      	double values similar to how this is done for integers and the
      	like.
      
      	* app/config/gimpconfig-params.h: added two new param flags and
      	documented all flags in the header file (for now).
      
      	* app/config/gimpconfig-serialize.h: handle the new param flags
      	GIMP_PARAM_DEFAULTS and GIMP_PARAM_IGNORE.
      
      	* app/text/text-enums.[ch]
      	* app/text/gimptext.[ch]: added some properties that we will need
      	sooner or later. Mark the new properties and a lot of the existing
      	ones as GIMP_PARAM_DEFAULTS so that their values are not
      	serialized unless changed from the default value.
      
      	* app/text/gimptextlayout.c
      	* app/tools/gimptextoptions.c: made all length properties in
      	GimpText depend on a single unit.
      d533104d
  12. 24 Oct, 2003 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · f299ada6
      Sven Neumann authored
      2003-10-24  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-histogram-linear-16.png
      	* themes/Default/images/stock-histogram-logarithmic-16.png:
      	added placeholders for new icons.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* app/tools/gimphistogramtool.c: made the dialog more compact by
      	using a stock-box for the histogram scale.
      
      	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
      	don't invert the histogram view if the full range is selected.
      
      	* app/widgets/gimphistogrambox.c: moved the range widgets below
      	the histogram.
      
      	* app/config/gimpconfig-params.h: added macro
      	GIMP_CONFIG_INSTALL_PROP_RESOLUTION() that installs a double
      	property with the suitable range.
      
      	* app/core/gimptemplate.c
      	* app/config/gimpdisplayconfig.c: use it here.
      f299ada6
  13. 17 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean allow_percent" to gimp_param_spec_unit() and to the · 486aed8e
      Michael Natterer authored
      2003-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.[ch]: added "gboolean allow_percent"
      	to gimp_param_spec_unit() and to the GIMP_CONFIG_INSTALL_PROP_UNIT()
      	macro. Changed value validation accordingly.
      
      	* app/config/gimpconfig-types.c (string_to_unit): parse "percent"
      	correctly.
      
      	* app/widgets/gimppropwidgets.c (gimp_prop_unit_menu_new): show
      	the "Percent" menu entry if the param_spec allows percent.
      
      	* app/config/gimpcoreconfig.c
      	* app/core/gimpgrid.c
      	* app/core/gimptemplate.c
      	* app/text/gimptext.c: pass FALSE to disallow percent.
      
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpselectionoptions.c: pass TRUE. Brings back the
      	percent feature for fade_length, gradient_length and fixed_size
      	rect/ellipse select.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: don't call the the reset()
      	functions from the GUI constructors (and reset the options just
      	deserialized from disk). Instead, added set_defaults() functions
      	which do everything the old reset() functions did (except
      	upchaining) and call set_defaults() from reset() and from the GUI
      	constructors.
      486aed8e
  14. 07 Jul, 2003 1 commit
    • Sven Neumann's avatar
      include <libgimpmath/gimpmathtypes.h>. · 6f83a525
      Sven Neumann authored
      2003-07-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbasetypes.h: include <libgimpmath/gimpmathtypes.h>.
      
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.[ch]: added GimpMatrix2 struct definition
      	and new function gimp_matrix2_identity().
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-types.[ch]
      	* app/config/gimpconfig.c
      	* app/config/gimpscanner.[ch]: added a boxed type around GimpMatrix2.
      
      	* app/text/gimptext.[ch]: added new property "transformation".
      6f83a525
  15. 12 Apr, 2003 1 commit
    • Michael Natterer's avatar
      made object properties G_PARAM_READWRITE by default. Added flag · f82440ff
      Michael Natterer authored
      2003-04-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.h: made object properties
      	G_PARAM_READWRITE by default. Added flag GIMP_PARAM_AGGREGATE
      	which indicates that an object property is not a reference but a
      	real part of its owner.
      
      	* app/config/gimpconfig-deserialize.c: g_object_set_property()
      	object properties only if they are not GIMP_PARAM_AGGREGATE.
      
      	* app/config/gimpconfig-utils.c (gimp_config_copy_properties,
      	gimp_config_reset_properties): copy and reset GIMP_PARAM_AGGREGATE
      	object properties correctly.
      
      	* app/config/gimpconfig-serialize.c: don't call
      	gimp_config_writer_open/close() for properties which are handled
      	by a GimpConfigIface::serialize_property() implementation.
      
      	* app/core/gimpcontext.c: removed exlicit G_PARAM_WRITABLE from
      	object properties since that's the default now. Call
      	gimp_config_writer_open/close() when serializing properties.
      
      	* app/core/gimpviewable.c (gimp_viewable_get_property): use
      	gimp_viewable_get_stock_id().
      	(gimp_viewable_set_stock_id): set stock_id to NULL if the new
      	stock_id is the same as viewable_class->default_stock_id.
      	Added serialize_property() which skips stock_id serialization
      	if it is NULL.
      
      	* app/tools/gimptextoptions.c: made the "text" property
      	GIMP_PARAM_AGGREGATE. Added gimp_text_options_set_property()
      	(which does nothing).
      
      	* app/widgets/gimptemplateeditor.[ch]: added an optional
      	GimpViewableButton to change the template's icon.
      
      	* app/gui/file-new-dialog.c: create it with the icon button so it
      	gets some testing.
      f82440ff
  16. 28 Feb, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c transparently serialize and · f0509872
      Sven Neumann authored
      2003-02-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.[ch]: transparently serialize
      	and deserialize object properties that implement the
      	GimpConfigInterface.
      
      	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
      	call reset recursively if properties are itself objects that
      	implement the GimpConfigInterface.
      
      	* app/config/gimpconfig-dump.c: adapt to API changes.
      
      	* app/config/gimpconfig-params.h: made object properties installed
      	using GIMP_CONFIG_INSTALL_PROP_OBJECT() be not writable by default.
      
      	* app/core/gimpcontext.c (gimp_context_class_init): made objects
      	properties explicitely writeable.
      
      	* app/tools/gimptextoptions.c: made the GimpText object a property
      	of GimpTextOptions and removed lots of special handling which is
      	now transparently done by GimpConfigInterface.
      f0509872
  17. 31 Jan, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-params.h · 27698a2b
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-params.h
      
      	* app/config/gimpcoreconfig.c: added a pixels parameter to the
      	GIMP_CONFIG_INSTALL_PROP_UNIT() macro.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-text.[ch]: removed these two files.
      
      	* app/text/Makefile.am
      	* app/text/gimptext-compat.[ch]: new files with compatibility
      	routines that provide the old text API (solely for PDB calls).
      
      	* app/text/gimptext-render.[ch]: new files with text rendering
      	routines (not much yet).
      
      	* app/text/text-types.h
      	* app/text/gimptextlayer.[ch]: new object derived from GimpLayer.
      
      	* app/text/gimptext.[ch]: prepared for future improvements.
      
      	* app/pdb/text_tool_cmds.c
      	* app/tools/gimptexttool.c
      	* tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
      27698a2b
  18. 11 Jan, 2003 1 commit
    • Sven Neumann's avatar
      always build gimpconfig-dump. · bf12a078
      Sven Neumann authored
      2003-01-11  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am: always build gimpconfig-dump.
      
      	* app/config/gimpconfig-params.[ch]: added an enum to specify the
      	type of path with GIMP_PARAM_SPEC_PATH.
      
      	* app/config/gimpconfig-dump.c: document the different types of
      	paths differently.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c: register the path types.
      
      	* etc/gimprc: generated a new system gimprc.
      
      	* plug-ins/common/tiff.c: added missing spaces in warning and
      	removed trailing newlines in strings passed to g_message().
      bf12a078
  19. 28 Nov, 2002 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am removed ... ... and readded under this name. · b92d38ce
      Sven Neumann authored
      2002-11-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params-blurbs.h: removed ...
      	* app/config/gimpconfig-blurbs.h: ... and readded under this name.
      	Defined all missing blurb definitions to NULL.
      
      	* app/config/gimpconfig-params.h: added a blurb parameter to all
      	GIMP_CONFIG_INSTALL_PROP_* macros.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c: register blurbs with the GimpRc
      	properties.
      
      	* app/config/gimpconfig-serialize.c: do proper line-breaking for
      	comments.
      
      	* app/core/gimpcontext.c
      	* app/widgets/gimpdeviceinfo.c: register NULL blurbs here.
      b92d38ce
  20. 20 Nov, 2002 1 commit
    • Michael Natterer's avatar
      added GIMP_PARAM_RESTART and GIMP_PARAM_CONFIRM flags and changed all · 8b6ec3b3
      Michael Natterer authored
      2002-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.h: added GIMP_PARAM_RESTART and
      	GIMP_PARAM_CONFIRM flags and changed all param spec macros
      	to have a "flags" parameter.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimpguiconfig.c: tag the values which need restart or
      	confirmation with the resp. flags. Changed all macro calls
      	accordingly.
      
      	* app/core/gimpcontext.c
      	* app/widgets/gimpdeviceinfo.c: changed macro calls accordingly.
      8b6ec3b3
  21. 19 Nov, 2002 1 commit
  22. 10 Oct, 2002 1 commit
  23. 21 Sep, 2002 1 commit
    • Sven Neumann's avatar
      fixed some macros that were never used. · cf656483
      Sven Neumann authored
      2002-09-21  Sven Neumann  <sven@gimp.org>
      
              * app/config/gimpconfig-params.h: fixed some macros that were never used.
      
              * data/images/gimp_splash.png: flattened the splash image. The alpha channel
              crashed servers with buggy XRender extension (#93841) (and should have never
              been there anyway).
      cf656483
  24. 22 May, 2002 1 commit
    • Michael Natterer's avatar
      added virtual interface methods serialize_property() and · 42f8ae15
      Michael Natterer authored
      2002-05-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig.[ch]: added virtual interface methods
      	serialize_property() and deserialize_property() which can be used
      	to implement (de)serialization of special properties or to
      	override the default implementation.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: for each property, check if
      	the class which added it implements the virtual functions and call
      	them before trying the default implementations.
      
      	* app/config/gimpconfig-params.h: added new macro
      	GIMP_CONFIG_INSTALL_PROP_OBJECT().
      
      	* app/core/gimpcontext.c: declare the "tool", "brush", "pattern",
      	"gradient" and "palette" properties as serializable and added
      	implementations of (de)serialize_property().
      42f8ae15
  25. 21 May, 2002 2 commits
    • Sven Neumann's avatar
      need to link test-config against libgimpcolor now. · 3553cf90
      Sven Neumann authored
      2002-05-21  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am: need to link test-config against
      	libgimpcolor now.
      
      	* app/config/gimpconfig.c (gimp_config_serialize): write newlines
      	after header and before footer.
      
      	* app/config/test-config.c
      	* app/config/gimprc.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/gui/test-commands.c: removed the newlines here.
      
      	* app/config/gimpconfig-params.h: define GIMP_PARAM_SERIALZE flag
      	which can be used to mark an object property as serializable.
      	Make the GIMP_CONFIG_INSTALL_PROP_* macros set it.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: check the GIMP_PARAM_SERIALIZE
      	flag.
      
      	* app/config/gimpconfig-params.c (gimp_param_color_set_default):
      	fixed.
      
      	* app/core/gimpcontext.c: install serializable properties using the
      	GIMP_CONFIG_INSTALL_PROP_* macros.
      3553cf90
    • Michael Natterer's avatar
      added GIMP_TYPE_COLOR as boxed type encapsulating GimpRGB. · 292ec087
      Michael Natterer authored
      2002-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-types.[ch]: added GIMP_TYPE_COLOR as boxed
      	type encapsulating GimpRGB.
      
      	* app/config/gimpconfig-params.[ch]: added GimpParamSpecColor
      	which is derived from GParamSpecBoxed and adds a default value.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: added generic
      	(de)serialization of the new property type.
      
      	* app/core/gimpcontext.c: implement the config interface, changed
      	signal parameters and property types to use the new
      	GIMP_TYPE_COLOR.
      
      	* app/core/gimpmarshal.list: added a VOID__BOXED marshaller.
      
      	* app/gui/menus.c
      	* app/gui/test-commands.[ch]: some test code which (de)serializes
      	the user context.
      292ec087
  26. 16 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-params.[ch] added support for GimpUnit type. · efe8f6db
      Sven Neumann authored
      2001-12-16  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-types.[ch]: added support for GimpUnit type.
      
      	* app/config/gimpbaseconfig.[ch]
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/test-config.c: cleaned up includes. Added more properties
      	to GimpCoreConfig.
      
      	* app/libgimp_glue.h
      	* libgimpbase/gimpunit.h:
      	declared gimp_unit_get_number_of_built_in_units() G_GNUC_CONST.
      
      	* app/core/gimpunit.[ch]: internal GimpUnit functions return const
      	strings.
      
      	* app/xcf/xcf-save.c: changed accordingly.
      efe8f6db
  27. 13 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpconfig-params.h · 1e5888d4
      Sven Neumann authored
      2001-12-13  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-params.h
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-substitute.c
      	* app/config/gimpconfig-types.c
      	* app/config/gimpconfig.[ch]
      	* app/config/test-config.c: code cleanup, I18N
      
      	* app/config/gimpcoreconfig.[ch]: some more properties.
      1e5888d4
  28. 11 Dec, 2001 1 commit
    • Sven Neumann's avatar
      removed GimpImageBaseType enum ... · a611f063
      Sven Neumann authored
      2001-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: removed GimpImageBaseType enum ...
      
      	* app/core/core-enums.h: and added it here with proper namespace
      	(enum values prefixed with GIMP_).
      
      	* app/gimprc.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-utils.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimppainttool.c
      	* app/widgets/gimpchannellistview.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/convert_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpconvert_pdb.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params.h
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpcoreconfig.[ch]: added more stuff to GimpCoreConfig.
      a611f063
  29. 10 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am new files with code to do substitution magic on · ad6d670b
      Sven Neumann authored
      2001-12-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-substitute.[ch]: new files with code to do
      	substitution magic on path strings. Similar to the code in gimprc.c
      	but UTF8 safe.
      
      	* app/config/gimpconfig-params.h
      	* app/config/gimpbaseconfig.c: added a bunch of convenience macros
      	to register config properties and use them for GimpBaseConfig.
      
      	* app/config/gimpconfig-types.h: added missing GIMP_VALUE_HOLDS_FOO()
      	macros.
      
      	* app/config/gimpconfig-deserialize.c: UTF8-validate all strings.
      
      	* app/config/gimpconfig-serialize.c: some code reorganisation.
      ad6d670b
  30. 09 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-params.[ch] added new param_spec GIMP_PARAM_PATH · 85783edf
      Sven Neumann authored
      2001-12-09  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-types.[ch]: added new param_spec
      	GIMP_PARAM_PATH with value_type GIMP_PATH_TYPE.
      
      	* app/config/gimpconfig.[ch]: added code to store and lookup unknown
      	tokens.
      
      	* app/config/gimpconfig-deserialize.c: improved logic, prepared for
      	special handling of GIMP_PATH_TYPE; still work in progress...
      
      	* app/config/gimpbaseconfig.c: register temp-path and swap-path as
      	GIMP_PARAM_PATH properties.
      85783edf
  31. 08 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am app/config/gimpconfig-params.[ch] new files · 78841f1f
      Sven Neumann authored
      2001-12-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-params.[ch]
      	* app/config/gimpconfig-types.[ch]: new files implementing special
      	GParamSpecs and GValueTypes needed for GimpConfig.
      
      	* app/config/gimpbaseconfig.c: register tile-cache-size property
      	with GimpParamSpecMemsize.
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]: enable serialization and
      	deserialization of non-fundamental types.
      78841f1f
  32. 07 Dec, 2001 1 commit
    • Sven Neumann's avatar
      removed from CVS, they are generated. · d4829df4
      Sven Neumann authored
      2001-12-07  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpmarshal.[ch]: removed from CVS, they are generated.
      
      	* app/base/Makefile.am
      	* app/base/base-enums.h: new file defining enums that are to be
      	registered. Used to build app/base/base-enums.c.
      
      	* app/base/base-types.h: include base-enums.h.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/enums.pl: parse the new base-enums.h file and modified
      	the perl voodoo so it doesn't prefix enums with GIMP_ that are already
      	properly namespaced.
      
      	* app/core/core-types.h: don't need to chop GIMP from enum.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]: made GimpConfig an interface including
      	a reasonable default implementation that works on object properties.
      
      	* app/config/Makefile.am
      	* app/config/gimpbaseconfig.[ch]: new GimpBaseConfig using the
      	GimpConfig interface. Yet only used for testing from app/main.c.
      
      	* app/main.c: test the new GimpBaseConfig object.
      
      	* app/gimprc.c
      	* app/base/base-config.h
      	* app/base/*.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimppreviewcache.c
      	* app/gui/preferences-dialog.c
      	* app/paint-funcs/paint-funcs.c
      	* app/xcf/xcf-seek.c: need to include glib-object.h since base-config
      	contains registered enums now. Follow name change of InterpolationType
      	to GimpInterpolationType.
      d4829df4
  33. 27 Nov, 2001 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am app/config/gimpconfig.[ch] · 19e1acbc
      Sven Neumann authored
      2001-11-27  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-deserialize.[ch]: added new base class
      	GimpConfig that knows how to serialize and deserialize it's properties
      	in sexp format. Contains two example properties that will go into
      	derived classes once this is really used.
      
      	* app/main.c: deserialize and serialize the test GimpConfig object to
      	~/.gimp-1.3/foorc (only for debugging).
      
      	* app/widgets/widgets-types.h
      	* app/core/core-types.h: moved GimpPreviewSize enum to core-types.
      
      	* app/core/core-types.h: don't include gdk-pixbuf.h.
      
      	* app/core/gimptoolinfo.h
      	* app/core/gimpimagefile.c: include gdk-pixbuf.h.
      
      	* app/core/gimpimage.[ch]: made construct_flag a gboolean.
      
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpunit.c
      
      	* tools/pdbgen/pdb/plug_in.pdb
      	* app/pdb/plug_in_cmds.c: removed unused variables.
      
      	* app/display/Makefile.am: removed .PHONY and files cruft
      
      	* app/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* plug-ins/Makefile.am: removed commented out makefile.mingw rules.
      	If we ever need them again, they can easily be resurrected from CVS.
      19e1acbc
  34. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.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/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  35. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  36. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  37. 21 May, 2000 1 commit
    • Michael Natterer's avatar
      These changes enable help support for 3rd party plug-ins which install · 9c6b0b0c
      Michael Natterer authored
      2000-05-21  Michael Natterer  <mitch@gimp.org>
      
      	These changes enable help support for 3rd party plug-ins which
      	install their help files outside GIMP's main help dir.
      
      	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
      	all help callbacks now have to call gimp_standard_help_func()
      	which has different implementations in the app and in libgimp.
      
      	There is a new function gimp_plugin_help_register() which can
      	be called during plug-in query. plug_in.c keeps a list of
      	executable_name/help_path pairs. Plug-ins have to pass their
      	exec. name to gimp_help() which uses the list to find the plug-in's
      	help directory.
      
      	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
      	help_path == NULL means the standard help directory. Various
      	changes to pass the help_path to the help browser.
      
      	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.
      
      	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.
      
      	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
      	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
      	gimp_plugin_help_register(). gimp_help() takes a second parameter
      	which is the executable name (not the help_path).
      
      	* app/color_notebook.c
      	* app/commands.c
      	* app/lc_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().
      
      	* libgimp/gimp.c: new function gimp_get_progname() which returns
      	the full path of the plug-in's executable.
      
      	* libgimp/gimp.h: export the new function,
      	removed gimp_plugin_help_func(), gimp_help() takes the executable
      	name as second parameter.
      
      	* libgimp/gimpcompat.h: added gimp_plugin_help_func().
      
      	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
      	changed the calls to gimp_help.
      
      	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
      	of gimp_help().
      
      	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
      	help_path parameter. Various changes to enable
      	help_path != gimp_standard_help_path.
      
      	Unrelated stuff:
      
      	* app/batch.h: added missing GPL header.
      
      	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
      	one call.
      
      	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
      	prototypes, indentation.
      
      	* app/resize.c: use less packing widgets. didn't find the "offset"
      	redraw bug :(
      9c6b0b0c
  38. 11 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/gimphelp.h libgimp/gimp.h declare the gimp_standard_help_func in · d5e99ee9
      Michael Natterer authored
      2000-01-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.h
      	* libgimp/gimp.h
      	* libgimp/gimphelpui.[ch]: declare the gimp_standard_help_func in
      	gimphelpui.h because libgimp widgets must not include libgimp/gimp.h.
      
      	* libgimp/gimpdialog.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpunitmenu.c: use the dialog constructor for the
      	export dialog and the unit selection.
      
      	* plug-ins/gpc/gpc.[ch]
      	* plug-ins/megawidget/megawidget.[ch]: removed unused functions
      	(dialog creation and some other stuff). The rest of these libs is
      	scheduled for removal, too...
      
      	* plug-ins/AlienMap/AlienMap.c
      	* plug-ins/AlienMap/Makefile.am
      	* plug-ins/AlienMap2/AlienMap2.c
      	* plug-ins/AlienMap2/Makefile.am
      	* plug-ins/borderaverage/Makefile.am
      	* plug-ins/borderaverage/borderaverage.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/fp/Makefile.am
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/rcm/Makefile.am
      	* plug-ins/rcm/rcm_callback.[ch]
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/sinus/sinus.c: standard ui (spacings etc.) for some
      	more plugins. Did some indentation, prototyping and I18N fixes.
      d5e99ee9