1. 21 May, 2001 1 commit
    • Michael Natterer's avatar
      app/app_procs.c app/datafiles.c app/devices.c app/docindex.c · dd4b03ec
      Michael Natterer authored
      2001-05-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c
      	* app/datafiles.c
      	* app/devices.c
      	* app/docindex.c
      	* app/gdisplay_color.c
      	* app/gdisplay_color_ui.c
      	* app/gimphelp.c
      	* app/main.c
      	* app/module_db.c
      	* app/plug_in.c
      	* app/resize.c
      	* app/resolution_calibrate.c
      	* app/undo_history.c
      	* app/user_install.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdata.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/gui/about-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/palette-editor.c
      	* app/gui/session.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/pdb/image_cmds.c
      	* app/pdb/text_tool_cmds.c
      	* app/tools/curves.c
      	* app/tools/gimptexttool.c
      	* app/tools/levels.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimppreview.c
      	* libgimp/gimpcolordisplay.h
      	* libgimpbase/gimpbase.h
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/libgimp-glue.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/psp.c
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: last checkin didn't get all
      	#include "libgimp/i_dont_exist_any_more.h". This one should make
      	it compile again without old crap hanging around in <prefix>/include.
      dd4b03ec
  2. 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
  3. 17 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gui/Makefile.am app/about_dialog.[ch] · ddc91452
      Michael Natterer authored
      2001-04-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gui/Makefile.am
      	* app/about_dialog.[ch]
      	* app/brush_edit.[ch]
      	* app/brush_select.[ch]
      	* app/channels_dialog.[ch]
      	* app/color_area.[ch]
      	* app/color_notebook.[ch]
      	* app/color_select.[ch]
      	* app/colormap_dialog.[ch]
      	* app/commands.[ch]
      	* app/file_new_dialog.[ch]
      	* app/gradient_editor.[ch]
      	* app/gradient_select.[ch]
      	* app/indicator_area.[ch]
      	* app/info_dialog.[ch]
      	* app/info_window.[ch]
      	* app/layer_select.[ch]
      	* app/layers_dialog.[ch]
      	* app/menus.[ch]
      	* app/palette.[ch]
      	* app/palette_import.[ch]
      	* app/palette_select.[ch]
      	* app/paths_dialog.[ch]
      	* app/pattern_select.[ch]
      	* app/preferences_dialog.[ch]
      	* app/session.[ch]
      	* app/test_commands.[ch]
      	* app/tips_dialog.[ch]
      	* app/toolbox.[ch]: moved to gui/ (s/_/-/ and some more useful
      	filenames on the way).
      
      	* app/app_procs.c
      	* app/context_manager.c
      	* app/convert.c
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/file-utils.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimprc.c
      	* app/image_new.c
      	* app/interface.c
      	* app/nav_window.c
      	* app/path.c
      	* app/plug_in.c
      	* app/gui/dialogs-constructors.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpcolorpanel.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* po/POTFILES.in: changed accordingly.
      ddc91452
  4. 24 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added the new library below. · 7a4260da
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added the new library below.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimphelpui.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgetstypes.h: new shared library.
      
      	Currently there are some ugly dependencies into libgimp. These
      	will be removed and go to a "libgimpglue" library which will be
      	a library for functions which share a common interface between
      	plug-ins and the app but have different implementations.
      
      	Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h"
      	to simulate this upcoming separation.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchainbutton.[ch]
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: removed from here.
      
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/makefile.mingw.in
      	* libgimp/makefile.msc: changed accordingly.
      
      	* app/[all ui files]
      	* app/pdb/palette_cmds.c
      	* app/pdb/tools_cmds.c
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h"
      	and removed useless includes.
      
      	* app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h"
      
      	* app/Makefile.am
      	* plug-ins/[all makefiles which link against libgimpui]:
      	link against libgimpwidgets.la
      
      	* po-libgimp/POTFILES.in: changed file locations.
      7a4260da
  5. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      
      	* libgimpmath/.cvsignore
      	* libgimpmath/Makefile.am
      	* libgimpmath/gimpmath.def
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpmatrix.h
      	* libgimpmath/gimpvector.c
      	* libgimpmath/gimpvector.h
      	* libgimpmath/makefile.mingw.in
      	* libgimpmath/makefile.msc: new shared library. Depends on glib only.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.def
      	* libgimp/gimp.h: removed the math stuff.
      
      	* libgimp/gimpmath.h
      	* libgimp/gimpmatrix.[ch]
      	* libgimp/gimpvector.[ch]: removed.
      
      	* app/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
      
      	* app/[many files]
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb.c
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimpwidgets.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/libgck/gck/gckcolor.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
      	removed the remaining includes of the old color stuff.
      cb166972
  6. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      
      	#include "config.h"
      
      	#include <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#include "apptypes.h"
      
      	#include "gimp stuff"
      
      	#include "libgimp stuff"
      
      	#include "libgimp/gimpintl.h"
      
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
      8d6c335f
  7. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  8. 26 Oct, 2000 1 commit
    • Sven Neumann's avatar
      avoid modulo operation on negative values. · 8cfac64a
      Sven Neumann authored
      2000-10-26  Sven Neumann  <sven@gimp.org>
      
      	* app/channel_ops.c (offset_ok_callback): avoid modulo operation on
      	negative values.
      
      	* app/channel_ops.c
      	* app/crop.c
      	* app/file_new_dialog.c
      	* app/layers_dialog.c
      	* app/preferences_dialog.c
      	* app/rotate_tool.c
      	* app/scale_tool.c: use RINT() when assigning the result of
      	gimp_size_entry_get_refval() to an integer.
      8cfac64a
  9. 23 Feb, 2000 1 commit
    • Michael Natterer's avatar
      use a gimp_query_boolean_box(). · 27d4717c
      Michael Natterer authored
      2000-02-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/file_new_dialog.c: use a gimp_query_boolean_box().
      
      	* libgimp/gimpenv.c
      	* libgimp/gimpquerybox.c: documentation updates.
      
      	* libgimp/gimpwidgets.[ch]: changed the widget constructors to
      	return only the container widget and added access marcos for the
      	sub-widgets. Added documentation for all functions.
      	Made gimp_toggle_button_sensitive_update() public so this feature
      	can be properly documented.
      
      	* plug-ins/common/blur.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/randomize.c
      	* plug-ins/common/snoise.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/tile.c
      	* plug-ins/gflare/gflare.c: updated according to the
      	gimpwidgets.[ch] changes.
      
      2000-02-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-decl.txt
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpenv.sgml
      	* libgimp/tmpl/gimppixmap.sgml
      	* libgimp/tmpl/gimpwidgets.sgml: various updates...
      27d4717c
  10. 31 Jan, 2000 1 commit
  11. 14 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · fbfdf4b3
      Michael Natterer authored
      2000-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/tool_options_ui.h: removed.
      
      	* app/tool_options.c
      	* libgimp/gimpwidgets.[ch]: moved some more ui utility functions
      	to libgimp.
      
      	* app/airbrush.c
      	* app/blend.c
      	* app/bucket_fill.c
      	* app/channel_ops.c
      	* app/clone.c
      	* app/color_picker.c
      	* app/convolve.c
      	* app/crop.c
      	* app/dodgeburn.c
      	* app/eraser.c
      	* app/file_new_dialog.[ch]
      	* app/flip_tool.c
      	* app/image_new.[ch]
      	* app/ink.c
      	* app/layers_dialog.c
      	* app/magnify.c
      	* app/measure.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/smudge.c
      	* app/text_tool.c
      	* app/tool_options.c
      	* app/transform_tool.c
      	* app/xinput_airbrush.c: use the libgimp functions (esp. the radio
      	button group constructor), some code cleanup.
      
      	* plug-ins/common/csource.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/png.c
      	* plug-ins/unsharp/unsharp.c: more plugin ui tuning.
      
      	* plug-ins/unsharp/Makefile.am
      	* plug-ins/unsharp/dialog_f.[ch]
      	* plug-ins/unsharp/dialog_i.[ch]: removed.
      fbfdf4b3
  12. 06 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/[all files using the dialog or action area constructors] added a · 884f2235
      Michael Natterer authored
      2000-01-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/[all files using the dialog or action area constructors]
      	* libgimp/gimpdialog.[ch]: added a "slot_object" agrument to the
      	constructors' va_args lists to allow the action area buttons to be
      	connected wich gtk_signal_connect_object().
      
      	* libgimp/gimphelp.c: show the correct help page for plugins.
      
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/aa.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/destripe.c
      	* plug-ins/common/diffraction.c
      	* plug-ins/common/displace.c
      	* plug-ins/common/grid.c
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/helpbrowser.c: use the dialog constructor
      	and enable the "F1" help key.
      884f2235
  13. 30 Dec, 1999 1 commit
  14. 02 Dec, 1999 1 commit
    • Michael Natterer's avatar
      Default to "Cancel" in the "Really Quit?" dialog. · c688e055
      Michael Natterer authored
      1999-12-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: Default to "Cancel" in the "Really Quit?" dialog.
      
      	* app/app_procs.c
      	* app/brush_select.c
      	* app/gimpbrushlist.c: Call brush_select_[freeze|thaw]_all() from
      	brushes_init() and brushes_free(), so refreshing the brushes from
      	plugins/scripts is faster.
      
      	* app/brightness_contrast.c
      	* app/color_balance.c
      	* app/curves.c
      	* app/file_new_dialog.c
      	* app/hue_saturation.c
      	* app/levels.c
      	* app/posterize.c
      	* app/threshold.c:
      	Reorder the action are buttons: [ "OK" "Reset" "Cancel" ]
      
      	* app/menus.c: Some more cleanups in the menu code. Reorder
      	<Image>/Filters/Misc only if ot exists. Generalized
      	menu_translate() in preparation for correctly supporting catalogs
      	which only exist sometimes (like gimp-perl).
      
      	* app/gradient.c
      	* app/gradient_select.c: Save some lines of code by using
      	gtk_clist_new_with_titles() instead of gtk_clist_new().
      
      	* libgimp/gimpunitmenu.c: Code cleanup and made the clist titles
      	of the unit selection un-clickable.
      c688e055
  15. 23 Nov, 1999 1 commit
    • Michael Natterer's avatar
      app/app_procs.c app/channels_dialog.c app/fileops.c app/gdisplay.c · b6a3dd5a
      Michael Natterer authored
      1999-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c
      	* app/channels_dialog.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/layers_dialog.c
      	* app/menus.[ch]
      	* app/paths_dialog.c
      	* app/plug_in.c: removed
      	menus_set_[sensitive|state]_glue(). Removed the N_()'s from all
      	menu paths which are not eventually passed to
      	gtk_item_factory_create_item().
      
      	* app/tool_options.c: minor updates.
      
      	* app/file_new_dialog.c: reordered the action_area buttons.
      b6a3dd5a
  16. 04 Nov, 1999 1 commit
  17. 03 Oct, 1999 1 commit
    • Michael Natterer's avatar
      The GIMP Help System part II: press "F1" while browsing a menu to show the · a11f3334
      Michael Natterer authored
      1999-10-03  Michael Natterer  <mitch@gimp.org>
      
      	The GIMP Help System part II: press "F1" while browsing a menu
      	to show the help page for the menu entry you're currently over
      	with the mouse.
      
      	* app/color_notebook.c: all color selectors have to register with
      	a help page now.
      
      	* app/color_select.[ch]: register with a help string. Removed
      	the dialog part of the files because it's use was deprecated
      	anyway (use color notebooks instead).
      
      	* app/colormap_dialog.i.c
      	* app/colormap_dialog.p.h
      	* app/palette.c
      	* app/palette_select.c: use a color notebook instead of a color
      	selector.
      
      	* app/gimphelp.c
      	* app/gimpui.c: minor changes.
      
      	* app/gimprc.c: "use help" defaults to TRUE now.
      
      	* app/lc_dialog.c
      	* app/lc_dialogP.h: a special help function which shows the help
      	for the currently selected notebook page.
      
      	* app/menus.c: some weird code which catches "key_press_event"
      	in all menu shells and pops up the corresp. help page for the
      	selected item. Embedded the GtkItemFactoryEntry in a new
      	GimpItemFactoryEntry to allow a help path to be stored.
      	Will be partially exported and moved to gimphelp.[ch] later to
      	catch key_press for plug-in menu items (don't try this now ;-)
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/file_new_dialog.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gdisplay_color.c
      	* app/gdisplay_color_ui.c
      	* app/gdisplay_ops.c
      	* app/global_edit.c
      	* app/gradient.c
      	* app/gradient_select.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/preferences_dialog.c
      	* app/qmask.c
      	* app/resize.c
      	* app/undo_history.c: changed all dialog constructors to point
      	to the right place in the new help file structure.
      
      	* configure.in
      	* help/*: the basic new help file structure.
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: register a help page.
      
      	* plug-ins/helpbrowser/helpbrowser.c: load the help files
      	according to the new help file structure.
      a11f3334
  18. 27 Sep, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/gimphelp.[ch] new files · 002aa905
      Michael Natterer authored
      1999-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimphelp.[ch]
      	* app/gimpui.[ch]: new files
      
      	* app/interface.[ch]
      	* app/preferences_dialog.[ch]
      
      	The GIMP Help System part 1: Press "F1" in any dialog to pop up
      	the help page for this dialog.
      
      	Moved the widget constructors from preferences_dialog.[ch] and the
      	query boxes from interface.[ch] to gimpui.[ch].
      
      	The dialog constructors take a help_func and a help_data
      	parameter and install the "F1" accelerator which emits the new
      	"help" signal.
      
      	The "help" signal callback calls help_func(help_data) which finally
      	has to call gimp_help() which in turn invokes the help browser.
      
      	Still have to find a proper way to (1) prevent "F1" being assigned
      	to some menu item and (2) to catch "F1" while browsing the menu
      	trees in order to pop up the help for the selected item.
      
      	* app/menus.c: a <Toolbox>/File/Help... menu item.
      	* app/commands.[ch]: a command callback for the "Help..." menu item.
      
      	* app/gimprc.[ch]: new boolean gimprc variable "use_help".
      
      	* app/info_dialog.[ch]: pass a help function and data to the info
      	dialog constructor.
      
      	* app/tools.[ch]: store the tools help page names in the tool info
      	structure. Export a special tools_help_func() which shows the help
      	page for the active tool.
      
      	* app/[all files calling a dialog constructor]: pass the dialog's
      	help page to the constructor.
      
      	Most dialogs are now created by gimp_dialog_new() which also sets
      	up the action_area and the WM delete event callback, so I removed
      	the resp. code from these files.
      
      	Fixed some minor bugs and did some other stuff but didn't change
      	any logic except dialog creation.
      
      	* plug-ins/helpbrowser/helpbrowser.c: don't try to call a running
      	help browser and don't install any menu path (all done in
      	app/gimphelp.[ch] now).
      002aa905
  19. 26 Aug, 1999 1 commit
    • CDT 1999 Shawn T. Amundson's avatar
      Added new files, the UI independant part of new image dialog. · c6eec632
      CDT 1999 Shawn T. Amundson authored
      Wed Aug 25 02:40:39 CDT 1999 Shawn T. Amundson <amundson@gimp.org>
      
              * app/image_new.[ch]: Added new files, the UI independant part of
                new image dialog.
      
              * app/file_new_dialog.[ch]: uses image_new stuff now.  Alot
                changed.  No UI changed.  Different behavior is a bug, as
                this is only for UI separation.
      
              * app/gimpimage.[ch]: Added gimp_image_get_width () and
                gimp_image_get_height ().
      
              * app/global_edit.c: Call a function in image_new instead of
                file_new_dialog for updating the status of the cut buffe.
      c6eec632
  20. 18 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Actually use the enum types GimpImageType, GimpImageBaseType, · f6858e21
      Tor Lillqvist authored
      	* app/*.[ch]: Actually use the enum types GimpImageType,
      	GimpImageBaseType, LayerModeEffects, PaintApplicationMode,
      	BrushApplicationMode, GimpFillType and ConvertPaletteType, instead
      	of just int or gint. Hopefully I catched most of the places
      	where these should be used.
      
      	Add an enum ConvolutionType, suffix the too general constants
      	NORMAL, ABSOLUTE and NEGATIVE with _CONVOL. Use NORMAL_MODE
      	instead of NORMAL in some places (this was what was intended). Fix
      	some minor gccisms.
      
      	* app/apptypes.h: New file. This file contains the above
      	enumeration types, and some opaque struct typedefs. It was
      	necessary to collect these in one header that doesn't include
      	other headers, because when we started using the above mentioned
      	types in the headers, all hell broke loose because of the
      	spaghetti-like cross-inclusion mess between headers.
      
      	(An example: Header A includes header B, which includes header C
      	which includes A. B uses a type defined in A. This is not defined,
      	because A hasn't defined it yet at the point where it includes B,
      	and A included from B of course is skipped as we already are
      	reading A.)
      f6858e21
  21. 10 Jul, 1999 1 commit
    • Michael Natterer's avatar
      Undo/Redo should be sensitive even if there is no layer :-) · 9f92d833
      Michael Natterer authored
      1999-07-10  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/gdisplay.c (gdisplay_set_menu_sensitivity): Undo/Redo should
      	be sensitive even if there is no layer :-)
      
      	* app/commands.h
      	* app/docindex.[ch]
      	* app/docindexif.[ch]
      	* app/file_new_dialog.[ch]: some #include cleanups.
      
      	* plug-ins/helpbrowser/Makefile.classic: less primitive version.
      9f92d833
  22. 21 Jun, 1999 1 commit
    • Tor Lillqvist's avatar
      Update version. · 12938f1b
      Tor Lillqvist authored
      	* libgimp/gimpfeatures.h.win32: Update version.
      
      	* app/file_new_dialog.c: Include gimpcontext.h.
      
      	* app/gdisplay.c: Don't pass a pointer as an int parameter,
      	pass the result of an inequality comparison to zero.
      
      	* app/makefile.msc: Add new files.
      
      	* plug-ins/makefile.msc: Build the ps plug-in, too.
      
      	* plug-ins/ps/ps.c: Add code to use a "real" output file, not a
       	pipe (needed with Win32 port of ghostscript).
      
      	Use g_strdup_printf() instead of separate g_malloc() and sprintf()
       	calls. No need to check failure of g_malloc(), it aborts on
       	failure. Open files in binary mode.
      
      	(Win32:) Use indirect command line file to guard for too long
       	command line. (Not sure if this is really needed.) Use the
       	gswin32c program.
      12938f1b
  23. 20 Jun, 1999 1 commit
    • Michael Natterer's avatar
      connect to the user context's "display_changed" and to the image context's · a72dbe86
      Michael Natterer authored
      1999-06-21  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/context_manager.c: connect to the user context's
      	"display_changed" and to the image context's "remove" signal to
      	avoid dangling references and to set the menu sensitivity on
      	display change.
      
      	* app/disp_callbacks.c
      	* app/file_new_dialog.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/gimpcontext.c
      	* app/interface.[ch]: entirely moved the active display stuff to
      	the user context:
      
      	- The active display is set by any event in the display shell,
      	  by File/New and File/Open.
      	- gdisplay_delete() resets the active display to NULL if we
      	  deleted the active display.
      	- Reduced gdisplay_active() to a single statement returning the
      	  context's active display. Should replace it by a macro.
      	- gdisplay_flush_whenever() sets the menu sensitivity for the
      	  active display.
      	- Removed global variable popup_shell since it was only set all
      	  the time but never used. I guess it's original job is now done
      	  by the context anyway.
      	- gdisplay_set_menu_sensitivity() works with gdisp == NULL.
      	- There are mysterious Gdk-CRITICALs if both <Image> and one of
      	  it's sub-menus are teared-off. Probably a gtk+ bug.
      
      	To do all this stuff at a central place, there needs to be a
      	GimpSet of displays (and ideally, GDisplay should be a GtkObject).
      
      	* app/commands.c
      	* app/lc_dialog.c: fixed segfaults happening with teared-off menus.
      a72dbe86
  24. 06 Jun, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/lc_dialog.[ch] app/lc_dialogP.h new files · ac98e8fa
      Michael Natterer authored
      1999-06-06  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/lc_dialog.[ch]
      	* app/lc_dialogP.h
      	* app/paths_dialogP.h: new files
      
      	* app/channels_dialog.[ch]
      	* app/layers_dialog.[ch]
      	* app/layers_dialogP.h
      	* app/paths_dialog.[ch]
      	* app/menus.[ch]
      	* app/file_new_dialog.c: modified
      
      	- Moved the toplevel L&C dialog code to lc_dialog.[ch]. Only
      	  these files need knowledge about how to create/update/...
      	  the sub-dialogs, so the corresp. functions are defined in
      	  lc_dialogP.h.
      	- The popup menus are now created by menus.c. The command
      	  callbacks are defined in [layers|channels|paths]_dialog.h.
      	- Private functions to be used by "friend files" are defined in
      	  [layers|paths]_dialogP.h.
      	- Changed the order of the ops_buttons in the paths dialog to
      	  match the order in the layers and channels dialogs.
      	- The paint mode menu and preview stuff still needs to go out of
      	  layers_dialog.[ch].
      	- I'm not sure about the keybindings in the layer dialog's "Stack"
      	  submenu because the list widget has it's own idea of PageUp/Down.
      	- Hopefully fixed the update problem with new images by calling
      	  lc_dialog_flush() after creating a new image.
      
      	* app/app_procs.c
      	* app/bezier_select.c
      	* app/commands.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/paint_core.c
      	* app/preferences_dialog.c
      	* app/transform_core.c
      	* app/undo.c: changed #include's according to the new L&C file
      	structure.
      ac98e8fa
  25. 31 May, 1999 1 commit
    • Michael Natterer's avatar
      app/commands.c app/crop.c app/file_new_dialog.c app/info_dialog.[ch] · 4a139952
      Michael Natterer authored
      1999-05-31  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/commands.c
      	* app/crop.c
      	* app/file_new_dialog.c
      	* app/info_dialog.[ch]
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/resize.[ch]
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/shear_tool.c: finished the float->double migration for
      	resolution values. Standardized the order of function calls which
      	initialize sizeentries. Fixed some off-by-one errors by using
      	correct double->int casting. Use the g* counterparts of int and
      	double in some places. Various code cleanups.
      
      	* app/preferences_dialog.c: same changes as above plus a cleaner
      	implementation of the mem_size_unit stuff. The whole dialog should
      	behave like before.
      4a139952
  26. 22 May, 1999 1 commit
    • Michael Natterer's avatar
      app/[all files with resolution info] libgimp/gimp.h libgimp/gimpimage.c · dcfb450b
      Michael Natterer authored
      1999-05-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all files with resolution info]
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* plug-ins/newsprint/newsprint.c
      	* plug-ins/pgn/png.c
      	* plug-ins/tiff/tiff.c: double instead of float for all resolution
      	and unit-factor variables.
      
      	* app/commands.c
      	* app/crop.c
      	* app/interface.c
      	* app/layers_dialog.c
      	* app/move_tool.c
      	* app/resize.c
      	* app/rotate_tool.c
      	* app/scale_tool.c: pass the image's unit *and* gdisp->dot_for_dot
      	to all functions which create sizeentries. Never create a
      	sizeentry with UNIT_PIXEL but with the image's unit and set it's
      	unit to UNIT_PIXEL after creation if dot_for_dot is on.
      	This way the image's unit can always be picked from the menu
      	without selecting "More...".
      
      	* app/interface.c: made the query_*_box() functions use the
      	ActionArea.
      
      	* plug-ins/gimpunitmenu.c: GTK_WIN_POS_MOUSE for the unit
      	selection dialog.
      dcfb450b
  27. 18 May, 1999 1 commit
    • Michael Natterer's avatar
      store resolution values as doubles, not floats. · e494bbd5
      Michael Natterer authored
      1999-05-18  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/app_procs.c (and many of the files below): store resolution
      	values as doubles, not floats.
      
      	* app/brush_select.c
      	* app/pattern_select.c: hide the "refresh" button in client
      	dialogs. Don't know if this is desired but it fixes a SEGV.
      
      	* app/file_new_dialog.c: New ui using code/ideas from Austin,
      	Marco and Nick. The "size" frame is still a bit bloated but I
      	didn't want to reduce it's functionality right now. It's closer to
      	the result of the last discussion but not perfect yet...
      	Added a dialog to confirm image sizes larger than the new
      	max_new_image_size value.
      	The new "reset" button uses the values from gimprc.
      	Removed some #include's, added the copyright header.
      
      	* app/gimprc.[ch]: new rc variable max_new_image_size.
      
      	* app/preferences_dialog.c: added the "max image size"
      	option. Generalized the mem size unit code.
      
      	* app/resize.c: an additional box lets the offset widget always
      	shrink correctly.
      
      	* app/text_tool.c: fixed a minor memory leak.
      
      	* libgimp/Makefile.am: add all widgets to libgimpui.*
      
      	* libgimp/gimpfileselection.c: cosmetic changes.
      
      	* libgimp/gimplimits.h: a maximum image size which should satisfy
      	everybody ;)
      
      	* libgimp/gimpsizeentry.c: allow the creation of sizeentries
      	without fields. This (finally) enables arbitrary layout of the
      	spinbuttons.
      
      	* plug-ins/script-fu/script-fu-scripts.c: use the fileselection
      	widget for script parameter SF_FILENAME.
      e494bbd5
  28. 09 May, 1999 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am new file. Currently contains constants for image size · 5711df6a
      Michael Natterer authored
      1999-05-09  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* libgimp/Makefile.am
      	* libgimp/gimplimits.h: new file. Currently contains constants for
      	image size and resolution.
      
      	* app/file_new_dialog.c
      	* app/resize.c: use the new constants.
      
      	* app/layers_dialog.c: use a sizeentry in the "New Layer" query
      	box. Folded the "Layer Fill Type" callbacks into one function.
      
      	* app/text_tool.c
      	* app/text_tool_cmds.c
      	* tools/pdbgen/pdb/text_tool.pdb: did the calculations for
      	resolutions < 1.0 right this time.
      
      	* app/gimage_cmds.c
      	* tool/pdbgen/pdb/gimage.pdb: fixed a typo.
      5711df6a
  29. 05 Apr, 1999 1 commit
    • Michael Natterer's avatar
      #include <gtk/gtk.h>. · 24ffa60f
      Michael Natterer authored
      1999-04-05  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/action_area.h: #include <gtk/gtk.h>.
      
      	* app/devices.c: made the "Input Devices" dialog follow the action
      	area conventions. Grab pointer in the pattern/brush preview popups.
      
      	* app/errorconsole.c: use the actionarea functions.
      
      	* app/gimpunit.c: had the wrong copyright header.
      
      	* app/info_dialog.c: correctly set the spinbuttons' digits.
      
      	* app/perspectice_tool.c: removed #include <stdio.h> again but
      	didn't forget to s/sprintf/g_snprintf/ this time.
      
      	* app/preferences_dialog.c: unified order of varible definitions,
      	removed some unused variables.
      
      	* app/crop.c
      	* app/file_new_dialog.c
      	* app/info_dialog.[ch]
      	* app/interface.c
      	* app/preferences_dialog.c
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunitmenu.[ch]: prepared for "percent" in size
      	entries.
      24ffa60f
  30. 02 Apr, 1999 1 commit
    • Michael Natterer's avatar
      made function headers ansi compliant. · f70fc7d3
      Michael Natterer authored
      1999-04-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/gimage_mask.[ch]: made function headers ansi compliant.
      
      	* app/file_new_dialog.c
      	* app/preferences_dialog.c: minor GUI and signal handling
      	changes. Added a WM hint pixmap to the prefs dialog but commented
      	it out because it looked ugly. If someone has a nice pixmap,
      	please try it and tell me ;)
      
      	* app/color_picker.c
      	* app/crop.c
      	* app/info_window.c
      	* app/perspective_tool.c
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/info_dialog.[ch]: the info_dialog allows scales, spinbuttons
      	and sizeentries now. Made some dialogs use these widgets and
      	added unit support. Sprinkled some g_snprintf's, removed
      	#include's, ansi issues, ...
      
      	* app/session.c: don't call a NULL callback.
      
      	* libgimp/gimpsizeentry.[ch]: new function
      	gimp_size_entry_add_field() which allows a more flexible GUI
      	layout. More intelligent signal handling.
      f70fc7d3
  31. 27 Mar, 1999 1 commit
    • Michael Natterer's avatar
      app/brush_select.c app/channels_dialog.c app/color_select.c app/devices.c · 2f34216a
      Michael Natterer authored
      1999-03-27  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              * app/brush_select.c
              * app/channels_dialog.c
              * app/color_select.c
              * app/devices.c
              * app/file_new_dialog.c
              * app/gradient_select.c
              * app/palette_select.c
              * app/pattern_select.c: applied a patch from Marco Lamberto
              <lm@geocities.com> which unifies actionareas ("Cancel" rightmost
              and default). Did the same in some more dialogs.
      
              * libgimp/gimpfileselection.c
              * libgimp/gimppatheditor.c
              * app/preferences_dialog.[ch]: completely reworked the preferences
              dialog:
      
              - select the notebook's pages with a tree.
              - reordered the categories. Please give me feedback, this really
                needs to be intuitive.
              - removed lots of unused #include's.
              - turned the prefs. dialog into a test site for new convenience
                constructors. These changes are however not visible. Flame me
                until they're perfect ;) When finished, this stuff can save
                *many* lines of gtk+ code.
      
              * modules/colorsel_gtk.c: made it circular.
      2f34216a
  32. 14 Mar, 1999 1 commit
    • Michael Natterer's avatar
      removed two unused directories from plug-in-path. · 844a73d3
      Michael Natterer authored
      1999-03-14  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* gimprc.in: removed two unused directories from plug-in-path.
      
      	* app/file_new_dialog.c: make the first spinbutton grab the focus
      	and one more unit initialisation bugfix
      
      	* app/interface.c: grab focus in query_[string|int|..]_box()
      	This still needs to be done in many dialogs to be consistent.
      
      	* app/preferences_dialog.c: made the module-path configurable
      
      	* libgimp/gimppatheditor.[ch]: change the order of the buttons to
      	match the order in the L&C dialog
      
      	* libgimp/gimpsizeentry.[ch]: enabled highlighting of the
      	spinbuttons' contents on focus_in_event.
      	Ugly new function gimp_size_entry_grab_focus() because it seems
      	impossible to implement gtk_widget_grab_focus(sizeentry).
      844a73d3
  33. 03 Mar, 1999 2 commits
  34. 02 Mar, 1999 1 commit
  35. 25 Feb, 1999 1 commit
  36. 21 Feb, 1999 1 commit
    • CST 1999 Shawn T. Amundson's avatar
      Add default to Cancel button, remove unset GTK_RECEIVES_DEFAULT from · df051bd3
      CST 1999 Shawn T. Amundson authored
      Sat Feb 20 16:12:33 CST 1999 Shawn T. Amundson <amundson@gimp.org>
      
              * app/tips_dialog.c: Add default to Cancel button, remove
                unset GTK_RECEIVES_DEFAULT from prev/next buttons (they
                are like toolbar buttons), changed abreviated prev to
                previous, prev/next button are now same size, cancel button
                is in a button box.  Added vboxes where necessary to prevent
                prev/next and check button from filling vertically.
      
              * app/app_procs.c: when splashscreen dialog is larger than the
                logo, (due to huge font), center logo.
      
              * app/file_new_dialog.c: patch from Marco Lamb <lm@geocities.com>
                disallows resizing, changes vertical expanding of widgets to
                not occur
      
              * app/palette.c: patch from Marco Lamb <lm@geocities.com>.  Makes
                +/- buttons for zoom pixmaps (eventually, these can be replaced
                with a magnifying glass with a little +/- I think), so that they
                no longer expand as they did before.  I modified his patch so it
                did not create a misused toolbar.  I did some other stuff here too,
                moved Close button to the left, made it the window's default,
                and unset GTK_RECEIVES_DEFAULT off of the non-bottom buttons.
      
              * app/actionarea.c: another patch from Marco Lamb <lm@geocities.com>.
                This one changes buttons to be put in a button box which is right
                justified.  If we decide later that spread is better, we can
                change this easy enough.
      
              * app/tools/zoom_in.xpm, app/tools/zoom_out.xpm: + and - graphics.
      
              * libgimp/gimpunit.h
                libgimp/gimpunit.c: New files from Michael Natterer
                <mitschel@cs.tu-berlin.de>, gimp_unit_* routines.
      
              * app/gimage.h
                app/gimpimage.h
                app/gimpimage.c
                app/gimpimageP.h
                app/xcf.c: Patches from Michael Natterer <mitschel@cs.tu-berlin.de>,
                which keep a unit assocated with an image.
      df051bd3
  37. 15 Jan, 1999 1 commit
  38. 03 Dec, 1998 1 commit
    • CST 1998 Shawn T. Amundson's avatar
      app/channel_ops.c app/color_balance.c app/color_select.c app/commands.c · b556943f
      CST 1998 Shawn T. Amundson authored
      Thu Dec  3 16:51:42 CST 1998 Shawn T. Amundson <amundson@gtk.org>
      
              * app/channel_ops.c
              * app/color_balance.c
              * app/color_select.c
              * app/commands.c
              * app/convert.c
              * app/curves.c
              * app/docindex.c
              * app/errorconsole.c
              * app/file_new_dialog.c
              * app/fileops.c
              * app/gdisplay_ops.c
              * app/histogram_tool.c
              * app/info_dialog.c
              * app/layer_select.c
              * app/levels.c
              * app/pattern_select.c
              * app/plug_in.c
              * app/posterize.c
              * app/resize.c
              * app/threshold.c
              * app/tips_dialog.c: use gtk_container_set_border_width and
                gtk_window_set_position instead of deprecated versions
      b556943f
  39. 14 Nov, 1998 1 commit
    • GMT 1998  Austin Donnelly's avatar
      app/gimpimage.h app/gimpimageP.h app/gimpimage.c app/gimage_cmds.c · 9dd1c38b
      GMT 1998 Austin Donnelly authored
      Sat Nov 14 23:16:55 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>
      
      	* app/gimpimage.h
      	* app/gimpimageP.h
      	* app/gimpimage.c
      	* app/gimage_cmds.c
      	* app/file_new_dialog.c
      	* app/info_window.c
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c
      	* plug-ins/newsprint/newsprint.c
      	* plug-ins/tiff/tiff.c: gimp_image_{get,set}_resolution() calls
      	now get and set both X and Y resolutions.  Gimp image struct now
      	has two resolution fields, one for each direction.  I've updated
      	the two plugins which used the info (TIFF and newsprint).
      9dd1c38b