1. 26 Jul, 2004 1 commit
    • Michael Natterer's avatar
      added "gboolean writable" to the GimpDataFactoryLoaderEntry struct. Return · 638f2b3a
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdatafactory.h: added "gboolean writable" to the
      	GimpDataFactoryLoaderEntry struct. Return a GList* instead of
      	GimpData* from GimpDataLoadFunc so it's possible to load more than
      	one data object from one file.
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_load_data):
      	changed accordingly: add all items of the returned lists to the
      	data factory. Make the data object writable only if it's in the
      	writable path *and* its loader entry says it's a writable format
      	*and* the returned list contains exactly one element.
      
      	* app/core/gimp.c (gimp_real_initialize): declare all loader
      	entries as writable where we have code to read and write exactly
      	one object per file; all others are not writable.
      
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient-load.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch] (all load functions): return a list
      	containing the loaded object instead of the object itself.
      638f2b3a
  2. 23 Jul, 2004 1 commit
    • Sven Neumann's avatar
      some newlines to improve error messages. · 21dd0751
      Sven Neumann authored
      2004-07-23  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdatafactory.c: some newlines to improve error
      	messages.
      
      	* app/core/gimpgradient-load.c (gimp_gradient_load_svg): fixed
      	error handling.
      21dd0751
  3. 05 Jul, 2004 1 commit
  4. 03 Jun, 2004 2 commits
    • Sven Neumann's avatar
      removed commented-out message. · 532d42d0
      Sven Neumann authored
      2004-06-03  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_load_data):
      	removed commented-out message.
      
      	* app/core/gimppattern.[ch]: fixed handling of errors and PNG
      	comments in new pattern loader. Renamed functions for consistency
      	with other data loaders.
      
      	* app/core/gimp.c: changed accordingly.
      532d42d0
    • Dave Neary's avatar
      Add support for GdkPixbuf patterns, so now all of png, jpex, pnm, xbm, · d088fd3f
      Dave Neary authored
      
      
      2004-06-03  Dave Neary  <bolsh@gimp.org>
      
              * app/core/gimp.c:
              * app/core/gimpdatafactory.c:
              * app/core/gimppattern.[ch]: Add support for GdkPixbuf patterns,
              so now all of png, jpex, pnm, xbm, bmp, gif, ico, pcx, ras, tga,
              xpm and tiff can be used for patterns.
      d088fd3f
  5. 01 Jun, 2004 1 commit
    • Michael Natterer's avatar
      added new function gimp_data_factory_data_delete(). · 149888b5
      Michael Natterer authored
      2004-06-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdatafactory.[ch]: added new function
      	gimp_data_factory_data_delete().
      
      	* app/actions/data-commands.c (data_delete_callback): use it.
      
      	* tools/pdbgen/pdb/gradients.pdb: applied (slightly modified)
      	patch from Shlomi Fish which adds PDB wrappers to create, delete,
      	duplicate and rename gradients.
      
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgradients_pdb.[ch]: regenerated.
      149888b5
  6. 24 May, 2004 1 commit
    • Michael Natterer's avatar
      Long overdue core container cleanup: · 1c62ddef
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      
      	Long overdue core container cleanup:
      
      	* app/core/gimplist.[ch]: added "unique-names" and "sort-func"
      	properties and merged the resp. code from GimpDataList into
      	GimpList. Removed "policy" parameters from gimp_list_new() and
      	added "unique_names". Added new constructor gimp_list_new_weak().
      	Made public function gimp_list_uniquefy_name() private.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpdatalist.[ch]: removed. Its functionality is
      	entirely in GimpList now.
      
      	* app/core/gimpdata.[ch]: added gimp_data_name_compare() which
      	used to live in GimpDataList.
      
      	* app/core/gimp.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage.c
      	* app/core/gimptoolinfo.c
      	* app/core/gimpundostack.c
      	* app/paint/gimp-paint.c
      	* app/tools/gimp-tools.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimpundoeditor.c: changed list creation accordingly.
      
      	Made gimp->templates, gimp->named_buffers, tool_info->presets and
      	the image's lists of layers, channels and vectors automatically
      	ensure unique names.
      
      	* app/widgets/gimptemplateview.c
      	* app/actions/file-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/tool-options-commands.c: removed calls to
      	gimp_list_uniquefy_name().
      
      	* app/core/gimpitem.c: removed major insanity where the items
      	themselves where ensuring their unique names. Bah!
      
      	* app/core/gimplayer.c (gimp_layer_name_changed): chain up
      	conditionally.
      
      	* app/core/gimplayermask.c (gimp_layer_mask_name_changed): removed
      	because there is no need any more to keep the parent
      	implementation from being invoked.
      1c62ddef
  7. 13 Feb, 2004 1 commit
    • Michael Natterer's avatar
      Fixed GimpData's default "writable" and "deletable" behaviour: · d991e64b
      Michael Natterer authored
      2004-02-13  Michael Natterer  <mitch@gimp.org>
      
      	Fixed GimpData's default "writable" and "deletable" behaviour:
      
      	* app/core/gimpdata.c (gimp_data_init): default to writable and
      	deletable == TRUE (something that has no filename was never loaded
      	from disk and can't be undeletable or read-only).
      	Fixes bug #134274.
      
      	* app/core/gimpdata.[ch]: added new function
      	gimp_data_make_internal() which frees the filename and sets the
      	data's flags accordingly.
      
      	* app/core/gimp-gradients.c (gimp_gradients_add_gradient)
      	* app/core/gimpbrush.c (gimp_brush_get_standard)
      	* app/core/gimpgradient.c (gimp_gradient_get_standard)
      	* app/core/gimppalette.c (gimp_palette_get_standard)
      	* app/core/gimppattern.c (gimp_pattern_get_standard): use the
      	new function for internal data objects.
      
      	* app/core/gimpdata.c (gimp_data_save, gimp_data_delete_from_disk)
      	* app/core/gimpdatafactory.c (gimp_data_factory_save_single):
      	bail out with g_return_if_fail() is the data is not writable
      	or deletable.
      
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      d991e64b
  8. 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
  9. 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
      	libgimpbase.
      57911bbc
  10. 08 Dec, 2003 1 commit
    • Michael Natterer's avatar
      code review / cleanup. · b2ff2897
      Michael Natterer authored
      2003-12-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdatafactory.c: code review / cleanup.
      
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-in-message.c: unified messages about plug-in
      	errors. Changed lots of g_warning()s to g_message()s because
      	g_warning() is for programming errors and the user should be
      	informed that the plug-in was killed and did not simply crash.
      b2ff2897
  11. 16 Nov, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpbaseconfig.h use gint64 for all memsize properties. · fd30d5c9
      Sven Neumann authored
      2003-11-16  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpbaseconfig.h
      	* app/config/gimpcoreconfig.h: use gint64 for all memsize properties.
      
      	* app/base/tile-manager.[ch] (tile_manager_get_memsize): since
      	tiles can be swapped out, a tilemanager can be larger than gsize
      	(on 32bit platforms). Use a gint64 to avoid an overflow.
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage-undo.[ch]
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimpitemundo.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpobject.[ch]
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.[ch]
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpstroke.c
      	* app/vectors/gimpvectors.c: use gint64 for gimp_object_get_memsize()
      	and all its implementations.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/gui/info-window.c: changed accordingly.
      fd30d5c9
  12. 14 Nov, 2003 1 commit
    • 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
  13. 25 Aug, 2003 1 commit
    • Michael Natterer's avatar
      changed GimpObject::get_memsize() to return a second value named · 24f3da16
      Michael Natterer authored
      2003-08-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.[ch]: changed GimpObject::get_memsize() to
      	return a second value named "gui_size", where the primary return
      	value is the "constant" actual size (as long as no operation is
      	performed on the object), and the second "gui_size" return value
      	is the size of temporary stuff like preview caches or boundary
      	segments (which may change asynchronously, even if the object is
      	on the undo stack).
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.c
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpstroke.c
      	* app/vectors/gimpvectors.c: changed get_memsize() implementations
      	accordingly.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/gui/debug-commands.c
      	* app/widgets/gimppreview.c: changed callers accordingly.
      
      	* app/core/gimpimage-undo-push.c: changed layer, channel, vectors
      	and layer_mask undo steps to add/subtract the size of the
      	resp. objects whenever they take/drop ownership of them. Ignore
      	the objects' "gui_size" to get identical sizes on
      	adding/subtracting. Fixes bug #120429.
      24f3da16
  14. 02 Jul, 2003 1 commit
    • Michael Natterer's avatar
      changed GimpDatafileLoaderFunc to take a separate "gpointer user_data" · 74710fcc
      Michael Natterer authored
      2003-07-02  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbasetypes.h: changed GimpDatafileLoaderFunc to
      	take a separate "gpointer user_data" parameter (passing user_data
      	in a struct was a quite nonstandard API design). Made the
      	GimpDatafileData pointer const.
      
      	* libgimpbase/gimpdatafiles.[ch]: removed user_data from the
      	GimpDatafileData struct and added "const gchar *basename" so we
      	don't need to g_path_get_basename() in many callbacks.
      
      	* libgimp/gimpmiscui.[ch]: changed gimp_plug_in_parse_path() to
      	gimp_plug_in_get_path() and return the unparsed path.
      
      	* app/core/gimpdatafactory.c
      	* app/core/gimpenvirontable.c
      	* app/gui/gui.c
      	* app/plug-in/plug-ins.c
      	* libgimpmodule/gimpmoduledb.c
      	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.[ch]
      	* plug-ins/FractalExplorer/Globals.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: use gimp_datafiles_read_directories()
      	instead of fiddling with g_dir_open() manually. Random cleanups.
      74710fcc
  15. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  16. 05 Jan, 2003 1 commit
  17. 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
  18. 02 Dec, 2002 1 commit
    • Michael Natterer's avatar
      use GError for reporting load/save errors. Added gimp_data_error_quark() · 4ccd0f0a
      Michael Natterer authored
      2002-12-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdata.[ch]: use GError for reporting load/save
      	errors. Added gimp_data_error_quark() and a GimpDataError enum.
      	Made simple virtual functions out of save(), get_extension()
      	and duplicate() because they don't need to be signals.
      
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch]: changed accordingly. Set data->dirty
      	to FALSE in each _load() function.
      
      	* app/core/gimpdatafactory.[ch]: report GError messages here.
      	Changed the ugly factory->path pointer location hack to
      	factory->path_property_name and get the path from
      	factory->gimp->config. Added gimp_data_factory_data_duplicate()
      	implementation which was already declared in the header.
      
      	* app/core/gimp.c: pass the path property name to
      	gimp_data_factory_new().
      
      	* app/widgets/gimpdatafactoryview.c: removed the duplicate
      	implementation and call gimp_data_factory_data_duplicate().
      
      	* app/core/gimpgradient.[ch]: added gimp_gradient_save_as_pov().
      
      	* app/gui/gradients-commands.c: removed save_as_pov implementation
      	and call gimp_gradient_save_as_pov().
      4ccd0f0a
  19. 30 Nov, 2002 1 commit
    • Michael Natterer's avatar
      removed the global "base_config" variable. · 5c86e639
      Michael Natterer authored
      2002-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-types.h: removed the global "base_config" variable.
      
      	* app/base/base.[ch]: added "gboolean use_mmx" to base_init().
      	Don't #include "appenv.h". Pass around more parameters to reduce
      	the usage of the global "paint_options" pointer.
      
      	* app/app_procs.c: pass "use_mmx" to base_init().
      
      	* app/base/temp-buf.c: pass "temp_path" around internally. Declare
      	"base_config" extern and added a #warning.
      
      	* app/core/gimpdata.[ch]
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch]: added "gboolean stingy_memory_use"
      	parameters to all _new(), _load() and _duplicate() functions.
      
      	* app/core/gimpmarshal.list: GimpData::duplicate needs an
      	OBJECT__BOOLEAN marshaller now.
      
      	* app/core/gimpdatafactory.[ch]: added a "Gimp" pointer so the
      	factory can find the config. Pass base_config->stingy_memory_use
      	to the GimpData functions changed above.
      
      	* app/core/gimp-gradients.c
      	* app/core/gimp.c
      	* app/core/gimppalette-import.c
      	* app/gui/palettes-commands.c
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      
      	* app/core/gimpcontext.c: get "stingy_memory_use" from
      	context->gimp->config.
      5c86e639
  20. 23 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Moved generic datafile loading to LibGimpBase: · c7ac6aff
      Michael Natterer authored
      2002-10-23  Michael Natterer  <mitch@gimp.org>
      
      	Moved generic datafile loading to LibGimpBase:
      
      	* app/core/gimpdatafiles.[ch]: removed...
      
      	* libgimpbase/gimpdatafiles.[ch]: ...and add here with a changed
      	API which requires no more global variables.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbasetypes.h
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpdatafactory.c
      	* app/gui/gui.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/tools.c: changed accordingly.
      
      	Moved module loading to LibGimpModule:
      
      	* app/core/gimpmodules.c: removed lots of code...
      
      	* libgimpmodule/gimpmoduledb.[ch]: ...and added it here as
      	GimpModuleDB object.
      
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/gimpmoduletypes.h: changed accordingly.
      
      	* app/core/gimp.[ch]: replaced gimp->modules by gimp->module_db.
      
      	* libgimpmodule/gimpmodule.[ch]: added
      	gimp_module_query(). Internal cleanup. Stuff...
      
      	* app/gui/module-browser.c: changed accordingly. Unfinished...
      
      	* app/core/gimpcontainer.c
      	* app/core/gimplist.c: reverted the HACKS introduced recently.
      
      	* app/core/gimpobject.[ch]: added gimp_g_object_get_memsize()
      	utility function.
      
      	* libgimpproxy/gimpobject.[ch]: regenerated.
      
      	Changed display filter configuration stuff:
      
      	* libgimpwidgets/gimpcolordisplay.[ch]: made the virtual
      	configure() function return a GtkWidget instead of opening a
      	dialog. Changed configure_cancel() to configure_reset(). Added
      	"changed" signal.
      
      	* app/display/gimpdisplayshell-filter-dialog.c: embed the filters'
      	config GUI in the dialog. Connect to "changed" and added a "Reset"
      	button which resets the filter.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c: changed accordingly.
      
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: minor fixes.
      
      2002-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/libgimpbase-docs.sgml
      	* libgimpbase/libgimpbase-sections.txt
      	* libgimpbase/tmpl/gimpbasetypes.sgml
      	* libgimpbase/tmpl/gimpdatafiles.sgml: added GimpDatafiles
      
      	* libgimpmodule/libgimpmodule-docs.sgml
      	* libgimpmodule/libgimpmodule-sections.txt
      	* libgimpmodule/tmpl/gimpmoduledb.sgml: added GimpModuleDB.
      
      	* libgimpwidgets/libgimpwidgets.types: added gimp_dialog_get_type
      
      	* libgimpmodule/tmpl/gimpmodule.sgml
      	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
      	* libgimpwidgets/tmpl/gimpdialog.sgml: updated.
      c7ac6aff
  21. 12 Jun, 2002 1 commit
    • Michael Natterer's avatar
      added a boolean "internal" which indicates that the data object is an · 91cfa783
      Michael Natterer authored
      2002-06-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdata.[ch]: added a boolean "internal" which
      	indicates that the data object is an automatically created
      	internal object. Changed the code to refuse saving to deleting
      	internal objects.
      
      	* app/core/Makefile.am
      	* app/core/gimp-gradients.[ch]: new files implementing internal
      	gradients (FG -> BG in RGB and HSV and FG -> transparent).
      
      	* app/core/gimp.c: call gimp_gradients_init().
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_data_free): don't
      	free internal objects so they stay there on "Refresh".
      
      	* app/core/gimpdatalist.c: sort internal objects to the beginning
      	of the list.
      
      	* app/widgets/gimpdataeditor.c: refuse to change the name of
      	internal objects.
      
      	* app/widgets/gimpdatafactoryview.c: set the "Delete" button
      	insensitive for internal objects.
      
      	* app/widgets/gimpgradienteditor.c: refuse to edit internal
      	gradients, just display them so color picking works.
      
      	* app/gui/brushes-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c: set the "Delete" menu item
      	insensitive for internal objects.
      
      	* app/gui/gui.c: need to call render_setup() earlier because of
      	you-dont-want-to-know-why. Will change it back once the previews
      	have their own render buffers.
      
      	* app/tools/gimpblendtool.c: Replaced the "Type" menu by a preview
      	showing the active gradient. Clicking the preview pops up the
      	gradient selection. Renamed the "Gradient" menu to "Shape". Removed
      	"blend_mode" from the BlendOptions struct because we always use
      	"custom" mode now.
      91cfa783
  22. 03 May, 2002 1 commit
    • Michael Natterer's avatar
      devel-docs/Makefile.am new file documenting the core's include policy. · a74a8997
      Michael Natterer authored
      2002-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* devel-docs/Makefile.am
      	* devel-docs/includes.txt: new file documenting the core's
      	include policy.
      
      	* HACKING: mention it here.
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptions here.
      
      	* app/core/core-types.h: and added it here. This is a temp hack
      	needed because GimpToolInfo needs to know the GimpToolOptions
      	type.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* libgimptool/gimptoolmodule.h: don't include gimptooltypes.h here...
      	* libgimptool/gimptoolmodule.c: ...but here.
      
      	* app/config/gimpconfig-params.c: include "libgimpbase/gimpbase.h"
      	entirely, not single files from it.
      
      	* app/core/gimp.c
      	* app/core/gimpcontext.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimpmodules.c
      	* app/core/gimppaintinfo.c
      	* app/core/gimpparasite.c
      	* app/core/gimppreviewcache.c
      	* app/core/gimptoolinfo.c
      	* app/core/gimpunit.c: include "core-types.h" and no other types file.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: include "tools/tools-types.h"
      	instead of "libgimptool/gimptooltypes.h", warn about inclusion
      	on "gui/gui-types.h"
      
      	* app/file/file-open.c
      	* app/file/file-save.c: don't include "libgimptool/gimptooltypes.h".
      
      	* app/gui/about-dialog.c
      	* app/gui/brush-select.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-select.c
      	* app/gui/data-commands.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs.c
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/info-window.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c: include "gui-types.h" and no
      	other types file.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppaintoptions.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint.c: include "paint-types.h" and no other types file.
      
      	* app/pdb/pdb-types.h: don't include "libgimptool/gimptooltypes.h".
      
      	* app/plug-in/plug-in-progress.c: warn about inclusion of
      	"display/display-types.h"
      
      	* app/tools/tools-types.h: include "libgimptool/gimptooltypes.h".
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptoolcontrol.c
      	* app/tools/gimptoolcontrol.h
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tools.c: include "tools-types.h" and no other types file,
      	warn about inclusion of "gui/gui-types.h".
      
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimptoolbox-color-area.c: warn about inclusion of
      	"gui/gui-types.h".
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf.c: don't include "libgimptool/gimptooltypes.h".
      
      	Split tool-safe-mode up in two files, one including libgimpproxy,
      	one libgimp.
      
      	* plug-ins/tools/Makefile.am
      	* plug-ins/tools/tool-safe-mode-plug-in.[ch]: new files including
      	libgimp/ stuff only.
      
      	* plug-ins/tools/tool-safe-mode.[ch]: include libgimpproxy/ and
      	libgimptool/ but don't include libgimp/ because of conflicting
      	declarations.
      
      	Unrelated:
      
      	* app/tools/gimpclonetool.c: create the clone core so we don't crash.
      
      	* app/gui/file-open-dialog.c: changed the way we create previews
      	so that only out-of-date previews are created on a click in the
      	preview area. Unconditional creation can still be forced by
      	<Ctrl>+click. Changed the tooltip to document this.
      a74a8997
  23. 29 Mar, 2002 1 commit
  24. 30 Jan, 2002 1 commit
    • Michael Natterer's avatar
      pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. · be87dfb5
      Michael Natterer authored
      2002-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorarea.c: pass a GdkGC to
      	gdk_draw_rgb_image(), fixed dither offsets.
      
      	* app/core/gimpobject.[ch]: new virtual function
      	gimp_object_get_memsize().
      
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager.[ch]: added *_get_memsize() methods.
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpmoduleinfo.c
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimppreviewcache.[ch]
      	* app/core/gimpundo.[ch]
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c: added get_memsize() implementations.
      
      	* app/widgets/gimppreview.c
      	* app/core/gimpobject.[ch]: some #ifdef DEBUG_MEMSIZE code to
      	test the new memsize stuff (middle click any preview to get
      	it's viewable's memory footprint).
      be87dfb5
  25. 03 Dec, 2001 1 commit
    • Sven Neumann's avatar
      Michael Natterer <mitch@gimp.org> · 4ba6db4e
      Sven Neumann authored
      2001-12-03  Sven Neumann  <sven@gimp.org>
      	    Michael Natterer <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs-mmx.h: removed redefiniton of HAS_ALPHA
      	macro.
      
      	* app/core/gimp.c: reverted Daniel's change; it doesn't make the code
      	simpler, only more error-prone.
      
      	* app/gui/info-dialog.h
      	* app/gui/resize-dialog.h
      	* app/core/gimp.h
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpcontainer.h
      	* app/core/gimpcoreconfig.h
      	* app/core/gimpdata.h
      	* app/core/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h
      	* app/core/gimpimagefile.h
      	* app/core/gimplayer.h
      	* app/core/gimplayermask.h
      	* app/core/gimpmoduleinfo.h
      	* app/core/gimppalette.h
      	* app/core/gimpundo.h
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpconstrainedhwrapbox.h
      	* app/widgets/gimpcontainermenu.h
      	* app/widgets/gimpcontainerview.h
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpimagedock.h
      	* app/widgets/gimplistitem.h
      	* app/widgets/gimpmenuitem.h
      	* app/widgets/gimpnavigationpreview.h
      	* app/widgets/gimppreview.h
      	* app/gimprc.h
      	* app/pathP.h
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpcolorbalancetool.h
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpfreeselecttool.h
      	* app/tools/gimphuesaturationtool.h
      	* app/tools/gimpinktool-blob.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimpmagnifytool.h
      	* app/tools/gimpmeasuretool.h
      	* app/tools/gimppainttool.h
      	* app/tools/gimppathtool.h
      	* app/tools/gimprectselecttool.h
      	* app/tools/gimpthresholdtool.h
      	* app/tools/gimptool.h
      	* app/tools/gimptransformtool.h
      	* app/base/base-config.h
      	* app/base/gimplut.[ch]
      	* app/base/pixel-region.h
      	* app/base/pixel-surround.[ch]
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager-private.h
      	* app/base/tile-manager.[ch]
      	* app/base/tile-private.h
      	* app/base/tile.[ch]
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplayshell-selection.h
      	* app/display/gimpdisplayshell.h
      	* app/gui/brush-select.h
      	* app/gui/gradient-editor.h
      	* app/gui/gradient-select.h: reverted most of Daniel's changes.
      
      	There's no reason to use unsigned integers here and in lots of places
      	it is even wrong.
      
      	Then it's way too early to convert gbooleans into bitfields. This
      	change may make sense in a few places but can happen later when the
      	API has settled and the code is more stable.
      
      	* app/gimprc.c: reverted Daniel's change. This is a GCC-ism and this
      	code is about to die soon anyway.
      4ba6db4e
  26. 02 Dec, 2001 1 commit
    • Daniel Egger's avatar
      Convert ugly comments into named structure fields. Much cleaner and less · 1ed91801
      Daniel Egger authored
      2001-12-02  Daniel Egger  <degger@fhm.edu>
      
      	* app/gimprc.c: Convert ugly comments into named structure fields.
      	Much cleaner and less errorprone though may cause troubles on
      	older compilers and then needs to be reverted. Please report!
      
      	* app/base/base-types.h: Add FIXME reminder.
      
      	* app/base/gimplut.c: Use CLAMP macro instead of if-cascade.
      
      	* app/base/temp-buf.c: Remove duplicated calculations and simplify
      	checks.
      
      	* app/base/tile-manager.c:
      	- (tile_manager_get_tile_num): Return success and take an additional
      	  pointer for the tilenumber.
      	- Simplify logic in the rest of the file as a result.
      	- Remove rotten debugging cruft.
      
      	* app/core/gimpbrushgenerated.c: Fix two stylistic nits.
      
      	* app/app_procs.c: Include <stdlib.h> for exit () prototype.
      
      	* app/core/gimpdrawable-blend.c: Include <stdlib.h> for abs ()
      	prototype.
      
      	* app/display/gimpdisplay.c: Include <string.h> for memcpy ()
      	prototype.
      
      	* app/core/gimpimage-convert.c: (HIST_RGB): First parameter is
      	not const. Fixes a gcc warning for a wrong return value.
      
      	* libgimpwidgets/gimpunitmenu.c
      	* app/core/gimpunit.c: Add suggested (by gcc 3.1 cvs) parentheses
      	to group correct logic tests together.
      
      	* app/paint-funcs/paint-funcs-generic.h: Fix my HAS_ALPHA macro
      	to avoid gcc 3.1 cvs warning.
      
      	* app/gimprc.h
      	* pathP.h
      	* base-config.h
      	* app/base/boundary.h
      	* app/base/gimplut.[ch]
      	* app/base/pixel-region.h
      	* app/base/pixel-surround.[ch]
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager-private.h
      	* app/base/tile-manager.c
      	* app/base/tile-private.h
      	* app/base/tile.[ch]
      	* app/core/gimp.h
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpcontainer.h
      	* app/core/gimpcoreconfig.h
      	* app/core/gimpdata.h
      	* app/core/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h
      	* app/core/gimpimagefile.h
      	* app/core/gimplayer.h
      	* app/core/gimplayermask.h
      	* app/core/gimpmoduleinfo.h
      	* app/core/gimppalette.h
      	* app/core/gimpundo.h
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplayshell-selection.h
      	* app/display/gimpdisplayshell.h
      	* app/gui/brush-select.h
      	* app/gui/gradient-editor.h
      	* app/gui/gradient-select.h
      	* app/gui/info-dialog.h
      	* app/gui/resize-dialog.h
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpcolorbalancetool.h
      	* app/tools/gimpcolorpickertool.h
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpfreeselecttool.h
      	* app/tools/gimpfuzzyselecttool.h
      	* app/tools/gimphuesaturationtool.h
      	* app/tools/gimpinktool-blob.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimpmagnifytool.h
      	* app/tools/gimpmeasuretool.h
      	* app/tools/gimppainttool.h
      	* app/tools/gimppathtool.h
      	* app/tools/gimprectselecttool.h
      	* app/tools/gimpthresholdtool.h
      	* app/tools/gimptool.h
      	* app/tools/gimptransformtool.h
      	* app/tools/path_toolP.h
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpconstrainedhwrapbox.h
      	* app/widgets/gimpcontainermenu.h
      	* app/widgets/gimpcontainerview.h
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpimagedock.h
      	* app/widgets/gimplistitem.h
      	* app/widgets/gimpmenuitem.h
      	* app/widgets/gimpnavigationpreview.h
      	* app/widgets/gimppreview.h: Unsignify lots of variables and
      	parameters and use bitfields in structs where possible. First
      	part of a huge cleanup all over the code...
      1ed91801
  27. 22 Nov, 2001 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
  28. 16 Nov, 2001 1 commit
    • Rebecca Walter's avatar
      app/core/gimpcontext.c app/core/gimpdatafactory.c · 46b7fdb8
      Rebecca Walter authored
      2001-11-16  Rebecca Walter  <rjp@mail.tele.dk>
      
              * app/core/gimpcontext.c
              * app/core/gimpdatafactory.c
              * app/core/gimpdrawable-bucket-fill.c
              * app/core/gimpdrawable.c
              * app/core/gimpgradient.c
              * app/core/gimpimage-convert.c
              * app/core/gimpimage-mask.c
              * app/core/gimpimage.c: Extensive proofreading of messages and
              warnings.  Improved standardization of string format and content.
      46b7fdb8
  29. 14 Aug, 2001 1 commit
    • Michael Natterer's avatar
      an evil temp_hack which lets GimpContext managing the active display · e2daae31
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
      	the active display withoug including "gdisplay.h". Will go away as
      	soon ad context properties are registered dynamically.
      
      	* app/module_db.c: cleaned up the object code in preparation of
      	moving it to core/.
      
      	* app/path.c: connect to GimpImage's
      
      	* app/core/gimpobject.[ch]: derive it from GObject, not from
      	GtkObject any more (yeah :-)
      
      	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
      	removed some remaining GtkObject-isms.
      
      	(left in a few #include <gtk/gtk.h> where bigger changes are needed
      	to get rid of the UI dependency).
      
      	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
      	temporarily.
      
      	* app/core/gimp.c (gimp_create_display): unref the image after
      	creating it's first display.
      
      	* app/core/gimpbrush.[ch]: disabled the parts of the code which
      	depend on GimpPaintTool.
      
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c: changed accordingly.
      
      	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
      	active display without including "gdisplay.h"
      
      	* app/core/gimpimage-mask.[ch]: pass a context to
      	gimage_mask_stroke() and get the current tool's PDB string from
      	there.
      
      	* app/core/gimpedit.c: changed accordingly.
      
      	* app/core/gimpimage.c: use gimp_image_update() instead of
      	gdisplays_update_full().
      
      	* app/gui/color-area.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/image-commands.c
      	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
      	GObjects).
      
      	* app/gui/menus.c: fix some const warnings by explicit casting.
      
      	* app/tools/*.[ch]: ported all tools to GObject, some minor
      	cleanup while i was on it.
      
      	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.
      
      	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
      
      	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
      	which inserts #include "widgets/widgets-types.h" before ordinary
      	includes.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/edit_cmds.c: changed according to the stuff above.
      e2daae31
  30. 12 Aug, 2001 1 commit
    • Michael Natterer's avatar
      Switched to GObject reference counting: · 79faae01
      Michael Natterer authored
      2001-08-12  Michael Natterer  <mitch@gimp.org>
      
      	Switched to GObject reference counting:
      
      	* app/core/gimpcontainer.c: only ref(), not ref()/sink() children
      	of strong containers. Reordered gimp_container_remove() so we
      	don't need to ref the object while removing it.
      
      	* app/core/gimpcontext.c: misc fixes. Needs to be badly tortured...
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimprc.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpobject.c
      	* app/core/gimpparasite.c
      	* app/core/gimppattern.c
      	* app/core/gimpundostack.c
      	* app/gui/dialogs.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpfuzzyselecttool.c: changed accordingly: don't
      	ref()/sink() any more, unref all (??) objects after adding them to
      	strong containers, misc. minor fixes.
      
      	* app/gui/dialogs-constructors.c
      	* app/widgets/gimpwidgets.c: use g_object_add_weak_pointer()
      	instead of simply crashing because g_object_weak_ref() was used
      	with gtk_widget_destroyed, brrr.
      
      	* app/widgets/gimpdnd.c: removed unneeded g_return_if_fail()'s.
      79faae01
  31. 11 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added a TODO entry about additional image/file info. · 357f463d
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added a TODO entry about additional image/file info.
      
      	* app/file-save.c: #include "core/gimpdocuments.h"
      
      	* app/core/gimpcontainer.[ch]: made virtual functions out of some
      	signals.
      
      	* app/core/*.[ch]: more GObject stuff: ported all
      	gimp_foo_get_type() functions and replaced almost all "destroy"
      	implementations with either "finalize" or "dispose" functions.
      357f463d
  32. 10 Aug, 2001 1 commit
    • Michael Natterer's avatar
      fix compiler warning. · 2353c5d3
      Michael Natterer authored
      2001-08-10  Michael Natterer  <mitch@convergence.de>
      
      	* app/nav_window.c: fix compiler warning.
      
      	* app/core/gimp.[ch]: added gimp->documents which will be an MRU
      	list of GimpImagefile objects.
      
      	* app/core/gimpcontainer.c: added some g_return_if_fail().
      
      	* app/gui/palette-editor.c: use GtkImage instead of GtkPixmap,
      	s/gtk_signal_*/g_signal_*/.
      
      	* app/widgets/gimppreview.c: render the checkerboard only for
      	channel == -1. In particular, don't render it for channel
      	previews.
      
      	* app/module_db.c
      	* app/core/*.c
      	* app/gui/colormap-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/tool_manager.c
      	* app/widgets/*.c
      	* libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
      2353c5d3
  33. 27 Jul, 2001 1 commit
    • Sven Neumann's avatar
      defined convenience macro g_signal_handlers_disconnect_by_data(). Will try · 2671ae15
      Sven Neumann authored
      2001-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h:
      	defined convenience macro g_signal_handlers_disconnect_by_data().
      	Will try to persuade Tim to accept it for GLib.
      
      	* app/module_db.c
      	* app/undo_history.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpparasite.c
      	* app/gui/brush-editor.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs.c
      	* app/gui/file-open-dialog.c
      	* app/gui/gradient-select.c
      	* app/gui/gradients-commands.c
      	* app/gui/menus.c
      	* app/gui/pattern-select.c: GObject porting.
      	Replaced all gtk_object_[unref|ref] calls by their g_object_
      	counterparts, expect refs that are used with gtk_object_sink().
      2671ae15
  34. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  35. 09 Jul, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/datafiles.[ch] app/gimpparasite.[ch] removed... · d7fde9e6
      Michael Natterer authored
      2001-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/datafiles.[ch]
      	* app/gimpparasite.[ch]
      	* app/parasitelist.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpdatafiles.[ch]
      	* app/core/gimpparasite.[ch]
      	* app/core/gimpparasitelist.[ch]: ...and added here.
      
      	* app/gimprc.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/undo.c
      	* app/core/gimp.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/parasite.pdb
      	* app/pdb/parasite_cmds.c: changed #include's accordingly.
      d7fde9e6
  36. 04 Jul, 2001 2 commits
    • Michael Natterer's avatar
      renamed gimp_initialize() to gimp_restore() because it loads all kinds of · f7c69b07
      Michael Natterer authored
      2001-07-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.[ch]: renamed gimp_initialize() to gimp_restore()
      	because it loads all kinds of data. Added gimp_shutdown() to save
      	the data. Added the global parasite list.
      
      	* app/apptypes.h: removed ParasiteList.
      
      	* app/core/core-types.h: added GimpParasiteList.
      
      	* app/gimpparasite.[ch]: removed the global parasite list.
      
      	* app/parasitelist.[ch]: s/ParasiteList/GimpParasiteList/
      	s/parasite_list_*/gimp_patasite_list_*/
      
      	* app/widgets/gimpdatafactoryview.c: don't save the data in
      	gimp_data-factory_data_free().
      
      	* app/app_procs.c
      	* app/gimprc.c
      	* app/undo.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/parasite_cmds.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/parasite.pdb: changed accordingly.
      f7c69b07
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h added an "application object" · 01645960
      Michael Natterer authored
      2001-07-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimp.[ch]: added an "application object" called Gimp.
      
      	Currently, it contains the image list, the clipboard, the data
      	factories, the procedural hashtable and the tool info list.  It's
      	the toplevel object of the core object system. Finally, creating a
      	Gimp object will return a standalone gimp core engine instance
      	with no other global states/variables involved.
      
      	* app/app_procs.[ch]: allocate a "Gimp" instance called "the_gimp" :)
      	Removed stuff which is now done by the "Gimp" object. Merged
      	gimp_init() into app_init() because gimp_init() is taken now.
      
      	* app/context_manager.[ch]: removed stuff done by "Gimp".
      
      	* app/batch.[ch]
      	* app/gimage.[ch]
      	* app/xcf/xcf-load.[ch]
      	* app/xcf/xcf.[ch]
      	* app/core/gimpedit.[ch]
      	* app/tools/tool_manager.[ch]: pass around an additional "Gimp"
      	argument.
      
      	* app/pdb/procedural_db.[ch]: pass a "Gimp" pointer as first
      	parameter to all internal procedures and to all procedural_db_*
      	functions.
      
      	* app/core/gimpcontext.[ch]
      	* app/core/gimpimage.[ch]: added a "Gimp" pointer to the structs.
      
      	* app/devices.c
      	* app/errors.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/gimphelp.c
      	* app/gimpunit.c
      	* app/image_new.c
      	* app/main.c
      	* app/nav_window.c
      	* app/plug_in.c
      	* app/base/base.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimptoolinfo.[ch]
      	* app/gui/brush-select.c
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/paths-dialog.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/test-commands.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimppainttool.h
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.h
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpimagedock.c: changed accordingly. Cleaned up
      	lots of includes. Many files still access the global "the_gimp"
      	variable exported by app_procs.h.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/procedural_db.pdb: changed accordingly. Don't
      	use "the_gimp" here because all procedures get passed a "Gimp"
      	pointer now.
      
      	* app/pdb/*: regenerated.
      01645960
  37. 13 May, 2001 1 commit
    • Michael Natterer's avatar
      removed some forgotten tools types. · 637c714a
      Michael Natterer authored
      2001-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h: removed some forgotten tools types.
      
      	* app/tools/tools-types.h: and added them here.
      
      	* app/interface.c
      	* app/disp_callbacks.[ch]: ported dropping of drawables to the
      	new DND system.
      
      	* app/app_procs.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimptoolinfo.h
      	* app/gui/gui.c
      	* app/tools/tool_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimplayerlistview.c: removed/fixed includes.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/pattern-select.[ch]: removed the display of the current
      	name (done by the grid view now).
      
      	* app/gui/palette-select.c: fixed palette preview size.
      
      	* app/gui/dialogs-constructors.c: added get_name() functions for
      	brushes, patterns, images and palettes.
      
      	* app/widgets/gimpcontainergridview.[ch]: added a label for the
      	name of the active item.
      
      	* app/widgets/gimpdnd.[ch]: removed the old drawable DND preview
      	icon code.
      
      	* tools/pdbgen/app.pl: braino: the $tool_eek hack has to be
      	initialized to 0 at the beginning of each file, otherwise we end
      	up including "tools/tools-types.h" everywhere.
      
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/text_tool.pdb
      	* tools/pdbgen/pdb/tools.pdb: add "tools/tools-types.h" where needed.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/undo_cmds.c
      	* app/pdb/unit_cmds.c: regenerated.
      637c714a
  38. 09 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · d1022c34
      Michael Natterer authored
      2001-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/asupsample.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h: new files.
      
      	* app/tools/gimptoolinfo.[ch]: removed.
      	* app/core/gimptoolinfo.[ch]: added here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.[ch]
      	* libgimp/gimpbilinear.[ch]: removed here...
      
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]: ..and added here.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/paths.pdb
      
      	* app/*.c: changed tons of #include's
      d1022c34