2004-03-29 Manish Singh <yosh@gimp.org>
* plug-ins/common/jpeg.c (struct my_error_mgr): Move setjump_buffer
to the beginning of the structure, to make sure it is aligned on a
16-byte boundary for ia64, even with icc. Fixes#138357.
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 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-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-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-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-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-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-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 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-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.
* plug-ins/common/tiff.c: applied a modified patch from Pablo
d'Angelo, which add support for tiff layer names when the name is 7
bits clean.
Fixes bug #131044
2004-02-01 Michael Natterer <mitch@gimp.org>
Reworked random seed handling once more:
* libgimpwidgets/gimpwidgets.c (gimp_random_seed_new): make sure
the displayed random seed value is always the one which will be
used, whether "Randomize" is checked or not.
* plug-ins/common/blur.c
* plug-ins/common/plasma.c
* plug-ins/common/randomize.c
* plug-ins/common/sinus.c
* plug-ins/common/snoise.c
* plug-ins/maze/algorithms.c
* plug-ins/maze/maze.c: if running interactively, always take
the seed value produced by the gimp_random_seed widget and don't
touch it because the widgets honors the "randomize" toggle
correctly now.
For noninteractive and last_vals runs, look at the "randomize"
boolean and generate a seed if it is TRUE.
Initialize the random number generators from the seed determined
by either of the above ways and don't fiddle with it in the inner
algorithms itself.
* plug-ins/gflare/gflare.c (plugin_run): initialize the GRand
from the seed unconditionally.
(ed_make_page_sflare): no need to get the entry from the random
seed widget to get its adjustment. Instead get the adjustment
directly.
(The random handling code of gflare looks somewhat broken, but
that applies to the whole plug-in).
2004-02-01 Dave Neary <bolsh@gimp.org>
* libgimpwidgets/gimpwidgets.c
* libgimpwidgets/gimpwidgets.h: Modify random seed widget to
allow the user to specify that a seed should be chosen
randomly for them (useful to allow re-running random plug-ins
several times to get several different results).
* plug-ins/common/blur.c
* plug-ins/common/plasma.c
* plug-ins/common/randomize.c
* plug-ins/common/sinus.c
* plug-ins/common/snoise.c
* plug-ins/gflare/gflare.c
* plug-ins/maze/algorithms.c
* plug-ins/maze/maze.c
* plug-ins/maze/maze.h
* plug-ins/maze/maze_face.c: Changed appropriately.
This fixes bug #129529.
2004-01-31 Raphaël Quinet <quinet@gamers.org>
* plug-ins/common/tiff.c (tiff_warning, tiff_error): Do not
display the warning message about unknown tags for unregistered
private tags (>= 32768). Fixes bug #131975. Do not display the
error message about random access not supported for images using
JPEG compression. Fixes bug #132297. It would be better to allow
the user to customize which messages should be displayed or not,
but this can be done in a future release.
2004-01-28 Dave Neary <bolsh@gimp.org>
* plug-ins/common/tiff.c: Removed duplicate TIFF entry from save
dialog, and made the save handler point to the one that doesn't
pre-multiply by alpha. Reported on gimp-user by misfit-x. Also
changed default value to not destroy data on save.
2004-01-27 Manish Singh <yosh@gimp.org>
* plug-ins/common/plugindetails.c: removed unused variable.
* plug-ins/common/nlfilt.c: declare nlfiltRow as inline in the
function definition as well.
2004-01-27 Dave Neary <bolsh@gimp.org>
* plug-ins/common/tiff.c: Apply patch from Andrey Kiselev to
improve defaults when there is no photometric specified for
CCITT encoded tiffs. Closes bug #131902.
2004-01-25 Manish Singh <yosh@gimp.org>
* plug-ins/common/postscript.c: use GSpawn instead of popen, -dBATCH,
fixes#108659 for this plugin. Thanks to Peter Kirchgessner for the
patch.
2004-01-23 Simon Budig <simon@gimp.org>
* plug-ins/common/mosaic.c: properly use src_rgn.rowstride when
initializing the target region. Fixes bug #132271.
2004-01-22 Michael Natterer <mitch@gimp.org>
* plug-ins/common/gbr.c
* plug-ins/common/pat.c: store the brush/pattern's name in a
parasite attached to the image. The parasite overrides the
RUN_WITH_LAST_VALS logic if it exists. Consistently set the
description as the layer's name, but ignore the layer's name
when saving because it may have been modified by exporting.
Fixes bug #131450.
Misc. cleanup/fixes: Don't assume that strncpy() nul-terminates
the buffer, use sizeof() instead of magic numbers, sanitize
descriptions using gimp_any_to_utf8(), always use strncpy()
instead of strcpy().
* devel-docs/parasites.txt: document the "gimp-brush-name" and
"gimp-pattern-name" parasites.
2004-01-21 Manish Singh <yosh@gimp.org>
* configure.in: modernized, made a lot of things m4 macros, and made
versioning a lot more finegrained, in anticipation for post-2.0.
* autogen.sh: bumped up libtool and glib minimum requirements to match
reality.
* gimp-2.0.pc.in
* gimpthumb-2.0.pc.in
* gimpui-2.0.pc.in: adapted to new versioning variables, and bring
in RT_LIBS when needed.
* */*/Makefile.am: adapted to new versioning variables.
2004-01-20 Michael Natterer <mitch@gimp.org>
* app/widgets/gimphelp-ids.h: added help IDs for the libgimp
export and unit dialogs.
* libgimp/gimpexport.c
* libgimpwidgets/gimpunitmenu.c: replaced html links by the new
help IDs.
* plug-ins/*/*.c: replaced all html help links by help IDs. A
plug-in's help ID is its procedure name with '_' relaced by '-'.
(e.g. file_tiff_save's help ID is file-tiff-save)
Did some random indentation and whitespace cleanup.
2004-01-20 Michael Natterer <mitch@gimp.org>
* plug-ins/common/mail.c
* plug-ins/common/mng.c: use more already translated standard file
error messages. Some cleanup.
2004-01-19 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/ccanalyze.c (analyze): Call gimp_drawable_detach()
after gimp_drawable_get() to plug a leak.
2004-01-19 Michael Natterer <mitch@gimp.org>
* plug-ins/common/bz2.c
* plug-ins/common/gz.c
* plug-ins/common/hrz.c
* plug-ins/common/pnm.c
* plug-ins/sgi/sgi.c: marked some forgotten strings for
translation and use translated standard file error messages (no
new strings introduced), some indentation and cleanup.
2004-01-19 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/compose.c (compose)
* plug-ins/common/decompose.c (decompose): fixed a lack of refresh
in the layer previews by adding calls to gimp_drawable_update()
where appropriate. Removed redundant gimp_drawable_flush() calls.
2004-01-16 Dave Neary <bolsh@gimp.org>
* plug-ins/common/tiff.c: Apply a (modified) patch from Pablo
d'Angelo to enable saving of a non-premultiplied alpha channel
and provide an UI to use it (a checkbox and extra PDB
procedure). Fixes bug #131030.