* 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.
2004-12-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp.c (blur_line): fixed the degenerate case
where the source image is smaller than the blurred area. This used
to give artefacts at the borders.
2004-12-21 Sven Neumann <neumann@jpk.com>
* plug-ins/common/unsharp.c: reverted the last change since it
introduced artefacts. Even had to increase the border around the
previewed area. Fixed a bug in the unsharp_region where it was
using the wrong source region for blurring.
2004-12-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp.c (preview_update): fixed bug #157910.
More code cleanup and some trivial optimizations.
2004-12-21 Michael Natterer <mitch@gimp.org>
* app/actions/gradient-editor-actions.c
(gradient_editor_actions_update): if the dialog is insensitive,
disable all actions which modify the gradient. Fixes bug #161411.
* app/actions/gradient-editor-commands.c: update the UI manager
after setting the dialog sensitive/insensitive so te above works.
2004-12-20 Sven Neumann <sven@gimp.org>
* libgimp/gimpdrawablepreview.c (gimp_drawable_preview_draw_region):
unset the dirty flag on the GimpPixelRgn used to iterate the region.
* libgimp/gimppixelrgn.c (gimp_pixel_rgn_init): improved docs.
2004-12-20 Sven Neumann <sven@gimp.org>
* configure.in: bumped version to 2.2.1.
* plug-ins/FractalExplorer/FractalExplorer.c: applied patch from
Yeti that fixes a memory corruption (bug #161729).
2004-12-18 Sven Neumann <sven@gimp.org>
* app/dialogs/resize-dialog.c: free the dialog's private data
struct using a weak reference, not in a "destroy" handler. Should
fix bug #161472.
* app/dialogs/print-size-dialog.c
* app/dialogs/scale-dialog.c: same change here.
2004-12-17 Sven Neumann <sven@gimp.org>
* app/tools/gimpmovetool.c (gimp_move_tool_cursor_update): don't
use the rect-select cursor if the tool is in move-layer mode.
Spotted by Joao S. O. Bueno, bug #161465.
2004-12-17 Simon Budig <simon@gimp.org>
* app/tools/gimpcurvestool.c: Kill some nonsensical code that
tried to set control points in a free form curve based on the
image coordinates (huh?). Untabbified.
2004-12-17 Sven Neumann <sven@gimp.org>
* app/tools/gimpimagemaptool.c (gimp_image_map_tool_pick_color):
take drawable offsets into account. Fixes bug #161508.
2004-12-17 Simon Budig <simon@gimp.org>
* data/images/gimp-splash.png: Added new splash by
Bill Luhtala <bluhtala@telus.net>.
* data/images/gimp-logo.png: Added new Image for the about dialog
by Philip Lafleur <deathpudding@gmail.com>.
* app/dialogs/about-dialog.c: Adjusted text colors and placement
to the new image.
* data/images/gimp2_0_logo.png
* data/images/gimp2_0_splash.png: Added for historical reasons.
* data/images/gimp_logo.png: Removed (renamed to gimp-logo.png)
* data/images/Makefile.am: changed accordingly.