Commit Graph

1586 Commits

Author SHA1 Message Date
Sven Neumann 4c6445a072 applied gimp-kirchgessner-000820-0, a patch by Peter Kirchgessner which
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.
2000-08-20 23:26:11 +00:00
BST 2000 Austin Donnelly 547f482063 emboss.c jigsaw.c max_rgb.c nlfilt.c wind.c When a radio button in GTK is
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 20:34:26 +00:00
Sven Neumann 614bc34d59 plug-ins/imagemap/Makefile.am plug-ins/imagemap/imap_cern_parse.[ch]
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.
2000-08-20 18:05:04 +00:00
BST 2000 Andy Thomas e47ed10901 plug-ins/sel2path/globals.h
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-17 21:18:49 +00:00
Marc Lehmann 612278b9a1 see plug-ins/perl/Changes 2000-08-17 09:32:37 +00:00
Sven Neumann f2f819d1c3 plug-ins/gdyntext/gdyntext_ui.c set gimp_help accelerator on main window
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 20:29:49 +00:00
Sven Neumann 20037ac2f1 check if drawable returned by gimp_drawable_get() is valid. In a lot of
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-16 19:11:27 +00:00
Sven Neumann 4b4abd8f30 updated GDynText to version 1.5.2
--Sven
2000-08-16 16:42:56 +00:00
Michael Natterer 3d5b39f71c plug-ins/print/* updated to the current CVS version from sourceforge
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-15 00:43:48 +00:00
Kevin Turner 1eba6e7b72 This file now autogenerated by tools/pdbgen/enumcode.pl
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-10 20:17:21 +00:00
Kevin Turner 4c33487b46 This file now autogenerated by tools/pdbgen/enumcode.pl
* gimpenums.py: This file now autogenerated by
	tools/pdbgen/enumcode.pl

	* gimpfu.py:
	* gimpmodule.c: renaming fixes for libgimp 1.2

	* plug-ins/pdbbrowse.py (pars): s/PARAM_/PDB_/
2000-08-10 20:14:55 +00:00
Kevin Turner 1161b7fd43 under "layer", remove the call to gimp_channel_get_layer_id() as this
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.
2000-08-10 05:13:35 +00:00
Kevin Turner 47d742cce9 under "layer", remove the call to gimp_channel_get_layer_id() as this
* 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-10 05:07:17 +00:00
Sven Neumann f9b71234e7 removed double install_procedure for fli_load.
2000-08-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfli/gfli.c: removed double install_procedure for
	fli_load.
2000-08-09 19:54:02 +00:00
Sven Neumann 851e4e3265 install Emboss with image_type RGB* since it seems to work well on layers
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-08 23:49:16 +00:00
Michael Natterer 30dd153ff9 no need to INIT_I18N_UI() in the query() proc.
2000-08-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/gdyntext/gdyntext.c: no need to INIT_I18N_UI() in the
	query() proc.
2000-08-07 21:39:27 +00:00
Michael Natterer 95ccd16f0c forgot to commit this last weekend :)
2000-08-04  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.h
	* libgimp/gimpcompat.h
	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugindetails.c
	* plug-ins/dbbrowser/dbbrowser_utils.c
	* plug-ins/gap/gap_dbbrowser_utils.c
	* plug-ins/gap/gap_filter_codegen.c
	* plug-ins/gap/gap_filter_pdb.c
	* plug-ins/gap/gap_pdb_calls.c
	* plug-ins/maze/maze_face.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/xjt/xpdb_calls.c: removed COMPAT_CRUFT
2000-08-07 21:30:35 +00:00
Sven Neumann 64b27852cb plug-ins/gdyntext/gdyntext.[ch] use a GimpColorButton to select the text
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-07 18:19:31 +00:00
Sven Neumann 899e02d47c Eeek, I guess I have to check my harddisk. Somehow an ampersand became
a 0 between compile and commit...


--Sven
2000-08-07 16:20:30 +00:00
Sven Neumann ce3b4e6f06 readded three lines that were accidentally removed. Fixes bug #20090.
2000-08-07  Sven Neumann  <sven@gimp.org>

        * plug-ins/gdyntext/gdyntext.c: readded three lines that were
        accidentally removed. Fixes bug #20090.
2000-08-07 15:47:46 +00:00
Marc Lehmann 381212c1bf *** empty log message *** 2000-08-07 08:10:11 +00:00
Michael Natterer 3c4fc75083 Sven Neumann <sven@gimp.org>
2000-08-03  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c
	* libgimp/gimpbrushmenu.c
	* libgimp/gimpprotocol.c: removed COMPAT_CRUFT

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/film.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/gfig/gfig.c
	* plug-ins/print/print.c
	* plug-ins/sel2path/sel2path.c: replaced gimp_run_procedure
	calls with functions from libgimp that wrap the PDB calls.
	And, you guessed it, cleanup and indentation.

	* plug-ins/print/gimp_main_window.c: closed bug #11784.
2000-08-03 00:48:55 +00:00
Tor Lillqvist 65f8231d43 Add handful of missing functions, that gdyntext now uses.
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-02 06:33:58 +00:00
Sven Neumann 261e3c6801 added g_strcompress from glib-1.3
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-08-01 00:38:38 +00:00
Tor Lillqvist 8f3df4ef96 Change Win32 implementation to be a bit simpler. Use minigzip (from zlib)
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.
2000-07-30 23:17:00 +00:00
Sven Neumann fa39d3348d added a tooltip describing the "Keep Aspect Ratio" toggle. Closes bug
2000-07-31  Sven Neumann  <sven@gimp.org>

* plug-ins/common/ps.c: added a tooltip describing the "Keep
Aspect Ratio" toggle. Closes bug #11286.
2000-07-30 22:48:35 +00:00
CEST 2000 Stanislav Brabec 294a54846e Removed embedded EOLs and spaces from tooltips, few typos.
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 18:37:33 +00:00
Sven Neumann 430bef296f use gimp_ui_init(). This also fixes a bug we had fixed in the latest
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 15:03:12 +00:00
Sven Neumann 89f40a59ce More i18n corrections for the GDynText plug-in. Should work now.
--Sven
2000-07-30 14:31:26 +00:00
Sven Neumann e38ec37423 corrected various i18n-related problems and updated the german
translation


--Sven
2000-07-30 14:07:22 +00:00
Sven Neumann 1fe86f6845 Upgraded GDynText to version 1.5.0. This seems to fix a number of
problems with the Dynamic Text tool including bugs #2355 and #16485.


--Sven
2000-07-30 13:13:32 +00:00
Sven Neumann 4039329d1e activate the help page when clicking into the combo-box displaying the
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-29 23:17:41 +00:00
Tor Lillqvist 47328ffd2e libgimp/gimp.c libgimp/gimp.h libgimp/gimpmenu.c libgimp/gimpprotocol.c
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 21:32:55 +00:00
Sven Neumann 90739b781c applied gimp-kirchgessner-000728-0, a patch by Peter Kirchgessner that
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
2000-07-29 20:34:20 +00:00
Seth Burgess 6a5866e9c1 Minor capatization changes in the Jpeg^H^H^HPEG plug-in. 2000-07-25 01:27:27 +00:00
Valek Frob c740db01a5 Updated russian translation. 2000-07-23 17:07:46 +00:00
Marc Lehmann f64af1cda8 see plug-ins/perl/Changes 2000-07-20 14:44:16 +00:00
BST 2000 Austin Donnelly 1218b2bb89 The gif save plugin normally asks the user if it's ok to crop the image if
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 22:48:14 +00:00
Tor Lillqvist e153e7cd6b Add horrible hack that seems to help script-fu startup on NT 4.0, by
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-18 21:49:50 +00:00
Michael Natterer df9eeff6ac Sven Neumann <sven@gimp.org>
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-16 12:49:04 +00:00
Marc Lehmann 6d3f838bde see plug-ins/perl/Changes 2000-07-15 17:51:17 +00:00
Marc Lehmann b7f888e4bc *** empty log message *** 2000-07-15 16:34:12 +00:00
Sven Neumann 2010d3a822 build gimp-remote
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-14 22:08:37 +00:00
Jorge Godoy 10510384d8 added pt_BR translations 2000-07-14 16:48:59 +00:00
Stanislav Brabec ad566c8c12 czech translation update 2000-07-10 20:41:21 +00:00
Marc Lehmann 8708f77984 see plug-ins/perl/Changes 2000-07-09 17:38:00 +00:00
Sven Neumann fe01ff2fcb applied a patch provided by Wolfgang Hofer <hof@hotbot.com> that fixes a
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-08 14:18:50 +00:00
Marc Lehmann c082c68946 see plug-ins/perl/Changes 2000-07-06 09:36:52 +00:00
Tor Lillqvist 958dff32db Yes, there *is* a "build" directory. It's a virtual module included in
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.
2000-07-04 18:50:03 +00:00
BST 2000 Andy Thomas 02625e087b plug-ins/common/iwarp.c
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-30 21:12:14 +00:00