Sven Neumann
4aa7e67c67
removed "add_alpha" parameter from gimp_item_duplicate() and
...
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
2008-01-08 11:46:15 +00:00
Michael Natterer
75061fccfd
app/actions/channels-commands.c app/actions/colormap-actions.c
...
2007-12-25 Michael Natterer <mitch@gimp.org>
* app/actions/channels-commands.c
* app/actions/colormap-actions.c
* app/actions/colormap-commands.c
* app/actions/image-commands.c
* app/core/gimp-edit.c
* app/core/gimpdrawable-preview.c
* app/core/gimpimage-colorhash.c
* app/core/gimpimage-colormap.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-duplicate.c
* app/core/gimpimage-flip.c
* app/core/gimpimage-guides.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-preview.c
* app/core/gimpimage-quick-mask.c
* app/core/gimpimage-resize.c
* app/core/gimpimage-rotate.c
* app/core/gimpimage-sample-points.c
* app/core/gimpimage-scale.c
* app/core/gimpimage-snap.c
* app/core/gimpimage.c
* app/core/gimpimagefile.c
* app/core/gimpimageundo.c
* app/core/gimpitem-preview.c
* app/core/gimpitem.c
* app/core/gimplayer.c
* app/core/gimppalette-import.c
* app/core/gimpprojection-construct.c
* app/core/gimpprojection.c
* app/core/gimpselection.c
* app/core/gimpundo.c
* app/dialogs/layer-options-dialog.c
* app/dialogs/print-size-dialog.c
* app/display/gimpdisplay.c
* app/display/gimpdisplayshell-draw.c
* app/display/gimpdisplayshell-scale.c
* app/display/gimpdisplayshell-scroll.c
* app/display/gimpdisplayshell-title.c
* app/display/gimpdisplayshell-transform.c
* app/display/gimpdisplayshell.c
* app/display/gimpstatusbar.c
* app/file/file-open.c
* app/paint/gimppaintoptions.c
* app/tools/gimpaligntool.c
* app/tools/gimpcolortool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpiscissorstool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimpmovetool.c
* app/tools/gimpperspectiveclonetool.c
* app/tools/gimprectangleselecttool.c
* app/tools/gimprectangletool.c
* app/tools/gimprotatetool.c
* app/vectors/gimpvectors-export.c
* app/vectors/gimpvectors-import.c
* app/vectors/gimpvectors.c
* app/widgets/gimpimagepropview.c
* app/widgets/gimpnavigationview.c
* app/widgets/gimpselectioneditor.c
* app/widgets/gimpviewrendererdrawable.c
* app/widgets/gimpviewrendererimage.c
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c
* tools/pdbgen/pdb/guides.pdb
* tools/pdbgen/pdb/image.pdb: use accessors for many image properties.
* app/pdb/guides_cmds.c
* app/pdb/image_cmds.c: regenerated.
svn path=/trunk/; revision=24432
2007-12-25 16:21:40 +00:00
Michael Natterer
ecb2c46dc8
app/actions/layers-commands.c app/core/gimpchannel-combine.c
...
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
2007-12-23 16:58:41 +00:00
Michael Natterer
0ed8370adb
app/core/gimpimage-merge.[ch] added GError parameters.
...
2007-12-06 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage-merge.[ch]
* app/core/gimpimage-convert.[ch]: added GError parameters.
* app/dialogs/convert-dialog.c
* app/actions/image-commands.c
* app/actions/vectors-commands.c: handle the returned error.
* tools/pdbgen/pdb/convert.pdb: pass the error.
* app/pdb/convert_cmds.c: regenerated.
svn path=/trunk/; revision=24276
2007-12-06 19:51:02 +00:00
Sven Neumann
5582efd62a
when we encounter an unsupported merge operation (merging an opaque
...
2007-11-13 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.c (gimp_image_merge_layers): when we
encounter an unsupported merge operation (merging an opaque
indexed layer onto an indexed layer with alpha channel), then
add
an alpha channel and try again. Fixes bug #496437 .
svn path=/trunk/; revision=24149
2007-11-13 19:09:41 +00:00
Sven Neumann
f44a8ea793
corrected the size of the pixel region passed to color_region() in case of
...
2007-11-12 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.c (gimp_image_merge_layers): corrected
the size of the pixel region passed to color_region() in case of
an indexed image. Fixes bug #495990 .
svn path=/trunk/; revision=24136
2007-11-12 16:49:07 +00:00
Sven Neumann
41237259c9
In all files, changed the standard copyright notice to say "GIMP - The GNU
...
2006-12-09 Sven Neumann <sven@gimp.org>
* In all files, changed the standard copyright notice to say
"GIMP - The GNU Image Manipulation Program".
2006-12-09 21:33:38 +00:00
Michael Natterer
dd6f5d711a
changed GimpDrawable parameter to "GimpImageType dest_type".
...
2006-10-26 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage.[ch]
(gimp_image_transform_rgb)
(gimp_image_transform_color)
(gimp_image_transform_temp_buf): changed GimpDrawable parameter to
"GimpImageType dest_type".
(gimp_image_get_foreground)
(gimp_image_get_background): ditto and reordered parameters.
* app/core/gimp-edit.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-stroke.c
* app/core/gimpdrawable-transform.c
* app/core/gimpdrawable.c
* app/core/gimpimage-merge.c
* app/core/gimplayer.c
* app/core/gimpselection.c
* app/paint/gimpbrushcore.c
* app/paint/gimpclone.c
* app/paint/gimperaser.c
* app/paint/gimpheal.c
* app/paint/gimpink.c
* app/paint/gimppaintbrush.c: changed accordingly.
* app/core/gimpdrawable-transform.c
(gimp_drawable_transform_tiles_affine): set the progress to 1.0
when done, some tiny cleanups around lanczos.
2006-10-25 22:14:36 +00:00
Michael Natterer
1ed8dd4f53
app/actions/data-commands.c app/actions/documents-commands.c
...
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.
2006-10-09 18:49:15 +00:00
Sven Neumann
9dba73fb01
made gimp_image_merge_layers() a static function, it isn't used outside
...
2006-07-11 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.[ch]: made gimp_image_merge_layers()
a
static function, it isn't used outside this file.
2006-07-11 18:51:54 +00:00
Sven Neumann
d091dbb072
allow Merge operations on single layers as suggested in bug #340491 .
...
2006-05-03 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.c: allow Merge operations on single
layers as suggested in bug #340491 .
2006-05-03 07:43:04 +00:00
Sven Neumann
5fc9bd4096
app/actions/tool-options-commands.c app/core/gimp.c
...
2006-04-07 Sven Neumann <sven@gimp.org>
* app/actions/tool-options-commands.c
* app/core/gimp.c
* app/core/gimpbrushpipe.c
* app/core/gimpbuffer.c
* app/core/gimpcontext.c
* app/core/gimpdatafactory.c
* app/core/gimpgradient-load.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-undo-push.c
* app/core/gimpitem.c
* app/core/gimplayer.c
* app/core/gimplayermask.c
* app/core/gimplist.c
* app/core/gimppalette.c
* app/dialogs/template-options-dialog.c
* app/display/gimpdisplayshell-dnd.c
* app/file/file-open.c
* app/paint/gimp-paint.c
* app/widgets/gimpdataeditor.c
* app/widgets/gimpdatafactoryview.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimptemplateview.c
* app/widgets/gimptoolbox-dnd.c: use gimp_object_set_static_name()
and gimp_object_take_name() where appropriate.
2006-04-07 10:51:22 +00:00
Sven Neumann
cef9db57fe
renamed gimp_drawable_data() to gimp_drawable_get_tiles().
...
2006-04-07 Sven Neumann <sven@gimp.org>
* app/core/gimpdrawable.[ch]: renamed gimp_drawable_data() to
gimp_drawable_get_tiles().
[lots of files]: changed accordingly.
2006-04-07 09:21:18 +00:00
Sven Neumann
e43b8ea082
allow to discard invisible layers as suggested in bug #337557 .
...
2006-04-07 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.[ch] (gimp_image_merge_visible_layers):
allow to discard invisible layers as suggested in bug #337557 .
* app/actions/image-commands.c
* app/dialogs/image-merge-layers-dialog.[ch]: added a check button
to the Merge Visible Layers dialog to control the new feature.
* app/file/file-open.c
* tools/pdbgen/pdb/image.pdb: pass FALSE for the new parameter.
* app/pdb/image_cmds.c: regenerated.
2006-04-07 08:01:02 +00:00
Sven Neumann
905fdfcbed
did a global gimage -> image substitution.
...
2006-03-28 Sven Neumann <sven@gimp.org>
* app/*: did a global gimage -> image substitution.
2006-03-28 17:08:36 +00:00
David Odin
62f7298ba0
fixed merge down (previously broken by a not that purely cosmetic change).
...
* app/core/gimpimage-merge.c: fixed merge down (previously broken by a
not that purely cosmetic change). Spotted by Amar Takhar.
2006-03-05 22:02:40 +00:00
Sven Neumann
4b7f6a0a02
purely cosmetic change.
...
2006-02-27 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.c: purely cosmetic change.
2006-02-27 14:48:11 +00:00
Sven Neumann
0728f76b35
added gimp_undo_stack_get_depth().
...
2005-07-29 Sven Neumann <sven@gimp.org>
* app/core/gimpundostack.[ch]: added gimp_undo_stack_get_depth().
* app/widgets/gimpimagepropview.[ch]: display number and memory
usage of undo/redo steps.
* app/core/gimpimage-merge.c: fixed signedness issue.
2005-07-28 22:40:32 +00:00
Sven Neumann
7be65c2d60
removed redundant casts.
...
2005-05-06 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.c: removed redundant casts.
2005-05-06 15:45:04 +00:00
Simon Budig
7945dc7a4b
Return the active layer instead of the bottom layer when just merging down
...
2004-11-13 Simon Budig <simon@gimp.org>
* app/core/gimpimage-merge.c: Return the active layer instead of
the bottom layer when just merging down a floating selection.
Untabbified.
Fixes bug #158130 .
2004-11-13 01:59:16 +00:00
Michael Natterer
c5ec0d4f70
*** empty log message ***
2004-07-13 16:36:29 +00:00
Michael Natterer
de7a940501
app/config/gimpconfig-deserialize.c app/config/gimpscanner.c
...
2004-05-12 Michael Natterer <mitch@gimp.org>
* app/config/gimpconfig-deserialize.c
* app/config/gimpscanner.c
* app/core/gimp-edit.c
* app/core/gimpchannel-combine.c
* app/core/gimpcontainer.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-combine.c
* app/core/gimpdrawable.c
* app/core/gimpgradient.c
* app/core/gimpimage-flip.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-projection.c
* app/core/gimpimage.c
* app/display/gimpdisplay-handlers.c
* app/display/gimpdisplayshell-callbacks.c
* app/display/gimpprogress.c
* app/gui/info-dialog.c
* app/gui/module-browser.c
* app/gui/offset-dialog.c
* app/plug-in/plug-in.c
* app/tools/gimpdrawtool.c
* app/tools/tool_manager.c
* app/widgets/gimpactiongroup.c
* app/widgets/gimpdialogfactory.c
* app/widgets/gimpgradienteditor.c
* app/widgets/gimpitemfactory.c
* app/widgets/gimppropwidgets.c
* app/widgets/gimpwidgets-utils.c
* app/xcf/xcf-save.c
* libgimp/gimpexport.c
* libgimpwidgets/gimphelpui.c
* libgimpwidgets/gimppixmap.c
* libgimpwidgets/gimpunitmenu.c: replaced G_GNUC_FUNCTION,
G_GNUC_PRETTY_FUNCTION, G_STRLOC and hardcoded function names in
g_warning()s by G_STRFUNC.
2004-05-12 08:13:33 +00:00
Michael Natterer
18d9161eea
Get rid of the "current_context" which was in fact just a bunch of global
...
2004-04-15 Michael Natterer <mitch@gimp.org>
Get rid of the "current_context" which was in fact just a bunch of
global variables. Instead, pass the needed context all the way
from the GUI and the PDB to the core. This is a prerequisite for
macro recording and generally helps separating the various
subsystems from each other. Work in progress...
* app/core/gimp.[ch]: removed member "current_context" and
gimp_[get|set]_current_context().
* app/core/gimp-edit.[ch]
* app/core/gimpdrawable-blend.[ch]
* app/core/gimpdrawable-bucket-fill.[ch]
* app/core/gimpdrawable-offset.[ch]
* app/core/gimpdrawable-transform.[ch]
* app/core/gimpimage-crop.[ch]
* app/core/gimpimage-flip.[ch]
* app/core/gimpimage-merge.[ch]
* app/core/gimpimage-resize.[ch]
* app/core/gimpimage-rotate.[ch]
* app/core/gimpimage.[ch]
* app/core/gimpimagefile.[ch]
* app/core/gimpitem-linked.[ch]
* app/core/gimpitem.[ch]
* app/core/gimplayer.[ch]
* app/core/gimpselection.[ch]
* app/core/gimptemplate.[ch]
* app/file/file-open.[ch]
* app/file/file-save.[ch]
* app/pdb/procedural_db.[ch]
* app/text/gimptext-compat.[ch]
* app/text/gimptextlayer-transform.[ch]
* app/gui/brush-select.[ch]
* app/gui/font-select.[ch]
* app/gui/gradient-select.[ch]
* app/gui/palette-select.[ch]
* app/gui/pattern-select.[ch]: added tons of "GimpContext *context"
parameters and use the passed context instead of
gimp_get_current_context().
* app/app_procs.c
* app/batch.c
* app/core/gimpchannel.c
* app/core/gimpdrawable.c
* app/paint/gimperaser.c
* app/paint/gimppaintbrush.c
* app/plug-in/plug-in-message.c
* app/plug-in/plug-ins.c
* app/text/gimptextlayer.c
* app/tools/gimpblendtool.c
* app/tools/gimpbucketfilltool.c
* app/tools/gimpcroptool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpfliptool.c
* app/tools/gimpinktool.c
* app/tools/gimptransformtool.c
* app/vectors/gimpvectors.c
* app/gui/convert-dialog.c
* app/gui/drawable-commands.c
* app/gui/edit-commands.c
* app/gui/file-commands.c
* app/gui/file-new-dialog.c
* app/gui/file-open-dialog.c
* app/gui/file-save-dialog.c
* app/gui/image-commands.c
* app/gui/layers-commands.c
* app/gui/offset-dialog.c
* app/gui/select-commands.c
* app/gui/vectors-commands.c
* app/widgets/gimpdnd.c
* app/widgets/gimpdocumentview.c
* app/widgets/gimphelp.c
* app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or
GIMP_CONTEXT(tool_options) or whatever is the right context
to the changed core functions.
* tools/pdbgen/app.pl: pass "GimpContext *context" to all
generated PDB invokers.
* tools/pdbgen/pdb/brush_select.pdb
* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/edit.pdb
* tools/pdbgen/pdb/font_select.pdb
* tools/pdbgen/pdb/gradient_select.pdb
* tools/pdbgen/pdb/gradients.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/paint_tools.pdb
* tools/pdbgen/pdb/palette.pdb
* tools/pdbgen/pdb/palette_select.pdb
* tools/pdbgen/pdb/palettes.pdb
* tools/pdbgen/pdb/paths.pdb
* tools/pdbgen/pdb/pattern_select.pdb
* tools/pdbgen/pdb/patterns.pdb
* tools/pdbgen/pdb/selection.pdb
* tools/pdbgen/pdb/text_tool.pdb
* tools/pdbgen/pdb/transform_tools.pdb: pass the new context
parameter to the changed core functions.
* app/pdb/*_cmds.c: regenerated.
2004-04-14 23:37:34 +00:00
Michael Natterer
6eb772946b
libgimpwidgets/gimpquerybox.c configure the labels in the message dialog
...
2003-11-14 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpquerybox.c
* app/widgets/gimpwidgets-utils.c: configure the labels in the
message dialog and the query boxes to do automatic word wrapping
to be HIG compliant.
* app/app_procs.c
* app/batch.c
* app/config/gimpconfig-deserialize.c
* app/config/gimpconfig-path.c
* app/config/gimpconfig-utils.c
* app/config/gimpconfigwriter.c
* app/config/gimpscanner.c
* app/core/gimpbrush.c
* app/core/gimpbrushgenerated.c
* app/core/gimpbrushpipe.c
* app/core/gimpdatafactory.c
* app/core/gimpgradient.c
* app/core/gimpimage-merge.c
* app/core/gimpimage.c
* app/core/gimpimagefile.c
* app/core/gimplayer-floating-sel.c
* app/core/gimppalette.c
* app/core/gimppattern.c
* app/core/gimpselection.c
* app/display/gimpdisplayshell.c
* app/file/file-utils.c
* app/gui/brush-select.c
* app/gui/dialogs-commands.c
* app/gui/drawable-commands.c
* app/gui/edit-commands.c
* app/gui/file-commands.c
* app/gui/file-new-dialog.c
* app/gui/font-select.c
* app/gui/gradient-select.c
* app/gui/gui.c
* app/gui/image-commands.c
* app/gui/layers-commands.c
* app/gui/palette-select.c
* app/gui/palettes-commands.c
* app/gui/pattern-select.c
* app/gui/preferences-dialog.c
* app/gui/select-commands.c
* app/gui/stroke-dialog.c
* app/gui/tool-options-menu.c
* app/gui/vectors-commands.c
* app/gui/view-commands.c
* app/plug-in/plug-in-message.c
* app/plug-in/plug-in.c
* app/plug-in/plug-ins.c
* app/text/gimptextlayer-xcf.c
* app/text/gimptextlayer.c
* app/tools/gimpcurvestool.c
* app/tools/gimphuesaturationtool.c
* app/tools/gimplevelstool.c
* app/tools/gimptransformtool.c
* app/vectors/gimpvectors-export.c
* app/widgets/gimpdatafactoryview.c
* app/widgets/gimphelp.c
* app/widgets/gimptemplateview.c
* app/widgets/gimptooloptionseditor.c
* app/xcf/xcf.c
* tools/pdbgen/pdb/image.pdb: removed explicit newlines from
messages. Reduced number of translatable strings by making many
file error messages the same. Quote single words and filenames
with 'foo', not "foo". Replaced some more "drawable" by "layer".
General message cleanup and consistency check.
* app/pdb/image_cmds.c: regenerated.
2003-11-14 15:33:40 +00:00
Simon Budig
31f7e362ac
New function that appends a duplicate of the source vectors strokes to the
...
2003-11-07 Simon Budig <simon@gimp.org>
* app/vectors/gimpvectors.[ch]: New function that appends a
duplicate of the source vectors strokes to the list of strokes
of a target vectors object.
* app/core/gimpimage-merge.[ch]
* app/core/core-enums.h: Use this new function to merge
the visible vectors in an Image. New Undo type for vectors merging.
* app/core/core-enums.c: regenerated.
* app/gui/vectors-menu.c
* app/gui/vectors-commands.[ch]
* app/widgets/gimphelp-ids.h: New Menu entry + callback to invoke
the merge functionality. New Help ID for the menu entry.
2003-11-07 13:20:52 +00:00
Michael Natterer
7cf4eb467a
removed "visible" and all its API...
...
2003-09-11 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable.[ch]: removed "visible" and all its API...
* app/core/gimpitem.[ch]: ...and added it here.
* app/core/core-enums.[ch]
* app/core/gimpimage-undo-push.[ch]: changed the drawable
visibility undo to be an item visibility undo.
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c: save it in PROP_VECTORS and changed channel
and layer loading/saving accordingly.
* app/core/gimpimage-merge.c
* app/core/gimpimage-preview.c
* app/core/gimpimage-projection.c
* app/core/gimpimage.c
* app/core/gimplayer-floating-sel.c
* app/core/gimplayer.c
* app/core/gimpselection.c
* app/text/gimptextlayer.c
* app/gui/channels-commands.c
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/layer.pdb: changed accordingly.
* app/pdb/channel_cmds.c
* app/pdb/layer_cmds.c: regenerated.
* app/widgets/gimpdrawabletreeview.[ch]: removed the eye icon...
* app/widgets/gimpitemtreeview.[ch]: ...and added it here.
2003-09-11 19:52:29 +00:00
Sven Neumann
5cfcf0486a
unref the parasite list before assigning a copy.
...
2003-09-05 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.c (gimp_image_merge_layers): unref
the parasite list before assigning a copy.
2003-09-05 11:53:04 +00:00
Michael Natterer
966fb5595f
don't default to clip_result == TRUE (unlike the other transform
...
2003-05-20 Michael Natterer <mitch@gimp.org>
* app/core/gimpchannel.c (gimp_channel_rotate): don't default to
clip_result == TRUE (unlike the other transform functions).
* app/core/gimpdrawable-transform.c
(gimp_drawable_transform_tiles_rotate): fixed offset calculation.
* app/core/gimpimage-rotate.c: change the image size *after* all items
are rotated. Adjust all items' offsets after rotation. Rotate the
resolutions too. Seems to work now and fixes bug #6101 .
* app/core/gimpimage.c (gimp_image_size_changed): emit
"size_changed" on all vectors.
* app/core/gimpitem-linked.[ch]: added gimp_item_linked_rotate().
* app/gui/drawable-commands.c: flip and rotate linked items too.
* app/vectors/gimpvectors.c (gimp_vectors_rotate): fixed rotation
angles.
Unrelated:
* app/core/gimpimage-merge.c: don't #include "path.h".
2003-05-20 15:26:38 +00:00
Michael Natterer
c1ab39a5e8
removed gimp_drawable_offsets().
...
2003-05-08 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable.[ch]: removed gimp_drawable_offsets().
* app/core/gimpitem.[ch]: added gimp_item_offsets().
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-histogram.c
* app/core/gimpedit.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-mask-select.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-pick-color.c
* app/core/gimpimage-preview.c
* app/core/gimpimage-projection.c
* app/core/gimpimage-undo-push.c
* app/core/gimpimage.c
* app/core/gimplayer-floating-sel.c
* app/core/gimplayer.c
* app/display/gimpdisplay.c
* app/display/gimpdisplayshell-transform.c
* app/display/gimpdisplayshell.c
* app/gui/channels-commands.c
* app/gui/layers-commands.c
* app/paint/gimppaintcore.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpblendtool.c
* app/tools/gimpbucketfilltool.c
* app/tools/gimpbycolorselecttool.c
* app/tools/gimpclonetool.c
* app/tools/gimpcolorpickertool.c
* app/tools/gimpcroptool.c
* app/tools/gimpcurvestool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpfliptool.c
* app/tools/gimpfuzzyselecttool.c
* app/tools/gimpinktool.c
* app/tools/gimplevelstool.c
* app/tools/gimppainttool.c
* app/tools/gimprectselecttool.c
* app/tools/gimptransformtool.c
* app/widgets/gimpselectioneditor.c
* app/widgets/gimptoolbox.c
* tools/pdbgen/pdb/color.pdb
* tools/pdbgen/pdb/drawable.pdb: changed accordingly.
* app/pdb/color_cmds.c
* app/pdb/drawable_cmds.c: regenerated.
2003-05-08 14:06:03 +00:00
Michael Natterer
54878b79ce
removed gimp_drawable_width,height().
...
2003-05-08 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable.[ch]: removed gimp_drawable_width,height().
* app/core/gimpitem.[ch]: added gimp_item_width,height().
* app/core/gimpchannel.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-offset.c
* app/core/gimpdrawable-preview.c
* app/core/gimpdrawable-transform.c
* app/core/gimpimage-contiguous-region.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-preview.c
* app/core/gimpimage-projection.c
* app/core/gimpimage-undo-push.c
* app/core/gimpimage.c
* app/core/gimpimagemap.c
* app/core/gimplayer-floating-sel.c
* app/core/gimplayer.c
* app/core/gimplayermask.c
* app/core/gimpscanconvert.c
* app/display/gimpdisplay.c
* app/display/gimpdisplayshell-dnd.c
* app/display/gimpdisplayshell.c
* app/gui/channels-commands.c
* app/gui/layers-commands.c
* app/paint/gimpclone.c
* app/paint/gimpconvolve.c
* app/paint/gimpdodgeburn.c
* app/paint/gimppaintcore.c
* app/paint/gimpsmudge.c
* app/text/gimptextlayer.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpbucketfilltool.c
* app/tools/gimpbycolorselecttool.c
* app/tools/gimpclonetool.c
* app/tools/gimpcroptool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpfliptool.c
* app/tools/gimpfuzzyselecttool.c
* app/tools/gimphistogramtool.c
* app/tools/gimpinktool.c
* app/tools/gimprectselecttool.c
* app/tools/gimptransformtool.c
* app/widgets/gimpselectioneditor.c
* app/widgets/gimptoolbox.c
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/selection.pdb: changed accordingly.
* app/pdb/drawable_cmds.c
* app/pdb/selection_cmds.c: regenerated.
2003-05-08 13:12:46 +00:00
Michael Natterer
4136e61ddc
More transform virtualization preparation:
...
2003-05-08 Michael Natterer <mitch@gimp.org>
More transform virtualization preparation:
* app/core/gimpdrawable.[ch]: removed "width", "height", "offset_x"
and "offset_y"...
* app/core/gimpitem.[ch]: ...and added them here.
* app/core/gimpchannel.c
* app/core/gimpdrawable-preview.c
* app/core/gimpdrawable-transform.c
* app/core/gimpedit.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-qmask.c
* app/core/gimpimage-undo-push.c
* app/core/gimplayer-floating-sel.c
* app/core/gimplayer.c
* app/text/gimptext-compat.c
* app/text/gimptextlayer.c
* app/tools/gimptexttool.c
* app/tools/gimptransformtool.c
* app/widgets/gimppreviewrendererdrawable.c
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c
* tools/pdbgen/pdb/layer.pdb: changed accordingly.
* app/pdb/layer_cmds.c: regenerated.
2003-05-08 11:52:31 +00:00
Sven Neumann
28fddfd554
Makefile.am removed this header file.
...
2003-03-25 Sven Neumann <sven@gimp.org>
* Makefile.am
* gimpintl.h: removed this header file.
* gimpmiscui.c: include libgimp-intl.h.
* gimp.c (gimp_main): call setlocale() and bind to the libgimp
textdomain so that plug-ins don't need to do that explicitely.
* libgimp/stdplugins-intl.h: added the functionality that used to
live in gimpintl.h and removed the libgimp related stuff. Got rid
of the INIT_I18N_UI() macro.
* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
Plug-ins simply call INIT_I18N() once in their run() function.
* plug-ins/script-fu/script-fu-intl.h: added the functionality
that used to live in gimpintl.h and removed the libgimp related
stuff.
* app/Makefile.am
* app/gimp-intl.h: new file that defines the gettext macros for
the GIMP core.
* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
2003-03-25 16:38:19 +00:00
Michael Natterer
884b3aa7a3
Made drawable/layer properties (visibility, opacity etc.) undoable (fixes
...
2003-03-17 Michael Natterer <mitch@gimp.org>
Made drawable/layer properties (visibility, opacity etc.)
undoable (fixes bug #73893 ).
* app/core/core-enums.[ch]: added undo types/groups for
visibility, mode, opacity, linked and preserve_trans.
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
ref'ed GimpItem pointer so (1) this doesn't need to be done by all
undo steps related to an item and (2) the item the undo step is
for can be determined from outside the undo system.
* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
which returns a new GimpItemUndo.
* app/core/gimpimage-undo-push.[ch]: use it for all item related
undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
and GimpVectors pointers from the private undo structs. Added
undo push functions for the new undo types added above.
* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
"gboolean push_undo" parameter.
* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
_preserve_trans, _linked): added "gboolean push_undo" parameters.
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimplayer-floating-sel.c
* app/tools/gimpmovetool.c
* app/xcf/xcf-load.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimplayerlistitem.c
* app/widgets/gimplayerlistview.c: changed accordingly.
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
the foo_accessors() functions. Removed $func from foo_accesors()
because we don't manipulate items without using getters/setters
any longer.
* app/pdb/channel_cmds.c
* app/pdb/layer_cmds.c: regenerated.
* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
which carries an additional "GdkModifierType state" parameter as
in GimpCellRendererViewable .
* app/widgets/gimpcontainertreeview.c: emit "clicked" from
the toggle renderer, not "toggled" so the callbacks get the
modifier state.
* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
visible by <shift>+click" feature as in 1.2.
* app/widgets/gimplayertreeview.c: compress layer opacity undos by
looking at the top of the undo stack and not pushing an undo if
there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
layer.
2003-03-17 18:02:41 +00:00
Michael Natterer
858398d630
added "const gchar *undo_desc" to gimp_image_merge_layers() so the undo
...
2003-02-17 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage-merge.[ch]: added "const gchar *undo_desc" to
gimp_image_merge_layers() so the undo steps say "Merge Down",
"Flatten Image" etc. instead of always "Merge Layers".
2003-02-17 11:21:35 +00:00
Michael Natterer
7a6a8d9dbb
Moved the undo step implementations to the core and pass around lots of
...
2003-02-14 Michael Natterer <mitch@gimp.org>
Moved the undo step implementations to the core and pass around
lots of "const gchar *undo_desc". Fixes bug #104367 .
* app/Makefile.am
* app/undo.[ch]: removed...
* app/core/Makefile.am
* app/core/gimpimage-undo-push.[ch]: ...and added here.
* app/paint/Makefile.am
* app/tools/Makefile.am
* app/paint/gimppaintcore-undo.[ch]
* app/tools/gimptransformtool-undo.[ch]: new files for the
paint and transform undos.
* app/core/gimppaintinfo.[ch]: added a blurb.
* app/paint/gimpairbrush.c
* app/paint/gimpclone.c
* app/paint/gimpconvolve.c
* app/paint/gimpdodgeburn.c
* app/paint/gimperaser.c
* app/paint/gimppaintbrush.c
* app/paint/gimppaintcore.c
* app/paint/gimppencil.c
* app/paint/gimpsmudge.c
* app/paint/paint-types.h
* app/paint/paint.c: pass the blurb when registering the core.
* app/core/gimpdrawable.[ch]
* app/core/gimpimage.[ch]
* app/core/gimpimage-mask-select.[ch]
* app/core/gimpimage-mask.[ch]
* app/core/gimpimagemap.[ch]
* app/core/gimplayer-floating-sel.[ch]: added "undo_desc" parameters
to all undo pushing helper functions.
* app/undo_history.c
* app/core/gimpchannel.c
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-desaturate.c
* app/core/gimpdrawable-equalize.c
* app/core/gimpdrawable-invert.c
* app/core/gimpdrawable-offset.c
* app/core/gimpdrawable-transform.c
* app/core/gimpedit.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-guides.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-qmask.c
* app/core/gimpimage-resize.c
* app/core/gimpimage-scale.c
* app/core/gimpimage-undo.c
* app/core/gimpitem.c
* app/core/gimplayer.c
* app/core/gimplayermask.c
* app/display/gimpdisplayshell-dnd.c
* app/file/file-open.c
* app/file/file-save.c
* app/gui/channels-commands.c
* app/gui/file-commands.c
* app/gui/file-open-dialog.c
* app/gui/image-commands.c
* app/gui/layers-commands.c
* app/gui/paths-dialog.c
* app/gui/select-commands.c
* app/gui/vectors-commands.c
* app/text/gimptext-compat.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpbucketfilltool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpfreeselecttool.c
* app/tools/gimpfuzzyselecttool.c
* app/tools/gimpimagemaptool.c
* app/tools/gimpinktool.c
* app/tools/gimpiscissorstool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimpmovetool.c
* app/tools/gimppainttool.c
* app/tools/gimprectselecttool.c
* app/tools/gimptexttool.c
* app/tools/gimptransformtool.c
* app/widgets/gimpchannellistview.c
* app/widgets/gimpdrawablelistview.c
* app/widgets/gimpselectioneditor.c
* tools/pdbgen/pdb/color.pdb
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/guides.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/selection.pdb
* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly: pass
"undo_desc" strings, changed includes or simply removed inclusion
of "undo.h". Some random cleanups.
* tools/pdbgen/pdb/guides.pdb: cleaned up a lot. Fixed
gimp_image_find_next_guide() to not return guides with
position < 0 (and made it shorter and readable).
* app/pdb/color_cmds.c
* app/pdb/drawable_cmds.c
* app/pdb/guides_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/selection_cmds.c
* app/pdb/selection_tools_cmds.c: regenerated.
2003-02-14 14:14:29 +00:00
Michael Natterer
b600fd8605
changed FOO_UNDO enum values to GIMP_UNDO_FOO.
...
2003-02-13 Michael Natterer <mitch@gimp.org>
* app/core/core-enums.[ch]: changed FOO_UNDO enum values to
GIMP_UNDO_FOO.
* app/undo.[ch]: removed the undo group wrappers.
* app/undo_history.c
* app/core/gimpdrawable-transform.c
* app/core/gimpedit.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-qmask.c
* app/core/gimpimage-resize.c
* app/core/gimpimage-scale.c
* app/core/gimpimage-undo.c
* app/core/gimpimage.c
* app/core/gimpitem.c
* app/core/gimplayer-floating-sel.c
* app/core/gimplayer.c
* app/display/gimpdisplayshell-dnd.c
* app/gui/channels-commands.c
* app/gui/image-commands.c
* app/gui/layers-commands.c
* app/paint/gimppaintcore.c
* app/text/gimptext-compat.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimptexttool.c
* app/tools/gimptransformtool.c
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/undo.pdb: changed accordingly. Pass meaningful
undo names to gimp_image_undo_group_start().
* app/pdb/layer_cmds.c
* app/pdb/undo_cmds.c: regenerated.
2003-02-13 11:23:50 +00:00
Sven Neumann
5dcf8da089
redid the fix for bug #101036 . Instead of temporarily changing the layer
...
2003-01-05 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-merge.c (gimp_image_merge_layers): redid the
fix for bug #101036 . Instead of temporarily changing the layer
mode, just use a different mode for combine_regions().
2003-01-05 03:34:13 +00:00
Michael Natterer
ea95a3227d
Replaced Garry's fix for bug #98843 by a more general solution which stops
...
2003-01-02 Michael Natterer <mitch@gimp.org>
Replaced Garry's fix for bug #98843 by a more general solution
which stops the active tool when an undo group start is pushed:
* app/core/gimpimage.[ch]: removed the "layer_merge" signal
and added "undo_start" instead.
* app/undo.c: emit "undo_start" in undo_push_group_start()
_before_ checking if gimage->undo_on is TRUE.
* app/tools/tool_manager.c: connect to "undo_start" and HALT the
active tool if neccessary.
* app/core/core-types.h: added EDIT_COPY_UNDO_GROUP.
* app/core/gimpedit.c: push an undo group around the copy
operation. Will probably have to add more undo group types to wrap
other critical image modifications with.
* app/core/gimpimage-merge.c
* app/gui/convert-dialog.c
* app/gui/edit-commands.c
* app/gui/test-commands.c
* app/tools/gimpimagemaptool.c: removed all special code to
stop the active tool.
2003-01-02 13:38:09 +00:00
Garry R. Osgood
d8fd3b04c1
Updated my CVS. app/undo.c app/undo_history.c app/core/gimpimage.[ch]
...
2003-01-01 Garry R. Osgood <grosgood@rcn.com>
* MAINTAINERS: Updated my CVS.
* app/undo.c
* app/undo_history.c
* app/core/gimpimage.[ch]
* app/tools/gimpimagemaptool.c
* app/core/gimpimage-merge.c: implementation of LAYER_MERGE
signal emitters and listeners. (see bug #98843 ); listeners thaw
undo stack (image map tools, usually).
* app/widgets/gimpviewabledialog.c: gimp_viewable_dialog_close ()
Check if the widget has a non-null reference to a window before
using it to synthesize a cancel event. These seven deltas closes bug #98843 .
* app/core/gimpimage-merge.c: (gimp_image_merge_layers())
Regardless of merge type, temporarily set composition mode
of bottom layer to NORMAL, then merge. Closes bug #101036 .
2003-01-01 23:40:53 +00:00
Sven Neumann
9b6ef26100
added a return value to indicate success of
...
2002-05-15 Sven Neumann <sven@gimp.org>
* app/config/gimpconfig.[ch]: added a return value to indicate
success of GimpConfigInterface::serialize. Added a GimpConfigError
value for write errors and check the return value of all write()
calls. Allow to specify file header and footer when calling
gimp_config_serialize().
* app/config/gimpconfig-serialize.[ch]
* app/config/gimprc.c: changed accordingly.
* app/core/gimp-documents.[ch]: new files with functions to handle
gimp->documents.
* app/core/gimpdocuments.[ch]: removed ...
* app/core/gimpdocumentlist.[ch]: ... and added under this name.
Implements a generic document list.
* app/core/gimp-parasites.[ch]: new files with functions to handle
gimp->parasites.
* app/core/gimpparasite.[ch]: removed.
* app/core/gimpparasitelist.[ch]: nothing more than a generic
parasite list.
* app/undo.c
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimp.c
* app/core/gimpdrawable.c
* app/core/gimpimage-merge.c
* app/core/gimpimage.c
* app/core/gimpitem.c
* app/file/file-open.c
* app/file/file-save.c
* app/gui/file-open-dialog.c
* app/pdb/parasite_cmds.c
* tools/pdbgen/pdb/parasite.pdb: changed accordingly.
2002-05-15 11:05:32 +00:00
Michael Natterer
a74a8997b4
devel-docs/Makefile.am new file documenting the core's include policy.
...
2002-05-03 Michael Natterer <mitch@gimp.org>
* devel-docs/Makefile.am
* devel-docs/includes.txt: new file documenting the core's
include policy.
* HACKING: mention it here.
* libgimptool/gimptooltypes.h: removed GimpToolOptions here.
* app/core/core-types.h: and added it here. This is a temp hack
needed because GimpToolInfo needs to know the GimpToolOptions
type.
* libgimpproxy/gimpproxytypes.h: regenerated.
* libgimptool/gimptoolmodule.h: don't include gimptooltypes.h here...
* libgimptool/gimptoolmodule.c: ...but here.
* app/config/gimpconfig-params.c: include "libgimpbase/gimpbase.h"
entirely, not single files from it.
* app/core/gimp.c
* app/core/gimpcontext.c
* app/core/gimpcoreconfig.c
* app/core/gimpdatafactory.c
* app/core/gimpdocuments.c
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-offset.c
* app/core/gimpdrawable-transform.c
* app/core/gimpdrawable.c
* app/core/gimpedit.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-duplicate.c
* app/core/gimpimage-guides.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-new.c
* app/core/gimpimage-projection.c
* app/core/gimpimage-qmask.c
* app/core/gimpimage-resize.c
* app/core/gimpimage-scale.c
* app/core/gimpimage.c
* app/core/gimpitem.c
* app/core/gimpmodules.c
* app/core/gimppaintinfo.c
* app/core/gimpparasite.c
* app/core/gimppreviewcache.c
* app/core/gimptoolinfo.c
* app/core/gimpunit.c: include "core-types.h" and no other types file.
* app/display/gimpdisplay.c
* app/display/gimpdisplayshell-callbacks.c
* app/display/gimpdisplayshell.c: include "tools/tools-types.h"
instead of "libgimptool/gimptooltypes.h", warn about inclusion
on "gui/gui-types.h"
* app/file/file-open.c
* app/file/file-save.c: don't include "libgimptool/gimptooltypes.h".
* app/gui/about-dialog.c
* app/gui/brush-select.c
* app/gui/brushes-commands.c
* app/gui/color-select.c
* app/gui/data-commands.c
* app/gui/device-status-dialog.c
* app/gui/dialogs.c
* app/gui/gradients-commands.c
* app/gui/help-commands.c
* app/gui/info-window.c
* app/gui/palettes-commands.c
* app/gui/patterns-commands.c
* app/gui/resize-dialog.c
* app/gui/tips-dialog.c
* app/gui/tool-options-dialog.c: include "gui-types.h" and no
other types file.
* app/paint/gimpairbrush.c
* app/paint/gimpclone.c
* app/paint/gimpconvolve.c
* app/paint/gimpdodgeburn.c
* app/paint/gimperaser.c
* app/paint/gimppaintbrush.c
* app/paint/gimppaintcore-stroke.c
* app/paint/gimppaintcore.c
* app/paint/gimppaintoptions.c
* app/paint/gimppencil.c
* app/paint/gimpsmudge.c
* app/paint/paint.c: include "paint-types.h" and no other types file.
* app/pdb/pdb-types.h: don't include "libgimptool/gimptooltypes.h".
* app/plug-in/plug-in-progress.c: warn about inclusion of
"display/display-types.h"
* app/tools/tools-types.h: include "libgimptool/gimptooltypes.h".
* app/tools/gimpairbrushtool.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpblendtool.c
* app/tools/gimpbrightnesscontrasttool.c
* app/tools/gimpbucketfilltool.c
* app/tools/gimpbycolorselecttool.c
* app/tools/gimpclonetool.c
* app/tools/gimpcolorbalancetool.c
* app/tools/gimpcolorpickertool.c
* app/tools/gimpconvolvetool.c
* app/tools/gimpcroptool.c
* app/tools/gimpcurvestool.c
* app/tools/gimpdodgeburntool.c
* app/tools/gimpdrawtool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpellipseselecttool.c
* app/tools/gimperasertool.c
* app/tools/gimpfliptool.c
* app/tools/gimpfreeselecttool.c
* app/tools/gimpfuzzyselecttool.c
* app/tools/gimphistogramtool.c
* app/tools/gimphuesaturationtool.c
* app/tools/gimpinktool.c
* app/tools/gimplevelstool.c
* app/tools/gimpmagnifytool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimpmovetool.c
* app/tools/gimppaintbrushtool.c
* app/tools/gimppainttool.c
* app/tools/gimppathtool.c
* app/tools/gimppenciltool.c
* app/tools/gimpperspectivetool.c
* app/tools/gimpposterizetool.c
* app/tools/gimprectselecttool.c
* app/tools/gimprotatetool.c
* app/tools/gimpscaletool.c
* app/tools/gimpselectiontool.c
* app/tools/gimpsheartool.c
* app/tools/gimpsmudgetool.c
* app/tools/gimptexttool.c
* app/tools/gimpthresholdtool.c
* app/tools/gimptoolcontrol.c
* app/tools/gimptoolcontrol.h
* app/tools/gimptransformtool.c
* app/tools/gimpvectortool.c
* app/tools/tools.c: include "tools-types.h" and no other types file,
warn about inclusion of "gui/gui-types.h".
* app/widgets/gimpcolorpanel.c
* app/widgets/gimptoolbox-color-area.c: warn about inclusion of
"gui/gui-types.h".
* app/xcf/xcf-load.c
* app/xcf/xcf.c: don't include "libgimptool/gimptooltypes.h".
Split tool-safe-mode up in two files, one including libgimpproxy,
one libgimp.
* plug-ins/tools/Makefile.am
* plug-ins/tools/tool-safe-mode-plug-in.[ch]: new files including
libgimp/ stuff only.
* plug-ins/tools/tool-safe-mode.[ch]: include libgimpproxy/ and
libgimptool/ but don't include libgimp/ because of conflicting
declarations.
Unrelated:
* app/tools/gimpclonetool.c: create the clone core so we don't crash.
* app/gui/file-open-dialog.c: changed the way we create previews
so that only out-of-date previews are created on a click in the
preview area. Unconditional creation can still be forced by
<Ctrl>+click. Changed the tooltip to document this.
2002-05-03 12:45:22 +00:00
Nate Summers
69ccb4d370
massive tool plugin changes
2002-03-29 03:50:29 +00:00
Sven Neumann
fe96c95524
app/core/core-enums.h more enum cleanup (GimpOffsetType, MergeType).
...
2002-03-18 Sven Neumann <sven@gimp.org>
* app/core/core-enums.h
* app/core/core-types.h: more enum cleanup (GimpOffsetType, MergeType).
* app/core/gimpdrawable-offset.c
* app/core/gimpimage-merge.[ch]
* app/gui/image-commands.c
* app/gui/layers-commands.c
* app/gui/offset-dialog.c
* tools/pdbgen/pdb/image.pdb: changed accordingly.
* app/pdb/drawable_cmds.c
* app/pdb/image_cmds.c
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/enums.pl: regenerated.
2002-03-18 17:24:52 +00:00
Michael Natterer
952353698f
Forgot some gint opacity values:
...
2002-03-04 Michael Natterer <mitch@gimp.org>
Forgot some gint opacity values:
* app/core/gimplayer.[ch]: layer->opacity, gimp_layer_new(),
gimp_layer_new_from_tiles()
* app/core/gimpimage-projection.[ch]: gimp_image_projection_opacity()
* app/core/gimpdrawable-transform.c
* app/core/gimpedit.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-new.c
* app/core/gimpimage.c
* app/core/gimplayer-floating-sel.c
* app/gui/layers-commands.c
* app/tools/gimptexttool.c
* app/widgets/gimplayerlistview.c
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c
* tools/pdbgen/pdb/layer.pdb: changed accordingly.
* app/pdb/layer_cmds.c
* libgimp/gimplayer_pdb.c: regenerated.
2002-03-04 14:52:54 +00:00
Michael Natterer
cdf2a90b03
app/core/Makefile.am app/core/core-types.h new base class for something
...
2002-02-25 Michael Natterer <mitch@gimp.org>
* app/core/Makefile.am
* app/core/core-types.h
* app/core/gimpitem.[ch]: new base class for something which is a
child of an image, has a PDB ID, a tattoo, parasites and emits
a "removed" signal.
* app/core/gimpdrawable.[ch]
* app/vectors/gimpvectors.[ch]: derive from GimpItem. Removed
lots of stuff from GimpDrawable.
* app/core/gimp.[ch]: changed gimp->drawable_table and
gimp->next_drawable_ID to gimp->item_table and gimp->next_item_id.
* app/undo.[ch]: s/undo_push_drawable_parasite/undo_push_item_parasite/,
minor cleanups.
* app/core/gimplayer.[ch]: changed gimp_layer_new_from_tiles() and
gimp_layer_new_from_drawable() to take the "dest_gimage" as
second, not first parameter.
* app/image_map.c
* app/core/gimpchannel.c
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpdrawable-histogram.c
* app/core/gimpdrawable-offset.c
* app/core/gimpdrawable-preview.c
* app/core/gimpdrawable-transform.c
* app/core/gimpedit.c
* app/core/gimpimage-duplicate.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-pick-color.c
* app/core/gimpimage.c
* app/core/gimplayer-floating-sel.c
* app/display/gimpdisplayshell-dnd.c
* app/file/file-save.c
* app/gui/channels-commands.c
* app/gui/file-save-dialog.c
* app/gui/layers-commands.c
* app/gui/offset-dialog.c
* app/gui/paths-dialog.c
* app/gui/toolbox.c
* app/paint/gimpairbrush.c
* app/paint/gimpclone.c
* app/paint/gimpconvolve.c
* app/paint/gimpdodgeburn.c
* app/paint/gimperaser.c
* app/paint/gimppaintbrush.c
* app/paint/gimppaintcore.c
* app/paint/gimppencil.c
* app/paint/gimpsmudge.c
* app/plug-in/plug-in.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpbycolorselecttool.c
* app/tools/gimpinktool.c
* app/tools/gimppainttool.c
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c
* app/widgets/gimpdrawablepreview.c: changed accordingly.
* app/widgets/Makefile.am
* app/widgets/widgets-types.h
* app/widgets/gimpitemlistview.[ch]: new widget implementing most
of the stuff formerly done by GimpDrawableListView.
* app/widgets/gimpchannellistview.c
* app/widgets/gimpdrawablelistitem.c
* app/widgets/gimpdrawablelistview.[ch]
* app/widgets/gimplayerlistview.c: changed accordingly.
* app/widgets/gimpdnd.[ch]: added a vectors DND type.
* app/gui/menus.c
* app/gui/dialogs.c
* app/gui/dialogs-constructors.[ch]: added a vectors dialog and
a vectors item_factory.
* app/gui/Makefile.am
* app/gui/vectors-commands.[ch]: new files implementing the
callbacks for the new vectors dialog and item_factory.
* app/pdb/pdb_glue.h: some more ugly hacks to keep intermediate
perl code working...
* tools/pdbgen/pdb.pl: added a vectors type, use GimpItem for all
ID lookups.
* tools/pdbgen/pdb/channel.pdb
* tools/pdbgen/pdb/color.pdb
* tools/pdbgen/pdb/drawable.pdb
* tools/pdbgen/pdb/edit.pdb
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/misc_tools.pdb
* tools/pdbgen/pdb/parasite.pdb
* tools/pdbgen/pdb/selection.pdb
* tools/pdbgen/pdb/selection_tools.pdb: misc changes according to
stuff above.
* app/pdb/channel_cmds.c
* app/pdb/color_cmds.c
* app/pdb/drawable_cmds.c
* app/pdb/edit_cmds.c
* app/pdb/floating_sel_cmds.c
* app/pdb/image_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/misc_tools_cmds.c
* app/pdb/paint_tools_cmds.c
* app/pdb/parasite_cmds.c
* app/pdb/selection_cmds.c
* app/pdb/selection_tools_cmds.c
* app/pdb/text_tool_cmds.c
* app/pdb/transform_tools_cmds.c: regenerated.
2002-02-25 17:58:50 +00:00
Michael Natterer
a3c3e7d3a6
General undo cleanup:
...
2002-02-23 Michael Natterer <mitch@gimp.org>
General undo cleanup:
* app/undo.[ch]: made all undo structs private. Changed all
undo_push_foo() functions to take useful parameters instead of
"gpointer foo_ptr" and create the undo structs internally.
Renamed lots of functions so they are more self-explanatory
(like undo_push_gimage_mod -> undo_push_image_size). Added some
undo functions (channel reordering is undoable now). Never pass
in a UndoType, as they are reseved for groups now (see below).
Lots of cleanup and stuff...
* app/undo_types.h: is a private header now which defines "enum
UndoImplType" which is reserved for actual undo operations.
All enum values are named "FOO_UNDO".
* app/core/core-types.h: added the "UndoType" enum here and don't
include "undo_types.h" any more. The UndoType values are all
named "FOO_UNDO_GROUP" and are reserved for undo groups.
The ID space of actual undo operations and undo groups
is now strictly disjunct.
* app/core/gimpchannel.h
* app/core/gimpimage.h
* app/core/gimplayer.h
* app/core/gimplayermask.h
* app/paint/gimppaintcore.h
* app/tools/gimptransformtool.h: removed undo stuct definitions.
* app/undo_history.c
* app/path_transform.h
* app/core/gimpchannel.c
* app/core/gimpdrawable-transform.c
* app/core/gimpedit.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-qmask.c
* app/core/gimpimage-resize.c
* app/core/gimpimage-scale.c
* app/core/gimpimage.c
* app/core/gimplayer-floating-sel.c
* app/core/gimplayer.c
* app/display/gimpdisplayshell-dnd.c
* app/gui/channels-commands.c
* app/gui/image-commands.c
* app/gui/layers-commands.c
* app/gui/paths-dialog.c
* app/paint/gimppaintcore.c
* app/tools/gimpbezierselecttool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimpmovetool.c
* app/tools/gimptexttool.c
* app/tools/gimptransformtool.c
* tools/pdbgen/pdb/guides.pdb
* tools/pdbgen/pdb/layer.pdb
* tools/pdbgen/pdb/undo.pdb: changed accordingly.
* app/pdb/guides_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/undo_cmds.c: regenerated.
* app/core/gimpimage.[ch]: added infrastructure for holding a
GimpList of GimpVectors objects. The API is the same as for layers
and channels. Not used yet.
2002-02-23 17:29:19 +00:00
Michael Natterer
9f9fa587ec
app/Makefile.am removed...
...
2002-02-21 Michael Natterer <mitch@gimp.org>
* app/Makefile.am
* app/floating_sel.[ch]: removed...
* app/core/Makefile.am
* app/core/gimplayer-floating-sel.[ch]: ...and added here.
* app/undo.c
* app/core/gimpdrawable-transform.c
* app/core/gimpedit.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-crop.c
* app/core/gimpimage-duplicate.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-projection.c
* app/core/gimpimage-qmask.c
* app/core/gimpimage-resize.c
* app/core/gimpimage-scale.c
* app/core/gimpimage.c
* app/core/gimplayer.c
* app/gui/layers-commands.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpfreeselecttool.c
* app/tools/gimpmovetool.c
* app/tools/gimprectselecttool.c
* app/tools/gimptexttool.c
* app/tools/gimptransformtool.c
* app/xcf/xcf-load.c
* app/xcf/xcf-save.c
* plug-ins/tools/common/gimpbrushselecttool.c
* tools/pdbgen/pdb/floating_sel.pdb
* tools/pdbgen/pdb/layer.pdb: changed includes accordingly.
* app/pdb/floating_sel_cmds.c
* app/pdb/layer_cmds.c: regenerated.
2002-02-21 22:19:45 +00:00
Michael Natterer
65d3b34d15
removed gimp_layer_has_alpha(), use gimp_drawable_has_alpha() instead.
...
2002-01-31 Michael Natterer <mitch@gimp.org>
* app/core/gimplayer.[ch]: removed gimp_layer_has_alpha(), use
gimp_drawable_has_alpha() instead.
* app/core/gimpimage-convert.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-projection.c
* app/display/gimpdisplayshell.c
* app/gui/layers-commands.c: changed accordingly.
* app/core/gimpimage.[ch]: added gimp_image_has_alphe(), made some
variable names more verbose and use enum types instead of "gint"
in functions calling initial_region() and combine_regions().
* app/widgets/gimpchannellistview.c: show an alpha channel preview
only if the image has alpha.
* app/widgets/gimppreview.c: reordered functions,
gimp_preview_render_and_flush(): fixed channel preview rendering,
calculate the component byte offsets before entering the render
loop instead of duplicating the render code for the gray/alpha
case.
2002-01-31 16:47:20 +00:00
Michael Natterer
3726976963
added GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and
...
2001-12-14 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage.[ch]: added
GIMP_IMAGE_TYPE_IS_[RGB|GRAY|INDEXED]() and
GIMP_IMAGE_TYPE_BASE_TYPE() macros.
* app/plug-in/plug-in.[ch]: new enum PlugInImageType instead of
multiple #defines.
* app/gui/file-dialog-utils.[ch]: file_dialog_update_menus(): take
a GimpImageType instead of the PlugInImageType.
* app/core/gimpdrawable-preview.c
* app/core/gimpdrawable-transform.c
* app/core/gimpdrawable.c
* app/core/gimpimage-contiguous-region.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimplayermask.c
* app/core/gimppalette-import.c
* app/display/gimpdisplay-handlers.c
* app/display/gimpdisplayshell-render.c
* app/gui/file-save-dialog.c
* app/gui/toolbox.c
* app/tools/gimpclonetool.c
* app/tools/gimpcolorpickertool.c
* tools/pdbgen/pdb/convert.pdb
* tools/pdbgen/pdb/image.pdb: use the new macros, cleanups like
storing GimpImageType in GimpImageType variables, not just gint.
* app/pdb/convert_cmds.c
* app/pdb/image_cmds.c: regenerated.
* app/widgets/gimpdialogfactory.c: save the state of the "Auto"
button in sessionrc.
2001-12-14 15:30:31 +00:00
Sven Neumann
03a6c04419
app/base/base-enums.h moved all remaining enums to base-enums.h
...
2001-12-11 Sven Neumann <sven@gimp.org>
* app/base/base-enums.h
* app/base/base-types.h: moved all remaining enums to base-enums.h
* app/core/core-enums.h
* app/core/core-types.h: moved GimpImageType to core-enums.h and
changed the values from RGB_GIMAGE to GIMP_RGB_IMAGE and the like.
* app/core/gimpchannel.c
* app/core/gimpdrawable-preview.c
* app/core/gimpdrawable-transform.c
* app/core/gimpdrawable.c
* app/core/gimpimage-contiguous-region.c
* app/core/gimpimage-convert.c
* app/core/gimpimage-mask.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-new.c
* app/core/gimpimage-projection.c
* app/core/gimpimage.[ch]
* app/core/gimplayer.c
* app/core/gimplayermask.c
* app/core/gimppalette-import.c
* app/display/gimpdisplayshell-dnd.c
* app/display/gimpdisplayshell-render.c
* app/gui/file-save-dialog.c
* app/gui/toolbox.c
* app/plug-in/plug-in.c
* app/tools/gimpblendtool.c
* app/tools/gimpcolorpickertool.c
* app/tools/gimpdodgeburntool.c: changed accordingly.
* tools/pdbgen/Makefile.am: no need to parse app/base/base-types.h
any longer.
* app/pdb/color_cmds.c
* app/pdb/drawable_cmds.c
* app/pdb/layer_cmds.c
* app/pdb/paint_tools_cmds.c
* tools/pdbgen/enums.pl: regenerated.
2001-12-11 18:11:56 +00:00