1. 25 Sep, 2005 15 commits
    • Michael Natterer's avatar
      renamed to "Distress..." and moved to Select/Modify. · a288db5c
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/scripts/distress-selection.scm: renamed to
      	"Distress..." and moved to Select/Modify.
      a288db5c
    • Hans Breuer's avatar
      updated · 0b515bec
      Hans Breuer authored
      2005-09-24  Hans Breuer  <hans@breuer.org>
      
      	* **makefile.msc : updated
      
      	* app/dialogs/user-install-dialog.c : only add the migrate page if
      	there is something to migrate from. Avoids on version being NULL.
      
      	* app/dialogs/file-save-dialog.c : the g_print() output was crashing
      	on the assumption that ->menu_label != NULL. It is for colorhtml.py.
      
      	* app/widgets/gimpselectiondata.c : use HAVE_UNISTD_H and move
      	* process.h definition by G_OS_WIN32 below it being defined
      	* app/widgets/gimpwidgets-utils.c(gimp_window_get_native) : cast
      	return value to (GdkNativeWindow) it is not necessary an int.
      
      	* libgimpwidgets/gimpwidgets.def : added gimp_zoom_type_get_type
      
      	* plug-ins/help/gimp-help-lookup.c : dynamic lookup of help_root
      	instead of hard-coding DATADIR/GIMP_HELP_PREFIX
      
      	* plug-ins/xjt/xjt.c : there is no pid_t with msvc, typedef one.
      0b515bec
    • Michael Natterer's avatar
      app/actions/plug-in-actions.c get rid of Filters/Effects because it · 1abb0139
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/plug-in-actions.c
      	* menus/image-menu.xml.in: get rid of Filters/Effects because it
      	doesn't mean anything. Added Filters/Generic and Filters/Combine
      	back instead. Not perfect either but more meaningful.
      
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/film.c: -> Filters/Combine
      
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/vpropagate.c: -> Filters/Generic
      
      	* plug-ins/script-fu/scripts/erase-rows.scm: -> Filters/Distorts
      
      	* plug-ins/script-fu/scripts/predator.scm: -> Filters/Artistic
      1abb0139
    • Michael Natterer's avatar
      app/dialogs/convert-dialog.c added icons to the affirmative action · 70bfb88a
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/palette-import-dialog.c: added icons to the
      	affirmative action buttons.
      70bfb88a
    • Michael Natterer's avatar
      use GIMP_STOCK_CHAR_PICKER for the actions which are only there for · e73303d8
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c (view_zoom_actions): use
      	GIMP_STOCK_CHAR_PICKER for the actions which are only there for
      	keyboard shortcuts. Not perfect but better than before.
      e73303d8
    • Michael Natterer's avatar
      made Shift+Ctrl+W the shortcut for "Close all". · 24cb1cf4
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c (file_actions): made Shift+Ctrl+W the
      	shortcut for "Close all".
      24cb1cf4
    • Michael Natterer's avatar
      massively indented and de-uglyfied, (not many lines unmodified). Still not · 2e1bbabf
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/psd.c: massively indented and de-uglyfied,
      	(not many lines unmodified). Still not the incarnation of
      	beautiful code, but more readable for an eye used to Gimp code.
      	No logic changes, just formatting.
      2e1bbabf
    • Michael Natterer's avatar
      set "is_ID" to TRUE, not FALSE when decoding the "compose-data" parasite. · 377dc874
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/compose.c (run): set "is_ID" to TRUE, not FALSE
      	when decoding the "compose-data" parasite. Fixes Recompose.
      	Return error, not success if recomposing fails. Misc cleanups.
      377dc874
    • Sven Neumann's avatar
      libgimpwidgets/gimpwidgets.def added gimp_zoom_model_zoom() and changed · 1f0aff2b
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpzoommodel.[ch]: added gimp_zoom_model_zoom()
      	and changed gimp_zoom_model_get_fraction() to take a model instead
      	of the zoom factor.
      
      	* app/display/gimpdisplayshell.[ch]: use a GimpZoomModel for the
      	display scale factor.
      
      	* app/actions/image-commands.c
      	* app/actions/view-actions.c
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpnavigationeditor.c
      	* app/display/gimpstatusbar.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmagnifytool.c: changed accordingly.
      1f0aff2b
    • Karine Delvare's avatar
      fixed assignment of local variable "rectangle_exists". · 13041a7e
      Karine Delvare authored
      2005-09-25  Karine Delvare  <kdelvare@nerim.net>
      
        * app/tools/gimpcroptool.c: fixed assignment of local variable
        "rectangle_exists".
      13041a7e
    • Sven Neumann's avatar
      fixed assignment of local variable "rectangle_exists". · 44ba7755
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpnewrectselecttool.c: fixed assignment of local
      	variable "rectangle_exists".
      44ba7755
    • Michael Natterer's avatar
      reordered checks for the modifiers pressed on <Tab> so NumLock and friends · 839752f8
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_canvas_tool_events): reordered checks for
      	the modifiers pressed on <Tab> so NumLock and friends don't
      	interfere. Fixes bug #317118.
      839752f8
    • Sven Neumann's avatar
      added more values to the GimpZoomType enum. · 13ebb1ca
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgetsenums.h: added more values to the
      	GimpZoomType enum.
      
      	* libgimpwidgets/gimpzoommodel.c (gimp_zoom_model_zoom_step):
      	handle the new enum values.
      
      	* app/actions/view-commands.c (view_zoom_cmd_callback) use the new
      	values.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): cosmetics.
      13ebb1ca
    • Sven Neumann's avatar
      *** empty log message *** · 8d60ac2f
      Sven Neumann authored
      8d60ac2f
    • Michael Natterer's avatar
      another patch from Sylvain Foret that fixes the dialog title for the close · 508ce1e4
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/quit-dialog.c (quit_close_all_dialog_new): another
      	patch from Sylvain Foret that fixes the dialog title for the close
      	all dialog. Fixes bug #317137. Also pass the right help IDs to
      	gimp_message_dialog_new().
      508ce1e4
  2. 24 Sep, 2005 8 commits
    • David Odin's avatar
      remove the GIMP_ZOOM_LABEL value from GimpZoomWidgetType. · 5f32493c
      David Odin authored
      * libgimpwidgets/gimpwidgetsenums.h: remove the GIMP_ZOOM_LABEL value
        from GimpZoomWidgetType.
      
      * libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      * libgimp/gimpzoompreview.c: provides two read only properties,
        "fraction" and "percentage" to be used with prop widgets.
      
      * libgimpwidgets/gimpzoommodel.c: use a gimp_prop_label to show the
        zoom fraction.
      5f32493c
    • Michael Natterer's avatar
      set "Close all" insensitive when there are no displays. · 96b347a0
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c: set "Close all" insensitive when
      	there are no displays.
      96b347a0
    • Michael Natterer's avatar
      app/actions/view-actions.c de-uglify callback names for "new" and "close". · 0e36f721
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: de-uglify callback names for
      	"new" and "close".
      0e36f721
    • Michael Natterer's avatar
      Applied (slightly modified) patch from Sylvain Foret which adds "Close · 71cf9ee2
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	Applied (slightly modified) patch from Sylvain Foret which adds
      	"Close All" menu entries and dialog. Fixes bug #163532.
      
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: added "file-close-all" action
      	and callback.
      
      	* app/dialogs/dialogs-constructors.[ch]
      	* app/dialogs/dialogs.c
      	* app/dialogs/quit-dialog.[ch]: added close all dialog which is a
      	modified quit dialog.
      
      	* app/widgets/gimphelp-ids.h: added help ID.
      
      	* menus/image-menu.xml.in
      	* menus/toolbox-menu.xml.in: add close all next to quit.
      71cf9ee2
    • Michael Natterer's avatar
      set "activates-default" on all spinbuttons. · 80a31bfe
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_dialog): set "activates-default" on all
      	spinbuttons.
      80a31bfe
    • Michael Natterer's avatar
      fixed some brokenness caused by my last "cleanup". Should work as before · 2683c3f2
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/compose.c: fixed some brokenness caused by my
      	last "cleanup". Should work as before now.
      
      	* plug-ins/common/decompose.c: cleaned up GUI and code.
      2683c3f2
    • David Odin's avatar
      Moved the GimpZoomType enum from here... · f94f48f1
      David Odin authored
      * app/widgets/widgets-enums.h: Moved the GimpZoomType enum from	here...
      
      * libgimpwidgets/gimpwidgetsenums.h: ...to here.
      
      * app/widgets/widgets-enums.c
      * libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      * app/display/gimpdisplayshell-scale.[ch]: removed
        gimp_display_shell_scale_zoom_step and
        gimp_display_shell_scale_get_fraction from here...
      
      * libgimpwidgets/gimpzoommodel.[ch]: ... to here so we can use these
        utility functions in plug-ins and in the core.
        Also removed the step-size property since the zoom-model now use
        gimp_zoom_model_zoom_step.
      
      * app/actions/view-commands.c
      * app/display/gimpdisplayshell-title.c
      * app/display/gimpdisplayshell.c
      * app/tools/gimpmagnifytool.c: modified accordingly.
      
      * libgimp/gimpzoompreview.c: don't pass any argument to the
        gimp_zoom_model_new function.
      
      * libgimpwidgets/gimpwidgets.def: added gimp_zoom_model_zoom_step
        (gimp_zoom_model_get_fraction was already there)
      
      * devel-docs/app/app-sections.txt: removed
        gimp_display_shell_scale_zoom_step and
        gimp_display_shell_scale_get_fraction.
      f94f48f1
    • Michael Natterer's avatar
      app/paint/gimppaintcore.h app/tools/gimpimagemaptool.c indentation fixes. · 6da6824c
      Michael Natterer authored
      2005-09-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.h
      	* app/tools/gimpimagemaptool.c
      	* tools/test-clipboard.c: indentation fixes.
      6da6824c
  3. 23 Sep, 2005 3 commits
  4. 22 Sep, 2005 6 commits
  5. 21 Sep, 2005 4 commits
  6. 20 Sep, 2005 4 commits
    • Sven Neumann's avatar
      use ngettext for plural forms. · 1bd99058
      Sven Neumann authored
      2005-09-21  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c: use ngettext for plural forms.
      1bd99058
    • Sven Neumann's avatar
      initialize variables. · 735429d3
      Sven Neumann authored
      2005-09-21  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/cubism.c: initialize variables.
      
      	* plug-ins/common/depthmerge.c: declare all functions as static.
      735429d3
    • David Odin's avatar
      make use of private data instead of struct members. Added a · 0730c66b
      David Odin authored
      * libgimp/gimpzoompreview.[ch]: make use of private data instead of struct
        members. Added a gimp_zoom_preview_get_drawable so we can still get the
        drawable from a preview in plug-ins.
      
        Also changed gimp_zoom_preview_get_data to gimp_zoom_preview_get_source,
        to make it more obvious what it returns.
      
      * libgimp/gimpui.def
      * plug-ins/common/AlienMap2.c
      * plug-ins/common/apply_lens.c
      * plug-ins/common/blinds.c
      * plug-ins/common/channel_mixer.c
      * plug-ins/common/colorify.c
      * plug-ins/common/flarefx.c
      * plug-ins/common/illusion.c
      * plug-ins/common/jigsaw.c
      * plug-ins/common/mapcolor.c
      * plug-ins/common/max_rgb.c
      * plug-ins/common/nova.c
      * plug-ins/common/polar.c
      * plug-ins/common/retinex.c
      * plug-ins/common/waves.c
      * plug-ins/common/whirlpinch.c: changed accordingly.
      0730c66b
    • David Odin's avatar
      use private data instead of struct members. Added min-factor and · 68ea16b7
      David Odin authored
      * libgimpwidgets/gimpzoommodel.[ch]: use private data instead of
        struct members. Added min-factor and max-factor properties so we can
        set the zoom range. These can be set by a new utility function:
        gimp_zoom_model_set_range.
      
      * libgimpwidgets/gimpwidgets.def: added gimp_zoom_model_set_range.
      
      * libgimp/gimpzoompreview.c: use gimp_zoom_model_set_range so we can
        only zoom in.
      68ea16b7