1. 10 Aug, 2004 8 commits
    • Michael Natterer's avatar
      new function which works on all widgets in the dialog except the cancel · 95607cce
      Michael Natterer authored
      2004-08-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.[ch]
      	(gimp_file_dialog_set_sensitive): new function which works on all
      	widgets in the dialog except the cancel button.
      
      	Remember if the active progress is cancelable and added two
      	booleans "busy" and "canceled". Added GtkDialog::response()
      	implementation which, if the dialog is busy, cancels the active
      	progress and sets the dialog's "canceled" state.
      
      	Moved the progress bar right above the action area so it is next
      	to the cancel button and in the same place for both open and save
      	dialogs.
      
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: use the new API to make image loading
      	and saving cancelable again.
      
      	* app/widgets/gimpthumbbox.c: use the same stuff to make
      	thumbnailing cancelable. Increased the minimum height a bit so it
      	doesn't resize when the progress bars are shown.
      95607cce
    • Michael Natterer's avatar
      Redid the whole internal progress stuff: don't pass around · 02d2b990
      Michael Natterer authored
      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.
      02d2b990
    • Michael Natterer's avatar
      updated. · 059f9263
      Michael Natterer authored
      2004-08-10  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: updated.
      059f9263
    • David Odin's avatar
      GimpPreviewArea-ified. · 0a4a09a1
      David Odin authored
      * plug-ins/common/blinds.c: GimpPreviewArea-ified.
      0a4a09a1
    • David Odin's avatar
      Ported to GimpPreviewArea, use an enum for the color model instead of some · d0de558f
      David Odin authored
      * plug-ins/common/AlienMap2.c: Ported to GimpPreviewArea, use an enum
        for the color model instead of some defines and use gboolean instead
        of gint where appropriate.
      d0de558f
    • Sven Neumann's avatar
      plugged more file descriptor leaks. · b6efff7e
      Sven Neumann authored
      2004-08-10  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpbrushgenerated.c (gimp_brush_generated_load):
      	plugged more file descriptor leaks.
      b6efff7e
    • Marco Ciampa's avatar
      Updated italian translation · 09ad565e
      Marco Ciampa authored
      09ad565e
    • David Odin's avatar
      don't leak a file descriptor when reading a bad .vbr file. · c1566ea8
      David Odin authored
      * app/core/gimpbrushgenerated.c: don't leak a file descriptor when
        reading a bad .vbr file.
      c1566ea8
  2. 09 Aug, 2004 7 commits
  3. 08 Aug, 2004 10 commits
  4. 07 Aug, 2004 10 commits
  5. 06 Aug, 2004 5 commits
    • David Odin's avatar
      ported to GimpPreviewArea. · 989d6dc3
      David Odin authored
      * plug-ins/common/glasstile.c: ported to GimpPreviewArea.
      989d6dc3
    • David Odin's avatar
      ported to GimpPreviewArea. · 4960753d
      David Odin authored
      * plug-ins/common/nlfilt.c: ported to GimpPreviewArea.
      4960753d
    • Michael Natterer's avatar
      removed the recently added "gdouble aspect_ratio"... · da9c039e
      Michael Natterer authored
      2004-08-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.h: removed the recently added
      	"gdouble aspect_ratio"...
      
      	* app/tools/gimpscaletool.[ch]: ...and added it where it belongs.
      da9c039e
    • Michael Natterer's avatar
      Transform tool cleanup: · db821565
      Michael Natterer authored
      2004-08-06  Michael Natterer  <mitch@gimp.org>
      
      	Transform tool cleanup:
      
      	* app/tools/gimptransformtool.[ch]: added new virtual function
      	GimpTransformTool::dialog_update().
      	Made wrapper for ::recalc() public and function
      	transform_bounding_box() private.
      	Call ::dialog_update() and transform_bounding_box() from the
      	::recalc() wrapper.
      
      	* app/tools/gimpperspectivetool.[ch]
      	* app/tools/gimprotatetool.[ch]
      	* app/tools/gimpscaletool.[ch]
      	* app/tools/gimpsheartool.[ch]: turned all info_dialog update
      	functions into GimpTransformTool::dialog_update() implementations
      	and don't call them from ::recalc(), also removed calls to
      	transform_bounding_box(); both functions are called by the parent
      	class now. Call gimp_transform_tool_recalc() when dialog values
      	were changed, not the tool's internal function.
      	Moved all static variables to the instance structs.
      db821565
    • Michael Natterer's avatar
      applied (modified) patch from Ari Pollak which enables controlling the · 42bc755c
      Michael Natterer authored
      2004-08-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpsheartool.[ch]: applied (modified) patch from Ari
      	Pollak which enables controlling the shear direction from the
      	dialog and changing the shear direction without hitting "Reset".
      	Fixes bug #149467.
      
      	Also moved all static variables to the GimpShearTool struct and
      	converted tabs to spaces.
      42bc755c