gimp/app/dialogs
Michael Natterer 02d2b990f5 Redid the whole internal progress stuff: don't pass around
2004-08-10  Michael Natterer  <mitch@gimp.org>

	Redid the whole internal progress stuff: don't pass around
	progress_callback and progress_data; instead, provide a
	pointer to a GimpProgressInterface which can be implemented
	by a variety of backends.

	Addresses (but not yet fixes) bugs #6010, #97266 and #135185.

	* app/display/Makefile.am
	* app/display/gimpprogress.[ch]: removed the old progress hack.

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpprogress.[ch]: implement GimpProgressInterface.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpprogressdialog.[ch]: the standalone progress
	dialog as widget implementing GimpProgressInterface.

	* app/display/gimpdisplay.c
	* app/display/gimpstatusbar.[ch]
	* app/widgets/gimpfiledialog.[ch]
	* app/widgets/gimpthumbbox.[ch]: added GimpProgressInterface
	implementation to these classes.

	* app/core/gimp-gui.[ch]
	* app/gui/gui-vtable.c: replaced the old progress vtable entries
	by two new to create and destroy a GimpProgressDialog in case
	no other progress is available.

	* app/pdb/procedural_db.[ch]
	* app/plug-in/plug-in-run.[ch]
	* tools/pdbgen/app.pl: pass a GimpProgress to all PDB wrappers and
	all plug-ins.

	* app/plug-in/plug-in.[ch]
	* app/plug-in/plug-ins.c
	* app/plug-in/plug-in-message.c
	* app/plug-in/plug-in-progress.c: handle the case there the
	plug-in was crated with a progress as well as the case where it
	wasn't.

	* app/app_procs.c
	* app/batch.c
	* app/xcf/xcf.c
	* app/file/file-open.[ch]
	* app/file/file-save.[ch]
	* app/widgets/gimphelp.c
	* app/widgets/gimpbrushselect.c
	* app/widgets/gimpfontselect.c
	* app/widgets/gimpgradientselect.c
	* app/widgets/gimppaletteselect.c
	* app/widgets/gimppatternselect.c: changed accordingly.

	* app/core/gimpimagefile.[ch]
	* app/display/gimpdisplayshell-dnd.c
	* app/gui/file-open-dialog.c
	* app/gui/file-open-location-dialog.c
	* app/gui/file-save-dialog.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimptoolbox-dnd.c: pass a GimpProgress to all file
	related functions. Embed the progress in the file dialog where
	possible.

	* app/core/gimpdrawable-blend.[ch]
	* app/core/gimpdrawable-transform.[ch]
	* app/core/gimpimage-convert.[ch]
	* app/core/gimpimage-flip.[ch]
	* app/core/gimpimage-resize.[ch]
	* app/core/gimpimage-rotate.[ch]
	* app/core/gimpimage-scale.[ch]
	* app/core/gimpitem-linked.[ch]
	* app/core/gimpitem.[ch]
	* app/core/gimpchannel.c
	* app/core/gimpdrawable.c
	* app/core/gimplayer.c
	* app/core/gimpselection.c
	* app/vectors/gimpvectors.c: replaced callback/data by GimpProgress.

	* app/tools/gimpblendtool.c
	* app/tools/gimptransformtool.c
	* app/gui/convert-dialog.c
	* app/actions/documents-commands.c
	* app/actions/file-commands.c
	* app/actions/image-commands.c
	* app/actions/layers-commands.c
	* app/actions/plug-in-commands.c
	* app/actions/vectors-commands.c
	* tools/pdbgen/pdb/convert.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/layer.pdb: changed callers accordingly.

	* app/pdb/*_cmds.c: regenerated.
2004-08-10 18:47:21 +00:00
..
about-dialog.c fixed the fix 2004-05-06 14:32:43 +00:00
about-dialog.h app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] 2001-04-18 16:39:34 +00:00
authors.h Fixed/Added some UTF-8 encoded names. Please speak up if I did mess up 2003-10-25 23:39:51 +00:00
color-dialog.c app/display/gimpdisplayshell-layer-select.c app/display/gimpprogress.c 2004-05-26 13:39:23 +00:00
color-dialog.h removed color_notebook_new() and renamed color_notebook_viewable_new() to 2003-11-10 17:55:44 +00:00
convert-dialog.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
convert-dialog.h Applied (slightly modified) patch from Shlomi Fish which adds a progress 2004-08-09 16:08:36 +00:00
dialogs-constructors.c app/actions/documents-actions.c app/actions/documents-commands.c 2004-05-12 18:36:33 +00:00
dialogs-constructors.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
dialogs.c configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
dialogs.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
file-dialog-utils.c added help IDs to all actions representing the toplevel popups and menus 2004-05-02 08:56:07 +00:00
file-dialog-utils.h renamed parameters and removed useless #includes. 2004-02-27 14:51:51 +00:00
file-open-dialog.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
file-open-dialog.h app/widgets/Makefile.am app/widgets/widgets-types.h added new widget that 2004-07-16 21:24:39 +00:00
file-open-location-dialog.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
file-open-location-dialog.h app/Makefile.am app/actions/file-actions.c app/actions/file-commands.[ch] 2004-05-31 14:40:10 +00:00
file-save-dialog.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
file-save-dialog.h app/widgets/Makefile.am app/widgets/widgets-types.h added new widget that 2004-07-16 21:24:39 +00:00
grid-dialog.c libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def 2004-07-27 16:39:00 +00:00
grid-dialog.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
image-new-dialog.c added some GtkSizeGroups and changed spacings to improve the dialog 2004-05-21 14:17:27 +00:00
image-new-dialog.h added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
info-dialog.c app/display/gimpdisplayshell-layer-select.c app/display/gimpprogress.c 2004-05-26 13:39:23 +00:00
info-dialog.h renamed info_dialog_popdown() to info_dialog_hide() and 2004-01-21 11:16:57 +00:00
info-window.c app/core/Makefile.am app/core/core-types.h new interface which has 2004-07-13 23:04:05 +00:00
info-window.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
module-dialog.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-23 22:44:04 +00:00
module-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
offset-dialog.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-23 22:44:04 +00:00
offset-dialog.h renamed convert_to_indexed() to convert_dialog_new() and return the 2004-04-20 13:44:19 +00:00
palette-import-dialog.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-23 22:44:04 +00:00
palette-import-dialog.h added -DGDK_PIXBUF_DISABLE_DEPRECATED to CPPFLAGS. 2001-12-17 23:41:01 +00:00
preferences-dialog.c renamed "Cleared saved foobar now" buttons to "Reset saves foobar to 2004-07-29 01:19:12 +00:00
preferences-dialog.h Cleanup weekend... 2001-10-29 11:47:11 +00:00
quit-dialog.c removed images from the container when they become clean. Should move to 2004-07-12 11:12:19 +00:00
quit-dialog.h removed the quit dialog code here. 2004-07-09 20:38:35 +00:00
resize-dialog.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-23 22:44:04 +00:00
resize-dialog.h tools/pdbgen/pdb/image.pdb app/pdb/image_cmds.c reverted changes I did to 2004-06-01 22:04:20 +00:00
resolution-calibrate-dialog.c libgimpwidgets/gimpwidgets.[ch] added new utility function 2004-06-21 13:18:50 +00:00
resolution-calibrate-dialog.h removed the monitor calibration from the user installation process. It's 2004-06-09 23:51:06 +00:00
stroke-dialog.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-23 22:44:04 +00:00
stroke-dialog.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
tips-dialog.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-23 22:44:04 +00:00
tips-dialog.h Finally landed the new GimpConfig based gimprc parser. It's not finished 2002-11-18 20:50:31 +00:00
tips-parser.c Applied a bunch of AIX portability fixes (bug #148813): 2004-07-30 00:57:22 +00:00
tips-parser.h updated 2002-02-25 18:36:03 +00:00
user-install-dialog.c Applied a bunch of AIX portability fixes (bug #148813): 2004-07-30 00:57:22 +00:00
user-install-dialog.h Cleaned up the app init and exit stuff even more. Also reduces the number 2003-10-02 11:26:26 +00:00