2000-10-14 Austin Donnelly <austin@gimp.org>
* plug-ins/common/nlfilt.c: applied patch by David Hodson
<hodsond@ozemail.com.au> to fix Bugs:
#12299 NL Filter: shift by one pixel
#25968 NL Filter gives strange effects when using alpha > 0.5
Slightly changed from original patch to merge in Sven's
changes to nlfilt and correct a memory trampling bug.
* plug-ins/common/blur.c: use double callback for double data.
Why repeat count is a double, we'll never know.
* plug-ins/perl/examples/xachshadow
* plug-ins/perl/examples/xachlego: set non-zero limits on some
parameters.
This patch brought to you by the NT Administators Guild of Austria, and
Marduk the Creator. Go bravely with Anhur!
2000-10-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/ps.c: applied gimp-kirchgessner-001005-0
Check if input filename keeps a space. Then enclose filename
in " or ' before passing to ghostscript. Otherwise it can't be
interpreted.
* tips/gimp_tips.pl.txt
* tools/authorsgen/contributors: applied gimp-art-20000926-0
Updates to the polish translation by Artur Polaczynski
<artie@kmfms.com>
2000-10-04 Michael Natterer <mitch@gimp.org>
* plug-ins/print/*: a fresh snapshot of the CVS version from
sourceforge. Added new files "AUTHORS" and "print-intl.h".
The files are identical now (no need any more to add stuff like
#include "config.h" to make them work in the GIMP tree).
* plug-ins/pygimp/gimpmodule.c (newpfobject): use correct type for
enums.
* plug-ins/pygimp/plug-ins/gtkcons.py (Console.run): set _ after
evaluating a statement, so _ may be used as it is in the python
interpreter.
If I keep this up, I may actually learn Python.
2000-09-21 Tor Lillqvist <tml@iki.fi>
* libgimp/makefile.mingw.in
* app/makefile.mingw.in
* modules/makefile.mingw.in
* plug-ins/makefile.mingw.in: Fix bug in ../config.h rule, cp src
and dest were in wrong order.
* config.h.win32: Remove alloca definition, current <glib.h> now
handles that.
Wed Sep 20 22:40:25 BST 2000 Andy Thomas <alt@gimp.org>
* plug-ins/gfig/gfig.c
Fixed problems since the interface to gimp-drawable-fill() has
changed. Also fixed some GTK warnings when GFig objects were
loaded.
* plug-ins/pdbbrowse.py (pars): Oops. When we did
s/PARAM_/PDB_/, we forgot to do s/6/4/ (the length
of the prefix changed).
* gimpmodule.c: Filter this through remove_cruft,
finishing the libgimp renaming (and further ensuring
that it won't work with older libgimps).
2000-09-07 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/ps.c: Use fopen (xxx, "rb") on all systems. It
is standard C, does no harm on systems where it isn't needed
(Unix).
* libgimp/gimp.c (gimp_extension_process): Use
g_io_channel_win32_poll() instead of
g_io_channel_win32_wait_for_condition().
2000-08-29 Piers Cornwell <piers.cornwell@bigfoot.com>
* plug-ins/Lighting/lighting_ui.c
* plug-ins/Lighting/lighting_preview.h: Make Env and Bumpmap
tabs show all the time and other minor changes.
2000-08-27 Sven Neumann <sven@gimp.org>
* Makefile.am
* configure.in
* po-perl: added new directory po-perl which takes care of
i18n for gimp-perl the standard way. Tweaked pxgettext a little.
* plug-ins/perl/Makefile.PL: disabled use of plug-ins/perl/po.
Marc will take care of either removing the po directory or moving
the new stuff there.
2000-08-25 Tor Lillqvist <tml@iki.fi>
* app/cursorutil.c (gimp_change_win_cursor): Plug memory leak. The
bitmap and mask GdkBitmaps were leaked each time.
* plug-ins/makefile.mingw.in: Really add it this time.
2000-08-25 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/fileops.pdb
* tools/pdbgen/pdb/selection.pdb: added a few more PDB wrappers
* tools/pdbgen/pdb/image.pdb: tweaked the help and blurb strings
* app/image_cmds.c
* libgimp/gimpfileops_pdb.[ch]
* libgimp/gimpimage_pdb.c
* libgimp/gimpselection_pdb.[ch]: regenerated
* 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
* plug-ins/gdyntext/gdyntext.c
* plug-ins/gfig/gfig.c: use new PDB wrappers.
For GDynText this change fixes a bug since it used to use the
wrong number of arguments for gimp_selection_load().
* plug-ins/flame/rect.[ch]: removed compiler warning
2000-08-24 Tor Lillqvist <tml@iki.fi>
* README.win32: Update, tell people the MSVC makefiles are not
up-to-date.
* */makefile.msc: Add warning about being outdated.
* */makefile.cygwin: Remove.
* */makefile.mingw.in: New files replacing the makefile.cygwin files.
* */Makefile.am: Change correspondingly.
* configure.in: Generate corresponding makefile.mingw files.
* app/about_dialog.c: Include <gdk/gdkconfig.h> for
GDK_USE_UTF8_MBS. Add UTF-8 version of a string.
* libgimp/gimp.c: Remove horrible Win32 hack, not needed any longer.
* plug-ins/common/jpeg.c: Use g_message, not g_warning.
* plug-ins/common/winclipboard.c
* plug-ins/common/winprint.c: Remove COMPAT_CRUFT.
* plug-ins/Lighting/lighing_apply.c: Fix for non-interactive mode
bug, supplied by Piet van Oostrum.
* tips/makefile.mingw: New file.
* tips/Makefile.am: Add it.
2000-08-24 Sven Neumann <sven@gimp.org>
* plug-ins/gap/iter_ALT/*/*.inc: removed COMPAT_CRUFT
* libgimp/gimpcompat.h
* libgimp/gimpenums.h
* tools/pdbgen/enumcode.pl: reversed the COMPAT_CRUFT logic:
Default is not to include compatibility definitions. Define
GIMP_ENABLE_COMPAT_CRUFT to make old plug-ins compile against
the 1.2 API.
* plug-ins/print/print_gimp.h: define GIMP_ENABLE_COMPAT_CRUFT
here since we will update gimp-print in a few days anyway.
2000-08-23 Sven Neumann <sven@gimp.org>
* plug-ins/common/threshold_alpha.c: avoid floating point exception
on small images (reported by Steven Grady)
* plug-ins/common/CML_explorer.c
* plug-ins/common/max_rgb.c
* plug-ins/common/nlfilt.c
* plug-ins/common/scatter_hsv.c: same fix here
* configure.in: $srcdir != $builddir fix for GIMP_CONTRIBUTORS
* plug-ins/common/plugin-defs.pl: More tidying up after Daniel Egger
* tools/pdbgen/Makefile.am: parse pdb defs only once for app and lib
* tools/pdbgen/lib.pl
* tools/pdbgen/pdb/procedural_db.pdb: all void rets now return a
boolean for success/failure
-Yosh
2000-08-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/ps.c: applied gimp-kirchgessner-000820-0,
a patch by Peter Kirchgessner which fixes a problem with the
calculation of extent for Mac files (bug report #10547) and
a problem with the loop when not reading all images of a
multipage file.
Sun Aug 20 21:02:22 BST 2000 Austin Donnelly <austin@gimp.org>
* emboss.c
* jigsaw.c
* max_rgb.c
* nlfilt.c
* wind.c
* waves.c: When a radio button in GTK is clicked, the
widget that used to be selected gets a signal as well as the
one that was clicked. Mostly people cope with this by
guarding their signal handers with a check to run to the code
only if the widget is active. However, the callback functions
registered with gimp_radio_group_new2() in the above files
don't have this guard. In most cases, this is a bad idea
since it causes previews to be updated too many times. In the
emboss case it would also get the preview contents wrong when
first displaying the dialog, since the act of
gtk_widget_show()ing the dialog causes an event to be sent to
the widget that's just been de-selected, causing the preview
to redraw while the settings are inconsistent.
* emboss.c: The emboss plugin also used uninitialised data the
first time it is started, which wasn't biting currently, but
might in the future or on other architectures which don't zero
their stacks. Also made active region estimation more robust.
I still haven't been able to reproduce Bug #17660: Embross
plugin crashes, but I will admit that there's what could be
uninitialised memory in the preview bitmap the very first time
it is shown.
2000-08-20 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/Makefile.am
* plug-ins/imagemap/imap_cern_parse.[ch]
* plug-ins/imagemap/imap_csim_parse.[ch]
* plug-ins/imagemap/imap_ncsa_parse.[ch]: recreated from yacc
files and added those files to the distribution. Supposed to
close bugs #8076, #9212 and #10090.
* plug-ins/imagemap/imap_default_dialog.c
* plug-ins/imagemap/imap_file.c
* plug-ins/imagemap/imap_main.c: set help accelerator and window icon.
Thu Aug 17 22:07:50 BST 2000 Andy Thomas <alt@gimp.org>
* plug-ins/sel2path/globals.h
Fixed compilation problems. Some really old compilers had problems
with the macros in sel2path. Thanks to
Dougal_R_Scott@nag.national.com.aui for pointing it out.
* app/layers_dialog.c
Fixes#16583: "new view" not being updated correctly. I still think
theres is a problem in the idle rendering when images that
have multiple views require updating.
I could only get the deleting layers operation
to leave the "other views" out of date. This fix forces the views
to be updates as soon as the layer is deleted. I think this is
acceptable since we are doing a "large scale" operation and the
performance loss by not doing the update in the background is OK.
* plug-ins/common/plugindetails.c
Fixed problem when doing searches for plugins containing a
given string caused gtk warnings to be issued
2000-08-16 Sven Neumann <sven@gimp.org>
* plug-ins/gdyntext/gdyntext_ui.c
* plug-ins/gdyntext/message_window.c: set gimp_help accelerator
on main window and use gimp_dialog_set_icon () on all windows.
2000-08-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/animationplay.c: check if drawable returned
by gimp_drawable_get() is valid. In a lot of cases this prevents
the plug-in from crashing if the user closes the associated
image (as described in bug report #20979).
2000-08-15 Michael Natterer <mitch@gimp.org>
* plug-ins/print/*
* po-plug-ins/POTFILES.in: updated to the current CVS version
from sourceforge (something after 4.0a1).
2000-08-10 Kevin Turner <acapnotic@users.sourceforge.net>
* plug-ins/pygimp/gimpenums.py: This file now autogenerated by
tools/pdbgen/enumcode.pl
* plug-ins/pygimp/gimpfu.py:
* plug-ins/pygimp/gimpmodule.c: renaming fixes for libgimp 1.2
* plug-ins/pygimp/plug-ins/pdbbrowse.py (pars): s/PARAM_/PDB_/
2000-08-09 Kevin Turner <acapnotic@users.sourceforge.net>
* plug-ins/pygimp/gimpmodule.c (chn_getattr): under "layer",
remove the call to gimp_channel_get_layer_id() as this function
does not exist. It would be well for someone who knows pygimp
better than I to review this change, but it keeps pygimp from
being *completely* broken.
* gimpmodule.c (chn_getattr): under "layer", remove the call to
gimp_channel_get_layer_id() as this function does not exist. It
would be well for someone who knows pygimp better than I to review
this change, but it keeps pygimp from being *completely* broken.
2000-08-09 Sven Neumann <sven@gimp.org>
* plug-ins/common/emboss.c: install Emboss with image_type
RGB* since it seems to work well on layers with alpha channel
(despite the preview, but I think we can live with that).
2000-08-07 Sven Neumann <sven@gimp.org>
* plug-ins/gdyntext/gdyntext.[ch]
* lug-ins/gdyntext/gdyntext_ui.c: use a GimpColorButton to select
the text color (fixes bug #5302). Reintended the code so it becomes
readable.
2000-08-02 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.def: Add handful of missing functions, that
gdyntext now uses.
* plug-ins/makefile.cygwin: Move gdyntext from unofficial set to
official.
* plug-ins/gdyntext/font_selection.c: Remove unneeded inclusion of
Xlib.h and gdkx.h.
* plug-ins/gdyntext/gdyntext.c: Use G_PI.
2000-08-01 Sven Neumann <sven@gimp.org>
* libgimp/gimputils.[ch]: added g_strcompress from glib-1.3
* plug-ins/gdyntext/gdyntextutil.[ch]: removed since it duplicated
gimp_strescape and the newly added gimp_strcompress.
* plug-ins/gdyntext/Makefile.am
* plug-ins/gdyntext/gdyntext.[ch]
* plug-ins/gdyntext/gdyntext_ui.c
* plug-ins/gdyntext/gdyntextcompat.c: use the new functions and
got rid of some gimp_run_procedure calls since we now have proper
wrappers in libgimp.
* plug-ins/common/autocrop.c
* plug-ins/common/gif.c
* plug-ins/common/gifload.c
* plug-ins/common/guillotine.c
* plug-ins/common/mail.c
* plug-ins/common/screenshot.c
* plug-ins/common/tile.c
* plug-ins/common/zealouscrop.c
* plug-ins/gflare/gflare.c
* plug-ins/gimpressionist/gimpressionist.c
* plug-ins/pagecurl/pagecurl.c
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu.c: replaced gimp_run_procedure
calls with functions from libgimp that wrap the PDB calls.
Sorry, all this is untested but I will leave tomorrow and hope to
get some hacking done at Mitch's place. So I wanted that stuff to
be in CVS. There are good chances that it works...
2000-07-31 Tor Lillqvist <tml@iki.fi>
* plug-ins/common/gz.c (load_image,save_image): Change Win32
implementation to be a bit simpler. Use minigzip (from zlib)
instead of the full gzip. Intend to include minigzip with the
(binary) distribution.
* libgimp/makefile.{cygwin,msc}
* app/makefile.{cygwin,msc}: Add G_LOG_DOMAIN.
* app/gimpbrushhose.{c,h}: Really remove these files, as
Adrian tried on August 23.
* plug-ins/script-fu/script-fu.c: Enable the script-fu console on
Win32, too.
* plug-ins/script-fu/script-fu-console.c: Now with new GLib
GIOChannel implementaion, compile for Win32, too. Use
g_io_add_watch instead of gdk_input_add (on Unix, too). The
callback for g_io_add_watch is passed a GIOChannel, while the
callback for gdk_input_add is passed a file descriptor. On Win32
(and possibly other non-Unices) we want GIOChannels, as we must
use g_io_channel_read to read from file descriptors being
watched. Works as previously on Unix this way, too.
Sun Jul 30 12:52:16 CEST 2000 Stanislav Brabec <utx@penguin.cz>
* plug-ins/gap/gap_mov_dialog.c: Removed embedded EOLs and spaces from
tooltips, few typos.
Sun Jul 30 12:52:16 CEST 2000 Stanislav Brabec <utx@penguin.cz>
On request of Martin Weber <martweb@gmx.net>:
* plug-ins/sel2path/bitmap.h
* plug-ins/sel2path/bounding-box.h
* plug-ins/sel2path/global.h
* plug-ins/sel2path/math.c
* plug-ins/sel2path/vector.c
* plug-ins/sel2path/vector.h
plug-ins/sel2path has a number of functions that are declared as
returning a `const' return value. The ANSI spec is a bit vague on it,
but my reading of the spec indicates that the intent is that this is
not legal. In any case, at least one compiler (the compiler on AIX and
on IRIX and lcc) objects to functions that are declared/defined to
return a const value.
2000-07-30 Sven Neumann <sven@gimp.org>
* plug-ins/gdyntext/gdyntext_ui.c: use gimp_ui_init(). This also
fixes a bug we had fixed in the latest version but was
reintroduced now by upgrading to 1.5.0. This caused empty text
layers to be drawn when LANG != C. Seems to work fine now.
2000-07-30 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/helpbrowser.c: activate the help page
when clicking into the combo-box displaying the title and use
the webbrowser plug-in (which should call Netscape) to handle
non-local links.
--Sven
2000-07-30 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.c
* libgimp/gimp.h
* libgimp/gimpmenu.c
* libgimp/gimpprotocol.c
* libgimp/gimpprotocol.h
* libgimp/gimp.def
* app/plug_in.c
* plug-ins/helpbrowser/helpbrowser.c
* plug-ins/script-fu/script-fu.c: As the GLib main loop and IO
channel implementation on Win32 now provides the same interface as
that on Unix, much of the Win32-only crap could be
removed. Especially, no need for "wakeup" out-of-band messages to
wake up pipe readers. No need for plug-ins to tell GIMP their
thread id.
* libgimp/gimp.c (gimp_extension_process): On Win32, use the new
g_io_channel_win32_wait_for_condition() function.
* plug-ins/makefile.cygwin: Add the homogenizer plug-in to the
unofficial part.
2000-07-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/decompose.c:
applied gimp-kirchgessner-000728-0, a patch by Peter Kirchgessner
that resolves request #16795 and changes the generated filenames
for decomposed images.
* app/authors.h
* tools/authorsgen/Makefile.am
* tools/authorsgen/authorsgen.pl: works better now
--Sven
Tue Jul 18 23:34:34 BST 2000 Austin Donnelly <austin@gimp.org>
* plugs-ins/common/gif.c: The gif save plugin normally asks the
user if it's ok to crop the image if there are layers larger
than the image size. This isn't a good idea if we're running
with run_mode == NON_INTERACTIVE. Fix similar to that
suggested by Bryan Livingston <bryan@cooltext.com> on
gimp-developer mailing list.
* app/layer.c: Fix for Bug#17347: Scale Layer leaves artifacts.
Basic problem is that scaling a layer when there's a selection
active (eg there's a floating selection) doesn't invalidate
the layer bounds. Same problem with resizing a layer,
although the bug report didn't mention that. Fixed by changing
layer_resize() and layer_scale_lowlevel() to call
layer_invalidate_boundary() once done changing the layer.
2000-07-18 Tor Lillqvist <tml@iki.fi>
* libgimp/gimp.c (gimp_flush): Add horrible hack that seems to
help script-fu startup on NT 4.0, by avoiding some bug in GLib.
Yes, it would be better to fix GLib's main loop and GIOChannel
code for Win32. Unfortunately, it's kinda hairy...
* libgimp/gimp.h: Add extern "C" to the Win32 part for compiling
C++ plug-ins.
* plug-ins/makefile.cygwin: Add a couple of new unofficial
plug-ins. Use macros from build/win32/make.mingw.
* plug-ins/common/warp.c: Use G_PI.
2000-07-16 Michael Natterer <mitch@gimp.org>
Sven Neumann <sven@gimp.org>
* AUTHORS
* gimp.1.in
* app/about_dialog.c: removed two accidentially added non-authors.
* app/errors.[ch]
* app/main.c: added a new command line option
"--enable-stack-trace" which can be one of {never|query|always}.
* app/plug_in.c
* libgimp/gimp.c: pass the stack trace mode as an argv[] element to
plug-ins. Cleaned up the plug-ins' argv[] (removed unused TILE_WIDTH
and TILE_HEIGHT arguments, always pass 6 arguments to make the code
simpler).
* libgimp/gimpenums.h
* plug-ins/script-fu/script-fu-constants.c
* tools/pdbgen/Makefile.am
* tools/pdbgen/enums.pl: export the app's STACK_TRACE_MODE enum.
* plug-ins/common/plugindetails.c: made the titles of the tree view
unclickable, cleanups.
2000-07-15 Sven Neumann <neo@wintermute.ochsenblut.de>
* tools/Makefile.am: build gimp-remote
* tools/gimp-remote.c: g_error() should only be used
for fatal errors that can never happen.
* plug-ins/script-fu/po/pt_BR.po
* plug-ins/script-fu/po: removed. I guess this was
accidentally added.
2000-07-08 Sven Neumann <sven@gimp.org>
* plug-ins/gap/gap_range_ops.c: applied a patch provided by
Wolfgang Hofer <hof@hotbot.com> that fixes a problem when
flattening a singlelayer image.
2000-07-04 Tor Lillqvist <tml@iki.fi>
* Makefile.am (SUBDIRS): Yes, there *is* a "build" directory. It's a
virtual module included in gimp, see CVSROOT/modules. With older
CVS clients you might need to do a recheckout to get it.
* plug-ins/script-fu/script-fu.c (marshall_proc_db_call): On
Windows, handle pending gtk events each time we come here,
otherwise we easily get resource starvation in a long-running
script. Thanks to Jean-Louis Hamel for this workaround. It's a
hack, I don't exactly know why it is needed, but it sure helps a
lot.
* plug-ins/makefile.cygwin: Add some new unofficial plug-ins. Use
macros from make.mingw.
* libgimp/makefile.cygwin: Update with new object files.
* libgimp/gimp.def: Add new entry points.
Fri Jun 30 22:09:11 BST 2000 Andy Thomas <alt@gimp.org>
* plug-ins/common/iwarp.c
Applied patch by Daniel Egger that fixes a problem when
applying iwarp in animation mode.
2000-06-27 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/helpbrowser.c: simplified the
mucho weirdo code which obviously wasn't working as
expected. Should fix bug #15284.
2000-06-08 Sven Neumann <sven@gimp.org>
* app/qmask.c: call undo_push_qmask() before removing the
channel since the callback will set the qmask_state
incorrectly otherwise. Fixes bug #13472.
* app/undo.[ch]: code cleanup
* plug-ins/common/gif.c: put save_comment into the values
that are stored between calls to the GIF plug-in, so it
remembers if the user wants to save the comment. Fixes
bug #12755.
2000-06-07 Michael Natterer <mitch@gimp.org>
Jay Cox <jaycox@gimp.org>
* plug-ins/common/gifload.c: test for GIMP_HAVE_PARASITES
* plug-ins/common/url.c: open a pipe to the wget child and
parse it's output so we can display a progressbar.
2000-06-07 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Add the build subdirectory (which contains a copy
of the build module).
* app/makefile.cygwin
* libgimp/makefile.cygwin
* modules/makefile.cygwin
* plug-ins/makefile.cygwin: Include make.mingw from build/win32,
simplify accordingly.
2000-06-07 Tor Lillqvist <tml@iki.fi>
* app/gimphelp.c (gimp_help_netscape): Test for help_path being
non-NULL was wrong way.
* app/preferences_dialog.c (file_pref_cmd_callback): Change
"From X Server" to "From windowing system".
* app/makefile.cygwin: Update according to file name changes.
* libgimp/gimp.def
* libgimp/gimpui.def
* libgimp/makefile.{cygwin,msc}: Update for Mitch's and Sven's
changes.
* plug-ins/libgck/gck/gckcolor.c: Include <glib.h> before
gimpmath.h, so G_PI don't get redefined when glib.h is included
later.
From Hans Breuer, portability fixes for MSVC compilation:
* app/dialog_handler.h: Bypass decalration of exported functions
which are marked with G_MODULE_EXPORT in dialog_handler.c when
compiling that file. Otherwise some compilers will get confused.
* app/dialog_handler.c: Define a test macro for above bypass.
* plug-ins/MapObject/mapobject_apply.c
* plug-ins/MapObject/mapobject_image.c
* plug-ins/MapObject/mapobject_shade.c: Include <string.h>.
* plug-ins/flame/flame.c: Define S_ISREG if needed.
* plug-ins/makefile.{cygwin,msc}: Updates.
* plug-ins/sel2path/global.h: Include <stdlib.h>.
* plug-ins/winsnap/winsnap.c: Include libgimp/gimpui.h.
2000-06-05 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/ripply-anim.scm
* plug-ins/script-fu/scripts/spinning_globe.scm
* plug-ins/script-fu/scripts/waves-anim.scm: applied
gimp-quinet-000531-2.patch to ensure that the output of
these scripts is viewed in "replace" mode and not in
"combine" mode.