gimp/app/display
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
..
.cvsignore new function to set the sensitivity of an option_menu. 2002-03-17 16:35:05 +00:00
Makefile.am Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
display-enums.c added still unused flags type GimpDirtyMask. 2004-07-28 11:50:20 +00:00
display-enums.h Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-30 15:47:32 +00:00
display-types.h removed GimpConfigInterface typedef, added comments to typedefs which 2004-07-19 11:33:59 +00:00
gimpcanvas.c app/display/gimpdisplayshell.c corrected API documentation, removed 2004-07-16 10:07:30 +00:00
gimpcanvas.h added gimp_canvas_set_clip_region(). 2003-11-11 17:07:41 +00:00
gimpdisplay-foreach.c Replaced the concept of having a boolean indicating if an undo step 2004-07-29 14:16:21 +00:00
gimpdisplay-foreach.h *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpdisplay-handlers.c Code review & cleanup: 2004-07-14 10:31:59 +00:00
gimpdisplay-handlers.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplay.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
gimpdisplay.h *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpdisplayoptions.c removed GIMP_TYPE_COLOR. 2004-07-26 19:56:47 +00:00
gimpdisplayoptions.h changed PROP_SHOW_ACTIVE_LAYER to PROP_SHOW_LAYER_BOUNDARY to be 2003-10-23 07:33:16 +00:00
gimpdisplayshell-appearance.c app/actions/view-actions.c added actions & callbacks to configure the 2004-06-22 16:31:27 +00:00
gimpdisplayshell-appearance.h Fixed incorrect logic that caused perfect-but-slow pointer tracking to be 2004-06-13 01:37:29 +00:00
gimpdisplayshell-callbacks.c Added support for motion event history as provided by some input device 2004-07-29 13:21:55 +00:00
gimpdisplayshell-callbacks.h app/actions/view-actions.c added actions & callbacks to configure the 2004-06-22 16:31:27 +00:00
gimpdisplayshell-close.c Code review & cleanup: 2004-07-14 10:31:59 +00:00
gimpdisplayshell-close.h app/display/Makefile.am new files for gimp_display_shell_close() and its 2004-07-14 00:15:57 +00:00
gimpdisplayshell-cursor.c remember the last used GimpCursorFormat so changing the format in prefs 2004-06-14 10:19:39 +00:00
gimpdisplayshell-cursor.h remember the last used GimpCursorFormat so changing the format in prefs 2004-06-14 10:19:39 +00:00
gimpdisplayshell-dnd.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
gimpdisplayshell-dnd.h app/gui/Makefile.am new files implementing a clipboard for image data 2004-07-02 14:08:15 +00:00
gimpdisplayshell-draw.c fixed handling of grid offsets in the grid drawing routine. 2004-05-27 14:51:44 +00:00
gimpdisplayshell-draw.h app/display/gimpdisplayshell-callbacks.c 2004-04-04 17:17:40 +00:00
gimpdisplayshell-filter-dialog.c app/actions/channels-commands.c app/actions/gradient-editor-commands.c 2004-05-04 14:21:13 +00:00
gimpdisplayshell-filter-dialog.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter.c forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-handlers.c Replaced the concept of having a boolean indicating if an undo step 2004-07-29 14:16:21 +00:00
gimpdisplayshell-handlers.h app/Makefile.am removed. 2001-11-10 19:10:28 +00:00
gimpdisplayshell-layer-select.c app/display/gimpdisplayshell-layer-select.c app/display/gimpprogress.c 2004-05-26 13:39:23 +00:00
gimpdisplayshell-layer-select.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
gimpdisplayshell-preview.c Transformation previews now use the selection mask if it is present. 2004-06-14 05:13:21 +00:00
gimpdisplayshell-preview.h Fixed incorrect logic that caused perfect-but-slow pointer tracking to be 2004-06-13 01:37:29 +00:00
gimpdisplayshell-render.c *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpdisplayshell-render.h added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI 2003-02-26 16:17:10 +00:00
gimpdisplayshell-scale.c Changed "Zoom to Fit Window" command to "Fit Image in Window" and added 2004-06-20 12:09:03 +00:00
gimpdisplayshell-scale.h Changed "Zoom to Fit Window" command to "Fit Image in Window" and added 2004-06-20 12:09:03 +00:00
gimpdisplayshell-scroll.c Added support for permanently showing the visible vectors, not only when 2003-09-11 22:24:30 +00:00
gimpdisplayshell-scroll.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplayshell-selection.c don't draw the outbounds selection when the selection is hidden (bug 2004-01-26 19:55:34 +00:00
gimpdisplayshell-selection.h some more cleanup. 2003-11-11 15:29:47 +00:00
gimpdisplayshell-title.c massively changed: removed message_ids, the message mem chunk and all 2004-07-14 16:37:13 +00:00
gimpdisplayshell-title.h massively changed: removed message_ids, the message mem chunk and all 2004-07-14 16:37:13 +00:00
gimpdisplayshell-transform.c made gtk-doc even happier; clarified meaning of the "use_offsets" 2004-07-16 12:41:05 +00:00
gimpdisplayshell-transform.h Fixed several off-by-one problems in display: 2004-03-20 21:59:41 +00:00
gimpdisplayshell.c emit "reconnect" *before* emitting scale and scroll events so listeners 2004-07-28 16:16:39 +00:00
gimpdisplayshell.h Added support for motion event history as provided by some input device 2004-07-29 13:21:55 +00:00
gimpnavigationeditor.c Changed "Zoom to Fit Window" command to "Fit Image in Window" and added 2004-06-20 12:09:03 +00:00
gimpnavigationeditor.h Changed "Zoom to Fit Window" command to "Fit Image in Window" and added 2004-06-20 12:09:03 +00:00
gimpnavigationview.c Changed "Zoom to Fit Window" command to "Fit Image in Window" and added 2004-06-20 12:09:03 +00:00
gimpnavigationview.h Changed "Zoom to Fit Window" command to "Fit Image in Window" and added 2004-06-20 12:09:03 +00:00
gimpscalecombobox.c removed debugging output. 2004-05-24 14:16:25 +00:00
gimpscalecombobox.h added a stock icon for "view-zoom-1-1". 2004-05-10 10:33:21 +00:00
gimpstatusbar.c Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
gimpstatusbar.h Redid the whole internal progress stuff: don't pass around 2004-08-10 18:47:21 +00:00
makefile.msc build but *dont link* display-enums.obj, widget-enums.obj and 2004-08-01 20:51:12 +00:00