1. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  2. 30 Sep, 2008 1 commit
    • Michael Natterer's avatar
      Bug 546924 – "New Image" misscalculating dimensions for non-pixel sized · 6865bb9e
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@gimp.org>
      
      	Bug 546924 – "New Image" misscalculating dimensions for non-pixel
      	sized templates
      
      	* app/core/gimptemplate.h: added private param flag
      	GIMP_TEMPLATE_PARAM_COPY_FIRST.
      
      	* app/core/gimptemplate.c (gimp_template_class_init): set the flag
      	on the resolution properties.
      
      	* app/dialogs/image-new-dialog.c (image_new_template_changed):
      	make sure the resolution properties are copied first.
      
      	* libgimpconfig/gimpconfig-utils.c (gimp_config_sync): remove
      	comment about fixing the template editor. That's not true any
      	more.
      
      
      svn path=/trunk/; revision=27091
      6865bb9e
  3. 01 Feb, 2008 1 commit
    • Michael Natterer's avatar
      add new method GimpConfigInterface::copy() which by default calls · 69d2abcb
      Michael Natterer authored
      2008-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfig-iface.[ch]: add new method
      	GimpConfigInterface::copy() which by default calls
      	gimp_config_sync() but is overridable for objects which are not
      	entirely property-defined or otherwise evil.
      
      	Freeze/thaw property notifications in deserialize() and reset().
      
      	* libgimpconfig/gimpconfig-utils.c (gimp_config_sync): freeze/thaw
      	property notifications on the dest object.
      
      
      svn path=/trunk/; revision=24767
      69d2abcb
  4. 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
  5. 06 Dec, 2006 1 commit
  6. 29 Jul, 2005 1 commit
  7. 07 Apr, 2005 1 commit
    • Sven Neumann's avatar
      changed GimpConfig utility functions to take GObject variables instead of · 333593da
      Sven Neumann authored
      2005-04-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-utils.[ch]: changed GimpConfig utility
      	functions to take GObject variables instead of GimpConfig. There's
      	nothing GimpConfig specific about these utilities.
      
      	* app/actions/templates-commands.c
      	* app/actions/tool-options-commands.c
      	* app/base/base.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/config/gimprc.c
      	* app/core/gimpimage-grid.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpstrokedesc.c
      	* app/dialogs/grid-dialog.c
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextundo.c
      	* app/tools/gimptextoptions.c
      	* libgimpconfig/gimpconfig-iface.c: changed accordingly.
      333593da
  8. 06 Apr, 2005 1 commit
    • Sven Neumann's avatar
      added new function to reset a single property to its default value. · 7647db53
      Sven Neumann authored
      2005-04-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-utils.[ch]: added new function to reset
      	a single property to its default value.
      
      	* libgimpconfig/gimpconfig.def: updated.
      
      	* app/config/gimpbaseconfig.[ch]: reverted last change.
      
      	* app/base/base.c: use gimp_config_reset_property() instead.
      7647db53
  9. 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
  10. 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
  11. 25 Jan, 2005 2 commits
    • 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
  12. 24 Jan, 2005 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am app/config/gimpconfig-file.[ch] more new files, · 73c055bb
      Sven Neumann authored
      2005-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-file.[ch]
      	* app/config/gimprc-utils.[ch]: more new files, code factored out
      	of gimpconfig-utils.[ch].
      
      	* app/config/gimpconfig-path.[ch]
      	* app/config/gimpconfig-utils.[ch]
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c
      	* app/config/gimprc.c
      	* app/core/gimp-units.c
      	* app/dialogs/user-install-dialog.c
      	* app/gui/session.c: changed accordingly.
      73c055bb
  13. 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
  14. 31 Oct, 2004 1 commit
    • Sven Neumann's avatar
      copy the file permissions also. · bd3a5ed2
      Sven Neumann authored
      2004-10-31  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_file_copy): copy the
      	file permissions also.
      
      	* app/dialogs/user-install-dialog.c: added code to migrate user
      	settings from ~/.gimp-2.0. It copies all files (except GIMP swap
      	files) and all subdirectories (except tmp) with all files. It
      	doesn't recurse into subdirectories.
      bd3a5ed2
  15. 11 Mar, 2004 1 commit
    • Sven Neumann's avatar
      made gimp_config_sync() and gimp_config_connect() also work on objects of · 21f26743
      Sven Neumann authored
      2004-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c: made gimp_config_sync() and
      	gimp_config_connect() also work on objects of different types.
      	Properties with the same name and the same type are synced /
      	connected.
      
      	* app/core/gimpcontext.[ch]: added convenience functions to get/set
      	the font by name.
      
      	* app/tools/gimptextoptions.[ch]: don't hold a GimpText object
      	that duplicates properties like font and color which are in
      	GimpContext already. Instead added all text properties that are
      	controlled from the text tool options.  Handling of the foreground
      	color is somewhat broken and needs a GimpContext wizard (Mitch!).
      
      	* app/text/gimptext.c: blurbs are not any longer needed now that
      	the property widgets are created from the GimpTextOptions.
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/widgets/gimptexteditor.[ch]: use an internal GtkTextBuffer
      	and emit "text-changed" when it changes.
      21f26743
  16. 28 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Added infrastructure to make sure we don't write to the global brush, · 894cf70d
      Michael Natterer authored
      2004-01-28  Michael Natterer  <mitch@gimp.org>
      
      	Added infrastructure to make sure we don't write to the global
      	brush, pattern etc. directories. Needed to make this configurable
      	because we can't rely on the global directories being read-only,
      	having certain names or being otherwise detectable at runtime in a
      	sane way. Fixes bug #132214.
      
      	* libgimpbase/gimpdatafiles.[ch]: added "const gchar *dirname" to
      	the GimpDataFileData struct so callbacks don't need to call
      	g_path_get_dirname() for each file.
      
      	* libgimpwidgets/gimpfileentry.c: made it work with non UTF-8
      	encoded filenames.
      
      	* libgimpwidgets/gimppatheditor.[ch]: ditto. Added GUI and API for
      	setting/getting a second "writable_path". The widget makes sure
      	that the writable_path is always a subset of the path.
      
      	* app/config/gimpconfig-utils.[ch]: added new function
      	gimp_config_build_writable_path().
      
      	* app/config/gimpcoreconfig.[ch]: added separate properties for
      	the writable brush, pattern, gradient, palette and font paths.
      
      	* app/config/gimprc-blurbs.h: added (still empty) blurbs for the
      	new properties.
      
      	* app/core/gimpdata.[ch] (gimp_data_set_filename): added parameter
      	"gboolean writable". Set data->writable to FALSE by default. If
      	"writable" is passed as TRUE, still check if we can write to the
      	file before setting data->writable to TRUE.
      
      	(gimp_data_create_filename): changed "data_path" parameter to
      	"dest_dir" and assume dest_dir is writable.
      
      	(gimp_data_duplicate): set data->dirty to TRUE to make sure
      	duplicated things will be saved.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: don't set the data's filename and don't
      	touch data->dirty in the _load() functions because that's done by
      	the data factory now. Don't touch data->dirty in the _duplicate()
      	functions because that's done by gimp_data_duplicate() itself now.
      
      	* app/core/gimpdatafactory.[ch] (gimp_data_factory_new): added
      	"writable_property_name" and remember it.
      	Added utility function gimp_data_factory_get_save_dir() which
      	determines the directory to save new datas to.
      	Added public function gimp_data_factory_data_save_single() which
      	saves a single data object.
      	Make sure new things get saved to the first writable directory
      	as specified in preferences.
      
      	* app/core/gimp.c (gimp_real_initialize): pass the writable_paths'
      	property names to gimp_data_factory_new().
      
      	* app/widgets/gimpdataeditor.c (gimp_data_editor_save_dirty): use
      	gimp_data_factory_data_save_single() instead of implementing
      	saving here.
      
      	* app/widgets/gimppropwidgets.[ch] (gimp_prop_path_editor_new):
      	added "const gchar *writable_property_name" parameter (can be
      	NULL).
      
      	Added the needed callbacks to handle the writable_path and made
      	the path_editor and file_entry code aware of non UTF-8 filename
      	encodings. Some general cleanup.
      
      	* app/gui/preferences-dialog.c: changed accordingly.
      894cf70d
  17. 19 Jan, 2004 2 commits
    • Sven Neumann's avatar
      include "libgimpbase/gimpbase.h" where needed; removed now unnecessary · 6d506d51
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
      	now unnecessary inclusions of "file/file-utils.h".
      6d506d51
    • Sven Neumann's avatar
      removed file_utils_filename_to_utf8() ... · a70698c4
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-utils.[ch]: removed file_utils_filename_to_utf8() ...
      
      	* libgimpbase/gimputils.[ch]: ... and added it here as
      	gimp_filename_to_utf8(). Added some docs that promise less than
      	the current implementation holds so that we can change the
      	implementation later.
      
      	* app/*/*.c: use gimp_filename_to_utf8() where
      	file_utils_filenames_to_utf8() has been used before.
      
      	* libgimpbase/gimpbase.def: changed accordingly.
      
      	* configure.in: reset GIMP_INTERFACE_AGE.
      a70698c4
  18. 15 Jan, 2004 1 commit
  19. 14 Jan, 2004 1 commit
    • Tor Lillqvist's avatar
      Add new function file_utils_filename_to_utf8(), which is to be used when · 18485018
      Tor Lillqvist authored
      2004-01-14  Tor Lillqvist  <tml@iki.fi>
      
      	* app/file/file-utils.[ch]: Add new function
      	file_utils_filename_to_utf8(), which is to be used when converting
      	file names (which are kept in the on-disk encoding) to UTF-8 for
      	passing to GTK, or to g_print() etc.
      
      	* app/*/*.c: Call file_utils_filename_to_utf8(). Should fix most
      	of the warnings generated by non-UTF8 pathnames. See #130118.
      
      	* libgimpbase/gimpenv.b: Document that gimp_directory() etc return
      	strings in the on-disk encoding.
      
      	* libgimpmodule/gimpmodule.c: Convert filenames to UTF-8 (using
      	g_filename_to_utf8()) before passing to g_print().
      18485018
  20. 14 Nov, 2003 2 commits
    • Michael Natterer's avatar
      app/config/gimpconfig-utils.c use standard file error message strings. · c6bd27d2
      Michael Natterer authored
      2003-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.c
      	* app/gui/themes.c: use standard file error message
      	strings. Removes two more translatable strings.
      c6bd27d2
    • 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
  21. 25 Oct, 2003 2 commits
    • Sven Neumann's avatar
      app/app-docs.sgml updated. · da365fdb
      Sven Neumann authored
      2003-10-25  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt: updated.
      
              * app/config/gimpconfig-utils.c: fixed inline docs.
      da365fdb
    • Sven Neumann's avatar
      make it a two-way connection and added a property_name parameter so it can · f7db733e
      Sven Neumann authored
      2003-10-25  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch] (gimp_config_connect): make it
      	a two-way connection and added a property_name parameter so it
      	can be used to connect only a certain property.
      
      	* app/tools/gimptexttool.c: changed accordingly.
      
      	* app/tools/gimphistogramoptions.c: use gimp_config_connect().
      	Changed the default histogram scale to linear.
      f7db733e
  22. 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
  23. 15 Oct, 2003 2 commits
    • Sven Neumann's avatar
      fixed comment. · 77e69b7b
      Sven Neumann authored
      2003-10-15  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_sync): fixed comment.
      77e69b7b
    • Sven Neumann's avatar
      minor cleanup. · 1e0816fa
      Sven Neumann authored
      2003-10-15  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_diff_internal): minor
      	cleanup.
      
      	* app/core/gimptemplate.[ch]: added a comment property.
      
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: removed "default_comment" property
      	and set the default comment on the default image template.
      
      	* app/widgets/gimptemplateeditor.c: added a comment editor widget.
      
      	* app/core/gimp.c
      	* app/gui/file-new-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/pdb/gimprc_cmds.c
      	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
      
      	* libgimpwidgets/gimpmemsizeentry.c (gimp_memsize_entry_init):
      	increased spacing between the spinbutton and the menu.
      1e0816fa
  24. 14 Oct, 2003 2 commits
    • Sven Neumann's avatar
      app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync) · cff08b64
      Sven Neumann authored
      2003-10-15  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync)
      	* app/config/gimpconfig.c (gimp_config_iface_equal): compare and sync
      	aggregate objects recursively.
      
      	* app/core/gimptemplate.c (gimp_template_finalize): don't leak the
      	filename.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/config/gimpconfig-dump.c: added %L format identifier for
      	verbose layer count. Renamed former %L to %n (layer name).
      
      	* app/config/gimpdisplayconfig.c: changed default image title and
      	image status format strings.
      
      	* app/gui/dialogs-constructors.c: added a blurb for Templates
      	dockables.
      
      	* app/display/gimpdisplayshell.h: fixed typo.
      cff08b64
    • Sven Neumann's avatar
      removed gimp_config_copy_properties() and added the more intelligent · 737da424
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: removed
      	gimp_config_copy_properties() and added the more intelligent
      	gimp_config_sync() instead.
      
      	* app/config/Makefile.am
      	* app/config/config-types.h
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: replaced default image properties
      	with a single GimpTemplate object property. Changed the
      	set_property function to not replace aggregate objects but call
      	gimp_config_sync() instead.
      
      	* app/tools/gimptextoptions.c (gimp_text_options_set_property):
      	same change here.
      
      	* app/config/gimpconfig.[ch]: changed return value of
      	gimp_config_duplicate() to gpointer to avoid some casts that only
      	made the code harder to read.
      
      	* app/widgets/gimptemplateeditor.[ch]: don't keep an internal copy
      	here but edit the GimpTemplate passed when the editor was
      	constructed.
      
      	* app/gui/preferences-dialog.c: use a GimpTemplateEditor to allow
      	editing of the default image paramaters.
      
      	* app/config/gimprc.c
      	* app/core/core-types.h
      	* app/core/gimp.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-grid.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage.c
      	* app/core/gimptemplate.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/grid-dialog.c
      	* app/gui/info-window.c
      	* app/gui/resize-dialog.c
      	* app/gui/templates-commands.[ch]
      	* app/gui/tool-options-commands.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimptemplateview.c
      	* app/xcf/xcf-load.c: changed accordingly.
      737da424
  25. 12 Oct, 2003 1 commit
    • Sven Neumann's avatar
      removed function gimp_config_serialize_comment()... · 4ea392ef
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.[ch]: removed function
      	gimp_config_serialize_comment()...
      
      	* app/config/gimpconfig-utils.[ch]: removed function
      	gimp_config_string_indent()...
      
      	* app/config/gimpconfigwriter.[ch]: ... and implement both here.
      	Added a comment mode to GimpConfigWriter.
      
      	* app/config/gimpconfig-dump.c: handle GimpConfig properties.
      
      	* doc/gimprc-1.3.5.in
      	* etc/gimprc: regenerated by gimpconfig-dump.
      4ea392ef
  26. 11 Oct, 2003 1 commit
    • 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
  27. 01 Oct, 2003 1 commit
  28. 29 Sep, 2003 1 commit
    • Michael Natterer's avatar
      Fixed handling of G_PARAM_CONSTRUCT_ONLY properties: · 017d1839
      Michael Natterer authored
      2003-09-29  Michael Natterer  <mitch@gimp.org>
      
      	Fixed handling of G_PARAM_CONSTRUCT_ONLY properties:
      
      	* app/config/gimpconfig.c (gimp_config_iface_duplicate): build
      	a GParameter array of G_PARAM_CONSTRUCT_ONLY properties and
      	use g_object_newv() instead of g_object_new() to create the
      	copy.
      
      	* app/config/gimpconfig-utils.c
      	(gimp_config_copy_properties)
      	(gimp_consif_reset_properties): don't try to copy/reset
      	G_PARAM_CONSTRUCT_ONLY properties because it is impossible.
      
      	(gimp_config_connect_notify): ditto. Also don't try to read
      	from unreadable or write to unwritable properties.
      017d1839
  29. 24 Jul, 2003 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am moved code from gimpconfig.[ch] to these new files. · d75a2f79
      Sven Neumann authored
      2003-07-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-error.[ch]: moved code from gimpconfig.[ch]
      	to these new files.
      
      	* app/config/gimpconfig-utils.[ch]: moved gimp_config_string_indent()
      	here from gimpconfig.[ch].
      
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfigwriter.c
      	* app/config/gimprc.c
      	* app/config/gimpscanner.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/widgets/gimpdevices.c: changed accordingly.
      d75a2f79
  30. 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
  31. 05 Apr, 2003 1 commit
    • Michael Natterer's avatar
      reset object properties only if they are GIMP_PARAM_SERIALIZABLE. · e7fbd810
      Michael Natterer authored
      2003-04-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
      	reset object properties only if they are GIMP_PARAM_SERIALIZABLE.
      
      	* app/core/gimpcontext.[ch]: added a GimpTemplate property.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added a template dialog.
      
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: and menu entries to open it.
      
      	* app/widgets/gimpdnd.[ch]: added DND for GimpTemplates.
      e7fbd810
  32. 17 Mar, 2003 1 commit
    • Sven Neumann's avatar
      added the new function gimp_config_string_append_escaped(), see inline · b6dbe729
      Sven Neumann authored
      2003-03-17  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: added the new function
      	gimp_config_string_append_escaped(), see inline docs.
      
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfigwriter.c
      	* app/core/gimpcontainer.c: use the new function instead of
      	g_strescape().
      b6dbe729
  33. 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
  34. 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