1. 12 May, 2004 1 commit
    • Michael Natterer's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpscanner.c · de7a9405
      Michael Natterer authored
      2004-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpscanner.c
      	* app/core/gimp-edit.c
      	* app/core/gimpchannel-combine.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-combine.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpprogress.c
      	* app/gui/info-dialog.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/plug-in/plug-in.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpactiongroup.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-save.c
      	* libgimp/gimpexport.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimppixmap.c
      	* libgimpwidgets/gimpunitmenu.c: replaced G_GNUC_FUNCTION,
      	G_GNUC_PRETTY_FUNCTION, G_STRLOC and hardcoded function names in
      	g_warning()s by G_STRFUNC.
      de7a9405
  2. 11 May, 2004 1 commit
    • Michael Natterer's avatar
      define G*_DISABLE_DEPRECATED for all G* modules except GTK+. Don't do so · 741854b5
      Michael Natterer authored
      2004-05-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: define G*_DISABLE_DEPRECATED for all G* modules
      	except GTK+. Don't do so if compiling against GLib, GTK+ >= 2.5.0
      	and Pango >= 1.5.0
      
      	* libgimpwidgets/gimpoffsetarea.c: s/gdk_gc_unref/g_object_unref/
      
      	* app/config/gimpconfig-deserialize.c
      	* app/widgets/gimpdeviceinfo.c:
      	s/g_value_set_foo_take_ownership/g_value_take_foo/
      
      	* app/text/gimptext-vectors.c
      	* app/text/gimptext-bitmap.c:
      	s/pango_ft2_font_get_face/pango_fc_font_lock,unlock_face/
      741854b5
  3. 19 Feb, 2004 1 commit
    • Michael Natterer's avatar
      app/config/gimpconfig-serialize.c (gimp_config_serialize_property) · fc38ede3
      Michael Natterer authored
      2004-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-serialize.c
      	(gimp_config_serialize_property)
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_property): Reverted my last "cleanup" and
      	put the "obsolete" check for the exact owner class of the property
      	back. It appears that if a subclass does *not* implement
      	GimpConfigInterface *itself*, it still inherits
      	serialize_property()/deserialize_property().
      fc38ede3
  4. 18 Feb, 2004 1 commit
    • Michael Natterer's avatar
      Some code review: · 4d24bdbf
      Michael Natterer authored
      2004-02-18  Michael Natterer  <mitch@gimp.org>
      
      	Some code review:
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: removed obsolete code which
      	made sure serialize_property()/deserialize_property() are only
      	called for properties of the correct class. We do it the right way
      	for quite a while now and clear the inherited function pointers in
      	gimp_config_iface_base_init().
      
      	* app/config/gimprc.c (gimp_rc_dispose): don't forget to chain up.
      
      	* app/base/gimplut.c
      	* app/base/lut-funcs.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-types.c
      	* app/config/gimprc.c
      	* app/core/gimp-modules.c
      	* app/core/gimpbrush.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpitem.c
      	* app/gui/about-dialog.c
      	* app/gui/color-notebook.c
      	* app/gui/gui.c
      	* app/gui/tips-dialog.c
      	* app/paint/gimppaintcore.c
      	* app/paint-funcs/paint-funcs.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpselectioneditor.c: removed I/O includes from
      	files which don't use lowlevel APIs any more. Also removes
      	a whole bunch of G_OS_WIN32 special casing. Removed trailing
      	whitespace. Misc tiny cleanups.
      4d24bdbf
  5. 14 Nov, 2003 2 commits
    • Michael Natterer's avatar
      libgimpwidgets/gimpquerybox.c configure the labels in the message dialog · 6eb77294
      Michael Natterer authored
      2003-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpquerybox.c
      	* app/widgets/gimpwidgets-utils.c: configure the labels in the
      	message dialog and the query boxes to do automatic word wrapping
      	to be HIG compliant.
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-path.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimpconfigwriter.c
      	* app/config/gimpscanner.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-utils.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-commands.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-select.c
      	* app/gui/palettes-commands.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/stroke-dialog.c
      	* app/gui/tool-options-menu.c
      	* app/gui/vectors-commands.c
      	* app/gui/view-commands.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/image.pdb: removed explicit newlines from
      	messages. Reduced number of translatable strings by making many
      	file error messages the same. Quote single words and filenames
      	with 'foo', not "foo". Replaced some more "drawable" by "layer".
      	General message cleanup and consistency check.
      
      	* app/pdb/image_cmds.c: regenerated.
      6eb77294
    • 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
  6. 13 Nov, 2003 1 commit
  7. 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
  8. 21 Oct, 2003 1 commit
    • Sven Neumann's avatar
      base/base.c (base_init) moved the message about possible debug messages to · 39306937
      Sven Neumann authored
      2003-10-21  Sven Neumann  <sven@gimp.org>
      
      	* base/base.c (base_init)
      	* app/errors.c (gimp_errors_init): moved the message about
      	possible debug messages to gimp_errors_init() so that it appears
      	before any startup debug output.
      
      	* app/app_procs.c (app_init): register a log handler for the
      	GimpConfig log domain.
      
      	* app/widgets/gimpwidgets-utils.c (gimp_message_box)
      	* app/core/gimp.c (gimp_message): added an extra newline when
      	sending messages to stderr. Don't output the full progname for
      	messages; use a simple "GIMP" like the GUI message handler does.
      
      	* app/gui/user-install-dialog.c: removed function copy_file()...
      
      	* app/config/gimpconfig-utils.[ch]: ... and added it here as
      	gimp_config_file_copy(). Also added utility function
      	gimp_config_file_backup_on_error().
      
      	* app/config/gimprc.c (gimp_rc_load): if the user gimprc can't be
      	parsed, create a backup and if that succeeds unlink the broken one
      	to cure the problem.
      
      	* app/gui/session.c: create a backup if sessionrc can't be parsed.
      
      	* config/gimpconfig-deserialize.c (gimp_config_deserialize_properties):
      	don't set an error when token is G_TOKEN_NONE; it should already
      	be set then.
      39306937
  9. 11 Oct, 2003 2 commits
    • Sven Neumann's avatar
      documentation fixes. · 75a4ce91
      Sven Neumann authored
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c: documentation fixes.
      
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt
      	* app/app.types: updated.
      
      	* app/app.prerequisites: removed, it's a generated file.
      75a4ce91
    • Sven Neumann's avatar
      app/widgets/gimpdocked.[ch] renamed GimpDockedIface to · a88e11af
      Sven Neumann authored
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/widgets-types.h: renamed GimpDockedIface to
      	GimpDockedInterface.
      
      	* app/display/gimpnavigationview.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimptooloptionseditor.c: changed accordingly.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-utils.[ch]: added a GimpConfig typedef and
      	changed the GimpConfig API to take GimpConfig instead of GObject
      	pointers.
      
      	* app/config/gimpconfig-dump.c
      	* app/config/gimprc.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp.[ch]
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpgrid.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimptemplate.c
      	* app/core/gimptooloptions.c
      	* app/core/gimpviewable.c
      	* app/gui/grid-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tool-options-commands.c
      	* app/paint/gimppaintcore.c
      	* app/pdb/gimprc_cmds.c
      	* app/text/gimptext-parasite.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptemplateview.c
      	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
      a88e11af
  10. 16 Sep, 2003 1 commit
    • Sven Neumann's avatar
      app/composite/gimp-composite-generic.c app/composite/gimp-composite-mmx.c · 555038de
      Sven Neumann authored
      2003-09-16  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite-generic.c
      	* app/composite/gimp-composite-mmx.c
      	* app/composite/gimp-composite-sse.c
      	* app/composite/gimp-composite-sse2.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-path.c
      	* app/config/gimpconfig-serialize.c
      	* app/core/cpercep.c
      	* app/core/gimpunit.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/plug-in-menus.c
      	* app/paint-funcs/paint-funcs-generic.h
      	* app/paint-funcs/paint-funcs.c
      	* app/pdb/procedural_db.c
      	* app/text/gimptextlayout-render.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/widgets/gimpcursor.c: some trivial code cleanups: avoid
      	casts that discard const qualifiers and avoid useless comparisons
      	on unsigned variables. Also reordered qualifiers in function
      	declarations (static comes before const).
      555038de
  11. 08 Aug, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c app/config/gimpconfig-serialize.c · 2dbb3880
      Sven Neumann authored
      2003-08-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig.c
      	* app/config/gimprc.c
      	* app/core/gimpitem.[ch]
      	* app/display/gimpprogress.[ch]
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpenummenu.c
      	* app/widgets/gimpfontselection.c
      	* app/widgets/gimpwidgets-utils.c: documentation fixes.
      2dbb3880
  12. 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
  13. 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
  14. 27 Mar, 2003 1 commit
  15. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  16. 05 Mar, 2003 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am new files featuring a simple config file writer. · d457b9eb
      Sven Neumann authored
      2003-03-05  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfigwriter.[ch]: new files featuring a simple
      	config file writer.
      
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]: changed the serialize routines to
      	use a GimpConfigWriter instead of passing around a file descriptor
      	and the indentation level.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimprc.c
      	* app/config/gimpscanner.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c
      	* app/gui/test-commands.c
      	* app/tools/tool_options.c
      	* app/widgets/gimpdevices.c: changed accordingly.
      
      	* libgimpwidgets/gimpwidgets.c: documentation updates.
      
      	* app/core/gimpitem.c: removed a redundant type-check.
      d457b9eb
  17. 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
  18. 03 Feb, 2003 1 commit
    • Sven Neumann's avatar
      handle negative integers. · daf60f25
      Sven Neumann authored
      2003-02-03  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_fundamental): handle negative integers.
      
      	* app/core/gimp.c (gimp_edit_config_notify): commented out
      	debugging output.
      daf60f25
  19. 26 Jan, 2003 1 commit
    • Sven Neumann's avatar
      removed the description of the image title format string from the blurb · e6bd0db3
      Sven Neumann authored
      2003-01-26  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc-blurbs.h: removed the description of the image
      	title format string from the blurb ...
      
      	* app/config/gimpconfig-dump.c: ... and added it here.  Slightly
      	improved manpage formatting.
      
      	* app/config/gimpconfig-deserialize.c: fixed a typo.
      
      	* docs/gimprc-1.3.5.in
      	* etc/gimprc: regenerated.
      e6bd0db3
  20. 29 Dec, 2002 1 commit
    • Sven Neumann's avatar
      configure.in etc/Makefile.am etc/gimprc.in removed templates for gimprc · 023c7697
      Sven Neumann authored
      2002-12-29  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* etc/Makefile.am
      	* etc/gimprc.in
      	* etc/gimprc_user.in: removed templates for gimprc files.
      
      	* etc/gimprc: added this file as generated by gimp-config-dump.
      
      	* app/gui/user-install-dialog.c
      	* data/misc/user_install: don't install an empty user gimprc.
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-substitute.[ch]: removed these files.
      	* app/config/gimpconfig-path.[ch]: and added them again with
      	reduced functionality. Paths found in config files are now
      	basically handled like standard strings by the config system.
      	Users of the GimpConfig path variables need to expand the path
      	themselves.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimpconfig.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimprc.c:
      	* app/base/base.c
      	* app/base/temp-buf.c
      	* app/core/gimp.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpmodules.c
      	* app/gui/user-install-dialog.c
      	* app/plug-in/plug-in.c
      	* app/tools/tools.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      023c7697
  21. 18 Nov, 2002 2 commits
  22. 17 Jun, 2002 1 commit
    • Sven Neumann's avatar
      Obviously I disagree with Tim about the symbol_name parameter in · c5859647
      Sven Neumann authored
      2002-06-17  Sven Neumann  <sven@gimp.org>
      
      	Obviously I disagree with Tim about the symbol_name parameter in
      	g_scanner_unexp_token(). As it seems it's not supposed to be used
      	to tell the user about the expected symbol (see bug #81850):
      
      	* gimpconfig.[ch] (gimp_config_deserialize_return): removed the
      	symbol_name parameter.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c: changed the callers accordingly.
      
      	* app/core/gimpunits.c (gimp_unitrc_load): pass NULL as symbol_name
      	to g_scanner_unexp_token().
      c5859647
  23. 09 Jun, 2002 1 commit
    • Sven Neumann's avatar
      app/undo.c app/config/gimpconfig-deserialize.c app/core/gimpbrushpipe.c · fd21daeb
      Sven Neumann authored
      2002-06-09  Sven Neumann  <sven@gimp.org>
      
      	* app/undo.c
      	* app/config/gimpconfig-deserialize.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpimagefile.c
      	* app/gui/paths-dialog.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpgradienteditor.c: unified translatable strings
      	and unmarked a few for translation since they should never be seen.
      
      2002-06-09  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: updated.
      
      	* de.po: updated german translation.
      fd21daeb
  24. 06 Jun, 2002 1 commit
  25. 31 May, 2002 1 commit
    • Michael Natterer's avatar
      configure the scanner the same way GimpConfig did (scanner->user_data is, · c6948e6e
      Michael Natterer authored
      2002-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpscanner.[ch]: configure the scanner the same
      	way GimpConfig did (scanner->user_data is, if set, a GError).
      	Added gimp_scanner_parse_color(). Added "GError **error" to
      	gimp_scanner_new().
      
      	* app/config/gimpconfig.c: use gimp_scanner_new().
      
      	* app/config/gimpconfig-deserialize.c: use gimp_scanner_parse_color().
      
      	* app/core/gimpunits.c
      	* app/plug-in/plug-in-rc.c: changed accordingly.
      
      	* app/plug-in/plug-in-rc.c: made the main parse loops consistent
      	with the other places using GScanner.
      c6948e6e
  26. 29 May, 2002 1 commit
    • Sven Neumann's avatar
      renamed gimp_mem_size_entry_new() to gimp_memsize_entry_new() for · 4c55933d
      Sven Neumann authored
      2002-05-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.[ch]: renamed gimp_mem_size_entry_new()
      	to gimp_memsize_entry_new() for consistency. Rewrote using bitshifts.
      	Should work correctly for sizeof (gulong) > 32 now. Added new unit
      	GigaBytes.
      
      	* app/gui/preferences-dialog.c
      	* app/gui/user-install-dialog.c: changed accordingly.
      
      	* app/config/gimpconfig-types.[ch]: added new function
      	gimp_memsize_set_from_string() that allows to check if the
      	conversion succeeded.
      
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_memsize): use gimp_memsize_set_from_string().
      4c55933d
  27. 28 May, 2002 1 commit
    • Michael Natterer's avatar
      override GObjectClass->constructor() and do the setup stuff there, not in · b7e3c716
      Michael Natterer authored
      2002-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.c: override GObjectClass->constructor() and
      	do the setup stuff there, not in gimp_context_new(). This way we
      	can create properly initialized contexts with g_object_new().
      
      	* app/widgets/gimpdeviceinfo.c: Removed the "gimp" property
      	again. Added a constructor() implementation and moved stuff there
      	from gimp_device_info_set_property(PROP_GIMP).
      
      	* app/config/gimpconfig-deserialize.c: made deserialization of
      	value arrays work by actually using the array any not just leaking
      	it ;)
      
      	* app/core/gimpcontainer.c: removed debugging output. Call
      	config_iface->deserialize(child, ...) again instead of calling
      	gimp_config_deserialize_properties() directly.
      
      	* app/widgets/gimpdevices.c: switch to using the new stuff for
      	devicerc.
      
      	* app/widgets/gimpdeviceinfo.[ch]
      	* app/widgets/gimpdevices.[ch]
      	* app/gimprc.c: removed all old gimprc-style devicerc stuff.
      
      	* app/gui/menus.c
      	* app/gui/test-commands.[ch]: removed devicerc testing entries
      	and callbacks.
      b7e3c716
  28. 27 May, 2002 1 commit
    • Michael Natterer's avatar
      added "gint nest_level" to the deserialization functions, so nested calls · dbc8aeb4
      Michael Natterer authored
      2002-05-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig.[ch]: added "gint nest_level" to the
      	deserialization functions, so nested calls to deserialize()
      	don't error on the trailing ')'. Made the scanner config parse
      	one-character identifiers and allow G_CSET_A_2_Z for all
      	identifiers.
      	Added gimp_config_deserialize_return() because returning the
      	correct return value from a deserialize() function is not
      	trivial any more with nested calls.
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimprc.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c: use the new return value utility
      	function and made the main parsing loops simpler.
      
      	* app/core/gimpunits.c: made the main parsing loops consistent
      	with the stuff that uses GimpConfig.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: call the
      	(de)serialize_property() functions only if the property's class
      	implements the method itself (does *not* inherit it from one of
      	it's parents).
      
      	* app/core/gimpcontainer.c: implemented deserialization of
      	containers. For each child entry encountered in the input, check
      	if it's already contained in the container and create it if not.
      	If a "gimp" pointer is passed as user_data pass it as construct
      	property to g_object_new() when creating the object.
      
      	* app/core/gimpcontext.c: changed deserialization of brush,
      	pattern etc. to honor "no_data".
      
      	* app/widgets/gimpdeviceinfo.c: added a "gimp" construct_only
      	property which overrides GimpContext's "gimp" property. Moved all
      	initialisation code from gimp_device_info_new() to
      	gimp_device_info_set_property(PROP_GIMP) so it is properly
      	performed if the object is created by GimpContainer's
      	deserialize() implementation.
      
      	* app/widgets/gimpdevices.c: made gimp_devices_restore_test() work.
      dbc8aeb4
  29. 24 May, 2002 1 commit
  30. 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
  31. 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
  32. 23 Mar, 2002 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.[ch] · d4b90098
      Sven Neumann authored
      2002-03-23  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]
      	* app/config/gimprc.[ch]
      	* app/config/test-config.c: added better error reporting using GError.
      d4b90098
  33. 17 Feb, 2002 1 commit
    • Hans Breuer's avatar
      from now on use make.msc from $(TOP)/glib/build/win32; all occurences of · 6cb914db
      Hans Breuer authored
      2001-02-17  Hans Breuer  <hans@breuer.org>
      
      	* */*/makefile.msc */makefile.msc : from now on use
      	make.msc from $(TOP)/glib/build/win32; all occurences
      	of DIRENT removed and general update
      
      	* app/config/makefile.msc app/paint/makefile.msc
      	  app/plug-in/makefile.msc themes/Default/makefile.msc :
      	new files
      
      	* app/base/base.c : ported to GDir usage
      
      	* app/config/gimpconfig-serialize.c :
      	  app/config/gimpconfig-deserialize.c : HAVE_UNISTD_H
      	* app/config/gimpconfig.c :
      	  app/config/gimprc.c : HAVE_UNISTD_H, use <io.h> for
      	open() prototype and merged pmode parameter
      	(_S_IREAD | _S_IWRITE)
      
      	* app/core/cpercep.c : msvc doesn't have cbrt(), provide
      	it via pow(). Also include <glib.h> for painless 'inline'
      	definition.
      
      	* app/core/gimpdatafiles.c : ported to GDir usage
      
      	* app/core/gimpimage-convert.c : work around a msvc compiler
      	limitation (can't convert from uint64 to double)
      
      	* app/file/file-open.c app/file/file-save.c :
      	access() -> _access() for G_OS_WIN32
      
      	* app/plug-in/plug-in.c : HAVE_UNISTD_H and <io.h>
      
      	* libgimpbase/gimpbase.def : updated externals
      
      	* libgimpbase/gimpenv.c : define WIN32_LEAN_AND_MEAN to
      	avoid clashes with incompatible DATADIR definitions
      
      	* libgimpcolor/gimpcolor.def : updated externals
      
      	* lingimpmath/gimpmath.def : updated externals
      
      	* libgimpwidgets/gimpwidgets.def : updated externals
      
      	* libgimpwidgets/libgimp-glue.c : adapt to const changes
      	of some prototypes
      
      	* plug-ins/makefile.msc : disabled gdyntext
      
      	* plug-ins/gap/iter_ALT/*/*.inc : GimpRunModeType -> GimpRunMode
      
      	* plug-ins/FractalExplorer/FractalExplorer.c :
      	* plug-ins/gap/gap_lib.c :
      	* plug-ins/gfig/gfig.c :
      	* plug-ins/gflare/gflare.c :
      	* plug-ins/gimpressionist/gimpressionist.c :
      	replaced DIRENT usage with GDir
      
      	* plug-ins/script-fu/script-fu-scripts.c : #include <windows.h>
      	to get the Sleep() prototype
      6cb914db
  34. 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
  35. 11 Dec, 2001 1 commit
  36. 10 Dec, 2001 1 commit
    • Sven Neumann's avatar
      libgimpbase/Makefile.am added new function gimp_plug_in_directory() to · 3bd3300d
      Sven Neumann authored
      2001-12-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpenv.[ch]: added new function gimp_plug_in_directory()
      	to retrieve the compile_time defined plug_in directory. Declared some
      	functions G_GNUC_CONST and simplified code by introducing a helper
      	function.
      
      	* app/config/Makefile.am
      	* app/config/gimpcoreconfig.[ch]: started to implement GimpCoreConfig
      	derived from GimpBaseConfig.
      
      	* app/config/gimpbaseconfig.[ch]: misc small changes.
      
      	* app/config/gimpconfig-deserialize.c
      	(gimp_config_deserialize_properties): return quietly if there are no
      	properties.
      
      	* app/config/gimpconfig-substitute.c: more special cases.
      
      	* app/config/test-config.c: test GimpCoreConfig.
      3bd3300d