2000-11-29 Austin Donnelly <austin@gimp.org>
* app/curves.c: Applied patch from David Hodson
<hodsond@ozemail.com.au> to fix Bug#33399: GIMP crashes when
applying curve to Grayscaled image when preview is off.
Previously the curves tool attempted a reset when changing
image, but didn't correctly do this. Now it has the
(more useful) behaviour of doing a partial reset, where the
curve remains the same across multiple invocations, allowing
you to apply the same tweak to multiple images. The internal
state relevant to image type/depth is correctly reset,
stopping the segfault behaviour seen before.
Still no fix for Bug#33403: Curves/Levels Tool does not work
on GRAYA-Images.
2000-11-27 Michael Natterer <mitch@gimp.org>
* libgimp/gimpwidgets.c: use RINT() instead or rint(). Sprinkled
some GPOINTER_TO_INT() and other macros where we used to cast
directly. Minor doc fixes.
2000-11-27 Sven Neumann <sven@gimp.org>
* libgimp/gimpwidgets.c (gimp_int_adjustment_update): use rint().
The old behaviour was broken for neagtive values.
2000-11-27 Austin Donnelly <austin@gimp.org>
* plug-ins/ifscompose/ifscompose.c
* plug-ins/ifscompose/ifscompose_storage.c: Element labels now
properly preserved across multiple runs. Allow run with same
values. This is a partial fix for Bug#9156: bug in ifscompose.
Not all the behaviour described in that bug report could be
reproduced. Thanks to David Hodson <hodsond@ozemail.com.au>
for putting the work in to sort this out and produce the patch.
2000-11-26 Sven Neumann <sven@gimp.org>
* PLUG_IN_MAINTAINERS
* plug-ins/common/unsharp.c: changed email address of Winston Chang
* app/gdisplay_color_ui.c: applied a modified version of another
patch sent by David Odin <David.Odin@bigfoot.com> which sets the
sensitivity of the buttons in the dialog according to the possible
actions.
2000-11-21 Sven Neumann <sven@gimp.org>
* app/gdisplay_color.c
* app/gdisplay_color_ui.c: applied patches proposed by
David Odin <David.Odin@bigfoot.com>. Fixes segfault when removing
a display filter twice.
2000-11-21 Sven Neumann <sven@gimp.org>
* app/gdisplay_color.c
* app/gdisplay_color_ui.c: applied patches proposed by
David Odin <David.Odin@bigfoot.com>. Fixes segfault when removing
a display filter twice.
2000-11-21 Austin Donnelly <austin@gimp.org>
* plug-ins/common/exchange.c: fixed buffer overrun when previewing
an image with alpha that was causing segfaults on Linux.
Fixes Bug#32860.
2000-11-20 Sven Neumann <sven@gimp.org>
* app/convert.c (build_palette_button): changed the logic that sets
the default for "Custom Palette" so it goes through the whole list
instead of stopping at the "Web" palette. The Indexed-Conversion
dialog now also remembers palettes appearing after the "Web" palette.
2000-11-19 Michael Natterer <mitch@gimp.org>
* libgimp/Makefile.am
* libgimp/libgimp.types: #include libgimp-include.c in libgimp.types
instead of passing it on the command line in Makefile.am
* libgimp/libgimp-decl.txt: updated.
2000-11-18 Michael Natterer <mitch@gimp.org>
* plug-ins/rcm/rcm_pixmaps.h: removed.
* plug-ins/rcm/pixmaps/.cvsignore
* plug-ins/rcm/pixmaps/rcm_360.xpm
* plug-ins/rcm/pixmaps/rcm_a_b.xpm
* plug-ins/rcm/pixmaps/rcm_ccw.xpm
* plug-ins/rcm/pixmaps/rcm_cw.xpm: new files.
* plug-ins/rcm/Makefile.am
* plug-ins/rcm/rcm_callback.c
* plug-ins/rcm/rcm_dialog.c: changed accordingly.
The old method was producing warnings because not all pixmaps
were used in all files. Also changed the XPMs a bit now that I
could load them into the GIMP... they are still ugly, though.
2000-11-18 Michael Natterer <mitch@gimp.org>
* plug-ins/print/Makefile.am
* plug-ins/print/print.c: Oops, didn't see Sven's patch when applying
a different one to both sourceforge branches:
Don't define LOCALE in Makefile.am but check if the macro
INIT_I18N_UI exists and use in that case.
2000-11-18 Michael Natterer <mitch@gimp.org>
* app/fileops.c
* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
query_boxes twice or try to disconnect not-any-more connected
handlers.
* app/color_notebook.c
* app/gimpcontext.[ch]
* app/gimphelp.[ch]
* app/lc_dialog.[ch]
* app/menus.h
* app/preferences_dialog.c
* app/tools.[ch]
* libgimp/gimpcolorbutton.[ch]
* libgimp/gimpdialog.[ch]
* libgimp/gimpexport.[ch]
* libgimp/gimpfileselection.[ch]
* libgimp/gimphelpui.[ch]
* libgimp/gimppatheditor.[ch]
* libgimp/gimppixmap.[ch]
* libgimp/gimpsizeentry.[ch]
* libgimp/gimpui.[ch]
* libgimp/gimpunitmenu.[ch]
* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
and many other strings passed to UI functions to (const gchar *).
As a consequence, I had to fix lots of warnings ;)
* plug-ins/common/tga.c
* plug-ins/imagemap/imap_main.c: fixed warnings.
Code cleanup and indentation all over the place.
2000-11-16 Sven Neumann <sven@gimp.org>
* plug-ins/print/Makefile.am
* plug-ins/print/print.c: set the locale to "gimp-std-plug-ins". We
do this by defining LOCALE in the Makefile so the gimp-print people
can define their own value and we can still continue to use the same
C files that ship with the standalone gimp-print package. Thanks to
Zbigniew Chyla <cyba@gnome.pl> for pointing this out.
2000-11-15 Sven Neumann <sven@gimp.org>
* app/fileops.c: we used to g_free memory returned by strdup() here!
Also we used to append DIR_SEPARATORs to the filename shown in the
file_selector even if it already ended in one. Fixed all this, closed
a memleak and cleaned up the code.
2000-11-11 Simon Budig <simon@gimp.org>
* app/interface.c: fixed#10554 by requesting a window
with the max. size of 0.75*screen_width x 0.75*screen_height.
These 75% value is taken from the shrink_wrap code and
probably should be configurable...
2000-11-11 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/gpb.c: Implement the noninteractive run mode for
file_gih_save. Whew, it took some trial-and-error iterations to
figure out how to call this from script-fu, for testing, because
of the int8 and string array args. Include script-fu snippet in
comment for reference.
app/gimpbrushpipe.c
Double frees due to dangling pointers [gimpbrushpipe.c
CVS-1.27 Lines 396 ff]. Upon failure to load an n-th
pixmap, a GPattern holding the dangling pointers would
be released first, also releasing n-1 pixmap's name and
RGB mask. These would again be freed in pipe and GTK
deconstruction.
2000-11-11 Tor Lillqvist <tml@iki.fi>
* plug-ins/gimpressionist/gimpressionist.c (readdirintolist_real,
reselect): Use '/' instead of G_DIR_SEPARATOR. We are scanning a
"preset" file here, with file names always in Unix format. Thanks
to Jean-Louis HAMEL for this fix.
2000-11-09 Michael Natterer <mitch@gimp.org>
* app/fileops.c: added a confirm dialog for <Image>/File/Revert
as suggested by Marc. The old behaviour of simply reverting
withuot asking is questionable because the "Revert" menu item is
directly below "Save as..."
2000-11-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/tile.c (tile): sanity check new width and height.
Wrong values might result in a divide by zero.
2000-11-08 Michael Natterer <mitch@gimp.org>
* plug-ins/common/bz2.c
* plug-ins/common/gz.c
* plug-ins/common/mail.c
* plug-ins/common/screenshot.c
* plug-ins/common/url.c: applied a (modified) version of
gimp-quinet-20001108-1.patch which adds proper checking of the
return value of waitpid(). Removed the lines adding
gimp_signal_private() because of the fix below.
* libgimp/gimp.c: Don't install a SIGCHLD signal handler but simply
call gimp_signal_private(SIGCHLD, SIG_DFL, SA_RESTART) instead.
This is IMHO the right thing to do because the reason for the
introducion of the signal handler was the SA_RESTART feature
and not the handler itself.