1. 04 Jun, 2007 1 commit
    • Michael Natterer's avatar
      be forward-compatible by skipping unknown object properties. · b0c8362f
      Michael Natterer authored
      2007-06-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-deserialize.c: be forward-compatible by
      	skipping unknown object properties.
      
      	* app/config/gimprc-deserialize.c: synced code with
      	libgimpconfig (same stuff should look the same).
      
      	* app/config/gimprc.c: whitespace.
      
      
      svn path=/trunk/; revision=22698
      b0c8362f
  2. 02 Mar, 2007 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpconfig-serialize.c libgimpconfig/gimpconfig-error.c · 0d2c3957
      Sven Neumann authored
      2007-03-02  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-error.c
      	* libgimpconfig/gimpconfig-path.c
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfig-iface.c: corrected copyright notice
      	(bug #413731).
      
      
      svn path=/trunk/; revision=22038
      0d2c3957
  3. 08 Aug, 2006 1 commit
  4. 12 Apr, 2006 1 commit
  5. 30 Dec, 2005 1 commit
  6. 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
  7. 29 Jan, 2005 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpconfig-deserialize.c libgimpconfig/gimpconfig-error.c · b4a68e95
      Sven Neumann authored
      2005-01-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-error.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-path.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfigwriter.c
      	* libgimpconfig/gimpscanner.c: use libgimp header,
      	added "Since: GIMP 2.4" to the gtk-doc comments.
      b4a68e95
  8. 25 Jan, 2005 3 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
    • Michael Natterer's avatar
      new file holding the opaque typedefs for libgimpconfig. Includes · 3592a58d
      Michael Natterer authored
      2005-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfigtypes.h: new file holding the opaque
      	typedefs for libgimpconfig. Includes "libgimpbase/gimpbasetypes.h"
      
      	* libgimpconfig/Makefile.am: added the new file. Removed stuff
      	that is not needed.
      
      	* libgimpconfig/gimpconfigwriter.h
      	* libgimpconfig/gimpconfig-iface.h: removed typedefs here.
      
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfig.h
      	* libgimpconfig/gimpconfigwriter.c: include it before including
      	any other libgimpconfig stuff.
      
      	* app/config/config-types.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/config/gimpconfig-utils.h: changed include guards to
      	__APP_GIMP_CONFIG_UTILS_H__.
      
      	* app/dialogs/tips-parser.c: include <glib-object.h> instead of
      	just <glib.h>.
      
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimptextoptions.c: include "config/gimpconfig-utils.h"
      
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpsessioninfo.h: removed inclusion of
      	"libgimpbase/gimpbasetypes.h".
      3592a58d
    • William Skaggs's avatar
      continuing commit after broken pipe · 1cee9b72
      William Skaggs authored
      1cee9b72
  9. 24 Jan, 2005 2 commits
    • Sven Neumann's avatar
      removed an unused parameter. · edf1fc2d
      Sven Neumann authored
      2005-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.[ch]: removed an unused parameter.
      
      	* app/config/gimpconfig.c: changed accordingly.
      edf1fc2d
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.[ch] · 36c9dadf
      Sven Neumann authored
      2005-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]: factored out some rather obscure
      	GimpConfig features that were added solely for gimprc.
      
      	* app/config/Makefile.am
      	* app/config/gimprc-deserialize.[ch]
      	* app/config/gimprc-serialize.[ch]
      	* app/config/gimprc-unknown.[ch]: moved gimprc-specific code to
      	these new files.
      
      	* app/config/gimprc.c
      	* app/config/test-config.c: changed accordingly.
      36c9dadf
  10. 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
  11. 14 Nov, 2004 1 commit
    • Manish Singh's avatar
      Fix a bunch of warnings from Sparse: · 5d015810
      Manish Singh authored
      2004-11-13  Manish Singh  <yosh@gimp.org>
      
              Fix a bunch of warnings from Sparse:
      
              * app/actions/dockable-commands.c
              * app/actions/layers-actions.c
              * app/actions/view-commands.c
              * app/base/pixel-surround.c
              * app/config/gimpconfig-utils.c
              * app/config/gimpscanner.c
              * app/core/gimpbrushgenerated.c
              * app/core/gimpcontainer.c
              * app/core/gimpimage.c
              * app/dialogs/palette-import-dialog.c
              * app/file/gimprecentlist.c
              * app/plug-in/plug-in-params.c
              * app/text/gimptext-compat.c
              * app/text/gimptext-parasite.c
              * app/vectors/gimpbezierstroke.c
              * app/vectors/gimpstroke.c
              * app/widgets/gimpcellrendereraccel.c
              * app/widgets/gimpselectiondata.c
              * app/xcf/xcf.c
              * libgimp/gimp.c
              * libgimpthumb/gimpthumb-utils.c
              * libgimpthumb/gimpthumbnail.c
              * modules/cdisplay_proof.c
              * plug-ins/Lighting/lighting_ui.c
              * plug-ins/common/csource.c
              * plug-ins/common/glasstile.c
              * plug-ins/common/nova.c
              * plug-ins/common/pcx.c
              * plug-ins/common/pnm.c
              * plug-ins/common/randomize.c
              * plug-ins/common/screenshot.c
              * plug-ins/common/sel_gauss.c
              * plug-ins/common/spheredesigner.c
              * plug-ins/common/wind.c
              * plug-ins/gfig/gfig-dialog.c
              * plug-ins/gfig/gfig-dobject.c
              * plug-ins/gimpressionist/gimpressionist.c
              * plug-ins/ifscompose/ifscompose.c
              * plug-ins/print/gimp_main_window.c
              * plug-ins/print/print.c: Cleanup integer vs. pointer confusion.
      
              * app/base/temp-buf.c
              * app/dialogs/about-dialog.c
              * plug-ins/common/bumpmap.c
              * plug-ins/common/jigsaw.c
              * plug-ins/gfig/gfig-dobject.c: Cosmetic cleanups.
      
              * app/config/gimpconfig-deserialize.c
              * app/config/gimpconfig-path.c
              * app/config/gimpconfigwriter.c
              * app/core/gimpgradient.c
              * app/tools/gimpdrawtool.c
              * plug-ins/common/nlfilt.c
              * plug-ins/common/unsharp.c
              * plug-ins/common/zealouscrop.c: Define inline functions before they
              are used.
      
              * app/core/gimpdrawable-blend.c: PixelRegion definition was changed
              some time ago, but the initialization here didn't change. Fix it.
      
              * app/plug-in/plug-in-rc.c (plug_in_extra_deserialize): No need to
              assign token twice in a row.
      
              * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): No
              need to initialize file_data, since the code fills out all the fields.
      
              * plug-ins/common/CML_explorer.c
              * plug-ins/common/vpropagate.c: Declare function pointers fully.
      
              * plug-ins/common/grid.c (pix_composite): G_INLINE_FUNC isn't needed,
              we assume we can use the "inline" keyword always.
      
              * plug-ins/common/psd_save.c
              * plug-ins/common/vinvert.c
              * plug-ins/gfig/gfig-arc.c
              * plug-ins/gfig/gfig-bezier.c
              * plug-ins/gfig/gfig-circle.c
              * plug-ins/gfig/gfig-dialog.c
              * plug-ins/gfig/gfig-dobject.c
              * plug-ins/gfig/gfig-ellipse.c
              * plug-ins/gfig/gfig-line.c
              * plug-ins/gfig/gfig-poly.c
              * plug-ins/gfig/gfig-spiral.c
              * plug-ins/gfig/gfig-star.c
              * plug-ins/gfig/gfig.c
              * plug-ins/gimpressionist/orientmap.c
              * plug-ins/gimpressionist/placement.c
              * plug-ins/gimpressionist/sizemap.c
              * plug-ins/imagemap/imap_grid.c
              * plug-ins/imagemap/imap_main.c
              * plug-ins/imagemap/imap_preferences.c
              * plug-ins/imagemap/imap_settings.c
              * plug-ins/maze/maze.c
              * plug-ins/sel2path/curve.c
              * plug-ins/sel2path/fit.c
              * plug-ins/sel2path/pxl-outline.c
              * plug-ins/sel2path/spline.c
              * plug-ins/xjt/xjt.c: Functions with no args should be declared
              with (void).
      
              * plug-ins/common/retinex.c (MSRCR): Initialize max_preview to quiet
              the compiler.
      5d015810
  12. 27 Jul, 2004 1 commit
    • Sven Neumann's avatar
      libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def · bd427b2e
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbase.def
      	* libgimpbase/gimpmemsize.[ch]: added new files with memsize
      	related functions (moved here from gimputil.c) and
      	GIMP_TYPE_MEMSIZE (moved here from app/config/gimpconfig-types.[ch]).
      
      	* libgimpbase/gimputils.[ch]: removed gimp_memsize_to_string() here.
      
      	* libgimpbase/gimpunit.[ch]: added GIMP_TYPE_UNIT (moved here from
      	app/config/gimpconfig-types.[ch]).
      
      	* libgimpbase/gimpbase-private.c
      	* libgimp/gimptile.c
      	* libgimp/gimpunitcache.c
      	* plug-ins/help/domain.c
      	* app/xcf/xcf-read.c: need to include glib-object.h.
      
      	* plug-ins/common/uniteditor.c: use GIMP_TYPE_UNIT.
      
      	* app/config/gimpconfig-types.[ch]: removed code that lives in
      	libgimpbase now.
      
      	* app/config/gimpconfig-deserialize.c: changed accordingly.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/core/gimpcontext.c
      	* app/gui/grid-dialog.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpunitstore.c: no need to include gimpconfig-types.h
      	any longer.
      bd427b2e
  13. 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
  14. 08 Jul, 2004 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-deserialize.c removed redundant casts. · a4ac4de0
      Sven Neumann authored
      2004-07-08  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: removed redundant casts.
      
      	* app/widgets/gimpsessioninfo.[ch]: added convenience functions to
      	get and set aux-info based on object properties.
      
      	* app/widgets/gimphistogrameditor.c: use the new functions to save
      	a histogram's channel and scale in the sessionrc.
      a4ac4de0
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 13 Nov, 2003 1 commit
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 27 Mar, 2003 1 commit
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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