1. 31 Aug, 2004 1 commit
  2. 29 Aug, 2004 1 commit
  3. 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
      	* 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.
  4. 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.
  5. 19 Jul, 2004 1 commit
    • Michael Natterer's avatar
      removed GimpConfigInterface typedef, added comments to typedefs which · 9357713a
      Michael Natterer authored
      2004-07-19  Michael Natterer  <mitch@gimp.org>
      	* app/config/config-types.h: removed GimpConfigInterface typedef,
      	added comments to typedefs which don't belong here.
      	* app/config/gimpconfig.h: added GimpConfigInterface typedef.
      	* app/core/core-types.h
      	* app/display/display-types.h: added commented out typedefs for
      	types that live in config-types.h for obscure reasons.
      	* app/core/core-types.h: reordered stuff to match the order in the
      	API docs (makes keeping stuff in sync much easier).
  6. 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.
  7. 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"
      	* 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!
  8. 24 May, 2004 1 commit
    • Michael Natterer's avatar
      app/config/gimpconfigwriter.c app/core/gimpstrokeoptions.c · 94010e83
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpconfigwriter.c
      	* app/core/gimpstrokeoptions.c
      	* app/widgets/gimpactiongroup.c
      	* app/widgets/gimpcolorframe.h
      	* app/widgets/gimpcolorpanel.h
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimptooldialog.h
      	* app/widgets/gimpuimanager.c
      	* app/widgets/widgets-types.h: fixed various small issues I
      	stumbled across when updating the API reference for app/.
  9. 18 May, 2004 1 commit
    • Michael Natterer's avatar
      Allow plug-ins to register menu icons. Fixes bug #120500. · 3fb934b2
      Michael Natterer authored
      2004-05-18  Michael Natterer  <mitch@gimp.org>
      	Allow plug-ins to register menu icons. Fixes bug #120500.
      	* app/core/core-enums.[ch]: added enum GimpIconType which can
      	be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
      	* app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
      	functions which write/parse raw binary data. Needed for storing
      	inline pixbufs in pluginrc.
      	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
      	new function which writes out an unquoted and unescaped string.
      	* app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
      	new members "icon_type", "icon_data_length" and "icon_data".
      	Reordered members so file_proc specific stuff is at the end.
      	(plug_in_proc_def_get_pixbuf): new functions to access the
      	procedure's icon.
      	* app/plug-in/plug-in-rc.c: save/restore the registered icons.
      	* app/actions/file-dialog-actions.c
      	* app/actions/plug-in-actions.c: set the action's stock ID from
      	the procedure's stock ID.
      	* app/widgets/gimppluginaction.c
      	(gimp_plug_in_action_connect_proxy): if the procedure provides a
      	pixbuf, set it as icon for the menu item.
      	* app/menus/file-dialog-menu.[ch]
      	* app/menus/file-open-menu.c
      	* app/menus/file-save-menu.c
      	* app/xcf/xcf.c: changed accordingly.
      	* tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
      	function which can be called during query().
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimpplugin_pdb.c
      	* libgimp/gimpplugin_pdb.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c: regenerated.
      	* plug-ins/common/plugindetails.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/print/print.c: register stock_id icons.
      	* plug-ins/common/screenshot.c: register an inline_pixbuf icon for
      	testing purposes (used emblem-camera.png from gnome-icon-theme).
      	* app/actions/dialogs-actions.c
      	* app/actions/file-actions.c: unrelated: added some more icons
      	to menu items.
  10. 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.
  11. 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:
      	* app/text/gimptext-vectors.c
      	* app/text/gimptext-bitmap.c:
  12. 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 /
      	* 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.
  13. 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
      	* 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
  14. 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
      	* 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.
  15. 04 Feb, 2004 1 commit
    • Sven Neumann's avatar
      added the new function gimp_rc_set_unknown_token() to get autosave working · a4304638
      Sven Neumann authored
      2004-02-04  Sven Neumann  <sven@gimp.org>
      	* app/config/gimprc.[ch]: added the new function
      	gimp_rc_set_unknown_token() to get autosave working for unknown
      	gimprc tokens.
      	* app/config/gimpconfig.c: indentation.
      	* tools/pdbgen/pdb/gimprc.pdb: gimp->edit_config was used for a
      	good reason, it's the one that's saved. Reverted a change I did
      	about a month ago. Use gimp_rc_set_unknown_token() so unknown
      	tokens get saved. This really fixes gimp_gimprc_set().
      	* app/pdb/gimprc_cmds.c: regenerated.
  16. 01 Feb, 2004 1 commit
    • Michael Natterer's avatar
      when calculating the length of the expanded path, add the length of the · 28f95f9c
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpconfig-path.c (gimp_config_path_expand_only):
      	when calculating the length of the expanded path, add the length
      	of the UTF-8 converted substitution, not its length in filesystem
      	encoding. Finally enables GIMP2_DIRECTORY containing non-ascii
      	chars (at least on linux). Should fix bug #130118.
  17. 28 Jan, 2004 2 commits
    • 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
      	* 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
      	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.
    • Michael Natterer's avatar
      return early if gimp_config_path_expand_only() fails. · 9c28c229
      Michael Natterer authored
      2004-01-28  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpconfig-path.c (gimp_config_path_expand): return
      	early if gimp_config_path_expand_only() fails.
  18. 23 Jan, 2004 1 commit
    • Michael Natterer's avatar
      app/app_procs.c app/errors.c app/main.c app/config/gimpconfigwriter.c · 57911bbc
      Michael Natterer authored
      2004-01-23  Michael Natterer  <mitch@gimp.org>
      	* app/app_procs.c
      	* app/errors.c
      	* app/main.c
      	* app/config/gimpconfigwriter.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/gui/user-install-dialog.c
      	* app/plug-in/plug-ins.c
      	* app/vectors/gimpvectors-import.c: some more gimp_filename_to_utf8().
      	* libgimp/gimp.c
      	* libgimpmodule/gimpmodule.c
      	* libgimpmodule/gimpmoduledb.c: use it here, too, now that is in
  19. 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".
    • 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.
  20. 15 Jan, 2004 1 commit
  21. 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().
  22. 11 Jan, 2004 1 commit
    • Tor Lillqvist's avatar
      Convert to native encoding (if requested) only after expanding completely. · 6ee79a75
      Tor Lillqvist authored
      2004-01-11  Tor Lillqvist  <tml@iki.fi>
      	* app/config/gimpconfig-path.c: Convert to native encoding (if
      	requested) only after expanding completely. (Mentioned in #130118,
      	patch by Sven.)
      	* app/base/tile-swap.c
      	* app/pdb/image_cmds.c
      	* app/plug-in/plug-in.c
      	* libgimp/gimp.c
      	* libgimpbase/gimpdatafiles.c
      	* libgimpbase/gimpenv.c
      	* libgimpmodule/gimpmoduledb.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/url.c
      	* plug-ins/gfig/gfig-preview.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/print/print.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* tools/pdbgen/pdb/image.pdb: Remove __EMX__ ifdefs. EMX port is
      	unmaintained, presumed dead. (#131109)
  23. 14 Nov, 2003 3 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.
    • 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.
    • 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.
  24. 13 Nov, 2003 1 commit
  25. 07 Nov, 2003 1 commit
    • Sven Neumann's avatar
      added GIMP_CONFIG_ERROR_VERSION to GimpConfigError enum. · 74c8218a
      Sven Neumann authored
      2003-11-08  Sven Neumann  <sven@gimp.org>
      	* app/config/gimpconfig-error.h: added GIMP_CONFIG_ERROR_VERSION
      	to GimpConfigError enum.
      	* libgimpbase/gimpprotocol.h: renamed GP_VERSION to
      	* libgimp/gimp.c
      	* app/plug-in/plug-in-run.c: changed accordingly.
      	* app/plug-in/plug-in-rc.[ch]: write the protocol version to the
      	pluginrc and stop parsing when a wrong protocol version is found.
      	* app/plug-in/plug-ins.c: pass a GError to plug_in_rc_parse().
  26. 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
      	* 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
      	* 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.
  27. 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.
    • 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.
  28. 24 Oct, 2003 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · f299ada6
      Sven Neumann authored
      2003-10-24  Sven Neumann  <sven@gimp.org>
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-histogram-linear-16.png
      	* themes/Default/images/stock-histogram-logarithmic-16.png:
      	added placeholders for new icons.
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      	* app/tools/gimphistogramtool.c: made the dialog more compact by
      	using a stock-box for the histogram scale.
      	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
      	don't invert the histogram view if the full range is selected.
      	* app/widgets/gimphistogrambox.c: moved the range widgets below
      	the histogram.
      	* app/config/gimpconfig-params.h: added macro
      	GIMP_CONFIG_INSTALL_PROP_RESOLUTION() that installs a double
      	property with the suitable range.
      	* app/core/gimptemplate.c
      	* app/config/gimpdisplayconfig.c: use it here.
  29. 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
      	* 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.
  30. 15 Oct, 2003 3 commits
    • Michael Natterer's avatar
      app/widgets/gimpdocked.c (gimp_docked_iface_base_init) they are base_init, · b09cadf0
      Michael Natterer authored
      2003-10-15  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimpdocked.c (gimp_docked_iface_base_init)
      	* app/config/gimpconfig.c (gimp_config_iface_base_init): they are
      	base_init, not just init functions. Changed implementations to not
      	overwrite the parent class' vtable entries with the default
      	implementations. Fixes derived interface methods and brings
      	back all dockable menus.
    • 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.
    • 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
      	* 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.
  31. 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
      	* 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
      	* app/display/gimpdisplayshell.h: fixed typo.
    • 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
      	* 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.
  32. 12 Oct, 2003 1 commit
    • Sven Neumann's avatar
      fixed dependencies for test-config. · 350f9882
      Sven Neumann authored
      2003-10-12  Sven Neumann  <sven@gimp.org>
      	* app/config/Makefile.am: fixed dependencies for test-config.
      	* app/config/gimpconfigwriter.[ch]: code cleanup and documentation.
      	* app/composite/gimp-composite-generic.[ch]: made prototype for
      	gimp_composite_color_any_any_any_generic() match the implementation.
      	* app/composite/gimp-composite.c: fixed some issues with the
      	comment templates.