1. 13 Sep, 2004 7 commits
    • Michael Natterer's avatar
      configure.in added new directory app/dialogs and link libappdialogs.c into · 7d065360
      Michael Natterer authored
      2004-09-13  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am: added new directory app/dialogs and link
      	libappdialogs.c into the gimp binary.
      
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      
      	* app/gui/about-dialog.[ch]
      	* app/gui/authors.h
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.[ch]
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-open-location-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/quit-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/resolution-calibrate-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/tips-dialog.[ch]
      	* app/gui/tips-parser.[ch]
      	* app/gui/user-install-dialog.[ch]: removed these files...
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/dialogs-types.h
      
      	* app/dialogs/*.[ch]: ...and added them here. Changed some
      	filenames like module-browser -> module-dialog.
      
      	* app/app_procs.c
      	* app/actions/actions-types.h
      	* app/actions/actions.c
      	* app/actions/dialogs-actions.c
      	* app/actions/dialogs-commands.c
      	* app/actions/dockable-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/select-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/templates-commands.h
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.[ch]
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimptoolbox-color-area.c
      	* menus/toolbox-menu.xml.in
      	* tools/authorsgen/authorsgen.pl: changed accordingly.
      7d065360
    • Michael Natterer's avatar
      dialog sources were moved to app/dialogs/. · 95da4fd6
      Michael Natterer authored
      2004-09-13  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILE.in: dialog sources were moved to app/dialogs/.
      95da4fd6
    • Michael Natterer's avatar
      Restore binary compatibility of the wire protocol that was broken by the · 4f6f5316
      Michael Natterer authored
      2004-09-13  Michael Natterer  <mitch@gimp.org>
      
      	Restore binary compatibility of the wire protocol that was
      	broken by the recent GPConfig changes:
      
      	* libgimpbase/gimpprotocol.[ch] (struct _GPConfig)
      	(_gp_config_read)
      	(_gp_config_write): argh, we can't use the two bytes padding
      	because that's just a binary compatible struct change, but inserts
      	two bytes into the byte stream that goes over the wire. Use the
      	first two bytes of the former "gdouble gamma" instead.
      
      	* app/plug-in/plug-in-run.c (plug_in_run)
      	* libgimp/gimp.c (gimp_config): changed accordingly.
      4f6f5316
    • Sven Neumann's avatar
      simulate the behaviour of GNU gettext and look at the LANGUAGE environment · 952cd37e
      Sven Neumann authored
      2004-09-13  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphelp.c: simulate the behaviour of GNU gettext and
      	look at the LANGUAGE environment variable if the locale is not "C".
      952cd37e
    • Simon Budig's avatar
      Fix trailing whitespace introduced by me. /me hides embarrassed in a · c0712555
      Simon Budig authored
      2004-09-13  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpcroptool.c: Fix trailing whitespace introduced by me.
      	/me hides embarrassed in a corner...   :)
      c0712555
    • Simon Budig's avatar
      Fix warnings and coding style. · ef206e7f
      Simon Budig authored
      2004-09-13  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpcroptool.c: Fix warnings and coding style.
      ef206e7f
    • Nathan Summers's avatar
      disable crop and resize buttons while the operation is being processed. · 8be9e2b2
      Nathan Summers authored
      2004-09-12  Nathan Summers  <rock@gimp.org>
      
              * app/tools/gimpcroptool.c: disable crop and resize buttons while the
      	operation is being processed.  Fixes #152372.
      8be9e2b2
  2. 12 Sep, 2004 3 commits
  3. 11 Sep, 2004 7 commits
  4. 10 Sep, 2004 8 commits
  5. 09 Sep, 2004 15 commits
    • Sven Neumann's avatar
      libgimpwidgets/gimppreview.c documented new functions. · e9d55367
      Sven Neumann authored
      2004-09-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.c
      	* libgimpwidgets/gimppreviewarea.c: documented new functions.
      e9d55367
    • Sven Neumann's avatar
      cf9e2368
    • Sven Neumann's avatar
      libgimp/gimpdrawablepreview.c added a navigation popup similar to the one · 025e58a1
      Sven Neumann authored
      2004-09-09  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpdrawablepreview.c
      	* libgimpwidgets/gimppreview.[ch]: added a navigation popup
      	similar to the one in the image window. Needs some more work.
      025e58a1
    • Sven Neumann's avatar
      fixed coding style issues · 8a80b8e7
      Sven Neumann authored
      8a80b8e7
    • David Odin's avatar
      added a utility function gimp_preview_area_queue_draw(), which queue the · 3f099b06
      David Odin authored
      * libgimpwidgets/gimppreviewarea.c: added a utility function
        gimp_preview_area_queue_draw(), which queue the right part of the
        preview to be redrawn. And use it in all the drawing functions. This
        fix a problem where the preview wasn't updated correctly after a
        resize.
      3f099b06
    • Michael Natterer's avatar
      plug-ins/common/cartoon.c plug-ins/common/despeckle.c · 094909cd
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/cartoon.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/gauss.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/neon.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/photocopy.c
      	* plug-ins/common/sel_gauss.c
      	* plug-ins/common/sharpen.c
      	* plug-ins/common/sobel.c
      	* plug-ins/common/softglow.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/struc.c
      	* plug-ins/common/unsharp.c: pack all drawable previews expanding.
      	Also did some general cleanups like consistently naming the dialog
      	variable "dialog" and the main vbox "main_vbox".
      094909cd
    • Sven Neumann's avatar
      right-align the preview for RTL layouts. · b3c30779
      Sven Neumann authored
      2004-09-09  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]: right-align the preview for RTL
      	layouts.
      b3c30779
    • Sven Neumann's avatar
      allow to set a maximum size and center the preview area if its allocation · a514ce7d
      Sven Neumann authored
      2004-09-09  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreviewarea.[ch]: allow to set a maximum size
      	and center the preview area if its allocation extends the maximum.
      
      	* libgimpwidgets/gimppreview.[ch]: derive from GtkVBox, moved the
      	toggle button out of the table and put the table into an aspect
      	frame. Added an API to set the preview boundaries. Set the maximum
      	size of the GimpPreviewArea from that function.
      
      	* libgimpwidgets/gimpwidgets.def: added new entries.
      
      	* libgimp/gimpdrawablepreview.c: use gimp_preview_set_bounds().
      
      	* plug-ins/common/gauss.c: pack the preview widget so that it
      	resizes with the dialog.
      a514ce7d
    • David Odin's avatar
      optimized the case where both buffers have the same alpha for a given · 824b5289
      David Odin authored
      * libgimpwidgets/gimppreviewarea.c (gimp_preview_area_blend)
        (gimp_preview_area_mask): optimized the case where both buffers have
        the same alpha for a given pixel.
      824b5289
    • Michael Natterer's avatar
      app/widgets/gimpviewrendererbrush.c app/widgets/gimpviewrendererdrawable.c · fa3f37e9
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewrendererbrush.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/widgets/gimpviewrendererimagefile.c
      	* app/widgets/gimpviewrendererlayer.c
      	* app/widgets/gimpviewrenderervectors.c: purely cosmetic cleanup.
      fa3f37e9
    • Michael Natterer's avatar
      use g_type_name(dialog_type) instead of just "pdb dialog" as name for the · d7fc14fb
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppdbdialog.c (gimp_pdb_dialog_constructor): use
      	g_type_name(dialog_type) instead of just "pdb dialog" as name for
      	the dialog's private context.
      d7fc14fb
    • Michael Natterer's avatar
      04b784ec
    • Michael Natterer's avatar
      changed GimpDisplay* parameter to GimpProgress* because that's what it's · 09536dbf
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/convert-dialog.[ch] (convert_dialog_new): changed
      	GimpDisplay* parameter to GimpProgress* because that's what it's
      	used for.
      
      	* app/actions/image-commands.c (image_convert_cmd_callback):
      	changed accordingly.
      
      	* app/gui/convert-dialog.c: massively cleaned up internals. Use a
      	GimpViewableButton + GimpContainerEntry combo as in text options
      	for selecting the custom palette. Use a filtered container which
      	contains only palettes with a maximum of 256 colors.
      	Fixes bug #136574
      09536dbf
    • Michael Natterer's avatar
      changed file_open_location_dialog_show() to · ff6ee617
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-open-location-dialog.[ch]: changed
      	file_open_location_dialog_show() to
      	file_open_location_dialog_new() and return the dialog.
      
      	* app/gui/dialogs.c
      	* app/gui/dialogs-constructors.[ch]: added a constructor for it
      	and let the dialog factory manage it entirely.
      
      	* app/actions/file-commands.c
      	(file_open_location_dialog_cmd_callback): use the dialog factory
      	to create it.
      ff6ee617
    • Michael Natterer's avatar
      renamed parameter "gboolean raise_if_found" to "return_existing" and added · abf395c0
      Michael Natterer authored
      2004-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.c
      	(gimp_dialog_factory_dialog_new_internal): renamed parameter
      	"gboolean raise_if_found" to "return_existing" and added
      	additional parameter "gboolean present".
      
      	(gimp_dialog_factory_dialog_new)
      	(gimp_dialog_factory_dialog_raise)
      	(gimp_dialog_factory_dockable_new): pass both parameters (passing
      	"present" as "raise_if_found" was not quite correct).
      abf395c0