- 21 Sep, 2009 1 commit
-
-
Michael Natterer authored
(gimp_layer_tree_view_mask_update): call gimp_layer_tree_view_update_borders() unconditionally; not only when a mask has been added, but also when it has been removed.
-
- 03 Sep, 2009 1 commit
-
-
Michael Natterer authored
The checkbox is not really needed, the icons can just as well be toggles themselves.
-
- 28 Aug, 2009 3 commits
-
-
Michael Natterer authored
- gimp_container_tree_view_prepend_toggle_cell_renderer() to gimp_container_tree_view_add_toggle_cell() - gimp_container_tree_view_prepend_cell_renderer() to gimp_container_tree_view_add_renderer_cell() because "prepend" is an implementation detail, "renderer" is obsolete, and in the second case it's not "cell renderer" but really a "renderer cell".
-
Michael Natterer authored
-
Michael Natterer authored
-
- 23 Aug, 2009 2 commits
-
-
Michael Natterer authored
This reverts commit b72e5a35.
-
Michael Natterer authored
-
- 19 Aug, 2009 2 commits
-
-
Michael Natterer authored
-
Michael Natterer authored
-
- 15 Aug, 2009 1 commit
-
-
Martin Nordholts authored
This reverts commit d2e1f2ac. If we keep the layer group button in 2.7.0 people will expect layer groups to fully work and get mad when that is not the case. We can enable it again after the release.
-
- 06 Aug, 2009 2 commits
-
-
Michael Natterer authored
Will probably hide that button again, or make it only appear when some environment variable is set until the stuff works completely.
-
Michael Natterer authored
* app/core/gimpimage.[ch]: rename all gimp_image_reposition_foo() to gimp_image_reorder_foo() and added "new_parent" parameters. Factor out calculating of the item's new container and index to a utility function. * app/core/core-enums.[ch]: rename the REPOSITION undos to REORDER. * app/core/gimpimage-undo-push.[ch] * app/core/gimpchannelpropundo.[ch] * app/core/gimplayerpropundo.[ch] * app/vectors/gimpvectorspropundo.[ch]: change accordingly. Remember the old parent item in all item reorder undos. * app/widgets/gimpitemtreeview.h: change GimpReorderItemFunc prototype accordingly. * app/widgets/gimpchanneltreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimpvectorstreeview.c (class_init): follow image API name changes. * app/widgets/gimpitemtreeview.c (gimp_item_tree_view_drop_viewable): implement reordering of items between groups. * app/widgets/gimpcontainertreeview.c (gimp_container_tree_view_reorder_item): fix to reorder the item within its level of the tree (unrelated to above changes, but needed to make them work).
-
- 04 Aug, 2009 1 commit
-
-
Michael Natterer authored
-
- 03 Aug, 2009 2 commits
-
-
Michael Natterer authored
-
Michael Natterer authored
* app/core/gimpimage.[ch]: make the parent parameter public in add_layer(), add_layers(), add_channel() and add_vectors(). * app/vectors/gimpvectors-import.[ch]: add parent parameters to the vectors import functions. * app/core/gimpchannelundo.[ch] * app/core/gimplayerundo.[ch] * app/vectors/gimpvectorsundo.[ch] * app/core/gimpimage-undo-push.[ch]: remember the parent item when removing layers, channels and vectors. * app/actions/channels-commands.c * app/actions/debug-commands.c * app/actions/edit-commands.c * app/actions/layers-commands.c * app/actions/vectors-commands.c * app/core/gimp-edit.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-merge.c * app/core/gimpimage-quick-mask.c * app/core/gimplayer-floating-sel.c * app/core/gimpselection.c * app/core/gimptemplate.c * app/dialogs/file-open-dialog.c * app/display/gimpdisplayshell-dnd.c * app/text/gimptext-compat.c * app/tools/gimptexttool.c * app/tools/gimpvectortool.c * app/widgets/gimptoolbox-dnd.c * app/xcf/xcf-load.c * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/paths.pdb * tools/pdbgen/pdb/vectors.pdb: pass NULL as parent item to above functions and add FIXMEs all over the place because there is some more hacking needed to make adding with index = -1 (on top of the current item) work again. * app/pdb/image-cmds.c * app/pdb/paths-cmds.c * app/pdb/vectors-cmds.c: regenerated. * app/core/gimpimage-duplicate.c: duplicate the original image's tree structure in the copy. * app/widgets/gimpitemtreeview.[ch]: add parent to GimpAddItemFunc, add utility function gimp_item_tree_view_get_drop_index() which figures where to add something dropped to an item tree. * app/widgets/gimpchanneltreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimpvectorstreeview.c: changed accordingly, using above new GimpItemTreeView API.
-
- 01 Aug, 2009 3 commits
-
-
Michael Natterer authored
-
Michael Natterer authored
Remove gimp_image_get_layer,channel,vectors_index() and use the new function everywhere.
-
Michael Natterer authored
* app/widgets/gimpcontainerview.[ch]: add and remove container trees recursively. Change virtual function ::add_item() to pass the insert_data of the parent viewable. * app/widgets/gimpcontainercombobox.c * app/widgets/gimpcontainerentry.c * app/widgets/gimpcontainergridview.c: changed accordingly. * app/widgets/gimpcontainertreeview.c * app/widgets/gimpitemtreeview.c * app/widgets/gimplayertreeview.c: dito, but actually use the passed parent_insert_data to insert the item at the right place in the GtkTreeView.
-
- 25 Jul, 2009 1 commit
-
-
Michael Natterer authored
-
- 18 Jul, 2009 1 commit
-
-
Michael Natterer authored
* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_layer_clicked): when ALT is pressed, select the layer's alpha. SHIFT and CONTROL work as usual to add, subtract and intersect. * app/widgets/gimpchanneltreeview.c * app/widgets/gimpvectorstreeview.c: add "clicked" handlers here too and do the same select-on-alt-click thing.
-
- 17 Jan, 2009 1 commit
-
-
Michael Natterer authored
2009-01-17 Michael Natterer <mitch@gimp.org> * all files with a GPL header and all COPYING files: Change licence to GPLv3 (and to LGPLv3 for libgimp). Cleaned up some copyright headers and regenerated the parsers in the ImageMap plugin. svn path=/trunk/; revision=27913
-
- 25 Dec, 2008 2 commits
-
-
Martin Nordholts authored
* app/widgets/gimplayertreeview.[ch]: Make instance members private (they were not accessed from the outside). svn path=/trunk/; revision=27830
-
Martin Nordholts authored
* app/widgets/gimpitemtreeview.[ch]: Make instance member private and add getter that didn't already exist. (gimp_item_tree_view_get_new_button) (gimp_item_tree_view_get_edit_button): New getters. * app/actions/actions.c * app/widgets/gimpvectorstreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimpdrawabletreeview.c * app/widgets/gimpchanneltreeview.c: Use new getters. svn path=/trunk/; revision=27827
-
- 16 Nov, 2008 1 commit
-
-
Martin Nordholts authored
* app/widgets/gimpcontainertreeview.[ch] * app/widgets/gimpcontainertreeview-private.h: Make the renderer_cells and toggle_cells members private. (gimp_container_tree_view_set_main_column_title) (gimp_container_tree_view_prepend_toggle_cell_renderer) (gimp_container_tree_view_prepend_cell_renderer): New interface. * app/widgets/gimptoolview.c * app/widgets/gimpitemtreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimpcontrollerlist.c: Use new interface. svn path=/trunk/; revision=27675
-
- 15 Nov, 2008 1 commit
-
-
Martin Nordholts authored
* app/widgets/widgets-enums.h: Put the GimpContainerTreeView enums here instead of exposing them through silly class instance members. * app/widgets/gimpcontainertreeview.c: * app/widgets/gimpcontainertreeview-dnd.c * app/widgets/gimpdatafactoryview.c * app/widgets/gimpitemtreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimpsettingseditor.c * app/widgets/gimptemplateview.c * app/widgets/gimptoolview.c: Clean up and use new enum names. svn path=/trunk/; revision=27666
-
- 14 Nov, 2008 1 commit
-
-
Michael Natterer authored
2008-11-14 Michael Natterer <mitch@gimp.org> * app/core/gimpimage.[ch]: rename gimp_image_floating_sel() to gimp_image_get_floating_selection(). * app/actions/channels-actions.c * app/actions/image-actions.c * app/actions/layers-actions.c * app/actions/layers-commands.c * app/actions/select-actions.c * app/core/gimpdrawable.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-merge.c * app/core/gimpimage-quick-mask.c * app/core/gimplayer-floating-sel.c * app/core/gimpselection.c * app/display/gimpdisplayshell-layer-select.c * app/display/gimpdisplayshell.c * app/tools/gimpeditselectiontool.c * app/tools/gimpfreeselecttool.c * app/tools/gimpmovetool.c * app/tools/gimprectangleselecttool.c * app/tools/gimpregionselecttool.c * app/tools/gimpselectiontool.c * app/tools/gimptexttool.c * app/widgets/gimpdrawabletreeview.c * app/widgets/gimplayertreeview.c * app/xcf/xcf-save.c * tools/pdbgen/pdb/image.pdb: changed accordingly, replaced some instances of direct acces by the accessor. * app/pdb/image-cmds.c: regenerated. svn path=/trunk/; revision=27649
-
- 09 Nov, 2008 1 commit
-
-
Michael Natterer authored
2008-11-09 Michael Natterer <mitch@gimp.org> * app/core/gimpdrawable.c * app/core/gimpimage-convert.c * app/core/gimpprojection-construct.c * app/tools/gimpeditselectiontool.c * app/widgets/gimplayertreeview.c * app/xcf/xcf-save.c: remove inclusion of "gimplayer-floating-sel.h" svn path=/trunk/; revision=27582
-
- 02 Nov, 2008 1 commit
-
-
Michael Natterer authored
2008-11-02 Michael Natterer <mitch@gimp.org> * app/core/gimpimage.[ch]: add new functions gimp_image_get_layer_iter(), channel_iter() and vectors_iter() which return the GList inside the resp. GimpList. * app/actions/channels-actions.c * app/actions/layers-actions.c * app/actions/vectors-actions.c * app/core/gimpimage-convert.c * app/core/gimpimage-crop.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-flip.c * app/core/gimpimage-item-list.c * app/core/gimpimage-merge.c * app/core/gimpimage-resize.c * app/core/gimpimage-rotate.c * app/core/gimpimage-scale.c * app/core/gimpimage.c * app/core/gimpimage.h * app/core/gimpprojection-construct.c * app/display/gimpdisplayshell-draw.c * app/file/file-open.c * app/tools/gimpaligntool.c * app/tools/gimpdrawtool.c * app/vectors/gimpvectors-compat.c * app/vectors/gimpvectors-export.c * app/widgets/gimplayertreeview.c * app/xcf/xcf-save.c * tools/pdbgen/pdb/image.pdb: use the new functions instead of peeking both into the image and the list. Remove inclusions of "gimplist.h" or change them into "gimpcontainer.h" if needed. * app/pdb/image-cmds.c: regenerated. svn path=/trunk/; revision=27524
-
- 09 Oct, 2008 2 commits
-
-
Michael Natterer authored
2008-10-09 Michael Natterer <mitch@gimp.org> Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a GEGL dependency (they will have in the next commit, but I wanted to keep the commit separate). * app/dialogs/Makefile.am * app/file/Makefile.am * app/gui/Makefile.am * app/menus/Makefile.am * app/paint/Makefile.am * app/plug-in/Makefile.am * app/text/Makefile.am * app/vectors/Makefile.am * app/widgets/Makefile.am * app/xcf/Makefile.am: add GEGL_CFLAGS. * app/actions/*.c * app/core/*.c * app/dialogs/*.c * app/display/*.c * app/file/*.c * app/gui/*.c * app/menus/*.c * app/paint/*.c * app/pdb/gimppdb-utils.c * app/pdb/gimpprocedure.c * app/plug-in/*.c * app/text/*.c * app/tools/*.c * app/vectors/*.c * app/widgets/*.c * app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h> to all files which include a drawable subclass or gimpimage.h * tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h> in all generated files. * app/pdb/*-cmds.c: regenerated. * data/images/gimp-splash.png: the goat is still sleeping. By Aurore Derriennic. svn path=/trunk/; revision=27202
-
Michael Natterer authored
2008-10-09 Michael Natterer <mitch@gimp.org> Remove the last code duplication from the undo system (or if not the last then at least the most ugly): * app/core/gimpimage.[ch] (gimp_image_add_layer,channel,vectors): add "gboolean push_undo" parameter and add the item without touching undo if it's TRUE. Changed assertions from g_object_is_floating() to !gimp_item_is_attached() so they also take items from the undo stack and not only newly created ones. (gimp_image_remove_layer,channel,vectors): add "push_undo" parameter here too. Also add a "new_active" parameter where an optional new active item can be passed. (gimp_image_remove_layer,channel): these functions must not be called with push_undo=FALSE and a floating selection attached to the layer/channel. This can't currently happen; added warnings in case other code is changed and makes it happen anyway. * app/core/gimpchannelundo.c * app/core/gimplayerundo.c * app/vectors/gimpvectorsundo.c: use above functions to add/remove items instead of duplicating (parts of) their code. Pass push_undo=FALSE and the previously active item to the remove() functions. * app/actions/channels-commands.c * app/actions/edit-commands.c * app/actions/layers-commands.c * app/actions/vectors-commands.c * app/core/gimp-edit.c * app/core/gimpchannelundo.c * app/core/gimpimage-crop.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-merge.c * app/core/gimpimage-quick-mask.c * app/core/gimpimage-scale.c * app/core/gimplayer-floating-sel.c * app/core/gimplayerundo.c * app/core/gimpselection.c * app/core/gimptemplate.c * app/display/gimpdisplayshell-dnd.c * app/text/gimptext-compat.c * app/tools/gimptexttool.c * app/tools/gimpvectortool.c * app/vectors/gimpvectors-import.c * app/vectors/gimpvectorsundo.c * app/widgets/gimpchanneltreeview.c * app/widgets/gimpitemtreeview.[ch] * app/widgets/gimplayertreeview.c * app/widgets/gimptoolbox-dnd.c * app/widgets/gimpvectorstreeview.c * app/xcf/xcf-load.c * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/paths.pdb: changed accordingly (pass TRUE unless it's a new image like when loading and XCF file). * app/pdb/image-cmds.c * app/pdb/paths-cmds.c: regenerated. svn path=/trunk/; revision=27200
-
- 17 Sep, 2008 2 commits
-
-
Michael Natterer authored
2008-09-17 Michael Natterer <mitch@gimp.org> Revert the change which adds GError parameters to gimp_image_add_{channel,layer,vectors}(): * app/actions/channels-commands.c * app/actions/edit-commands.c * app/actions/layers-commands.c * app/actions/vectors-commands.c * app/core/gimp-edit.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-merge.c * app/core/gimpimage-quick-mask.c * app/core/gimpimage.[ch] * app/core/gimplayer-floating-sel.c * app/core/gimpselection.c * app/core/gimptemplate.c * app/display/gimpdisplayshell-dnd.c * app/text/gimptext-compat.c * app/tools/gimptexttool.c * app/tools/gimpvectortool.c * app/vectors/gimpvectors-import.c * app/widgets/gimpchanneltreeview.c * app/widgets/gimpitemtreeview.[ch] * app/widgets/gimplayertreeview.c * app/widgets/gimptoolbox-dnd.c * app/widgets/gimpvectorstreeview.c * app/xcf/xcf-load.c: revert. Instead, fix it at the PDB level: * app/core/gimpimage.c: turn the "added to wrong image" warning into a g_return_val_if_fail() assertion. * app/pdb/gimppdb-utils.[ch] (gimp_pdb_item_is_floating): add a "dest_image" parameter and fail if the passed item is not for this image. * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/paths.pdb: pass the dest image to gimp_pdb_item_is_floating(). * app/pdb/image-cmds.c * app/pdb/layer-cmds.c * app/pdb/paths-cmds.c: regenerated. svn path=/trunk/; revision=26970
-
Michael Natterer authored
2008-09-17 Michael Natterer <mitch@gimp.org> * app/core/gimpimage.[ch]: add GError parameter to gimp_image_add_{channel,layer,vectors}() and remove calls to g_warning(). Changed checks to be possible failures at all. * app/widgets/gimpitemtreeview.h (GimpAddItemFunc): add the GError here too. * app/actions/channels-commands.c * app/actions/edit-commands.c * app/actions/layers-commands.c * app/actions/vectors-commands.c * app/core/gimp-edit.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-merge.c * app/core/gimpimage-quick-mask.c * app/core/gimplayer-floating-sel.c * app/core/gimpselection.c * app/core/gimptemplate.c * app/display/gimpdisplayshell-dnd.c * app/text/gimptext-compat.c * app/tools/gimptexttool.c * app/tools/gimpvectortool.c * app/vectors/gimpvectors-import.c * app/widgets/gimpchanneltreeview.c * app/widgets/gimpitemtreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimptoolbox-dnd.c * app/widgets/gimpvectorstreeview.c * app/xcf/xcf-load.c: pass a NULL error. * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/paths.pdb: pass the error. * app/pdb/image-cmds.c * app/pdb/paths-cmds.c: regenerated. svn path=/trunk/; revision=26963
-
- 29 Aug, 2008 1 commit
-
-
Michael Natterer authored
2008-08-29 Michael Natterer <mitch@gimp.org> * app/widgets/gimplayertreeview.c * libgimpwidgets/gimpcolorscales.c * libgimpwidgets/gimppropwidgets.c * libgimpwidgets/gimpscaleentry.c * libgimpwidgets/gimpwidgets.c: use gtk_adjustment_get_value() instead of adjustment->value. svn path=/trunk/; revision=26815
-
- 29 Mar, 2008 1 commit
-
-
Michael Natterer authored
2008-03-30 Michael Natterer <mitch@gimp.org> * app/display/gimpcanvas.c * app/widgets/gimpcoloreditor.c * app/widgets/gimpcolorframe.c * app/widgets/gimpcursorview.c * app/widgets/gimpcurveview.c * app/widgets/gimpdataeditor.c * app/widgets/gimpdock.c * app/widgets/gimpdockable.c * app/widgets/gimpdockbook.c * app/widgets/gimpdockseparator.c * app/widgets/gimpeditor.c * app/widgets/gimplayertreeview.c * app/widgets/gimpmenudock.c * app/widgets/gimpsamplepointeditor.c * app/widgets/gimptoolbox.c: chain up unconditionally in GtkWidget::style_set() because there is has a default implementation. svn path=/trunk/; revision=25307
-
- 08 Jan, 2008 1 commit
-
-
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
-
- 23 Dec, 2007 1 commit
-
-
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
-
- 01 Nov, 2007 1 commit
-
-
Sven Neumann authored
2007-11-02 Sven Neumann <sven@gimp.org> * app/widgets/Makefile.am * app/widgets/gimpcairo-utils.[ch]: new files holding Cairo utility functions. * app/widgets/gimpviewrenderer.[ch]: ported partly to Cairo drawing. * app/widgets/gimpcomponenteditor.c * app/widgets/gimpcontainercombobox.c * app/widgets/gimpcontainertreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimpview.c: removed calls to gimp_view_renderer_unrealize() which are not needed anymore because we don't allocate a GC in the renderer any longer. * app/widgets/gimpcellrendererdashes.c: removed a redundant cast. svn path=/trunk/; revision=24039
-
- 21 May, 2007 1 commit
-
-
Sven Neumann authored
2007-05-21 Sven Neumann <sven@gimp.org> * app/core/gimp.c (gimp_message): documentation. * app/actions/documents-commands.c * app/widgets/gimplayertreeview.c * app/widgets/gimptoolbox-dnd.c: pass parent widgets to gimp_message(). svn path=/trunk/; revision=22552
-
- 25 Dec, 2006 1 commit
-
-
Michael Natterer authored
2006-12-25 Michael Natterer <mitch@gimp.org> * app/widgets/gimplayertreeview.c (gimp_layer_tree_view_set_context): don't do stuff on NULL mask view renderers. Fixes bug #389307.
-
- 09 Dec, 2006 1 commit
-
-
Sven Neumann authored
2006-12-09 Sven Neumann <sven@gimp.org> * In all files, changed the standard copyright notice to say "GIMP - The GNU Image Manipulation Program".
-