2004-03-29 Michael Natterer <mitch@gimp.org>
* plug-ins/common/guillotine.c (guillotine): Don't just skip
guides at the image edges but any guide which is at a position we
already remembered. Should catch all instances of bug #138312 this
time.
2004-03-28 Sven Neumann <sven@gimp.org>
* plug-ins/ifscompose/ifscompose.c: applied patch from David Necas
that updates the sensitivity of the Delete button and menu entry.
Fixes bug 138212#.
2004-03-28 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/slide.scm: applied a (modified) patch
from Nils Philippsen that fixes bug #138310.
2004-03-28 Michael Natterer <mitch@gimp.org>
* plug-ins/common/guillotine.c (guillotine): applied a (modified)
patch from Joao S. O. Bueno which removes any guides from the
cropped images. Fixes bug #138314.
Skip guides which are at the image's edges because the algorithm
already assumes that there are always guides at these positions.
Fixes bug #138312.
2004-03-23 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/scripts/alien-glow-arrow.scm
* plug-ins/script-fu/scripts/beveled-pattern-arrow.scm: Make
helper functions local to the scripts. The better fix for
bug #136868. Should also be done for a lot of other scripts,
but is too likely to introduce new bugs to do this now.
2004-03-23 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/scripts/alien-glow-arrow.scm: fixed
utility function rotate-points. Only worked sometimes by
accident, probably because beveled-pattern-arrow.scm implemented
a function of the same name correctly and all scripts share
a common namespace.
Fixes bug #136868.
2004-03-18 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c: applied a patch from
Kevin Cozens that slightly alters the Script-Fu console output.
2004-03-18 Michael Natterer <mitch@gimp.org>
* plug-ins/common/CML_explorer.c
* plug-ins/common/gtm.c: changed procedure names to be all
lowercase so 2.0 ships with a sane namespace and doesn't give bad
examples to plug-in authors.
2004-03-18 Sven Neumann <sven@gimp.org>
Added support for localized help (bug #136996). Will need some
minor touches to improve error reporting but basically it works.
* plug-ins/help/Makefile.am
* plug-ins/help/help.h: new file with common defines.
* plug-ins/help/help.c
* plug-ins/help/locales.c: include help.h, made debugging output
optional.
* plug-ins/help/domain.[ch]: added a hash table with locales for
each help domain.
2004-03-18 Sven Neumann <sven@gimp.org>
* plug-ins/help/Makefile.am
* plug-ins/help/locales.[ch]: new files with code to handle locales.
* plug-ins/help/help.c: changed accordingly.
* plug-ins/help/domain.[ch]: added support for a fallback URL to
handle missing help content. i18n support is missing still.
2004-03-16 Simon Budig <simon@gimp.org>
* app/gui/plug-in-commands.c: Update the Plugin Menu immediately
after setting the last invoked plugin. Fixes inconsistencies
between name shown and plugin invoked.
Fixes#136909, #137242 and #81479 (again, the fix in
lightening_main.c only probably was bogus, since this must not
rely on correctly written plugins).
* plug-ins/common/compose.c
* plug-ins/common/decompose.c
* plug-ins/common/film.c
* plug-ins/common/screenshot.c
* plug-ins/common/smooth_palette.c
* plug-ins/common/tile.c
* plug-ins/fits/fits.c: Ensure that each gimp_image_undo_enable()
had a gimp_image_undo_disable() first...
2004-03-14 Simon Budig <simon@gimp.org>
* plug-ins/common/jpeg.c: No need to use an undo_group *and*
freeze/thaw an image. Just using the latter keeps the undo
history ok in both directions. Also call gimp_displays_flush()
to make sure the undo keyboard shortcuts are enabled after the
plugin ends.
2004-03-13 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/script-fu/scripts/carve-it.scm
* plug-ins/script-fu/scripts/chrome-it.scm
* plug-ins/script-fu/scripts/crystal-logo.scm
* plug-ins/script-fu/scripts/sota-chrome-logo.scm: Fixed to avoid
pasting to a layer that was not added to any image. This was causing
the scripts to abort, because gimp-edit-paste is now failing in that
case.
2004-03-12 Michael Natterer <mitch@gimp.org>
Cleaned up the remaining libgimp API issues:
* libgimp/gimppixelfetcher.[ch] (enum GimpPixelFetcherEdgeMode):
added new enum value GIMP_PIXEL_FETCHER_EDGE_BACKGROUND so we
can actually use the bg_color feature of the GimpPixelFetcher.
(gimp_pixel_fetcher_new): added "gboolean shadow" parameter
because it must not change while the GimpPixelFetcher exists.
(gimp_pixel_fetcher_set_shadow): removed.
(gimp_pixel_fetcher_set_bg_color): added "GimpRGB *color"
parameter and don't call gimp_palette_get_foreground().
(gimp_pixel_fetcher_get_pixel): handle BACKGROUND mode. Cleaned up
the function.
(gimp_get_bg_guchar)
(gimp_get_fg_guchar): removed these functions...
* libgimp/gimpdrawable.[ch]: ...and added
gimp_drawable_get_color_uchar() instead.
* libgimp/gimp.def
* plug-ins/common/blinds.c
* plug-ins/common/checkerboard.c
* plug-ins/common/cubism.c
* plug-ins/common/curve_bend.c
* plug-ins/common/displace.c
* plug-ins/common/edge.c
* plug-ins/common/illusion.c
* plug-ins/common/mblur.c
* plug-ins/common/mosaic.c
* plug-ins/common/plasma.c
* plug-ins/common/polar.c
* plug-ins/common/ripple.c
* plug-ins/common/shift.c
* plug-ins/common/spread.c
* plug-ins/common/tileit.c
* plug-ins/common/whirlpinch.c
* plug-ins/gflare/gflare.c
* plug-ins/libgimpoldpreview/gimpoldpreview.c: changed accordingly.
(Didn't test the changed plug-ins because I wanted to get this
API change into CVS as soon as possible)
2004-03-12 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
applied a patch from Kevin Cozens that improves Script-Fu error
reporting (addresses bug #73610).
2004-03-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/colortoalpha.c: when running in interactive
mode, get the foreground color after restoring the parameters from
the last run.
2004-03-09 Sven Neumann <sven@gimp.org>
Finished some work that Brix started on the help system. It's
now possibly to use an external web-browser for context help
(bug #136081):
* configure.in
* plug-ins/Makefile.am
* plug-ins/help/Makefile.am
* plug-ins/help/domain.[ch]
* plug-ins/help/help.c: new plug-in that does the help domain
management. Most of this used to live in the helpbrowser plug-in.
* plug-ins/helpbrowser/Makefile.am
* plug-ins/helpbrowser/domain.[ch]: removed these two files here.
* plug-ins/helpbrowser/helpbrowser.c: changed accordingly.
* app/widgets/gimphelp.c: use the new help plug-in.
2004-03-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/plasma.c (add_random): check random range before
calling g_rand_int_range(). Fixes bug #136321.
2004-03-05 Sven Neumann <sven@gimp.org>
* plug-ins/libgimpoldpreview/gimpoldpreview.c: include
stdplugins-intl.h so that "Preview" ends up in the plug-in
translation domain (bug #136303).
2004-03-04 Simon Budig <simon@gimp.org>
* plug-ins/common/animationplay.c: Display Frame numbers from
1 to n instead of 0 to n-1. Less confusing for the user.
Fixes bug #136124
2004-03-02 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/bumpmap.c (bumpmap): Fix handling of positive Y
displacements of the bumpmap. Thanks to Joao S.O. Bueno for
tracking this. Fixes bug #135866.
2004-02-20 Manish Singh <yosh@gimp.org>
* plug-ins/common/pygimp/gimpfu.py: Do some simple validation on the
GUI input. Arrays are still kinda hokey though. Based on Dave Neary's
patch, addresses bug #122049.
* plug-ins/common/pygimp/plug-ins/sphere.py: Make sure radius is at
least 1. Thanks to Florian Traverse for noticing. (Also in #122049)
2004-02-20 Simon Budig <simon@gimp.org>
* plug-ins/common/lic.c: fixed crash when the effect image
is smaller than the target drawable. Major code overhaul (not
yet fully completed), removed global variables, removed
micro-functions that itself just invoke micro-functions, use
more libgimpcolor functions.
Slightly improved the algorithm by adding small random
distorsions to the effect image. This avoids artefacts in plain
areas.
2004-02-19 Simon Budig <simon@gimp.org>
* plug-ins/common/lic.c: fixed gimp_dialog_new invocation.
Also fixed a blatant error in the algorithm (GimpRGB has a
range from 0..1 for each component...) and now the plugin
actually does something useful.
2004-02-17 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/pagecurl/pagecurl.c: Corrected the pairing of
gimp_drawable_get/gimp_drawable_detach and other cleanups.
(do_curl_effect): Fixed a bug spotted by Simon Budig: uninitialized
data could be exposed when applying the effect to non-rectangular
selections.
2004-02-16 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig.c (gfig_response): set the Undo button
insensitive, not the whole dialog (bug #134419). Also start the
dialog with the Undo button set insensitive.
2004-02-13 Manish Singh <yosh@gimp.org>
* plug-ins/common/psd.c (load_image): Initialize dest to NULL,
make it so the temp variable use for PANOTOOLS_FIX is only declared
when it is enabled.
* 2004-02-12 / v3.0.14 / Adam D. Moss
* Fix a twisted utf8-obsessive bug diagnosed by
* Piotr Krysiuk <KrysiukP@prokom.pl>
*
* 2004-01-06 / v3.0.13 / Adam D. Moss
* Disable one of the PanoTools fixes by default, since it causes
* regressions in some ordinary PSD file loading.
*
* 2004-01-06 / v3.0.12 / Adam D. Moss
* Try to avoid 0-sized drawables (including channels) in all
* circumstances under GIMP 2.
*
* 2004-01-01 / v3.0.11 / Daniel Rogers <dsrogers@phaseveloctiy.org>
* GIMP crashes on 0x0 layers, so we skip them.
2004-02-09 Simon Budig <simon@gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm: Fixed Undo
handling, make sure that the bumpmap is big enough to
avoid artefacts.
Fixes bug #130636.