2004-12-31 Michael Natterer <mitch@gimp.org>
* app/actions/tools-actions.c
* app/actions/tools-commands.[ch]
* app/widgets/gimptoolview.[ch]: applied a (modified) patch from
Joao S. O. Bueno which adds "raise" and "lower" actions and
their buttons in the tool dialog. Fixes bug #158666.
Cleaned up the tool action callbacks.
2004-12-31 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_preview.c (render_rgb_image): use the proper
image type and rowstride. Fixes bug #162592.
2004-12-29 Sven Neumann <sven@gimp.org>
* app/dialogs/file-save-dialog.c (file_save_dialog_response):
handle a NULL return value from gtk_file_chooser_get_uri(). Fixes
bug #162443.
* plug-ins/gfig/gfig-rectangle.[ch]
* plug-ins/gfig/images/stock-rectangle.png: news files to implement a
rectangle tool to gfig.
* plug-ins/gfig/gfig-stock.c
* plug-ins/gfig/gfig-stock.h
* plug-ins/gfig/Makefile.am: modified accordingly.
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: modified to support the new shape and
implement two new filling types: vertical and horizontal gradients.
These gradients are imho much more useful than the shapeburst one.
* plug-ins/common/compose.c: Recompose did not properly
handle case where layer with alpha is decomposed into
something that does not encode alpha -- now does.
2004-12-28 Michael Natterer <mitch@gimp.org>
* app/base/base-enums.[ch]: added translatable strings to the
GimpLayerModeEffects enum because they will soon disappear from
widgets/gimpwidgets-constructors.c
* plug-ins/common/compose.c: add "Recompose" (plug_in_recompose)
as described on dev mailing list.
* plug-ins/common/decompose.c: add "decompose-data" parasite
when decoposing, to support Recompose. Also add missing
alpha channels to newly produced layers
2004-12-28 Sven Neumann <sven@gimp.org>
* libgimp/gimp.[ch] (gimp_install_procedure, gimp_install_temp_proc):
renamed menu_path parameter to menu_label and added a pointer to
gimp_plugin_menu_register()
* app/widgets/gimpsizebox.c (gimp_size_box_constructor): removed
unused variables.
2004-12-28 Sven Neumann <sven@gimp.org>
* app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask):
reverted Bill's change since it is obviously not the right fix.
Allocate the array larger to avoid the crash. We need to
investigate bug #161323 further.
2004-12-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/colortoalpha.c: if possible, use
gimp_preview_draw_buffer() so that the selection mask is correctly
previewed. Minor cleanups.
2004-12-27 Sven Neumann <sven@gimp.org>
* libgimp/gimpregioniterator.c: added some checks to avoid
division by zero.
* libgimpwidgets/gimppreviewarea.[ch]: minor cleanups, improved
API documentation.
* app/core/gimpbrush.c: don't ask for preview with
zero width or height, fixes bug #162232.
* app/base/brush-scale.c: remove tabs and trailing
whitespace.
2004-12-25 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/weave.scm: limit the "Thread
intensity" parameter to [0..100] because it's used as layer
opacity. Fixes bug #162182.
* app/actions/documents-commands.c
* app/actions/file-commands.c
* app/dialogs/file-open-dialog.c
* app/dialogs/file-open-location-dialog.c
* app/display/gimpdisplayshell-dnd.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimptoolbox-dnd.c: replace % with space
in file name before showing error message,
fixes bug #162147.
* app/core/gimp-gui.c
* app/widgets/gimpmessagebox.c: be a bit more paranoid
about validating utf8 for messages.
* plug-ins/common/cartoon.c
* plug-ins/common/cubism.c
* plug-ins/common/displace.c
* plug-ins/common/dog.c
* plug-ins/common/emboss.c
* plug-ins/common/engrave.c
* plug-ins/common/gauss.c
* plug-ins/common/glasstile.c
* plug-ins/common/neon.c
* plug-ins/common/noisify.c
* plug-ins/common/oilify.c
* plug-ins/common/photocopy.c
* plug-ins/common/ripple.c
* plug-ins/common/sharpen.c
* plug-ins/common/shift.c
* plug-ins/common/sobel.c
* plug-ins/common/softglow.c
* plug-ins/common/spread.c
* plug-ins/common/tileit.c
* plug-ins/common/whirlpinch.c: make sure tile cache is allocated
before preview is shown -- significant speedup in some cases,
minimal in others.
* plug-ins/common/sel_gauss.c: give it a tile cache (didn't
have one). Still very slow but a little better.
2004-12-24 Sven Neumann <sven@gimp.org>
* plug-ins/common/despeckle.c (despeckle_median): don't call
gimp_progress_update() for each and every pixel. Every few rows
should be enough. Fixes bug #162129.
* plug-ins/common/blur.c: set progress to 1.0 when done, not to 100.
* gimp/app/widgets/gimpsizebox.c: use gimp_coordinates_new()
instead of duplicating a lot of code. Fixes bug #161756.
* gimp/app/widgets/gimppropwidgets.c: small change in
chainbutton handling to make above work.
2004-12-23 Michael Natterer <mitch@gimp.org>
Item conversion depends on the old *and* the new item type, so
it can't live in the old item's vtable only:
* app/core/gimpitem.[ch]: split GimpItem::convert() into
GimpItem::convert_from() (which is called on the old item and
creates the new item) and GimpItem::convert_to() (which is called
on the new item). This way functions from the old *and* new items'
vtables are called and it's possible to convert between item types
which live on different branches of the class hierarchy or to item
types which live further down the class tree than the old item.
(gimp_item_convert): call ::convert_to() on the new item created
by ::convert_from().
* app/vectors/gimpvectors.c: changed ::convert() implementation
to ::convert_from().
* app/core/gimplayer.c: changed ::convert() to ::convert_to().
Fixes bug #161877.
2004-12-22 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/asc2img.scm: removed this script as it
is broken beyond repair and the functionality is provided by the
text tool itself.
2004-12-22 Sven Neumann <sven@gimp.org>
* NEWS: added NEWS for the stable branch (no, we haven't branched
yet).
* Makefile.am
* NEWS.pre-2.2: moved old NEWS here.