- 02 Sep, 2006 4 commits
-
-
Michael Natterer authored
2006-09-02 Michael Natterer <mitch@gimp.org> Merged the "soc-2006-healing-brush" branch. That branch is now officially closed and all further fixes and changes have to be applied to HEAD. Did some minor adjustments, mostly small indentation and spacing fixes. Derive the tool from the newly introduced GimpBrushTool which did not exist when the branch was created. Thanks a lot to Kevin Sookocheff for this nice contribution! * app/paint/paint-enums.[ch]: new enum GimpHealAlignMode. * app/paint/Makefile.am * app/paint/makefile.msc * app/paint/gimpheal.[ch] * app/paint/gimphealoptions.[ch]: the heal core and its options. * app/paint/gimp-paint.c: register the heal core. * app/tools/Makefile.am * app/tools/makefile.msc * app/tools/gimphealtool.[ch]: the heal tool. * app/tools/gimp-tools.c: register the heal tool. * app/tools/gimppaintoptions-gui.c: show the widgets that are used by heal. * app/widgets/gimphelp-ids.h: the heal help ID. * tools/pdbgen/stddefs.pdb * tools/pdbgen/pdb/paint_tools.pdb: the heal PDB wrappers. * app/widgets/widgets-enums.h * app/widgets/gimpcursor.c * cursors/Makefile.am * cursors/makefile.msc * cursors/tool-heal.png * cursors/xbm/tool-heal.xbm * cursors/xbm/tool-heal-mask.xbm: a new cursor for the heal tool. * libgimpwidgets/gimpstock.[ch] * themes/Default/images/Makefile.am * themes/Default/images/makefile.msc * themes/Default/images/tools/stock-tool-heal-16.png * themes/Default/images/tools/stock-tool-heal-22.png: new stock icons for the heal tool. * app/pdb/internal_procs.c * app/pdb/paint_tools_cmds.c * libgimp/gimppainttools_pdb.[ch]: regenerated.
-
Michael Natterer authored
2006-09-02 Michael Natterer <mitch@gimp.org> * app/paint/gimpclone.c * app/paint/gimpink.c: minor cosmetic cleanup merged from the soc-2006-healing-brush branch.
-
Michael Natterer authored
2006-09-02 Michael Natterer <mitch@gimp.org> * app/dialogs/quit-dialog.c (quit_close_all_dialog_new): create a temporary context for the container view so its renderers have one.
-
Clytie Siddall authored
-
- 01 Sep, 2006 16 commits
-
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> * plug-ins/script-fu/scripts/gradient-example.scm: pop the context before rendering the gradient so we draw the gradient with the user's colors, not with the ones the script uses temporarily.
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> This commit *should* fix the remaining missing contexts for preview creation. Eek at me if it doesn't. * app/core/gimpundo.c: pass a struct containing a context to gimp_undo_create_preview_idle(). * app/widgets/gimpundoeditor.[ch]: implement GimpDocked::set_context(), remember the context and use it for the undo treeview. * app/widgets/gimpviewrenderergradient.c: disable debugging output.
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> * app/widgets/gimpaction.[ch]: added a context property and use it when creating GimpViews. * app/actions/file-actions.c: set the context on the "Open Recent" actions.
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcontainercombobox.c: implement set_context() and set the view renderers' contexts. (gimp_container_combo_box_insert_item): unselect after inserting the first item, GimpContainerView doesn't select items by itself. * app/dialogs/image-new-dialog.c: create a local context for the combo box, connect to the context's "template-changed" signal instead of the combo boxed's "select-item", fix some stuff and don't leak the local GimpTemplate.
-
Sven Neumann authored
2006-09-01 Sven Neumann <sven@gimp.org> * app/core/gimpgradient.c: disallow NULL context and removed code that used to deal with this case.
-
Simon Budig authored
2006-09-01 Simon Budig <simon@gimp.org> * tools/pdbgen/pdb/gradient.pdb: minor documentation fix * app/pdb/gradient_cmds.c * libgimp/gimpgradient_pdb.c: regenerated
-
Sven Neumann authored
2006-09-01 Sven Neumann <sven@gimp.org> * libgimp/libgimp-sections.txt * libgimpbase/libgimpbase-docs.sgml * libgimpbase/libgimpbase-sections.txt: updated. * libgimpbase/tmpl/gimprectangle.sgml: added. * libgimp/tmpl/gimpenums.sgml * libgimp/tmpl/gimppixbuf.sgml * libgimp/tmpl/gimptools.sgml: regenerated.
-
Sven Neumann authored
2006-09-01 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c: use a hash table instead of object data to maintain context ids. Saves lots of pointless string copies.
-
Sven Neumann authored
2006-09-01 Sven Neumann <sven@gimp.org> * app/display/gimpstatusbar.c: minor cleanup.
-
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.
-
Sven Neumann authored
2006-09-01 Sven Neumann <sven@gimp.org> * Makefile.am (EXTRA_DIST): added vbr.txt.
-
Sven Neumann authored
2006-09-01 Sven Neumann <sven@gimp.org> * app/widgets/gimpviewrendererdrawable.c: fixed includes for gimp_rectangle_intersect().
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> * app/widgets/gimpviewrenderer.c (gimp_view_renderer_real_set_context): ref the context.
-
Sven Neumann authored
2006-09-01 Sven Neumann <sven@gimp.org> * app/core/gimpgradient-load.c (gimp_gradient_load): use sizeof() instead of hardcoding the buffer size.
-
Sven Neumann authored
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> * ggr.txt: updated for the new fields in the gradient files.
-
- 31 Aug, 2006 10 commits
-
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> Extended the GIMP Gradient file format to contain the endpoint color types for each segment (this is backward compatible because old parsers just ignore excess fields at the end of segment lines). Fixes bug #128367. * app/core/gimpgradient-load.c: optionally load two more fields per segment line which contain the color types. * app/core/gimpgradient-save.c: save the color types at the end of the segment lines.
-
Michael Natterer authored
2006-09-01 Michael Natterer <mitch@gimp.org> * app/actions/gradient-editor-actions.c * app/actions/gradient-editor-commands.[ch]: added actions and callbacks to select a gradient segment's left and right color type. Handle FG/BG color correctly in a few places. Use GimpDataEditor's context instead of the user context. * menus/gradient-editor-menu.xml: added the actions to the menu. Cleanup: * app/actions/palette-editor-actions.c * app/actions/palette-editor-commands.c: use GimpDataEditor's context instead of the user context. * app/actions/brush-editor-actions.c: remove unused context variable.
-
Michael Natterer authored
2006-08-31 Michael Natterer <mitch@gimp.org> * app/widgets/gimpcontainerview.c (gimp_container_view_real_set_container) (gimp_container_view_real_set_context) (gimp_container_view_item_selected) (gimp_container_view_thaw): support setting a context even if the viewed container's children_type is *not* a property of GimpContext. This removes a major restriction of container views and allows to get rid of some hacks: * app/widgets/gimpitemtreeview.[ch]: removed GimpContext member and implement GimpContainerView::set_context() instead of GimpDocked::set_context(). * app/widgets/gimpchanneltreeview.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainertreeview.c * app/widgets/gimpdrawabletreeview.c * app/widgets/gimplayertreeview.c: use GimpContainerView's context instead of GimpItemTreeView's and implement GimpContainerView's set_context() instead of GimpDocked's. * app/actions/actions.c (action_data_get_gimp) (action_data_get_context): don't special-case GimpItemTreeView any more, it's just like a normal GimpContainerView now. * app/widgets/gimpcontrollerlist.c (gimp_controller_list_constructor): set a context on the GimpContainerView so its renderers have a context to use.
-
Dave Neary authored
2006-08-31 Dave Neary <bolsh@gimp.org> * devel-docs/xcf.txt: Commit Henning Makholm's amazing spec of the XCF format.
-
Michael Natterer authored
2006-08-31 Michael Natterer <mitch@gimp.org> * app/widgets/gimpthumbbox.[ch]: remember the context passed to gimp_thumb_box_new() and use it instead of the user context when creating thumbnails.
-
Michael Natterer authored
2006-08-31 Michael Natterer <mitch@gimp.org> * app/widgets/gimpgradienteditor.[ch] (struct GimpGradientEditor): removed GimpContext member I added before deciding it needs to be added to GimpDataEditor. Use GimpDataEditor's context instead of the bogus one. Also use the data editor's context instead of the user context wherever it was used. * app/widgets/gimppaletteeditor.c: use GimpDataEditor's context instead of the user context here too.
-
Michael Natterer authored
2006-08-31 Michael Natterer <mitch@gimp.org> * app/core/gimpgradient.[ch] (gimp_gradient_has_fg_bg_segments): new funtion which returns TRUE if any of the gradient's segments refer to FG of BG. (gimp_gradient_segment_get_left_color_type) (gimp_gradient_segment_set_left_color_type) (gimp_gradient_segment_get_right_color_type) (gimp_gradient_segment_set_right_color_type): new accessors for the new GimpGradientColor stuff. (gimp_gradient_segment_split_midpoint) (gimp_gradient_segment_range_flip) (gimp_gradient_segment_range_replicate): split, flip and replicate the segments' color_types too. * app/widgets/gimpviewrenderer.[ch]: added virtual functions ::set_context() and ::invalidate() and call them. * app/widgets/gimpviewrenderergradient.[ch]: implement the virtual functions. Connect to the context's "foreground-changed" and "background-changed" signals if the gradient contains FG or BG colors and invalidate the renderer whenever they change. * app/core/gimp-gradients.c: removed signal connections which invalidated the gradients on FG/BG changes of the user context.
-
Sven Neumann authored
2006-08-31 Sven Neumann <sven@gimp.org> * plug-ins/pygimp/plug-ins/happy-valley-relief.py: fixed a typo.
-
Sven Neumann authored
2006-08-31 Sven Neumann <sven@gimp.org> * app/tools/gimp-tools.c: use italic style for the informative label.
-
Sven Neumann authored
2006-08-31 Sven Neumann <sven@gimp.org> * app/composite/gimp-composite-mmx.c: moved declarations at the beginning of the functions. * app/tools/gimptransformtool.c (gimp_transform_tool_doit): display a message if no paths are available. Could catch this earlier, but this is the least intrusive change to fix bug #353495.
-
- 30 Aug, 2006 6 commits
-
-
Sven Neumann authored
2006-08-30 Sven Neumann <sven@gimp.org> * plug-ins/common/gif.c: similar cleanup, removed unused parameters.
-
Sven Neumann authored
2006-08-30 Sven Neumann <sven@gimp.org> * plug-ins/common/png.c: removed debugging output; minor cleanup.
-
William Skaggs authored
* plug-ins/common/png.c: when saving an IA image, don't load the entire image into memory to search for an unused color. Fixes bug #308909.
-
Nickolay V. Shmyrev authored
2006-08-30 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * ru.po: Updated Russian translation by Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
-
Sven Neumann authored
2006-08-30 Sven Neumann <sven@gimp.org> * app/config/gimprc-blurbs.h * app/dialogs/preferences-dialog.c * app/tools/gimpmoveoptions.c: string changes as suggested in bug #353440.
-
Sven Neumann authored
2006-08-30 Sven Neumann <sven@gimp.org> * plug-ins/common/emboss.c: fixed off-by-one error and cleaned up the code a bit. Fixes bug #353227.
-
- 29 Aug, 2006 4 commits
-
-
Michael Natterer authored
2006-08-29 Michael Natterer <mitch@gimp.org> Changed GimpViewable preview rendering to have a context to get FG/BG/whatever from. Use the context to enable dynamic FG/BG colors in gradients. Fixes bug #127676 and bug #352214. Addresses bug #128367 (doesn't fix it because there's no loading/saving and no GUI yet). * app/core/core-enums.[ch]: added enum GimpGradientColor to enable specifying gradient colors in terms of foreground and background. * app/core/gimpgradient.[ch]: added color_type members to the GimpGradientSegment struct and honor them in gimp_gradient_get_color_at(). Added GimpContext parameters to all functions which finally call get_color_at(). * app/core/gimp-gradients.c: use the new method to implement the builtin gradients. * app/core/gimpviewable.[ch]: added GimpContext parameters to all get_preview() and get_pixbuf() functions. * app/core/gimpbrush.c * app/core/gimpbuffer.c * app/core/gimpdrawable-preview.[ch] * app/core/gimpgradient.c * app/core/gimpimage-preview.[ch] * app/core/gimpimagefile.c * app/core/gimppalette.c * app/core/gimppattern.c * app/core/gimpundo.[ch] * app/text/gimpfont.c * app/vectors/gimpvectors-preview.[ch]: changed ::get_preview() and ::get_pixbuf() implementations accordingly. * app/core/gimpdrawable-blend.c * app/core/gimppalette-import.[ch] * app/dialogs/dialogs-constructors.c * app/dialogs/palette-import-dialog.c * app/dialogs/resize-dialog.c * app/display/gimpdisplayshell-layer-select.c * app/display/gimpdisplayshell.c * app/display/gimpnavigationeditor.c * app/paint/gimppaintoptions.c * app/tools/gimpeditselectiontool.c * app/tools/gimptexttool.c * app/actions/gradient-editor-commands.c * app/widgets/gimpaction.c * app/widgets/gimpbrusheditor.[ch] * app/widgets/gimpbufferview.c * app/widgets/gimpcellrendererviewable.c * app/widgets/gimpchanneltreeview.c * app/widgets/gimpclipboard.c * app/widgets/gimpcoloreditor.c * app/widgets/gimpcomponenteditor.c * app/widgets/gimpcontainerbox.c * app/widgets/gimpcontainercombobox.c * app/widgets/gimpcontainereditor.c * app/widgets/gimpcontainerentry.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainertreeview.[ch] * app/widgets/gimpdataeditor.[ch] * app/widgets/gimpdevicestatus.c * app/widgets/gimpdnd.[ch] * app/widgets/gimpdrawabletreeview.c * app/widgets/gimpfiledialog.c * app/widgets/gimpgradienteditor.[ch] * app/widgets/gimpgradientselect.c * app/widgets/gimpitemtreeview.c * app/widgets/gimplayertreeview.c * app/widgets/gimppaletteeditor.[ch] * app/widgets/gimppropwidgets.[ch] * app/widgets/gimpselectioneditor.c * app/widgets/gimpthumbbox.[ch] * app/widgets/gimptoolbox-image-area.c * app/widgets/gimptoolbox-indicator-area.c * app/widgets/gimptooloptionseditor.c * app/widgets/gimpundoeditor.c * app/widgets/gimpvectorstreeview.c * app/widgets/gimpview-popup.[ch] * app/widgets/gimpview.[ch] * app/widgets/gimpviewablebutton.c * app/widgets/gimpviewabledialog.c * app/widgets/gimpviewrenderer.[ch] * app/widgets/gimpviewrenderer-frame.c * app/widgets/gimpviewrendererbrush.c * app/widgets/gimpviewrendererbuffer.c * app/widgets/gimpviewrendererdrawable.c * app/widgets/gimpviewrenderergradient.c * app/widgets/gimpviewrendererimage.c * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/gradient.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/image.pdb: added tons of GimpContext members and parameters, implement GimpDocked::set_context() in many widgets. Pass these locally remembered contexts to GimpViewable functions. Did some minor cleanups on the way. There are still some minor FIXMEs around where the code uses a NULL context (which is allowed by the APIs) * app/pdb/drawable_cmds.c * app/pdb/gradient_cmds.c * app/pdb/gradients_cmds.c * app/pdb/image_cmds.c: regenerated.
-
Michael Natterer authored
-
Michael Natterer authored
2006-08-30 Michael Natterer <mitch@gimp.org> * app/paint/gimpbrushcore.c: minor cleanup.
-
Sven Neumann authored
2006-08-29 Sven Neumann <sven@gimp.org> * libgimpbase/Makefile.am * libgimpbase/gimpbase.h * libgimpbase/gimprectangle.[ch]: added new files that hold gimp_rectangle_intersect(), factored out of the core. * libgimpbase/gimpbase.def: updated. * app/core/gimp-edit.c * app/core/gimp-utils.c * app/core/gimp-utils.h * app/core/gimpchannel-combine.c * app/core/gimpdrawable-foreground-extract.c * app/core/gimpdrawable-transform.c * app/core/gimpdrawable.c * app/core/gimpimage-preview.c * app/core/gimplayer.c * app/core/gimpscanconvert.c * app/display/gimpdisplayshell-draw.c: changed includes accordingly. * libgimp/gimpdrawablepreview.c: don't duplicate gimp_rectangle_intersect() here, use the function in libgimpbase. * app/base/siox.c: use gimp_rectangle_intersect() to reduce the working area to the region of interest. Fixes bug #340422.
-