1. 08 Jan, 2008 1 commit
    • Sven Neumann's avatar
      removed "add_alpha" parameter from gimp_item_duplicate() and · 4aa7e67c
      Sven Neumann authored
      2008-01-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpitem.[ch]: removed "add_alpha" parameter from
      	gimp_item_duplicate() and gimp_item_convert(). This is a relict
      	from the time when only the bottom layer was allowed to have no
      	alpha channel.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      svn path=/trunk/; revision=24570
      4aa7e67c
  2. 23 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/layers-commands.c app/core/gimpchannel-combine.c · ecb2c46d
      Michael Natterer authored
      2007-12-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-commands.c
      	* app/core/gimpchannel-combine.c
      	* app/core/gimpchannel-select.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-convert.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpdrawablemodundo.c
      	* app/core/gimpfloatingselundo.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem-preview.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimplayerundo.c
      	* app/core/gimpmaskundo.c
      	* app/core/gimppalette-import.c
      	* app/core/gimpprojection-construct.c
      	* app/core/gimpselection.c
      	* app/dialogs/offset-dialog.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpvectors-compat.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderervectors.c: use accessors for item,
      	layer, channel and mask attributes.
      
      
      svn path=/trunk/; revision=24429
      ecb2c46d
  3. 12 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added GError to GimpItem::rename(). · dfaf761d
      Michael Natterer authored
      2007-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added GError to GimpItem::rename().
      
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c: set errors when renaming is impossible.
      
      	* app/text/gimptextlayer.c
      	* app/core/gimpimage-quick-mask.c: changed accordingly.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/widgets/gimpitemtreeview.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/vectors.pdb: pass the error.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/vectors_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24338
      dfaf761d
  4. 06 Dec, 2007 1 commit
    • Michael Natterer's avatar
      Move some gimp_message() calls where they belong: · 543302f5
      Michael Natterer authored
      2007-12-06  Michael Natterer  <mitch@gimp.org>
      
      	Move some gimp_message() calls where they belong:
      
      	* app/core/gimplayer-floating-sel.[ch]: removed unreachable
      	gimp_message() in floating_sel_anchor() and added GError parameter
      	to floating_sel_to_layer().
      
      	* app/core/gimplayer.c
      	* app/core/gimpimage-quick-mask.c
      	* app/actions/layers-commands.c: pass NULL or an error as
      	appropriate and show the error message.
      
      	* tools/pdbgen/pdb/floating_sel.pdb: set the error when the passed
      	layer was no floating selection.
      
      	* app/pdb/floating_sel_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24272
      543302f5
  5. 15 Sep, 2007 1 commit
    • Michael Natterer's avatar
      Make layer masks work consistently on layers without alpha. Fixes bug · 08d38cea
      Michael Natterer authored
      2007-09-15  Michael Natterer  <mitch@gimp.org>
      
      	Make layer masks work consistently on layers without alpha.
      	Fixes bug #475548.
      
      	* app/core/gimplayer.c (gimp_layer_apply_mask): changed to work
      	on layers without alpha.
      
      	* app/actions/layers-commands.c (layers_add_mask_response): don't
      	automatically add an alpha channel when adding a layer mask.
      
      
      svn path=/trunk/; revision=23555
      08d38cea
  6. 09 Dec, 2006 1 commit
  7. 15 Oct, 2006 1 commit
    • Michael Natterer's avatar
      Applied slightly modified patch from Martin Nordholts which implements · 8354a781
      Michael Natterer authored
      2006-10-15  Michael Natterer  <mitch@gimp.org>
      
      	Applied slightly modified patch from Martin Nordholts which
      	implements more fine-grained steps for actions. Fixes bug #165612.
      
      	* app/actions/actions-types.h: add additional values to
      	enum GimpActionSelectType.
      
      	* app/actions/actions.[ch] (action_select_value)
      	(action_select_property): handle them here and added "small_inc"
      	and "delta_factor" parameters.
      
      	* app/actions/context-actions.c: added small and percent actions
      	for the brush radius.
      
      	* app/actions/context-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/tools-commands.c
      	* app/actions/view-commands.c: pass small and percent increase
      	values to the action_select_foo() functions.
      
      	* app/actions/context-commands.c (context_brush_radius_cmd_callback):
      	make sure we don't end up with 1.1, 2.1 etc brush radius values.
      8354a781
  8. 14 Oct, 2006 1 commit
    • Michael Natterer's avatar
      Remember the settings in the scale and resize dialogs for images and · 76ba5de1
      Michael Natterer authored
      2006-10-14  Michael Natterer  <mitch@gimp.org>
      
      	Remember the settings in the scale and resize dialogs for images
      	and layers. Fixes bug #164995, bug #316392, and bug #357424.
      
      	* app/dialogs/scale-dialog.h: removed GimpScaleCallback typedef.
      
      	* app/dialogs/dialogs-types.h: added it here.
      
      	* app/dialogs/image-scale-dialog.[ch]: made the ImageScaleDialog
      	struct private, return a GtkWidget* from image_scale_dialog_new()
      	and use a GimpScaleCallback in the public API.
      
      	* app/actions/actions-types.h: #include "dialogs/dialogs-types.h"
      
      	* app/actions/image-commands.c: changed according to image scale
      	dialog changes. Remember the scale dialog's unit (if it is
      	"percent") and interpolation type across dialog invocations. Also
      	remember the resize dialog's unit (if it is "percent").
      
      	* app/actions/layers-commands.c: remember scale and resize dialog
      	stuff as in image-commands.c
      76ba5de1
  9. 09 Oct, 2006 1 commit
    • Michael Natterer's avatar
      app/actions/data-commands.c app/actions/documents-commands.c · 1ed8dd4f
      Michael Natterer authored
      2006-10-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/data-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimp-contexts.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-edit.c
      	* app/core/gimp-modules.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp-units.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimppdbprogress.c
      	* app/core/gimpselection.c
      	* app/dialogs/palette-import-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/gui/session.c
      	* app/gui/themes.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/gimpplugin-message.c
      	* app/plug-in/gimpplugin.c
      	* app/plug-in/gimppluginmanager-file.c
      	* app/plug-in/gimppluginmanager.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/widgets/gimpcontrollers.c
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpuimanager.c
      	* app/widgets/gimpvectorstreeview.c
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb: convert lots of g_message() to
      	gimp_message(). Make sure we never pass unknown strings (like
      	error->message) to printf-like functions directly; run them
      	thorugh "%s" instead. Don't translate some messages which should
      	never happen.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/palette_cmds.c: regenerated.
      1ed8dd4f
  10. 08 Sep, 2006 1 commit
    • Sven Neumann's avatar
      added function gimp_get_tool_info(). · 2426755b
      Sven Neumann authored
      2006-09-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp.[ch]: added function gimp_get_tool_info().
      
      	* app/actions/tools-commands.c
      	* app/actions/vectors-commands.c
      	* app/tools/gimppainttool.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox.c: use the new function instead of poking
      	into gimp->tool_info_list.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: moved code that deals with
      	the space key into separate functions. Added space_shaded_tool
      	to GimpDisplayShell instead of using a static variable for it.
      
      	* app/tools/tool_manager.c: removed unused include.
      2426755b
  11. 01 Sep, 2006 1 commit
    • Michael Natterer's avatar
      added GimpContext parameters and create the GimpView with that context. · a6dbb78d
      Michael Natterer authored
      2006-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewabledialog.[ch]: added GimpContext
      	parameters and create the GimpView with that context.
      
      	* app/widgets/gimpcolordialog.[ch]
      	* app/dialogs/convert-dialog.[ch]
      	* app/dialogs/desaturate-dialog.[ch]
      	* app/dialogs/grid-dialog.[ch]
      	* app/dialogs/image-properties-dialog.[ch]
      	* app/dialogs/layer-add-mask-dialog.[ch]
      	* app/dialogs/offset-dialog.[ch]
      	* app/dialogs/print-size-dialog.[ch]
      	* app/dialogs/resize-dialog.[ch]
      	* app/dialogs/scale-dialog.[ch]
      	* app/dialogs/stroke-dialog.[ch]
      	* app/dialogs/template-options-dialog.[ch]
      	* app/dialogs/vectors-options-dialog.[ch]: added GimpContext
      	parameters here too and pass them to gimp_viewable_dialog_new().
      
      	* app/actions/colormap-editor-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palette-editor-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c
      	* app/dialogs/channel-options-dialog.c
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/image-merge-layers-dialog.c
      	* app/dialogs/image-scale-dialog.c
      	* app/dialogs/layer-options-dialog.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimptoolbox-color-area.c: pass contexts to above
      	dialog constructors.
      a6dbb78d
  12. 08 Aug, 2006 1 commit
    • Sven Neumann's avatar
      added new function gimp_message() as a replacement for g_message(). Part · 48d054e8
      Sven Neumann authored
      2006-08-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp.[ch]: added new function gimp_message() as a
      	replacement for g_message(). Part of the fix for bug #347214.
      
      	* app/actions/data-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/file-commands.c
      	* app/actions/layers-commands.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/dialogs/file-open-dialog.c
      	* app/dialogs/file-open-location-dialog.c
      	* app/dialogs/file-save-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/pdb/gimppdb.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/palette.pdb: use gimp_message() instead of
      	gimp_message() whenever we have a GimpProgress.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/palette_cmds.c: regenerated.
      48d054e8
  13. 19 May, 2006 1 commit
    • Michael Natterer's avatar
      remove enum GimpItemLinkedMask... · 42ff7f49
      Michael Natterer authored
      2006-05-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem-linked.h: remove enum GimpItemLinkedMask...
      
      	* app/core/core-enums.[ch]: ...and add it here as GimpItemTypeMask.
      	Renamed enum GimpImageResizeLayers to GimpItemSet.
      
      	* app/core/gimpitem-linked.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/dialogs/resize-dialog.[ch]
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/tools/gimpeditselectiontool.c: changed accordingly.
      42ff7f49
  14. 14 May, 2006 1 commit
    • Michael Natterer's avatar
      Allow to initialize a new layer mask with any of the image's channels. · 1217dc8d
      Michael Natterer authored
      2006-05-14  Michael Natterer  <mitch@gimp.org>
      
      	Allow to initialize a new layer mask with any of the image's
      	channels. Fixes bug #310207.
      
      	* libgimpbase/gimpbaseenums.h (enum GimpAddMaskType): added
      	value GIMP_ADD_CHANNEL_MASK.
      
      	* libgimpbase/gimpbaseenums.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/gimplayer.[ch] (gimp_layer_create_mask): added
      	GimpChannel* parameter. Hacked the GIMP_ADD_SELECTION_MASK code a
      	bit so it can handle GIMP_ADD_CHANNEL_MASK too. Cleaned up the
      	function a bit.
      
      	* app/dialogs/layer-add-mask-dialog.[ch]: added a menu of the
      	image's channels.
      
      	* app/actions/layers-commands.c (layers_add_mask_response): pass
      	the channel selected in the menu to gimp_layer_create_mask().
      
      	* tools/pdbgen/pdb/layer.pdb (layer_create_mask): use the image's
      	active channel when GIMP_ADD_CHANNEL_MASK is passed. Fail if there
      	is no active channel.
      
      	* app/pdb/layer_cmds.c: regenerated.
      1217dc8d
  15. 13 May, 2006 1 commit
    • Michael Natterer's avatar
      Added some new text layer actions and menu items (bug #316299). · 875af9c5
      Michael Natterer authored
      2006-05-13  Michael Natterer  <mitch@gimp.org>
      
      	Added some new text layer actions and menu items (bug #316299).
      
      	* app/actions/layers-actions.c: added actions for "Text to Path",
      	"Text along Path" and "Text to Selection" (use the alpha to
      	selection callback for text to selection)
      
      	* app/actions/layers-commands.[ch]: added
      	layers_text_to_vectors_cmd_callback() and
      	layers_text_along_vectors_cmd_callback().
      
      	* app/widgets/gimphelp-ids.h: help IDs for the new actions.
      
      	* menus/image-menu.xml.in
      	* menus/layers-menu.xml: added them to the layers menus in the
      	image window and the layers dialog.
      875af9c5
  16. 12 Apr, 2006 1 commit
  17. 28 Mar, 2006 2 commits
  18. 30 Sep, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/image-commands.c app/actions/layers-commands.c · e7e2296f
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/view-actions.c
      	* app/core/gimpdrawable-foreground-extract.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpprogress.c
      	* app/dialogs/convert-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpthumbbox.c
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: removed '...' from
      	progress messages. Removed spaces between the text and the '...'
      	in some other places.
      
      	* app/pdb/drawable_transform_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      e7e2296f
  19. 19 Sep, 2005 1 commit
    • Sven Neumann's avatar
      use GTK_STOCK_FILE for File actions. · 3b28167d
      Sven Neumann authored
      2005-09-19  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/actions.c: use GTK_STOCK_FILE for File actions.
      
      	* app/actions/dialogs-actions.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/print/gimp_main_window.c: use GTK_STOCK_ABOUT for About
      	dialogs.
      
      	* app/actions/actions.c
      	* app/actions/brushes-actions.c
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.c
      	* app/actions/colormap-editor-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/palette-editor-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c
      	* app/actions/templates-actions.c
      	* app/actions/templates-commands.c
      	* app/actions/text-editor-actions.c
      	* app/actions/tool-options-actions.c
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/orientation.c
      	* plug-ins/gimpressionist/size.c
      	* plug-ins/metadata/interface.c: s/GIMP_STOCK_EDIT/GTK_STOCK_EDIT/
      3b28167d
  20. 24 Aug, 2005 1 commit
    • Sven Neumann's avatar
      app/actions/image-commands.c app/actions/layers-commands.c · ad5287c3
      Sven Neumann authored
      2005-08-24  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/dialogs/image-scale-dialog.c
      	* app/dialogs/resize-dialog.[ch]: remember the selected unit for
      	scale and resize dialogs on a per-image basis (bug #312950).
      ad5287c3
  21. 07 Aug, 2005 1 commit
    • Michael Natterer's avatar
      new function. · 4c6d9ddd
      Michael Natterer authored
      2005-08-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.[ch] (gimp_layer_flatten): new function.
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in
      	* menus/layers-menu.xml: added "Remove Alpha Channel" action,
      	action callback, help ID and menu items. Fixes bug #309762.
      4c6d9ddd
  22. 10 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/layers-actions.c app/actions/layers-commands.[ch] · 20b4769c
      Michael Natterer authored
      2005-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.[ch]
      	* app/text/gimptextlayer-xcf.c
      	* app/widgets/gimphelp-ids.h
      	* app/widgets/gimplayertreeview.[ch]
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb
      	* menus/image-menu.xml.in
      	* libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in
      	preparation for more layer locking flags.
      
      	* app/pdb/procedural_db.c
      	* libgimp/gimplayer.[ch]: added compat stuff for preserve_trans.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/rotate.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
      	* plug-ins/script-fu/scripts/blend-anim.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/bovinated-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chalk.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/drop-shadow.scm
      	* plug-ins/script-fu/scripts/gimp-headers.scm
      	* plug-ins/script-fu/scripts/gimp-labels.scm
      	* plug-ins/script-fu/scripts/glowing-logo.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/neon-logo.scm
      	* plug-ins/script-fu/scripts/perspective-shadow.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/waves-anim.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      20b4769c
  23. 24 Mar, 2005 4 commits
    • Michael Natterer's avatar
      app/core/core-enums.[ch] app/core/gimpimage-undo-push.[ch] eek, my · 46a25c2c
      Michael Natterer authored
      2005-03-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayermask.[ch]: eek, my fault... removed
      	GIMP_UNDO_LAYER_MASK_EDIT stuff again because that just determines
      	the active drawable, which must not affect undo.
      
      	* app/pdb/pdb_glue.h
      	* app/actions/layers-commands.c (layers_mask_edit_cmd_callback):
      	changed accordingly.
      
      	(layers_mask_disable_cmd_callback): reverted last change. the old
      	code was correct.
      46a25c2c
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · b5f1ae88
      William Skaggs authored
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayermask.[ch]:
      	* app/pdb/pdb_glue.h
      	* app/actions/layers-commands.c: try again from clean tree;
      	hopefully will work this time.  (bug #148852)
      b5f1ae88
    • Sven Neumann's avatar
      app/actions/layers-commands.c app/core/core-enums.[ch] · 4314dca0
      Sven Neumann authored
      2005-03-24  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/layers-commands.c
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/pdb/pdb_glue.h: reverted Bill's changes to fix the build.
      4314dca0
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 72241e5e
      William Skaggs authored
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/pdb/pdb_glue.h
      	* app/actions/layers-commands.c: make layer mask property changes
      	undoable, should fix bug #148852.  Note that a little shape-layer
      	stuff is in core-enums, will be needed shortly.
      72241e5e
  24. 24 Feb, 2005 1 commit
    • Michael Natterer's avatar
      Allow to resize layers with the image. Fixes bug #87789. · 03182eba
      Michael Natterer authored
      2005-02-24  Michael Natterer  <mitch@gimp.org>
      
      	Allow to resize layers with the image. Fixes bug #87789.
      
      	* app/core/core-enums.[ch]: added enum GimpImageResizeLayers which
      	can be one of { NONE, MATCHING, ALL }.
      
      	* app/core/gimpimage-resize.[ch]: added new function
      	gimp_image_resize_with_layers().
      
      	* app/dialogs/resize-dialog.[ch]: added a "Layers" frame
      	containing a "Resize Layers" combo box offering the choices above.
      	Changed GimpResizeCallback signature accordingly.
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c: changed accordingly.
      03182eba
  25. 28 Oct, 2004 1 commit
    • Sven Neumann's avatar
      do not set the "layers-mask-add" action insensitive if there's no alpha · 279d9010
      Sven Neumann authored
      2004-10-28  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/layers-actions.c (layers_actions_update): do not set
      	the "layers-mask-add" action insensitive if there's no alpha channel.
      
      	* app/actions/layers-commands.c (layers_add_mask_response): add an
      	alpha channel if there isn't one already. Fixes bug #156676.
      279d9010
  26. 27 Oct, 2004 2 commits
    • Sven Neumann's avatar
      started to redo the Resize dialog in the style of the new Scale dialog. · 52252cf0
      Sven Neumann authored
      2004-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/resize-dialog.[ch]: started to redo the Resize
      	dialog in the style of the new Scale dialog. Only halfway done but
      	at least the new API is there.
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c: changed accordingly.
      
      	* app/dialogs/image-scale-dialog.c: cosmetics.
      52252cf0
    • Sven Neumann's avatar
      app/dialogs/Makefile.am a wrapper around the scale dialog that takes care · fffebe8e
      Sven Neumann authored
      2004-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/image-scale-dialog.[ch]: a wrapper around the scale
      	dialog that takes care verifying the user input and optionally
      	asking for confirmation. Most of this moved out of image-commands.c.
      
      	* app/actions/image-commands.c: use the new image scale dialog
      	even though it doesn't allow to edit the resolution yet. That's a
      	temporary regression that will get fixed soon.
      
      	* app/actions/layers-commands.c: cosmetics.
      
      	* app/dialogs/scale-dialog.c (scale_dialog_reset): also reset the
      	resolution.
      
      	* app/widgets/gimpsizebox.c: fixed cut'n'paste error.
      fffebe8e
  27. 26 Oct, 2004 1 commit
    • Sven Neumann's avatar
      added a resolution label similar to one in the template editor. Prepared · b0330f95
      Sven Neumann authored
      2004-10-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpsizebox.[ch]: added a resolution label similar
      	to one in the template editor. Prepared for editable resolution,
      	work in progress...
      
      	* app/dialogs/scale-dialog.[ch]: added resolution and resolution
      	unit parameters to ScaleDialogCallback.
      
      	* app/actions/layers-commands.c: changed accordingly.
      b0330f95
  28. 23 Oct, 2004 3 commits
    • Michael Natterer's avatar
      don't g_return_if_fail() if there is no active drawable, just silently · fa79ae28
      Michael Natterer authored
      2004-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-commands.c (file_save_cmd_callback): don't
      	g_return_if_fail() if there is no active drawable, just silently
      	return.
      
      	* app/actions/image-commands.c: remember the last merge_type of
      	the "Merge Visible Layers" dialog.
      
      	* app/actions/layers-commands.c: remeber the last values of the
      	"Add Layer Mask" dialog.
      
      	* app/actions/select-commands.c: renamed a bunch of static
      	variables to be consistent with other variables used to remember
      	dialog values.
      
      	* app/actions/view-commands.c (view_fullscreen_cmd_callback): it's
      	useless to update the "view-fullscreen" actions here because the
      	"fullscreen" state of the shell changes asynchronously
      fa79ae28
    • Michael Natterer's avatar
      app/dialogs/Makefile.am one more dialog split out of actions/. · cbaf441f
      Michael Natterer authored
      2004-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/layer-add-mask-dialog.[ch]: one more dialog split
      	out of actions/.
      
      	* app/actions/layers-commands.c: removed it here. Some cleanup.
      cbaf441f
    • Michael Natterer's avatar
      When there are variants of actions with and without dialog, let the · fd6d30fd
      Michael Natterer authored
      2004-10-23  Michael Natterer  <mitch@gimp.org>
      
      	When there are variants of actions with and without dialog, let
      	the dialog-less actions try to use the values from the last dialog
      	invocation:
      
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: renamed the foo-new-defaults
      	actions to foo-new-last-values and use the last values entered in
      	the dialogs.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: changed accordingly. Show
      	the dialog on clicking "New" and call the last-values action on
      	<shift>+click.
      
      	* app/actions/select-actions.c
      	* app/actions/vectors-commands.c: renamed the foo-stroke-last-vals
      	to -last-values.
      
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpvectorstreeview.c: stroke with last values on
      	<shift> clicking the stroke buttons.
      fd6d30fd
  29. 22 Oct, 2004 1 commit
  30. 18 Oct, 2004 1 commit
    • Michael Natterer's avatar
      Action code review and pre-release consistency cleanup: · c49df22e
      Michael Natterer authored
      2004-10-18  Michael Natterer  <mitch@gimp.org>
      
      	Action code review and pre-release consistency cleanup:
      
      	* app/actions/*-actions.c: added some missing and resolved
      	conflicting mnemonics, added missing help IDs. Cleaned up the
      	*_actions_update() functions.
      
      	* app/actions/channels-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/vectors-actions.c (*_actions_update): simplified
      	the code that figures the prev and next channel,layer,vectors.
      
      	* app/actions/qmask-actions.c: use the same accelerator for
      	"qmask-active" and "qmask-toggle". Fixed action sensitivity.
      
      	* app/actions/channels-commands.c
      	* app/actions/dockable-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/image-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c: folded tons of private utility
      	functions into their only callers (they used to be public and
      	called from outside before the switch to action based menus).
      	Renamed functions and variables saying "query" or "qbox" to
      	"dialog". Moved static functions to the end of the files. Misc
      	minor cleanups.
      
      	* app/actions/drawable-actions.c
      	* app/actions/drawable-commands.c: made the "drawable-visible" and
      	"drawable-linked" actions affect the layer if the active drawable
      	is a layer mask.
      
      	* app/actions/select-commands.c: added action to stroke with the
      	last values used in an attempt to address bug #135746 but #if 0'ed
      	it because the approach is too ugly.
      
      	* app/tools/gimpiscissorstool.c: changed mnemonic from I to S.
      
      	* menus/image-menu-xml.in: added more stuff to the (commented out)
      	"context" menu.
      c49df22e
  31. 16 Oct, 2004 1 commit
    • Michael Natterer's avatar
      Ported the layers, channels and paths dialogs from · 8effb0cf
      Michael Natterer authored
      2004-10-16  Michael Natterer  <mitch@gimp.org>
      
      	Ported the layers, channels and paths dialogs from
      	gimp_editor_add_button() to gimp_editor_add_action_button(),
      	removing a massive amount of duplicated code, sensitivity logic
      	and confusing utility functions.
      
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: added "foo-new-default"
      	actions and callbacks which create items without a dialog,
      	optionally using default values from a passed template. Removed
      	all public utility function that were passed as function pointers
      	to widget construtors. Added tooltips to all actions which are now
      	used for dialog buttons.
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_action_button):
      	automatically create multi-line tooltips showing the modifiers for
      	extended action buttons. Removes the need for lots of insane
      	format strings that need to be translated correctly.
      
      	* app/widgets/gimpitemtreeview.[ch] (struct GimpItemTreeViewClass):
      	replaced tooltip and help_id strings by action names.
      
      	(struct GimpItemTreeView)
      	(gimp_item_tree_view_new): removed "edit", "new" and "activate"
      	function pointers.
      
      	(gimp_item_tree_view_constructor): create all buttons
      	with gimp_editor_add_action_button(), using the action names
      	from GimpItemTreeViewClass.
      
      	Removed tons of "clicked" callbacks and all code which sets the
      	buttons' sensitivity. They are not needed any longer.
      
      	Require all subclasses to implement GimpItemTreeView::new_item(),
      	a new virtual function which creates a plain new item without
      	showing a dialog.
      
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: fill in the action names and
      	implement GimpItemTreeView::new_item(). Removed all button
      	sensitivity logic.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly. Doesn't
      	include anything from actions/ any more.
      8effb0cf
  32. 14 Oct, 2004 1 commit
    • Michael Natterer's avatar
      libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] · 27c2be7c
      Michael Natterer authored
      2004-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c
      	* app/widgets/gimpenumwidgets.[ch]
      	* app/widgets/gimppropwidgets.c
      	* app/actions/layers-commands.c
      	* app/dialogs/convert-dialog.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: the child of a GimpFrame must
      	not have any border width. Fixes many subtle misalignments.
      27c2be7c
  33. 12 Oct, 2004 1 commit
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h added new widget · 22a1384b
      Sven Neumann authored
      2004-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpsizebox.[ch]: added new widget GimpSizeBox.
      
      	* app/widgets/gimppropwidgets.c: the order of setting the X and Y
      	properties does matter.
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/scale-dialog.[ch]: added first version of a new
      	Scale dialog in an attempt to address bug #151022.
      
      	* app/actions/layers-commands.c: use the new scale dialog.
      22a1384b