gimp/app
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
..
actions Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
base added still unused flags type GimpDirtyMask. 2004-07-28 11:50:20 +00:00
composite now that the output depends on --verbose, enable it for stable releases 2004-07-20 16:55:39 +00:00
config s/pseudocolor visuals/8-bit (256 colors) displays/. Fixes bug #137078. 2004-08-05 14:15:37 +00:00
core Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
dialogs Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
display Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
file Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
gui Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
menus build but *dont link* display-enums.obj, widget-enums.obj and 2004-08-01 20:51:12 +00:00
paint added still unused flags type GimpDirtyMask. 2004-07-28 11:50:20 +00:00
paint-funcs Applied a bunch of AIX portability fixes (bug #148813): 2004-07-30 00:57:22 +00:00
pdb Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
plug-in Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
text added still unused flags type GimpDirtyMask. 2004-07-28 11:50:20 +00:00
tools Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
vectors Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
widgets Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
xcf Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
.cvsignore removed hack for gimp-console compilation. automake seems to handle it 2004-07-12 22:34:37 +00:00
Makefile.am added checks and rules to build and link the win32 icon resource if the 2004-08-01 15:28:32 +00:00
airbrush.c
app_procs.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
app_procs.h Made the gimp-console binary compile. Finishes core/GUI separation and 2004-07-12 14:32:31 +00:00
batch.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
batch.h renamed batch_init() to batch_run(). Install an Gimp::exit handler while 2003-11-30 14:44:13 +00:00
errors.c Added a conditional definition of the preprocessor symbol GIMP_UNSTABLE if 2004-02-05 00:34:50 +00:00
errors.h unref the gimp object after dumping the configuration as a test for 2003-11-17 00:17:01 +00:00
gimp-intl.h Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp.rc
gimpcore.def gimp_create_display() with the right parameters order 2004-08-08 22:47:23 +00:00
main.c build but *dont link* display-enums.obj, widget-enums.obj and 2004-08-01 20:51:12 +00:00
makefile.msc build but *dont link* display-enums.obj, widget-enums.obj and 2004-08-01 20:51:12 +00:00
paint_core.h
paint_options.h
plug_in_cmds.c
sanity.c use the empty string to test g_filename_to_utf8(). 2004-08-07 19:01:49 +00:00
sanity.h removed the gtk+ sanity check here ... 2004-07-12 13:22:28 +00:00
transform_core.c
units.c libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files 2003-11-15 22:53:28 +00:00
units.h libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files 2003-11-15 22:53:28 +00:00
wilber.ico