1. 08 May, 2002 4 commits
    • Michael Natterer's avatar
      Started to get rid of the gdisplays_foo() functions in · a3bb0b0d
      Michael Natterer authored
      2002-05-08  Michael Natterer  <mitch@gimp.org>
      
      	Started to get rid of the gdisplays_foo() functions in
      	app/display/gimpdisplay-foreach.[ch]. Work in progress...
      
      	* app/core/gimp.[ch]: added the display list to the Gimp object
      	(as a GimpList of GimpObjects). This way we get more independent
      	from whether there is GUI or not, as gimp->displays will simply
      	be an empty list for the --no-interface case.
      
      	* app/display/gimpdisplay.[ch]: Removed the global "display_list"
      	and "display_num" variables. Use gimp->displays instead.
      
      	* app/display/gimpdisplay-foreach.[ch]: renamed most functions
      	from gdisplays_foo() to gimp_displays_foo() and pass them a Gimp
      	pointer.
      
      	* app/core/gimpimage.[ch]: added a "flush" signal.
      
      	* app/display/gimpdisplay-handlers.c: connect to "flush" and call
      	gimp_display_flush() in the callback.
      
      	* tools/pdbgen/pdb/display.pdb: use gimp_displays_flush(gimp)
      	here and only here.
      
      	* app/pdb/display_cmds.c: regenerated.
      
      	* app/app_procs.c
      	* app/gui/gui.c
      	* app/gui/preferences-dialog.c:
      	s/gdislays_foo()/gimp_displays_foo(gimp)/
      
      	* app/image_map.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/gui/channels-commands.c
      	* app/gui/colormap-editor-commands.c
      	* app/gui/convert-dialog.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/paint/gimpairbrush.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimpvectorslistview.c: replaced gdisplays_flush()
      	with calls to gimp_image_flush(gimage). Removed inclusion of
      	"display/gimpdisplay-foreach.h" from most files.
      a3bb0b0d
    • Sven Neumann's avatar
      plug-ins/print/gimp_color_window.c a couple of cleanups and fixes. This · afdb263b
      Sven Neumann authored
      2002-05-08  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/gimp_color_window.c
      	* plug-ins/print/gimp_main_window.c: a couple of cleanups and fixes.
      	This code relies heavily on GTK+ implementation details and thus
      	tends to work differently or even crash on GTK+-2.0 :-(
      afdb263b
    • Michael Natterer's avatar
      removed unused commented out prototype. · ff722d0c
      Michael Natterer authored
      2002-05-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.h: removed unused commented out prototype.
      
      	* app/core/gimpimage.c (gimp_image_set_tattoo_state): fixed it
      	again after I have b0rked it when using vectors instead of paths.
      
      	* app/display/gimpdisplay.c: some comments and one more
      	g_return_val_if_fail().
      
      	* app/widgets/gimpimagedock.c: more fixes for the subtle
      	active_image <-> active_display difference.
      
      	* tools/pdbgen/pdb/display.pdb (gimp_display_delete): call
      	gimp_display_delete() instead of just destroying it's shell (eek).
      
      	* app/pdb/display_cmds.c: regenerated.
      
      	Added a special view type for the image list so we can implement
      	stuff like deleting images which are left over from crashed
      	plug-ins:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpimageview.[ch]: new widget: a view on the image
      	container.
      
      	* app/gui/Makefile.am
      	* app/gui/images-commands.[ch]: new callbacks for it's context menu.
      
      	* app/gui/dialogs-constructors.c: use the new widget instead of
      	plain GimpContainerViews.
      
      	* app/gui/menus.c: added an item_factory for it.
      ff722d0c
    • Sven Neumann's avatar
      applied a patch from Maurits Rijk that enables mnemonics (bug #80804). · e1b20e1c
      Sven Neumann authored
      2002-05-08  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new)
      	(gimp_table_attach_aligned): applied a patch from Maurits Rijk that
      	enables mnemonics (bug #80804).
      
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/glasstile.c: applied a patch from Maurits Rijk that
      	adds mnemonics (bug #80804).
      
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/film.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/gee_zoom.c
      	* plug-ins/common/guillotine.c
      	* plug-ins/common/winprint.c
      	* plug-ins/gap/gap_lib.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_settings.c
      	* plug-ins/print/gimp_main_window.c
      	* plug-ins/print/print.c
      	* plug-ins/print/print_gimp.h: use new function gimp_image_get_name()
      	where applicable.
      e1b20e1c
  2. 07 May, 2002 14 commits
    • Manish Singh's avatar
      added image_get_name. Also, no longer duplicate the string in · 182eb517
      Manish Singh authored
      2002-05-07  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/pdb/image.pdb: added image_get_name. Also, no longer
              duplicate the string in image_get_filename, since
              gimp_image_get_filename() returns a caller freed string now.
      
              * app/pdb/image_cmds.c
              * app/pdb/internal_procs.c
              * libgimp/gimpimage_pdb.[ch]: regenerated
      182eb517
    • Michael Natterer's avatar
      app/Makefile.am removed. · b6c56ff9
      Michael Natterer authored
      2002-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/nav_window.[ch]: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpnavigationview.[ch]: new widget partially based
      	on the removed nav_window.
      
      	* libgimpproxy/gimpproxytypes.h: regnenerated.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_nav_preview_resized(). The new config system will allow
      	us to get notified of changes.
      
      	* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
      	signals.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
      	"scrolled" appropriately. Removed nav_window stuff.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: made the navigation dialog dockable.
      
      	* app/gui/view-commands.c: changed the nav_dialog callback accordingly.
      
      	* app/gui/preferences-dialog.c
      	* app/gimprc.[ch]
      	* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
      	as it's now a dockable and it's state is saved in sessionrc.
      
      	* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
      	mouse cursors.
      
      	* app/widgets/gimpimagedock.c: made it capable of holding
      	display-related dialogs (like GimpNavigationView) by connecting
      	to the context's "display_changed" signal.
      
      	* app/widgets/widgets-types.h: removed inclusion of
      	"display/display-types.h".
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpitemlistitem.c
      	* app/widgets/gimpitemlistview.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimpvectorslistview.c: warn about inclusion of
      	"display/display-types.h".
      b6c56ff9
    • Sven Neumann's avatar
      Moved slovenian translation to the stable branch where they should have · 8b53758d
      Sven Neumann authored
      2002-05-07  Sven Neumann  <sven@gimp.org>
      
      	Moved slovenian translation to the stable branch where they should
      	have been added in the first place.
      
      	* configure.in: removed sl from LINGUAS.
      
      	* gimp.spec.in: updated a bit, still broken.
      8b53758d
    • Sven Neumann's avatar
      c4017ee9
    • Andraz Tori's avatar
      Added sl translation · bdd97c53
      Andraz Tori authored
      bdd97c53
    • Andraz Tori's avatar
      added slovenian translation · 7e4b05e3
      Andraz Tori authored
      7e4b05e3
    • Andraz Tori's avatar
      added sl translation · ec4fe216
      Andraz Tori authored
      ec4fe216
    • Michael Natterer's avatar
      reverted my last change. I changed the function when porting everything to · 3ef8358e
      Michael Natterer authored
      2002-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c: reverted my last change. I changed the
      	function when porting everything to URIs because it was documented
      	to return NULL but didn't behave so.
      
      	We need to add a new PDB function which returns the image's
      	*display* name ("Untitled" for a NULL filename).
      3ef8358e
    • Michael Natterer's avatar
      oops... · b1a04a5a
      Michael Natterer authored
      b1a04a5a
    • Michael Natterer's avatar
      get the image's uri with gimp_image_get_uri(), not gimp_object_get_name(), · ff76a677
      Michael Natterer authored
      2002-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_get_filename): get the image's
      	uri with gimp_image_get_uri(), not gimp_object_get_name(), so it
      	automatically becomes "Unnamed" if it's not set.
      ff76a677
    • Sven Neumann's avatar
      removed (wrong) definition of LOCALEDIR. · f8de6fe3
      Sven Neumann authored
      2002-05-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpintl.h: removed (wrong) definition of LOCALEDIR.
      
      	* libgimp/stdplugins-intl.h: fixed typo in domainname that broke i18n
      	of plug-ins.
      
      	* app/gui/Makefile.am: define LOCALEDIR.
      
      	* app/gui/plug-in-menus.c
      	* app/plug-in/plug-in.h
      	* app/plug-in/plug-ins.[ch]: declared translation domain and help path
      	as const strings.
      
      	* plug-ins/print/print.c
      	* plug-ins/print/print_gimp.h: minor cleanups.
      f8de6fe3
    • David Monniaux's avatar
      app/arch/i386/mmx/paint_funcs_mmx.S.m4: removed to reduce confusion · 7ac0926d
      David Monniaux authored
      app/arch/i386/mmx/paint_funcs_mmx.S: fixed compilation bugs
      7ac0926d
    • Sven Neumann's avatar
      use more stock labels. · dc88ca5a
      Sven Neumann authored
      2002-05-07  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/gimp_main_window.c: use more stock labels.
      
      	* de.po: updated german translation.
      dc88ca5a
    • David Monniaux's avatar
  3. 06 May, 2002 9 commits
    • Sven Neumann's avatar
      INSTALL depend on libgimpprint >= 4.2.0 for the print plug-in. You need to · 9663a97b
      Sven Neumann authored
      2002-05-07  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* configure.in: depend on libgimpprint >= 4.2.0 for the print plug-in.
      	You need to --disable-print to build w/o print support.
      
      	* plug-ins/Makefile.am: build print plug-in conditionally.
      
      	* plug-ins/print/Makefile.am
      	* plug-ins/print/gimp_color_window.c
      	* plug-ins/print/gimp_main_window.c
      	* plug-ins/print/print.c
      	* plug-ins/print/print_gimp.h
      	* plug-ins/print/print-image-gimp.c: the print plug-in from the
      	gimpprint 4.2.1 release adapted to build inside the gimp tree and
      	ported to gtk+-2.0. Not yet free of deprecated code.
      
      	* plug-ins/print/README
      	* plug-ins/print/RELNOTES
      	* plug-ins/print/escputil-1.3.1.in
      	* plug-ins/print/escputil.c
      	* plug-ins/print/print-canon.c
      	* plug-ins/print/print-dither.c
      	* plug-ins/print/print-escp2.c
      	* plug-ins/print/print-intl.h
      	* plug-ins/print/print-pcl.c
      	* plug-ins/print/print-printers.c
      	* plug-ins/print/print-ps.c
      	* plug-ins/print/print-util.c
      	* plug-ins/print/print-weave.c
      	* plug-ins/print/print.h
      	* plug-ins/print/quickmatrix257.h
      	* plug-ins/print/ran.367.179.h: removed.
      9663a97b
    • Pablo Saratxaga's avatar
      Added Vietnamese file · a12067d2
      Pablo Saratxaga authored
      a12067d2
    • Nate Summers's avatar
      correct a cut'n'paste mistake. The build actual works correctly now! I · a2f3a640
      Nate Summers authored
              * libgimpproxy/Makefile.am: correct a cut'n'paste mistake. The build
              actual works correctly now! I should have committed this fix a long
              time ago.
      a2f3a640
    • Nate Summers's avatar
      correct a cut'n'paste mistake. The build actual works correctly now! I · 5d4dff5a
      Nate Summers authored
      
       	* libgimpproxy/Makefile.am: correct a cut'n'paste mistake. The build
       	actual works correctly now! I should have committed this fix a long
       	time ago.
      5d4dff5a
    • Sven Neumann's avatar
      fixed typo. · 6747ea3f
      Sven Neumann authored
      2002-05-06  Sven Neumann  <sven@gimp.org>
      
      	* autogen.sh: fixed typo.
      
      	* app/config/gimpconfig-serialize.[ch] (gimp_config_serialize_value):
      	allow to specify whether strings should be escaped.
      
      	* app/config/gimprc.c (gimp_rc_query): don't escape string values.
      
      	* app/config/test-config.c: changed accordingly.
      6747ea3f
    • Michael Natterer's avatar
      fixed my last ChangeLog entry. · 8eef8319
      Michael Natterer authored
      8eef8319
    • Nate Summers's avatar
      use a GtkHPaned instead of a GtkHBox to separate the list from the · 1ea4e10b
      Nate Summers authored
      
       	* plug-ins/dbbrowser/dbbrowser_utils.c: (gimp_db_browser) use a
       	GtkHPaned instead of a GtkHBox to separate the list from the details.
       	This little change makes the pdb browser much more usable.
      1ea4e10b
    • Nate Summers's avatar
      proxy-subst · 9fe013a3
      Nate Summers authored
      9fe013a3
    • Nate Summers's avatar
      added proxy-subst command, which substitutes its argument for the current · d5e41a76
      Nate Summers authored
       * tools/gimp-mkproxy: added proxy-subst command, which substitutes its
       argument for the current line in the proxied version
      d5e41a76
  4. 05 May, 2002 5 commits
    • Sven Neumann's avatar
      free the list of properties. · 384b9c47
      Sven Neumann authored
      2002-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc.c (gimp_rc_query): free the list of properties.
      384b9c47
    • Sven Neumann's avatar
      app/config/gimpconfig-serialize.c app/config/gimpconfig-utils.[ch] · 7f6b1d55
      Sven Neumann authored
      2002-05-06  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-utils.[ch]
      	* app/config/gimpconfig.[ch]
      	* app/config/gimprc.[ch]: added a GimpRc implementation of
      	gimp_config_duplicate() that also copies unknown tokens. Added new
      	function gimp_rc_query().
      
      	* app/config/test-config.c: added tests for gimp_rc_query().
      
      	* app/config/Makefile.am: need to link test app against libappwidgets.
      7f6b1d55
    • Michael Natterer's avatar
      app/Makefile.am removed... · c86ca2da
      Michael Natterer authored
      2002-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimphelp.[ch]: ...and added here.
      
      	* app/widgets/widgets-enums.[ch]: added GimpHelpBrowserType here
      	as registered enum. Added an evil hack with GimpCursorType so
      	app/config/gimpguiconfig.h can include this file.
      
      	* app/widgets/gimpcursor.c: added an assertion because of the
      	changed GimpCursorType.
      
      	* app/config/gimpguiconfig.[ch]: added a property for the help
      	browser type.
      
      	* app/gimprc.c
      	* app/libgimp_glue.c
      	* app/gui/preferences-dialog.c
      	* tools/pdbgen/pdb/help.pdb
      
      	* app/pdb/help_cmds.c: regenerated.
      
      	Some nav_window cleanup before chopping:
      
      	* app/nav_window.[ch]: removed the old preview code and use
      	GimpNavigationPreviews only. Namespaceified all functions. Speak
      	in terms of GimpDisplayShell, not GimpDisplay. Lots of internal
      	cleanup.
      
      	* app/gui/gui-types.h: removed NadiagtionDialog here...
      
      	* app/display/display-types.h: ...and added it here.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a callback
      	for the navigation button and call nav_window_show_popup() from there.
      
      	* app/display/gimpdisplayshell.c: free shell->nav_dialog
      	unconditionally, connect to the new callback.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/view-commands.c: changed accordingly.
      
      	* app/widgets/gimppreview.c (gimp_preview_set_viewable): the
      	assertion introduced recently was too tight, breaking
      	GimpNavigationPreview. Changed it to do an "is a" check, not exact
      	preview type matching.
      
      	* app/widgets/gimpimagepreview.c: added quick-hack support for
      	xres != yres.
      
      	* app/widgets/gimpnavigationpreview.[ch]: made
      	gimp_navigation_preview_grab_pointer() public so the nav_window
      	can call it.
      
      	Unrelated:
      
      	* app/display/gimpdisplay.c: removed the gui/ dependency from this
      	file by removing info_window stuff.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_flush): update
      	the info_window here.
      
      	* app/gui/dialogs-constructors.c (dialogs_indexed_palette_new): call
      	gimp_dockable_set_context() like all other constructors.
      
      	* app/undo.c
      	* app/paint/gimppaintcore.h: some more include cleanup.
      c86ca2da
    • Sven Neumann's avatar
      updated. fixed check for libgtkhtml-2.0. · 3c11b8e8
      Sven Neumann authored
      2002-05-05  Sven Neumann  <sven@gimp.org>
      
      	* NEWS: updated.
      	* configure.in: fixed check for libgtkhtml-2.0.
      3c11b8e8
    • Sven Neumann's avatar
      bumped our version number to 1.3.6. Added check for libgtkhtml-2.0. · 5c6cf549
      Sven Neumann authored
      2002-05-05  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped our version number to 1.3.6. Added check
      	for libgtkhtml-2.0.
      
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/helpbrowser.c: started to port the help browser
      	to GtkHtml2. Not all features are working yet.
      
      	* plug-ins/helpbrowser/back.xpm
      	* plug-ins/helpbrowser/forward.xpm: removed.
      5c6cf549
  5. 04 May, 2002 1 commit
  6. 03 May, 2002 7 commits
    • Sven Neumann's avatar
      app/arch/i386/mmx/detect_mmx.S applied a patch from iccii@hotmail.com that · 43c602dc
      Sven Neumann authored
      2002-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/arch/i386/mmx/detect_mmx.S
      	* app/arch/i386/mmx/paint_funcs_mmx.S: applied a patch from
      	iccii@hotmail.com that promises to fix build on mingw (bug #80681).
      
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-utils.[ch]: moved value compare function to
      	gimpconfig-utils.
      
      	* app/config/gimpconfig.[ch]: added duplicate and compare functions
      	to GimpConfigInterface so derived interfaces can override them.
      
      	* app/tools/gimptexttool.c: fixed tool cursor.
      43c602dc
    • Nick Lamb /GIMP's avatar
      Overbright alpha bug #77283 fixed · a2abbe0d
      Nick Lamb /GIMP authored
      a2abbe0d
    • Sven Neumann's avatar
      plug-ins/common/borderaverage.c plug-ins/common/convmatrix.c · 3258c5f1
      Sven Neumann authored
      2002-05-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/vpropagate.c: applied a patch from iccii@hotmail.com
              that adds missing calls to gimp_tile_cache_ntiles() to speed up the
              plug-ins considerably (bug #78358).
      
      	* plug-ins/common/colorify.c: fix for drawables with alpha from
      	iccii@hotmail.com.
      3258c5f1
    • Sven Neumann's avatar
      fixed typo. · 701bf094
      Sven Neumann authored
      2002-05-03  Sven Neumann  <sven@gimp.org>
      
      	* includes.txt: fixed typo.
      701bf094
    • Sven Neumann's avatar
      removed another warning. · 53ff0fe3
      Sven Neumann authored
      2002-05-03  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/tools/tool-safe-mode.c: removed another warning.
      53ff0fe3
    • 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
    • Sven Neumann's avatar
      app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] · 84e1810a
      Sven Neumann authored
      2002-05-03  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpairbrushtool.[ch]
      	* app/tools/gimpbezierselecttool.[ch]
      	* app/tools/gimpblendtool.[ch]
      	* app/tools/gimpbrightnesscontrasttool.[ch]
      	* app/tools/gimpbucketfilltool[.ch]
      	* app/tools/gimpbycolorselecttool[.ch]
      	* app/tools/gimpclonetool[.ch]
      	* app/tools/gimpcolorbalancetool[.ch]
      	* app/tools/gimpcolorpickertool[.ch]
      	* app/tools/gimpconvolvetool[.ch]
      	* app/tools/gimpcroptool[.ch]
      	* app/tools/gimpcurvestool[.ch]
      	* app/tools/gimpdodgeburntool[.ch]
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool[.ch]
      	* app/tools/gimperasertool[.ch]
      	* app/tools/gimpfliptool[.ch]
      	* app/tools/gimpfreeselecttool[.ch]
      	* app/tools/gimpfuzzyselecttool[.ch]
      	* app/tools/gimphistogramtool[.ch]
      	* app/tools/gimphuesaturationtool[.ch]
      	* app/tools/gimpinktool[.ch]
      	* app/tools/gimpiscissorstool[.ch]
      	* app/tools/gimplevelstool[.ch]
      	* app/tools/gimpmagnifytool[.ch]
      	* app/tools/gimpmeasuretool[.ch]
      	* app/tools/gimpmovetool[.ch]
      	* app/tools/gimppaintbrushtool[.ch]
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool[.ch]
      	* app/tools/gimppenciltool[.ch]
      	* app/tools/gimpperspectivetool[.ch]
      	* app/tools/gimpposterizetool[.ch]
      	* app/tools/gimprectselecttool[.ch]
      	* app/tools/gimprotatetool[.ch]
      	* app/tools/gimpscaletool[.ch]
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool[.ch]
      	* app/tools/gimpsmudgetool[.ch]
      	* app/tools/gimptexttool[.ch]
      	* app/tools/gimpthresholdtool[.ch]
      	* app/tools/gimptool.c
      	* app/tools/gimptoolcontrol.h
      	* app/tools/gimptoolmodule[.ch]
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool[.ch]
      	* app/tools/path_tool.c
      	* app/tools/tool_manager[.ch]
      	* app/tools/tools.c
      	* libgimptool/gimptool.c
      	* libgimptool/gimptoolcontrol.h
      	* libgimptool/gimptoolmodule.h: removed tons of warnings. Do we need
      	to add -Werror to the CFLAGS to avoid such a mess in the future ?!
      	Also had to enforce the GIMP coding style in lots of places :-(
      
      	* libgimp/gimppixelrgn.c: got sick and tired of debugging plug-ins,
      	so I've added checks for most parameters passed to the GimpPixelRgn
      	functions. This will slow down plug-in execution a little bit but
      	should help to find bugs early.
      84e1810a