- 07 Aug, 2005 1 commit
-
-
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.
-
- 10 Jul, 2005 1 commit
-
-
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.
-
- 24 Mar, 2005 4 commits
-
-
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.
-
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)
-
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.
-
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.
-
- 24 Feb, 2005 1 commit
-
-
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.
-
- 28 Oct, 2004 1 commit
-
-
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.
-
- 27 Oct, 2004 2 commits
-
-
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.
-
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.
-
- 26 Oct, 2004 1 commit
-
-
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.
-
- 23 Oct, 2004 3 commits
-
-
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
-
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.
-
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.
-
- 22 Oct, 2004 1 commit
-
-
Michael Natterer authored
2004-10-23 Michael Natterer <mitch@gimp.org> * app/dialogs/Makefile.am * app/dialogs/layer-options-dialog.[ch]: the new/edit layer dialog. * app/actions/layers-commands.c: use it here.
-
- 18 Oct, 2004 1 commit
-
-
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.
-
- 16 Oct, 2004 1 commit
-
-
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.
-
- 14 Oct, 2004 1 commit
-
-
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.
-
- 12 Oct, 2004 1 commit
-
-
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.
-
- 20 Sep, 2004 1 commit
-
-
Michael Natterer authored
2004-09-20 Michael Natterer <mitch@gimp.org> * app/actions/buffers-commands.c * app/actions/file-commands.c * app/actions/layers-commands.c * app/actions/plug-in-actions.c * app/actions/tools-actions.c: removed useless #includes, cleanup.
-
- 19 Sep, 2004 2 commits
-
-
Michael Natterer authored
2004-09-20 Michael Natterer <mitch@gimp.org> * app/actions/channels-commands.c * app/actions/vectors-commands.c: removed massive code duplication by factoring out the code that creates the "New Channel/Path" and "Edit Channel/Path Attributes" dialogs out to utility functions. GUI spacing and Code cleanup. * app/actions/layers-commands.c: minor GUI spacing and code cleanup.
-
Sven Neumann authored
2004-09-19 Sven Neumann <sven@gimp.org> Try to make floating selections more obvious: * app/widgets/gimplayertreeview.c (gimp_layer_tree_view_floating_selection_changed): always display "Floating Selection" as the name for a floating selection. * app/core/gimpselection.c (gimp_selection_float): call the new layer "Selection" instead of "Floating Selection". This is what will be displayed if the FS is turned into a layer. * app/actions/layers-commands.c (layers_edit_layer_query): don't special case floating selections here. * app/core/gimplayer-floating-sel.c: cosmetics.
-
- 15 Sep, 2004 2 commits
-
-
Michael Natterer authored
2004-09-15 Michael Natterer <mitch@gimp.org> * app/widgets/gimphelp-ids.h: added help IDs for the drawable- and vectors-visible and -liked actions as well as for the layer mask property action. * app/actions/drawable-actions.c * app/actions/vectors-actions.c: use them. * app/actions/layers-actions.c * app/actions/layers-commands.[ch]: ditto. Use GIMP_STOCK_TRANSPARENCY for all layer opacity actions. Replaced "paint_mode" by "mode" in all action and function/variable names because this is the layer mode, not a paint mode. * app/actions/channels-commands.c * app/actions/layers-commands.c * app/actions/vectors-commands.c: set the "activates-default" property on the name entry in all "New Foo" and "Edit Foo Attributes" dialogs except in the "New Layer" dialog. Addresses bug #148026. * menus/image-menu.xml.in: added a (commented out) layer properties menu containing all the new actions.
-
Michael Natterer authored
2004-09-15 Michael Natterer <mitch@gimp.org> * app/actions/layers-actions.c * app/actions/layers-commands.[ch]: added actions and callbacks "layers-preserve-transparency" and "layers-paint-mode-first,last,previous,next". Update the "active" state of the recently added layer mask property actions in layers_actions_update(). * app/actions/drawable-actions.c * app/actions/drawable-commands.[ch]: added actions and callbacks for "drawable-visible" and "drawable-linked". Fixes bug #152597. * app/actions/vectors-actions.c * app/actions/vectors-commands.[ch]: same here ("vectors-visible" and "vectors-linked"). * app/widgets/gimplayertreeview.c (gimp_layer_tree_view_preserve_button_toggled): flush the image so the new actions are updated. Compress preserve_trans undos. * menus/image-menu.xml.in: added the layer mask property actions to the Layers/Mask submenu. * menus/layers-menu.xml: reordered the mask property actions to have the same order as in the image menu.
-
- 13 Sep, 2004 1 commit
-
-
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.
-
- 20 Aug, 2004 2 commits
-
-
Sven Neumann authored
-
Sven Neumann authored
2004-08-21 Sven Neumann <sven@gimp.org> * app/actions/layers-actions.[ch] * app/actions/layers-commands.[ch] * app/widgets/gimplayertreeview.c: added actions to handle layer masks as suggested in bug #150446. * menus/layers-menu.xml: added menu entries for new actions, commented out raise/lower menu entries.
-
- 10 Aug, 2004 1 commit
-
-
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.
-
- 03 Aug, 2004 1 commit
-
-
Michael Natterer authored
2004-08-03 Michael Natterer <mitch@gimp.org> * app/core/gimpimage-undo.[ch] (gimp_image_undo_can_compress): new function which checks if undo compression is possible: (1) is the image dirty? Fixes bug #148853. (2) is redo stack empty? (3) do both the passed undo object_type and undo_type match the top undo item? Consistently name the GType and GimpUndoType passed to undo functions "object_type" and "undo_type" to avoid confusion. * app/actions/layers-commands.c * app/tools/gimpeditselectiontool.c * app/tools/gimptexttool.c * app/widgets/gimpitemtreeview.c * app/widgets/gimplayertreeview.c: use the new utility function instead of checking the above conditions manually.
-
- 23 Jun, 2004 1 commit
-
-
Michael Natterer authored
2004-06-23 Michael Natterer <mitch@gimp.org> * app/actions/context-commands.h: removed enum GimpContextSelectType. * app/actions/actions-types.h: added enum GimpActionSelectType. * app/actions/actions.[ch]: added utility functions action_select_value() and action_select_object(). * app/actions/context-actions.c * app/actions/context-commands.c: changed accordingly. * app/actions/layers-actions.c * app/actions/layers-commands.[ch]: merged the layer select callbacks into one using the GimpActionSelectType functions. Added actions and callbacks for modifying the active layer's opacity. * app/menus/menus-types.h: #incude "actions/action-types.h". * app/gui/gui-types.h: #incude "menus/menus-types.h". * app/gui/preferences-dialog.c: allow to enable/disable input controllers.
-
- 10 Jun, 2004 1 commit
-
-
Michael Natterer authored
2004-06-10 Michael Natterer <mitch@gimp.org> * app/actions/image-actions.c * app/actions/image-commands.[ch] * app/actions/layers-actions.c * app/actions/layers-commands.[ch]: made the "image-convert-rgb/grayscale/indexed" and the "layers-mask-apply/delete" actions GimpEnumActions and merged their callbacks.
-
- 01 Jun, 2004 1 commit
-
-
Sven Neumann authored
2004-06-01 Sven Neumann <sven@gimp.org> * tools/pdbgen/pdb/image.pdb * app/pdb/image_cmds.c * app/core/gimpimage.[ch]: reverted changes I did to the image unit earlier. As in 2.0, it will continue to not accept pixels. This makes the PDB API and the XCF format compatible again and fixes bug #142961 (and to some extent bug #137704). * app/core/Makefile.am * app/core/gimpimage-unit.[ch]: removed these files. The convenience accessors defined here aren't commonly used any longer. * app/display/gimpdisplay.[ch] * app/display/gimpdisplayshell.[ch]: added a unit parameter to gimp_display_new(). Made "unit" and "scale" properties of GimpDisplayShell. * app/actions/image-commands.c * app/actions/images-commands.c * app/actions/layers-commands.c * app/actions/select-commands.c * app/actions/view-commands.c * app/core/gimp-edit.c * app/core/gimp.[ch] * app/core/gimptemplate.c * app/display/gimpdisplayshell-handlers.c * app/display/gimpdisplayshell-scale.c * app/display/gimpdisplayshell-title.c * app/display/gimpstatusbar.c * app/file/file-open.c * app/gui/gui-vtable.c * app/gui/info-window.c * app/gui/offset-dialog.c * app/gui/resize-dialog.[ch] * app/pdb/display_cmds.c * app/tools/gimpcroptool.c * app/tools/gimpmeasuretool.c * app/tools/gimppainttool.c * app/tools/gimprectselecttool.c * app/tools/gimprotatetool.c * app/tools/gimpscaletool.c * app/vectors/gimpvectors-export.c * app/widgets/gimptoolbox-dnd.c * tools/pdbgen/pdb/display.pdb: changed accordingly. Use the display unit where the image unit was used before.
-
- 25 May, 2004 1 commit
-
-
Michael Natterer authored
2004-05-25 Michael Natterer <mitch@gimp.org> * app/widgets/gimpitemtreeview.h: added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and GimpEditItemFunc. * app/widgets/gimpdrawabletreeview.c * app/widgets/gimpitemtreeview.c: pass the view's context to the functions. * app/actions/actions.c (action_data_get_context): return gimp_get_user_context() if "data" is a Gimp. * app/actions/channels-commands.[ch] * app/actions/layers-commands.[ch] * app/actions/vectors-commands.[ch]: added GimpContext parameters to the resp. activate, new and edit functions and use the passed context instead of gimp_get_user_context(). * app/actions/layers-commands.[ch]: removed the merge and flatten callbacks. * app/actions/image-commands.[ch]: made public layer merge utility function private and cleaned the whole file up a lot. * app/actions/layers-actions.c: use the callbacks from image-commands.c for merge and flatten. * app/actions/edit-commands.c * app/actions/file-commands.c * app/actions/select-commands.c: use action_data_get_context() instead of gimp_get_user_context(). * app/actions/edit-actions.c: some cleanup.
-
- 12 May, 2004 2 commits
-
-
Michael Natterer authored
2004-05-12 Michael Natterer <mitch@gimp.org> * app/actions/documents-actions.c * app/actions/documents-commands.c * app/actions/edit-actions.c * app/actions/edit-commands.[ch] * app/actions/layers-actions.c * app/actions/layers-commands.c * app/actions/select-actions.c * app/actions/select-commands.[ch] * app/actions/vectors-actions.c * app/actions/vectors-commands.[ch]: added tooltips for actions which are now used for dialog buttons, added callback implementations which formerly lived in various widgets, moved some actions around and did some general cleanups. * menus/image-menu.xml.in: s/edit-stroke/select-stroke/ * menus/Makefile.am * menus/selection-editor-menu.xml: new popup menu. * app/menus/menus.c: register <SelectionEditor> and <UndoEditor> UI managers. * app/widgets/gimpeditor.[ch]: added construct properties "menu-factory", "menu-identifier", "ui-path" and "popup-data". Implement GObject::constructor() and create the UI manager if all needed properties were set. Enables creating action buttons at widget construction time because they need a UI manager. (gimp_editor_add_action_button): changed to take a va_list of "extended" actions which are invoked if the resp. button emits "extended_clicked". Store the actions and their modifier masks in a list attached to the button. * app/widgets/gimpcontainerview.c (gimp_container_view_item_selected): if the view has container *and* context, simply change the context and return. (gimp_container_view_context_changed): don't emit "select_item" manually but simply call gimp_container_view_select_item(). (gimp_container_view_viewable_dropped): use gimp_container_view_item_selected() instead of changing the context directly. * app/widgets/gimpcontainereditor.c (gimp_container_editor_select_item): update the UI manager. * app/widgets/gimpdockable.c: don't try to fiddle with the dialog's menu if it doesn't have a ui_path (happens if the UI manager is just a collection of actions for the dialog buttons and has no menu registered). * app/widgets/gimpimageeditor.c: connect to the image's "flush" signal and update the UI manager in the callback. * app/widgets/gimpitemtreeview.c: use GimpEditor's construct properties to create the UI manager so GimpItemTreeView subclasses can have action buttons. Update the UI manager in gimp_item_tree_view_select_item(). * app/widgets/gimpbufferview.c * app/widgets/gimpcolormapeditor.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpdatafactoryview.c * app/widgets/gimpfontview.c * app/widgets/gimpimageview.c * app/widgets/gimptemplateview.c * app/widgets/gimptoolview.c: changed calls to gimp_editor_add_action_button() accordingly and removed some unneeded select_item() implementations. * app/widgets/gimpchanneltreeview.c * app/widgets/gimpvectorstreeview.[ch] * app/widgets/gimpdocumentview.[ch] * app/widgets/gimplayertreeview.c * app/widgets/gimpselectioneditor.[ch] * app/widgets/gimpundoeditor.[ch]: use action buttons and removed lots of callbacks which went to the resp. action callbacks. * app/widgets/widgets-types.h: removed some now unneeded function prototypes. * app/gui/dialogs-constructors.c: changed (simplified) many dialog constructors accordingly.
-
Sven Neumann authored
2004-05-12 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) * app/widgets/gimpwidgets-utils.c (gimp_table_attach_stock): left-align the label. * app/actions/channels-commands.c * app/actions/layers-commands.c * app/actions/qmask-commands.c * app/actions/vectors-commands.c * app/display/gimpdisplayshell-scale.c * app/gui/brush-select.c * app/gui/file-new-dialog.c * app/gui/info-dialog.c * app/gui/info-window.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/preferences-dialog.c * app/gui/resize-dialog.c * app/tools/gimpblendoptions.c * app/tools/gimpcroptool.c * app/tools/gimpmeasuretool.c * app/tools/gimppaintoptions-gui.c * app/tools/gimpscaletool.c * app/tools/gimpselectionoptions.c * app/tools/gimpsheartool.c * app/tools/gimptextoptions.c * app/widgets/gimpcolormapeditor.c * app/widgets/gimpgrideditor.c * app/widgets/gimphistogrameditor.c * app/widgets/gimplayertreeview.c * app/widgets/gimpstrokeeditor.c * app/widgets/gimpwidgets-utils.c: left-align labels as suggested by the HIG.
-
- 06 May, 2004 2 commits
-
-
Sven Neumann authored
-
Sven Neumann authored
2004-05-06 Sven Neumann <sven@gimp.org> * app/gui/resize-dialog.[ch]: cleaned up variable names and external API. Still quite a mess. * app/Makefile.am * app/actions/image-commands.c * app/actions/layers-commands.c: changed accordingly.
-
- 04 May, 2004 1 commit
-
-
Sven Neumann authored
2004-05-04 Sven Neumann <sven@gimp.org> * app/actions/channels-commands.c * app/actions/gradient-editor-commands.c * app/actions/image-commands.c * app/actions/layers-commands.c * app/actions/qmask-commands.c * app/actions/templates-commands.c * app/actions/vectors-commands.c * app/display/gimpdisplayshell-filter-dialog.c * app/gui/convert-dialog.c * app/gui/module-browser.c * app/gui/offset-dialog.c * app/gui/palette-import-dialog.c * app/gui/resize-dialog.c * app/gui/resolution-calibrate-dialog.c * app/gui/tips-dialog.c * app/gui/user-install-dialog.c * app/widgets/gimpwidgets-utils.c * libgimpwidgets/gimpquerybox.c: set dialog border spacing to 12.
-
- 03 May, 2004 2 commits
-
-
Michael Natterer authored
2004-05-03 Michael Natterer <mitch@gimp.org> * app/actions/actions.h. added the various return_if_no_foo() macros here. * app/actions/channels-commands.c * app/actions/dialogs-commands.c * app/actions/drawable-commands.c * app/actions/edit-commands.c * app/actions/file-commands.c * app/actions/image-commands.c * app/actions/layers-commands.c * app/actions/qmask-commands.c * app/actions/select-commands.c * app/actions/vectors-commands.c * app/actions/view-commands.c: removed them here. Some cleanup.
-
Michael Natterer authored
2004-05-03 Michael Natterer <mitch@gimp.org> * app/actions/actions.[ch]: added some utility functions to get a Gimp, GimpImage, GimpDisplay and GtkWidget from the "data" pointer passed to action callbacks. * app/actions/channels-actions.c * app/actions/channels-commands.c * app/actions/drawable-actions.c * app/actions/drawable-commands.c * app/actions/edit-actions.c * app/actions/edit-commands.c * app/actions/file-actions.c * app/actions/file-commands.c * app/actions/help-commands.c * app/actions/image-actions.c * app/actions/image-commands.c * app/actions/layers-actions.c * app/actions/layers-commands.c * app/actions/plug-in-actions.c * app/actions/plug-in-commands.c * app/actions/qmask-actions.c * app/actions/qmask-commands.c * app/actions/select-actions.c * app/actions/select-commands.c * app/actions/tools-commands.c * app/actions/vectors-actions.c * app/actions/vectors-commands.c * app/actions/view-commands.c: use the new functions instead of duplicating insane macros and if() constructs over and over again.
-