Commit graph

927 commits

Author SHA1 Message Date
Sven Neumann ad42ee26ac return with an error message if called with drawables smaller than 3
2000-12-11  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/convmatrix.c: return with an error message if
        called with drawables smaller than 3 pixels. Fixes bug #30870.
2000-12-11 18:09:26 +00:00
Sven Neumann 0d9382fb04 app/layer.c app/layers_dialog.c reviewed code in an attempt to fix the
2000-12-03  Sven Neumann  <sven@gimp.org>

	* app/layer.c
	* app/layers_dialog.c
	* plug-ins/common/jpeg.c: reviewed code in an attempt to fix the
	crash-on-jpeg-save. The only thing that I have changed (despite
	lots of indentation) is that we now connect the preview rewdraw
	using gtk_signal_connect_while_alive() which should keep gimp from
	trying to create previews of nonexistant drawables.

Updated german translation.
2000-12-03 18:15:08 +00:00
Sven Neumann 969b4c5957 PLUG_IN_MAINTAINERS changed email address of Winston Chang
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-26 12:13:23 +00:00
Austin Donnelly d7af7c0f3e fixed buffer overrun when previewing an image with alpha that was causing
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-21 18:16:06 +00:00
Nick Lamb /GIMP 97294fc0d4 Little-endian fix for 16bit TIFF
and Use same endian-detect as other plug-ins for PCX
2000-11-19 23:54:46 +00:00
Nick Lamb /GIMP b678992aeb Fix alleged problem with small TGA images 2000-11-18 04:24:25 +00:00
Michael Natterer cdd0a5147d app/fileops.c Make sure that we don't try to destroy query_boxes twice or
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-18 00:25:42 +00:00
Sven Neumann c84c286b87 we used to g_free memory returned by strdup() here! Also we used to append
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-15 17:48:43 +00:00
Manish Singh c4a14f3be7 set all the locale variables we can, to make sure we get predictable
* plug-ins/common/url.c: set all the locale variables we can, to
make sure we get predictable output from wget

-Yosh
2000-11-13 09:30:09 +00:00
Tor Lillqvist 496f8271ea Remove leftover misleading comment. 2000-11-11 21:54:53 +00:00
Tor Lillqvist 656c724a45 Implement the noninteractive run mode for file_gih_save. Whew, it took
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.
2000-11-11 21:09:25 +00:00
Sven Neumann 539074b73d sanity check new width and height. Wrong values might result in a divide
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 22:41:13 +00:00
Michael Natterer 841c4278e2 plug-ins/common/bz2.c plug-ins/common/gz.c plug-ins/common/mail.c
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.
2000-11-08 21:58:22 +00:00
Sven Neumann a36a33eb59 eeek, somehow a closing brace ended up in the emacs window before
I commited...


--Sven
2000-11-08 19:12:25 +00:00
Sven Neumann d5fc1370b9 Cleaned up the code further.
--Sven
2000-11-08 19:09:28 +00:00
Sven Neumann 6937d374a1 fixed the option_menu code for the DCT and subsampling options. Fixes bug
2000-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: fixed the option_menu code for the
	DCT and subsampling options. Fixes bug #31253.
2000-11-08 17:51:57 +00:00
Sven Neumann 5b3cf3bd6d applied a patch from Raphael Quinet which adds a check for the return
2000-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: applied a patch from Raphael
	Quinet which adds a check for the return value of waitpid().
2000-11-07 15:54:31 +00:00
Nick Lamb /GIMP bee175ba65 Shiny new TGA filter, please report bugs to njl195@zepler.org.uk 2000-11-03 03:17:19 +00:00
Sven Neumann 1e0c024cb0 tuned the dialog layout and cleaned up the code. No real changes.
2000-10-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: tuned the dialog layout and cleaned
	up the code. No real changes.
2000-10-29 18:07:07 +00:00
Michael Natterer b90b68469f plug-ins/common/gauss_iir.c plug-ins/common/gauss_rle.c
2000-10-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/grid.c
	* plug-ins/common/spread.c
	* plug-ins/common/tile.c
	* plug-ins/gflare/gflare.c: RINT (gimp_size_entry_get_refval ()),
	indentation.
2000-10-26 23:21:34 +00:00
Nick Lamb /GIMP f1d27284f4 Fix #27994 (corruption of tiled tiffs) 2000-10-25 23:49:30 +00:00
Austin Donnelly d37667433d minor patch from David Hodson <hodsond@ozemail.com.au> to fix off-by-one
2000-10-21  Austin Donnelly  <austin@gimp.org>

	* plug-ins/common/nlfilt.c: minor patch from David Hodson
	    <hodsond@ozemail.com.au> to fix off-by-one error in previous fix.

    	* AUTHORS
	* app/authors.h
	* tools/authorsgen/contributors: Add the prolific David Hodson
	    to the authors list.
2000-10-21 13:15:55 +00:00
Seth Burgess b7786f115c Compile before commit... 2000-10-20 03:44:47 +00:00
Seth Burgess e62d92fdce Help string updates + xbm parasite handling fix. 2000-10-20 03:38:15 +00:00
Sven Neumann a10008ac0a app/paint_funcs.c app/pixel_processor.c plug-ins/common/pix.c
2000-10-17  Sven Neumann  <sven@gimp.org>

	* app/paint_funcs.c
	* app/pixel_processor.c
	* plug-ins/common/pix.c
	* plug-ins/gap/gap_pdb_calls.c
	* plug-ins/gdyntext/message_window.c
	* plug-ins/xjt/xjpeg.c: removed compiler warnings
2000-10-17 18:32:43 +00:00
Manish Singh 4eecdf25df added docs/Wilber.svg to EXTRA_DIST
* Makefile.am: added docs/Wilber.svg to EXTRA_DIST

* plug-ins/common/pnm.c: fix usage of %s in a CHECK_FOR_ERROR
(can't do that with that macro)

-Yosh
2000-10-16 18:56:51 +00:00
Austin Donnelly 3ab277c727 applied patch by David Hodson <hodsond@ozemail.com.au> to fix Bugs: #12299
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.
2000-10-14 13:09:54 +00:00
Kevin Turner 5ab5748191 use double callback for double data. Why repeat count is a double, we'll
* 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-12 09:38:15 +00:00
Sven Neumann 830a33df8f applied gimp-kirchgessner-001005-0 Check if input filename keeps a space.
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-06 18:16:58 +00:00
Michael Natterer e60d734b1a Fixed cut'n'paste bug #26203.
2000-10-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/align_layers.c: Fixed cut'n'paste bug #26203.
2000-10-03 21:17:27 +00:00
Marc Lehmann 30e9bf10b0 *** empty log message *** 2000-10-03 16:15:53 +00:00
Nick Lamb /GIMP 2a2070b2e3 Various plug-ins gain <string.h> to fix warnings for memcpy/ strcmp 2000-09-30 20:13:06 +00:00
Daniel Egger e13fcd8b1f Turned C++ style comments into C style ones.
Turned C++ style comments into C style ones.
2000-09-26 22:54:33 +00:00
Nick Lamb /GIMP 901fd47f82 Possible fix for #22805 2000-09-15 00:50:12 +00:00
Tor Lillqvist 79022969c3 Use fopen (xxx, "rb") on all systems. It is standard C, does no harm on
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-09-07 20:04:47 +00:00
Adam D. Moss 3f95dc6ff8 change default frame duration 2000-08-30 17:59:45 +00:00
BST 2000 Adam D. Moss 73efa58a93 Change default frame duration for consistancy.
Wed Aug 30 18:49:01 BST 2000  Adam D. Moss <adam@gimp.org>

        * plug-ins/common/animationplay.c: Change default frame duration
        for consistancy.
2000-08-30 17:52:00 +00:00
Asbjørn Pettersen 30a7dc0d50 fix OS2 gz problem 2000-08-28 18:34:14 +00:00
Michael Natterer b9413eb038 added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.
2000-08-28  Michael Natterer  <mitch@gimp.org>

	* configure.in: added -DGTK_DISABLE_COMPAT_H to CPPFLAGS.

	* app/app_procs.c
	* app/gdisplay.c
	* app/layers_dialog.c
	* app/menus.c
	* app/tips_dialog.c
	* libgimp/gimpcolorbutton.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/cubism.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/gee.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/mail.c
	* plug-ins/common/pat.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plugindetails.c
	* plug-ins/common/png.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tga.c
	* plug-ins/common/tileit.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/waves.c
	* plug-ins/common/wmf.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gap/gap_arr_dialog.c
	* plug-ins/gap/gap_dbbrowser_utils.c
	* plug-ins/gap/gap_mov_dialog.c
	* plug-ins/gap/gap_navigator_dialog.c
	* plug-ins/gap/gap_resi_dialog.c
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/rcm/rcm_callback.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sel2path/sel2path_adv_dialog.c
	* plug-ins/xjt/xjt.c: removed COMPAT_CRUFT.
2000-08-28 00:42:32 +00:00
Sven Neumann cb7d5a179f tools/pdbgen/pdb/fileops.pdb added a few more PDB wrappers
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-25 15:38:38 +00:00
Tor Lillqvist 565ca6b118 Update, tell people the MSVC makefiles are not up-to-date.
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 17:53:43 +00:00
Sven Neumann 7703c4e056 libgimp/gimpcompat.h renamed CAN_HANDLE_INDEXED and friends.
2000-08-24  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpcompat.h
	* libgimp/gimpexport.[ch]: renamed CAN_HANDLE_INDEXED and friends.

	* plugins/bmp/bmp.c
	* plugins/common/aa.c
	* plugins/common/csource.c
	* plugins/common/gbr.c
	* plugins/common/gicon.c
	* plugins/common/gif.c
	* plugins/common/gpb.c
	* plugins/common/header.c
	* plugins/common/hrz.c
	* plugins/common/jpeg.c
	* plugins/common/pat.c
	* plugins/common/pcx.c
	* plugins/common/pix.c
	* plugins/common/png.c
	* plugins/common/pnm.c
	* plugins/common/ps.c
	* plugins/common/psp.c
	* plugins/common/sunras.c
	* plugins/common/tga.c
	* plugins/common/tiff.c
	* plugins/common/xbm.c
	* plugins/common/xpm.c
	* plugins/common/xwd.c
	* plug-ins/fits/fits.c
	* plugins/gfli/gfli.c
	* plugins/sgi/sgi.c: ditto
2000-08-24 14:17:34 +00:00
BST 2000 Adam D. Moss 722f600e0f removed some more debugging output. Zzz.
Wed Aug 23 20:15:21 BST 2000  Adam D. Moss <adam@gimp.org>

	* plug-ins/common/psd.c: removed some more debugging output.  Zzz.
2000-08-23 19:13:41 +00:00
Sven Neumann d4cdc5ccf3 plug-ins/helpbrowser/helpbrowser.c plug-ins/ifscompose/ifscompose.c
2000-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_preview.[ch]
	* plug-ins/maze/handy.c
	* plug-ins/maze/maze.c
	* plug-ins/maze/maze_face.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/pagecurl/pagecurl.c: removed COMPAT_CRUFT
2000-08-23 10:23:19 +00:00
Sven Neumann f92813d952 avoid floating point exception on small images (reported by Steven Grady)
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
2000-08-23 08:43:03 +00:00
Manish Singh 50e478ef43 $srcdir != $builddir fix for GIMP_CONTRIBUTORS
* 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-23 01:44:59 +00:00
Nick Lamb /GIMP 85503c5f56 Tidy up after Daniel Egger 2000-08-23 00:00:20 +00:00
Daniel Egger 923ecdaa9b Did a few optimisatons.
Did a few optimisatons.
2000-08-22 18:44:59 +00:00
Daniel Egger dd1a927802 Moved sinus and struc to common.
Moved sinus and struc to common.
2000-08-22 16:30:04 +00:00
Sven Neumann 72403e73d3 plug-ins/FractalExplorer/*.[ch] plug-ins/Lighting/*.[ch]
2000-08-22  Sven Neumann  <sven@gimp.org>

* plug-ins/FractalExplorer/*.[ch]
* plug-ins/Lighting/*.[ch]
* plug-ins/MapObject/*.[ch]
* plug-ins/bmp/*.[ch]
* plug-ins/faxg3/faxg3.c
* plug-ins/fits/fits.c
* plug-ins/flame/flame.c
* plug-ins/fp/*.[ch]
* plug-ins/gap/*.[ch]
* plug-ins/gdyntext/*.[ch]
* plug-ins/gfig/gfig.c
* plug-ins/gflare/gflare.c
* plug-ins/gfli/gfli.c
* plug-ins/gimpressionist/*.c
* plug-ins/script-fu/*.[ch]: removed COMPAT_CRUFT.
2000-08-22 03:27:14 +00:00
Daniel Egger 4442612111 Moved AlienMap and AlienMap2 to common.
Moved AlienMap and AlienMap2 to common.
2000-08-22 01:41:07 +00:00
Sven Neumann 811d30548c removed COMPAT_CRUFT.
2000-08-22  Sven Neumann  <sven@gimp.org>

        * plug-ins/common/*.c: removed COMPAT_CRUFT.
2000-08-22 01:26:57 +00:00
Daniel Egger f219503a23 removed further COMPAT_CRUFT.
removed further COMPAT_CRUFT.
2000-08-22 00:13:56 +00:00
Daniel Egger ceee83f6e4 removed COMPAT_CRUFT.
removed COMPAT_CRUFT.
2000-08-21 23:11:47 +00:00
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
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
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 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 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
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
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
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
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 b7f888e4bc *** empty log message *** 2000-07-15 16:34:12 +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
Nick Lamb /GIMP 29017c2bd5 Add more options to PNG, offsets preserved on load (doh) 2000-06-30 02:51:35 +00:00
Sven Neumann fd6a1d1e01 use a fixed-size buffer to make the code ANSI compliant. Fixes bug #15338.
2000-06-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/url.c: use a fixed-size buffer to make
	the code ANSI compliant. Fixes bug #15338.
2000-06-25 22:23:18 +00:00
Sven Neumann e544a24cbd slight speedup for 180-degrees
2000-06-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/rotate.c: slight speedup for 180-degrees
2000-06-18 12:26:44 +00:00
Nick Lamb /GIMP fb611a5399 Add support for IIC profiles in TIFF, and document the parasite.
PNG support will be forthcoming eventually.
2000-06-18 01:07:13 +00:00
Sven Neumann 1804a80269 plug-ins/common/curve_bend.c plug-ins/common/plugindetails.c
2000-06-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugindetails.c
	* plug-ins/gap/gap_dbbrowser_utils.h
	* plug-ins/gap/gap_filter_codegen.c
	* plug-ins/gap/gap_pdb_calls.c
	* plug-ins/maze/maze_face.c
	* plug-ins/xjt/xpdb_calls.c: fixed compiler warnings
	introduced by our latest libgimp changes.
2000-06-13 14:42:50 +00:00
Marc Lehmann ef634d3be5 *** empty log message *** 2000-06-08 14:42:05 +00:00
Sven Neumann fd4355bc89 call undo_push_qmask() before removing the channel since the callback will
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 22:51:23 +00:00
Michael Natterer b415fe9617 Jay Cox <jaycox@gimp.org>
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 17:16:45 +00:00
Michael Natterer edb2e1d1ba Don't save the mask inverted.
2000-06-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c: Don't save the mask inverted.
2000-06-05 16:09:10 +00:00
BST 2000 Adam D. Moss 17c60b169c Fix old bug which could cause errors in evaluating the final pixel of each
Mon Jun  5 12:48:10 BST 2000  Adam D. Moss <adam@gimp.org>

	* plug-ins/common/animoptimize.c: Fix old bug which could
	cause errors in evaluating the final pixel of each composed layer.

	* plug-ins/common/animationplay.c: Same bug, different plugin.
2000-06-05 12:02:31 +00:00
Michael Natterer ef2d6c51f4 allow saving of images with alpha. If the image has alpha, offer the
2000-06-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xbm.c: allow saving of images with alpha.
	If the image has alpha, offer the choice of ignoring it or
	alternatively saving it as a separate XBM file which is the
	mask of the X cursor we are saving.
2000-06-05 11:38:35 +00:00
Michael Natterer 6be23f70fa Sven Neumann <sven@gimp.org>
2000-06-01  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	Completed the new file structure. Yet only few of the _pdb.[ch]
	files are based upon generated code and nothing is really
	autogenerated...

	* app/Makefile.am
	* app/gdisplay_cmds.c      -> app/display_cmds.c
	* app/gimage_cmds.c        -> app/image_cmds.c
	* app/gimage_mask_cmds.c   -> app/selection_cmds.c
	* app/internal_procs.c: related change

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimp_pdb.h
	* libgimp/gimpdisplay_pdb.[ch]
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpselection_pdb.[ch]: replaced with code based on files
	generated using pdbgen

	* libgimp/gimpchannelops_pdb.[ch]
	* libgimp/gimpcolor_pdb.[ch]
	* libgimp/gimpedit_pdb.[ch]
	* libgimp/gimpfloatingsel_pdb.[ch]
	* libgimp/gimpgimprc_pdb.[ch]
	* libgimp/gimptexttool_pdb.[ch]
	* libgimp/gimptools_pdb.[ch]
	* libgimp/gimpundo_pdb.[ch]: new files based on generated code

	* libgimp/gimpgradientselect.[ch]
	* libgimp/gimpimage.[ch]
	* libgimp/gimpselection.[ch]: new files wrapping around the
	autogenerated PDB wrappers as found in *_pdb.[ch]. This is necessary
	since the number of parameters or their order is different from the
	PDP calls.

	* plug-ins/common/CEL.c: plugged memleak

	* plug-ins/common/aa.c: removed compiler warning

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/gdisplay.pdb     -> display.pdb
	* tools/pdbgen/pdb/gimage.pdb       -> image.pdb
	* tools/pdbgen/pdb/gimage_mask.pdb  -> selection.pdb

	* tools/pdbgen/pdb/channel_ops.pdb
	* tools/pdbgen/pdb/color.pdb
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/floating_sel.pdb
	* tools/pdbgen/pdb/gimprc.pdb
	* tools/pdbgen/pdb/text_tool.pdb
	* tools/pdbgen/pdb/tools.pdb
	* tools/pdbgen/pdb/undo.pdb: made them create libgimp code
2000-06-01 12:20:13 +00:00
Tor Lillqvist 2090f17620 Update to match Unix version.
2000-05-29  Tor Lillqvist  <tml@iki.fi>

* gimprc.win32: Update to match Unix version.

* app/gimp.sym: Add dialog_{,un}register.

* app/dialog_handler.c: Include <gmodule.h>, mark above functions
with G_MODULE_EXPORT.

* app/makefile.{msc,cygwin}: Update to match current GLib 1.3.

* libgimp/gimp.def
* libgimp/gimpui.def: Update according to function name changes etc.

* libgimp/makefile.{msc,cygwin}: Update for changed file
names.

* libgimp/makefile.cygwin
* modules/makefile.cygwin: Simplify, use the
../build/win32/make.mingw file.

* plug-ins/common/gz.c (save_image): Somewhat more informative
error message on Win32 when gzip.exe isn't found (most probable
cause of error).

* tips/gimp_tips.txt: Clarify location of personal GIMP directory
on Unix and Windows.
2000-05-28 23:46:16 +00:00
Michael Natterer 6fa33d6855 Libgimp cleanup part II (with a little help from Yosh who moved the CVS
2000-05-27  Michael Natterer  <mitch@gimp.org>

	Libgimp cleanup part II (with a little help from Yosh
	who moved the CVS files).

	* libgimp/Makefile.am
	* libgimp/gimpchannel_pdb.c
	* libgimp/gimpdisplay_pdb.c
	* libgimp/gimpdrawable_pdb.c
	* libgimp/gimpgradient_pdb.c
	* libgimp/gimphelp_pdb.c
	* libgimp/gimpimage_pdb.c
	* libgimp/gimplayer_pdb.c
	* libgimp/gimppalette_pdb.c
	* libgimp/gimpparasite_pdb.c
	* libgimp/gimpselection_pdb.c
	* libgimp/gimpunit_pdb.c: new names of all files which contain
	PDB wrappers.

	* modules/Makefile.am
	* libgimp/gimpcolordisplay.h
	* libgimp/gimpcolorselector.h
	* modules/gimpmodregister.[ch]: renamed.

	* libgimp/gimpparasiteF.h
	* libgimp/gimpparasiteP.h: removed because gimp.h had to include
	the private header anyway.

	* app/color_notebook.c
	* app/color_select.c
	* app/gdisplay_color.[ch]
	* app/gdisplay_color_ui.c
	* app/gimpbrushpipe.c
	* app/gimpdrawable.[ch]
	* app/gimpimage.c
	* app/gimpimage.h
	* app/gimpparasite.[ch]
	* app/gimprc.c
	* app/image_new.c
	* app/layer.c
	* app/parasite_cmds.c
	* app/parasitelist.[ch]
	* app/plug_in.c
	* app/procedural_db.c
	* app/undo.c
	* app/xcf.c
	* libgimp/gimp.[ch]
	* libgimp/gimpcolordisplay.h
	* libgimp/gimpparasite.[ch]
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_gtk.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/Events.c
	* plug-ins/Lighting/lighting_apply.c
	* plug-ins/Lighting/lighting_shade.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/common/gpb.c
	* plug-ins/common/psp.c
	* plug-ins/sel2path/sel2path.c
	* po-libgimp/POTFILES.in
	* tools/pdbgen/pdb.pl
	* tools/pdbgen/pdb/parasite.pdb: changed includes accordingly.
2000-05-27 01:30:21 +00:00
BST 2000 Andy Thomas 1c10cb054a plug-ins/common/illusion.c
Fri May 26 23:14:14 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/illusion.c

	Preview tidy.
2000-05-26 22:48:00 +00:00
Michael Natterer 863f7e1c44 Final (1.2) libgimp namespace cleanup part I:
2000-05-26  Michael Natterer  <mitch@gimp.org>

	Final (1.2) libgimp namespace cleanup part I:

	* app/gimpbrushpipe.c
	* app/gimpdrawable.[ch]
	* app/gimpimage.[ch]
	* app/gimpparasite.[ch]
	* app/gimprc.c
	* app/image_new.c
	* app/parasite_cmds.c
	* app/parasitelist.[ch]
	* app/parasitelistP.h
	* app/plug_in.c
	* app/undo.c
	* app/xcf.c
	* libgimp/color_display.h
	* libgimp/gimp.[ch]
	* libgimp/gimpdrawable.c
	* libgimp/gimpimage.c
	* libgimp/gimpparasite.c
	* libgimp/gimpprotocol.c
	* libgimp/parasite.[ch]
	* libgimp/parasiteF.h
	* libgimp/parasiteP.h
	* libgimp/parasiteio.[ch]
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* plug-ins/common/csource.c
	* plug-ins/common/gif.c
	* plug-ins/common/gpb.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/psp.c
	* plug-ins/common/tiff.c
	* plug-ins/common/xbm.c
	* plug-ins/gap/gap_exchange_image.c
	* plug-ins/gdyntext/gdyntext.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/xjt/xjt.c: s/Parasite/GimpParasite/g,
	                      s/parasite_*/gimp_parasite_*/g

	* libgimp/gimpcompat.h: added the old names.

	* tools/pdbgen/pdb.pl
	* tools/pdbgen/pdb/parasite.pdb: dito and an ugly perl hack to work
	around a substitution clash. Perl gurus, feel free to fix it.
2000-05-26 22:28:40 +00:00
BST 2000 Andy Thomas 93c3085aba plug-ins/common/wind.c
Fri May 26 22:33:05 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/wind.c

	Code tidy only.
2000-05-26 21:33:03 +00:00
BST 2000 Andy Thomas 84ae55cb0e plug-ins/common/noisify.c
Fri May 26 22:21:57 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/noisify.c

	Changes to the preview so it previews with alpha better..
2000-05-26 21:23:03 +00:00
BST 2000 Andy Thomas 296872b66b plug-ins/common/glasstile.c
Fri May 26 00:08:26 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/glasstile.c

	More changes to the preview so it actually does preview.
	Changed plugin so alpha channel is also tiled. This
	seems to produce better results. Any comments?

	Fixed some some boundary conditions bugs
	that caused "streaks" to appear when using some tile spaces.
2000-05-25 23:28:20 +00:00
BST 2000 Andy Thomas 159f50693a plug-ins/common/wind.c
Thu May 25 00:18:20 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/wind.c

	Ok. OK. The direction stuff works with transparent areas as well.
2000-05-24 23:20:42 +00:00
BST 2000 Andy Thomas 161846c8f8 plug-ins/common/wind.c
Wed May 24 23:53:04 BST 2000 Andy Thomas <alt@gimp.org>

	* plug-ins/common/wind.c

	The preview works now as it should (ie what you see in the preview
	is what you get when the plugin gets applied).
	Also changed so that the plugin takes note of the alpha channel
	if one exists.

	To see the changes try the plugin on an image that is mainly
	transparent....

	Note some of the other plugins that have recently had previews
        added also suffer from the problem that the preview
        is not correct if the image contains transparent areas (e.g. noisify).
2000-05-24 23:01:48 +00:00
Sven Neumann dddbf2827b the never-ending previews story...
--Sven
2000-05-24 14:35:25 +00:00
Sven Neumann 93eb30f60a I am stupid. Dropping the 4-byte alignment caused the
buffer's rowstride to become different from the
GtkPreview's one. Fixed it by using preview->rowstride
in all cases.


--Sven
2000-05-23 18:52:14 +00:00
Sven Neumann f7a9520579 applied modified version of gimp-timecop-200005-12.plasma which adds a
2000-05-23  Sven Neumann  <sven@gimp.org>

* plug-ins/common/plasma.c: applied modified version of
  gimp-timecop-200005-12.plasma which adds a preview to the
  plasma plug-in.

* plug-ins/common/wind.c: applied modified version of
  gimp-timecop-200005-14.wind which adds a preview to the
  wind plug-in.


--Sven
2000-05-23 16:04:02 +00:00
Sven Neumann ffa15c468d plug-ins/common/flarefx.c a more elegant way to update the preview when
2000-05-23  Sven Neumann  <sven@gimp.org>

* plug-ins/common/flarefx.c
* plug-ins/common/glasstile.c: a more elegant way to update
  the preview when parameters change.

* plug-ins/common/grid.c: if a selection is active, show the
  selected area in the preview.

* plug-ins/common/illusion.c: applied modified version of
  gimp-timecop-200005-7.illusion which adds a preview to the
  illusion plug-in.

* plug-ins/common/jigsaw.c: applied modified version of
  gimp-timecop-200005-8.jigsaw which adds a preview to the
  jigsaw plug-in.

* plug-ins/common/max_rgb.c: applied modified version of
  gimp-timecop-200005-9.max_rgb which adds a preview to the
  max_rgb plug-in.

* plug-ins/common/noisify.c: applied modified version of
  gimp-timecop-200005-10.noisify which adds a preview to the
  noisify plug-in.

* plug-ins/common/nova.c: applied modified version of
  gimp-timecop-200005-11.nova which adds a preview to the
  nova plug-in.
2000-05-23 13:00:40 +00:00
Sven Neumann 9667b85edf plug-ins/common/flarefx.c plug-ins/common/glasstile.c ditched the 4-byte
2000-05-23  Sven Neumann  <sven@gimp.org>

* plug-ins/common/flarefx.c
* plug-ins/common/glasstile.c
* plug-ins/common/grid.c: ditched the 4-byte alignment of the
  preview_data since it was only causing trouble. Now the previews
  work even for the ugly cases like width|height == 1.
2000-05-23 01:03:06 +00:00
Sven Neumann 49ca711775 fixed a bug in the new preview code and some other small changes
2000-05-22  Sven Neumann  <sven@gimp.org>

* plug-ins/common/flarefx.c: fixed a bug in the new
  preview code and some other small changes

* plug-ins/common/glasstile.c: applied modified version
  of gimp-timecop-200005-5.glasstile which adds a preview
  to the glasstile plug-in.

  While I was on it, I fixed a bug that caused glasstile
  to crash when invoked on a small selection.
2000-05-22 19:40:06 +00:00
Sven Neumann 95500f2d40 moved Magnify into the Transformation tools category. This is not entirely
2000-05-22  Sven Neumann  <sven@gimp.org>

* app/tools.c: moved Magnify into the Transformation tools
category. This is not entirely correct, but at least the
tools are now grouped as they appear in the toolbox.

* plug-ins/common/flarefx.c: applied modified version of
gimp-timecop-200005-4.flarefx which adds a scaled down
flarefx to tthe preview.


--Sven
2000-05-22 17:39:15 +00:00
Michael Natterer 1590cecfe1 s/gimp_plugin_help_func/gimp_standard_help_func/
2000-05-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*: s/gimp_plugin_help_func/gimp_standard_help_func/

	Coincidentially, my script also removed empty lines from the end
	of _all_ *.c file (not only from those which contained
	gimp_plugin_help_func).
2000-05-22 17:10:28 +00:00
Sven Neumann c86b866739 applied a heavily modified version of gimp-timecop-200005-6.grid
which adds a preview to the grid plug-in.


--Sven
2000-05-22 13:53:43 +00:00
Sven Neumann f3018bfae7 Fixed possible divide by zero spotted by Scott Heavner.
Closes bug #11731.


--Sven
2000-05-22 11:35:28 +00:00
Sven Neumann 0b4a743a25 reset progress to 0.0 when finished
--Sven
2000-05-20 09:49:13 +00:00
Tor Lillqvist 9e7a8e79d7 Byteswap return value. Thanks to Raphael Quinet for finding this.
2000-05-18  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/psp.c (read_block_header): Byteswap return
value. Thanks to Raphael Quinet for finding this.
2000-05-18 20:42:02 +00:00
Tor Lillqvist 736929626d Fix typo introduced when gimp_spin_button_new() was taken into use. Now
2000-05-14  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/gpb.c (gih_save_dialog): Fix typo introduced
when gimp_spin_button_new() was taken into use. Now you can adjust
the cell height again.
2000-05-14 19:56:04 +00:00
Nick Lamb /GIMP 64a96a8aac Few minor things for TIFF and BMP. 2000-05-12 06:53:15 +00:00
Nick Lamb /GIMP 84ec7a802e Added RGB and Gray tRNS support for Steven Grady 2000-05-09 01:46:13 +00:00
Michael Natterer a24cf99460 use gimp_ui_init(). Minor cleanups like below: includes, indentation,
2000-05-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/[r-z]*.c: use gimp_ui_init(). Minor cleanups like
	below: includes, indentation, prototypes...
2000-05-01 20:22:55 +00:00
Michael Natterer 7ea5afb49c use gimp_ui_init(). Minor cleanups like reordering includes consistently
2000-05-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/[h-p]*.c: use gimp_ui_init(). Minor cleanups like
	reordering includes consistently and removing trailing commas from
	enums and param defs.
2000-05-01 17:01:18 +00:00
Manish Singh 670782568c configure.in moved from it's own directory to common
* configure.in
* plug-ins/common/borderaverage.c: moved from it's own directory to common

-Yosh
2000-04-30 21:49:20 +00:00
Michael Natterer 2ad84fff2a use gimp_ui_init(). Minor cleanups like reordering includes consistently
2000-04-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/[a-g]*.c: use gimp_ui_init(). Minor cleanups like
	reordering includes consistently and removing trailing commas from
	enums and param defs.
2000-04-30 21:03:44 +00:00
Michael Natterer ef751a454d gimprc.in replaced "color-cube" by "min-colors".
2000-04-30  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* app/gimprc.[ch]: replaced "color-cube" by "min-colors".

	* app/app_procs.c: read unitrc/gimprc before displaying the splash.

	* app/colormaps.c: set min_colors and install_cmap before
	initializing GdkRGB.

	* app/gimprc.[ch]
	* app/gimpunit.c: don't call the splash's progress_update function.

	* app/plug_in.c: pass min_colors instead of color_cube to plugins.

	* app/preferences_dialog.c: widget for min_colors.

	* libgimp/gimp.[ch]: s/color_cube/min_colors/ but left
	gimp_color_cube() there for source level compatibility.

	* libgimp/gimpprotocol.[ch]: changed the GPConfig message
	accordinly and increased the gimp protocol version number because
	the change breaks binary compatibility. Also actually pass the
	use_xshm variable over the wire (was only in the GPConfig struct
	before).

	Was it the right thing to do to increase the version number??

	* libgimp/gimpui.c (gimp_ui_init): use the same code as the app
	for initializing GdkRGB. Never explicitly activate Gdk's SHM
	usage (only switch it off).

	* app/main.c
	* libgimp/gimp.c: reverted the handling of all signals except
	SIGCHLD back to plain old signal() because those signals are
	fatal anyway and sigaction() as used by gimp_signal_*() made
	debugging (stacktrace) impossible.

	* plug-ins/AlienMap/AlienMap.c
	* plug-ins/AlienMap2/AlienMap2.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/bmp/bmp.c
	* plug-ins/borderaverage/borderaverage.c
	* plug-ins/dbbrowser/dbbrowser.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gdyntext/Makefile.am
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/Makefile.am
	* plug-ins/imagemap/imap_main.c
	* plug-ins/maze/maze_face.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sgi/sgi.c
	* plug-ins/sinus/sinus.c
	* plug-ins/struc/struc.c
	* plug-ins/webbrowser/webbrowser.c
	* plug-ins/winsnap/winsnap.c
	* plug-ins/xjt/xjt.c: use gimp_ui_init().

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c: only switch Gdk SHM usage off,
	never on. Don't use gimp_ui_init() here because of libgck.
2000-04-30 18:17:55 +00:00
Nick Lamb /GIMP d30b81dcfa Better 0.88 -- 1.0.6 compatibility patch 2000-04-25 21:57:46 +00:00
Manish Singh 84c7ea0507 fix Nick's embarassing bug found by tigert
-Yosh
2000-04-25 10:53:51 +00:00
Nick Lamb /GIMP 07269dca52 PNG - Workaround for ABI bustage discovered in libpng 1.0.6, try not to
hurt users potentially still stuck with 0.88 or 0.89
2000-04-25 03:57:03 +00:00
Manish Singh b3496287b4 gimpsignal.[ch] needs to go into libgimp, since it is used in gimp.c
* libgimp/Makefile.am: gimpsignal.[ch] needs to go into libgimp,
since it is used in gimp.c

* libgimp/gimpsignal.c: use g_error instead of gimp_fatal_error

* plug-ins/common/png.c: typo fix for Nick's previous commit

-Yosh
2000-04-21 18:37:25 +00:00
Nick Lamb /GIMP 60abc739ea PNG Fixed for Sven and Felix, but loads partial or damaged images too.
No more warnings either.
2000-04-21 18:14:48 +00:00
Nick Lamb /GIMP f60992f5c7 Revert Sven's changes 2000-04-21 01:38:36 +00:00
Sven Neumann c148ec9040 applied patch provided by KANDA Toshihiro <candy@ops.dti.ne.jp>.
Should fix bug #7329.


--Sven
2000-04-20 19:37:39 +00:00
Sven Neumann 91b78678b0 correctly initialize the bumpmap offsets
* plug-ins/common/bumpmap.c: correctly initialize the bumpmap
  offsets

* plug-ins/common/png.c: (load_image) if the PNG cannot be loaded,
  return -1 instead of some uninitialized integer


--Sven
2000-04-20 19:00:40 +00:00
jtl 91d956d412 *** empty log message *** 2000-04-20 15:31:56 +00:00
Nick Lamb /GIMP 1a910b3bb2 TIFF plug-in LZW patent stuff (add JPEG, DEFLATE, deprecate LZW) 2000-04-20 04:38:31 +00:00
Sven Neumann 4e875998e1 i18n fix
--Sven
2000-04-19 13:24:11 +00:00
jtl 7f5fbf42ff *** empty log message *** 2000-04-15 22:40:05 +00:00
Nick Lamb /GIMP 2c76f50834 Purple isn't a good BG color, code clean-up/ compiler gagging 2000-04-14 15:21:14 +00:00
Sven Neumann 28757ba176 applied gimp-kevint-000413-0 and gimp-mattias-000414-0
--Sven
2000-04-14 08:59:52 +00:00
Nick Lamb /GIMP 092c854615 Save 1-bit, 2-bit and 4-bit PNG if appropriate 2000-04-13 04:48:56 +00:00
Sven Neumann 9a55c77635 use GIMP_HAVE_PARASITES instead of _PARASITES_H, which wasn't defined
* plug-ins/common/gif.c: use GIMP_HAVE_PARASITES instead of
_PARASITES_H, which wasn't defined anymore. Makes comment
parasites work with GIFs again.

* app/measure.c: pressing ALT anywhere outside the handles allows
to move the measure lines.


--Sven
2000-04-12 21:21:36 +00:00
Sven Neumann d45089bca0 applied a patch from Peter Kirchgessner <peter@kirchgessner.net>
--Sven
2000-04-05 10:26:08 +00:00
Nick Lamb /GIMP eaa2478390 Don't claim that PAT plug-in exports ALPHA or is suitable for RGB*, GREY*
the results are not useful if you try.
2000-04-05 03:02:00 +00:00
Sven Neumann 018da66275 tiny nit-picky changes to some plugins and a lot of changes in the
german translation. Hopefully the translation is now good enough
that it won't ihave to change much anymore, since the new
"Gimp kurz und gut" reference for 1.2 will go into print soon...


--Sven
2000-04-02 22:30:28 +00:00
Nick Lamb /GIMP fcc613c794 PNG Brown paper bag version, 1.2.1 -- that'll teach me to hurry
the testing process. This should fix it all image types.
2000-04-02 22:04:15 +00:00
jaycox 8addb7ef09 Added a missing break statement so that the compression argument in calls
* plug-ins/common/tiff.c: Added a missing break statement so that
	the compression argument in calls to file_tiff_save is honored.
2000-04-02 10:27:23 +00:00
Nick Lamb /GIMP 7468c59843 The Gimp now does as good a job of saving indexed+a PNGs as it does
of displaying them. Did I mention that INDEXED + A sucks?
2000-04-02 02:46:59 +00:00
Michael Natterer e44df51a6d minor cleanups.
2000-03-31  Michael Natterer  <mitch@gimp.org>

	* app/gimpdnd.[ch]: minor cleanups.

	* libgimp/gimpwidgets.c: don't set a border width for the
	radio_group's vbox if no frame around it was requested.

	* plug-ins/common/sample_colorize.c: add a separator between
	image and sample.

	* plug-ins/common/iwarp.c: use the libgimp ui functions, removed
	callbacks, a global s/gfloat/gdouble/, replaced the booleans
	toggling the transform mode with a single variable containing an
	enum value, indentation.
2000-03-31 18:10:25 +00:00
BST 2000 Adam D. Moss be11b01570 Mildly more useful comments/messages concerning frame disposals.
Fri Mar 31 14:10:02 BST 2000 Adam D. Moss <adam@gimp.org>

        * plug-ins/common/gifload.c: Mildly more useful
        comments/messages concerning frame disposals.
2000-03-31 13:26:55 +00:00
Kelly Lynn Martin 3b17ab0193 integers are not doubles!
2000-03-28  Kelly Lynn Martin  <kelly@poverty.bloomington.in.us>

	* plug-ins/common/warp.c (warp_dialog): integers are not doubles!
2000-03-28 15:47:37 +00:00
SHIRASAKI Yasuhiro dec91421e2 INIT_I18N_UI() instead of INIT_I18N() for save dialog.
* plug-ins/common/xpm.c: INIT_I18N_UI() instead of INIT_I18N()
        for save dialog.

-- yasuhiro
2000-03-27 03:28:29 +00:00
Sven Neumann 73e2967251 applied patches from Simon Budig that fix bugs #2358 and #6224
--Sven
2000-03-26 10:38:20 +00:00
Stanislav Brabec 2481607268 patches from Martin Weber and Peter Kirchgessner 2000-03-25 22:19:17 +00:00
Sven Neumann 3a24f6d9b0 fixed bug 7744 and cleaned up libgimp
--Sven
2000-03-25 18:49:05 +00:00
Michael Natterer de5268781e Makefile.am added removed
2000-03-24  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* gimp1_0_splash.ppm: added
	* gimp1_1_splash.ppm: removed

	* gimp_splash.ppm: the image formerly known as gimp1_1_splash.ppm

	* app/app_procs.c: load gimp_splash.ppm

	The idea if shearing the data_dir between Gimp versions has
	vanished, so this seems like the right thing to do (TM).

	Keep the 1.0 splash around for sentimental reasons but don't
	install it anymore.

	* plug-ins/common/autocrop.c: indentation paranoia.
2000-03-24 21:57:32 +00:00
Sven Neumann 0309fec9f1 applied gimp-kirchgessner-000320-0
--Sven
2000-03-24 16:21:35 +00:00
Seth Burgess bcd9899101 Added alpha support to Color To Alpha (allows repeated use) 2000-03-19 01:47:15 +00:00
SHIRASAKI Yasuhiro cfb02e85d7 added missing comma for gimp_register_magic_load_handler() arguments.
* plug-ins/common/mpeg.c: added missing comma for
        gimp_register_magic_load_handler() arguments.

-- yasuhiro
2000-03-11 15:00:13 +00:00
Sven Neumann 24bbdbef07 applied a bunch of patches:
Simon Budigs patch sent to the list Sun, 20 Feb 2000
gimp-kirchgessner-000217-0
gimp-cosmin-20000212
gimp-mattias-000227-0


--Sven
2000-03-10 17:27:25 +00:00
Stanislav Brabec 8c92f4b466 Typo fixes. 2000-03-09 13:12:12 +00:00
Sven Neumann 68b8ef2bbb various minor i18n fixes and a patch from Wolfgang Hofer
--Sven
2000-03-08 13:53:54 +00:00
GMT 2000 Adam D. Moss 1d0f24149b Type of written array should be unsigned, as that's the type of data we're
Wed Mar  8 12:40:53 GMT 2000  Adam D. Moss <adam@gimp.org>

        * plug-ins/common/xbm.c: Type of written array should
        be unsigned, as that's the type of data we're initializing
        it with.  Cast back to signed for passing to XCreateBitmapFromData()
        etc.
2000-03-08 12:51:00 +00:00
SHIRASAKI Yasuhiro bb694f9ce9 added missing $(MAILER) to CPPFLAGS for mail plugin.
* plug-ins/common/Makefile.am: added missing $(MAILER)
        to CPPFLAGS for mail plugin.

-- yasuhiro
2000-03-07 04:21:51 +00:00
Sven Neumann 6a94f77b56 a whole bunch of i18n
--Sven
2000-03-06 09:39:41 +00:00
Michael Natterer 21e95fdf43 Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new
2000-03-04  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* cursors/selection_move.xbm
	* cursors/selection_move_mask.xbm
	* app/cursorutil.[ch]: new cursor for moving the selection
	mask. Looks imho nicer than the ugly GDK_DIAMOND_CROSS.

	* app/move.c
	* app/rect_select.c: use the new cursor.

	* app/paint_core.c: check for the statusbar's context_id in the
	cursor_update function. Fixes gdk_criticals with the line preview
	(which doesn't need a mouse click). Minor cleanups.

	* app/tool_options.c: put the paint_pressure options in a
	GtkHWrapBox instead of a GtkHBox. Makes the size of the dialog a
	bit less locale-dependent.

	* plug-ins/common/xbm.c: use accessor functions instead of using
	the parasite's fields directly.
2000-03-05 00:06:11 +00:00
Michael Natterer 83bb5a38b8 s/"Only"/"only"/
2000-03-03  Michael Natterer  <mitch@gimp.org>

	* app/crop.c: s/"Only"/"only"/

	* app/iscissors.c: one more cursor_update fix. This time I don't
	claim that it's _really_ correct.

	* app/tool_options.c: don't add a separator after
	opacity/paint_mode if a paint pressure options box follows.

	* cursors/bad.xbm
	* cursors/bad_mask.xbm: made it FAT (no need to use thin lines
	which show as much as possible of the image below because the
	cursor indicates that no operation is possible).

	* libgimp/gimpprotocol.[ch]: s/int/gboolean/ where appopriate,
	indentation paranoia.

	_gp_*_read(): free the already allocated parts of the message if
	reading a subsequent part fails. These cleanups will probably occur
	shortly before the process crashes, but at least they make the
	search for real leaks easier.

	* plug-ins/common/uniteditor.c: some more tooltips.

	* plug-ins/common/xbm.c: store the image comment in the
	"gimp-comment" parasite and the hot spot in the new "hot-spot"
	parasite. Added ui for entering the hot spot.

	* docs/parasites.txt: documented the new "hot-spot" parasite.
2000-03-04 00:24:39 +00:00
Michael Natterer f4917054a9 this time cursor_update feedback is _really_ correct: for closed curves,
2000-03-03  Michael Natterer  <mitch@gimp.org>

	* app/iscissors.c: this time cursor_update feedback is _really_
	correct: for closed curves, show the "point" cursor if a mouse
	click will modify the curve and the "bad" cursor if a mouse click
	will do nothing. Seems it was not too hard to understand how it
	works...

	* plug-ins/common/uniteditor.c: for consistency, did a
	s/"Delete","Undelete"/"Don't Save","Save"/.
2000-03-03 13:01:49 +00:00
Michael Natterer 990a071c4b set <Image>/File/Revert... insensitive if the image has no filename.
2000-03-01  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay.c: set <Image>/File/Revert... insensitive if the
	image has no filename.

	* plug-ins/common/uniteditor.c: minor fix.

2000-03-01  Michael Natterer  <mitch@gimp.org>

	* C/dialogs/layers/Makefile.am
	* C/dialogs/layers/index.html
	* C/dialogs/layers/apply_mask.html: removed.

	* C/layers/Makefile.am
	* C/layers/index.html
	* C/layers/apply_mask.html
	* C/layers/delete_mask.html: new files.
2000-02-29 23:32:39 +00:00
Sven Neumann b821a2f3e8 applied patch from author that enables checkerboard in the preview
--Sven
2000-02-29 20:35:46 +00:00
Michael Natterer 5c009bb829 same as before :-( 2000-02-29 18:47:52 +00:00
Michael Natterer 08af64d608 s/plug_in_unit_editor/extension_gimp_unit_editor/ 2000-02-29 18:44:14 +00:00
Michael Natterer 6b31ee49aa plug-ins/common/.cvsignore plug-ins/common/Makefile.am
2000-02-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* po-plug-ins/POTFILES.in
	* help/C/filters/Makefile.am
	* help/C/filters/index.html
	* plug-ins/common/uniteditor.c
	* help/C/filters/uniteditor.html: new plugin.

	After one year of announcing it, I finally hacked the GIMP unit
	editor. Have fun with lightyears, parsec, ... :-)
2000-02-29 18:25:05 +00:00
Michael Natterer c56b60e815 libgimp/gimpfileselection.c behave like other dialogs (close) when
2000-02-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpfileselection.c
	* libgimp/gimpunitmenu.c: behave like other dialogs (close) when
	pressing "OK" or "Cancel".

	* libgimp/stdplugins-intl.h
	* plug-ins/script-fu/script-fu-intl.h: bind the "gimp-libgimp"
	textdomain also if HAVE_LC_MESSAGES is undefined.

	* plug-ins/print/print-ps.c
	* plug-ins/print/print.c: applied a patch from Robert L Kravitz
	<rlk@alum.mit.edu> which adds a "Center" button, activates all
	text entries and corrects the rounding behaviour. And a minor fix
	for the PS driver.

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/dbbrowser.h: removed.

	* plug-ins/dbbrowser/dbbrowser.c
	* plug-ins/dbbrowser/dbbrowser_utils.c
	* plug-ins/dbbrowser/dbbrowser_utils.h
	* plug-ins/common/plugindetails.c: ui and code cleanup.
	libgimp ui stuff and a proper include structure for the dbbrowser.

	* plug-ins/script-fu/script-fu-console.c: include
	"plug-ins/dbbrowser/dbbrowser_utils.h".
2000-02-28 00:45:58 +00:00
Sven Neumann 6d92091fef fixed bug #6613
--Sven
2000-02-26 13:56:55 +00:00
Sven Neumann 9ac098c3ce app/fileops_cmds.c don't add an already registered load|save handler twice
* app/fileops_cmds.c
 * tools/pdbgen/pdb/fileops.pdb: don't add an already registered
 load|save handler twice to the list. This fixes the problem
 that extension were listed twice if a load|save plugin changed.

 * app/plug_in.[ch]: code cleanup, indentation

 * app/xcf.[ch]: same here, include copyright headers

 * plug-ins/common/wmf.c: properly cancel the load if the user
   pressed Cancel in the dialog (fixes bug #6500)


--Sven
2000-02-24 16:11:26 +00:00
Michael Natterer 27d4717c78 use a gimp_query_boolean_box().
2000-02-23  Michael Natterer  <mitch@gimp.org>

	* app/file_new_dialog.c: use a gimp_query_boolean_box().

	* libgimp/gimpenv.c
	* libgimp/gimpquerybox.c: documentation updates.

	* libgimp/gimpwidgets.[ch]: changed the widget constructors to
	return only the container widget and added access marcos for the
	sub-widgets. Added documentation for all functions.
	Made gimp_toggle_button_sensitive_update() public so this feature
	can be properly documented.

	* plug-ins/common/blur.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/plasma.c
	* plug-ins/common/randomize.c
	* plug-ins/common/snoise.c
	* plug-ins/common/spread.c
	* plug-ins/common/tile.c
	* plug-ins/gflare/gflare.c: updated according to the
	gimpwidgets.[ch] changes.

2000-02-23  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-decl.txt
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpenv.sgml
	* libgimp/tmpl/gimppixmap.sgml
	* libgimp/tmpl/gimpwidgets.sgml: various updates and documentation
	for all gimpwidgets.[ch] functions.
2000-02-23 15:52:33 +00:00
Sven Neumann 89177db5ed Eeek, are you crazy?
--Sven
2000-02-23 00:15:12 +00:00
Sven Neumann 1cd86e61d8 support indexed drawables and do the right thing for gray drawables
--Sven
2000-02-22 21:25:18 +00:00
Michael Natterer 0a5fadee17 app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c
2000-02-21  Michael Natterer  <mitch@gimp.org>

	* app/perspective_tool.c
	* app/rotate_tool.c
	* app/scale_tool.c
	* app/shear_tool.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c: fix Solaris compilation problems
	reported by Ludovic Poitou <ludovic.poitou@france.sun.com>.

	* libgimp/gimppixmap.[ch]: new function gimp_pixmap_set().

	* plug-ins/gfig/gfig.c: hacked the ui to use the libgimp widgets &
	constructors and slightly reorganized it to use fewer screen
	space (not yet perfect). Did a general namespace & code cleanup.

	* plug-ins/FractalExplorer/FractalExplorer.c: use a GimpPathEditor
	widget.
2000-02-21 11:54:33 +00:00
Sven Neumann e42cece9b1 GUI updates
--Sven
2000-02-21 11:00:28 +00:00
Sven Neumann ae41c48979 no comment ... 2000-02-20 20:32:40 +00:00
Sven Neumann 6f207ff316 I am stupid
--Sven
2000-02-20 20:25:01 +00:00
Sven Neumann b78497d795 made it more robust against strange input
--Sven
2000-02-20 20:09:01 +00:00
Sven Neumann d230a0e0e9 another try to fix the grid plug-in
--Sven
2000-02-20 19:34:51 +00:00
Sven Neumann 51d9de4559 fixed bug #6330
--Sven
2000-02-19 19:36:10 +00:00
Sven Neumann c878108f4a ignore motion_events in a time-window of 100ms after the last event. Was
* app/fuzzy_select.c: ignore motion_events in a time-window of
  100ms after the last event. Was intended as a workaround for bug
  #5949, but IMO it makes the tool more responsive and easier to
  control.

* app/nav_window.c: as a workaround for bug #5955 move the
  navigation popup on screen if used to close to the screen borders.
  Moving the cursor will make the image scroll by a large amount
  eventually, but IMHO this is better than having a nonfunctional
  navigation popup.

* plug-ins/common/curve_bend.c
* plug-ins/gap/gap_decode_xanim.c: fixed typos


--Sven
2000-02-19 13:19:08 +00:00
Sven Neumann c73443105f default to rotation = 0
--Sven
2000-02-18 23:06:07 +00:00
Michael Natterer 52b8b75b6b new function gimp_color_button_double_new() which uses an array of gdouble
2000-02-18  Michael Natterer  <misch@gimp.org>

	* libgimp/gimpcolorbutton.[ch]: new function
	gimp_color_button_double_new() which uses an array of gdouble
	instead uf guchar to store the color.

	* libgimp/gimpwidgets.h: added macros for easier access of the
	scale_entries widgets.

	* plug-ins/common/film.c: use the scale_entry widget accessors.

	* plug-ins/libgck/gck/Makefile.am
	* plug-ins/libgck/gck/gckcolor.h
	* plug-ins/libgck/gck/gcktypes.h
	* plug-ins/libgck/gck/gckui.[ch]: removed.

	* plug-ins/libgck/gck/gck.h
	* plug-ins/libgck/gck/gckcolor.c: left only the color functions in
	libgck.

	* plug-ins/Lighting/lighting_pixmaps.h
	* plug-ins/MapObject/mapobject_pixmaps.h: removed (include the
	pixmaps directly).

	* po-plug-ins/POTFILES.in: added mapobject_ui.c.

	* plug-ins/Lighting/lighting_image.c
	* plug-ins/Lighting/lighting_main.[ch]
	* plug-ins/Lighting/lighting_preview.c
	* plug-ins/Lighting/lighting_ui.[ch]
	* plug-ins/MapObject/mapobject_image.[ch]
	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.[ch]: use gtk+ and libgimp
	functions instead of gck ones, cleanups, I18N. More stuff to
	come...
2000-02-17 23:48:13 +00:00
Sven Neumann ad1a34721a applied patch from Wolfgang Hofer that fixes bug #6012
--Sven
2000-02-16 16:38:36 +00:00
Sven Neumann d1f9b0c606 removed warnings
--Sven
2000-02-16 02:51:30 +00:00
Sven Neumann cefe65bece applied updates from author
--Sven
2000-02-15 12:14:47 +00:00
Tor Lillqvist 970ad834d1 libgimp/gimp.def libgimp/gimpui.def libgimp/makefile.{cygwin,msc}
2000-02-15  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimp.def
* libgimp/gimpui.def
* libgimp/makefile.{cygwin,msc}
* app/makefile.{cygwin,msc}
* plug-ins/makefile.{cygwin,msc}: Updates.

* app/datafiles.c (is_script): New Win32-only function, which
tests if a file's extension matches one of the extensions in the
PATHEXT environment variable (which the cmd.exe command
interpreter also uses). This is to avoid starting applications
associated with any random data file the user might have dropped
in the plug-ins folder, while still supporting plug-ins written in
scripting languages.

* app/gimpparasite.c (gimp_parasiterc_save): (Win32:) Cannot
rename to an existing file.

* plug-ins/Lighting/lighting_image.c
* plug-ins/Lighting/lighting_share.c
* plug-ins/MapObject/mapobject_preview.c
* plug-ins/MapObject/mapobject_shade.c: Use G_PI.

* plug-ins/common/gz.c: #ifdef G_OS_WIN32 was used before its
potential definition via glib.h.

* plug-ins/common/jpeg.c: Also recognize Exif files, which are
typically produced by digital cameras. The usually have a .jpg
file name extension, and would thus already match this plug-in,
but add the magic string just in case. They are loaded just fine
by libjpeg even if they don't have the JFIF signature.

* plug-ins/common/tiff.c: Set TIFF warning and error handler, so
we get to pass libtiff's messages through the normal channels.
2000-02-14 22:44:06 +00:00
Sven Neumann db784a41c5 updated the german translation
--Sven
2000-02-14 17:54:05 +00:00
Michael Natterer 73f722ec23 purely cosmetic.
2000-02-14  Michael Natterer  <mitch@gimp.org>

	* app/preferences_dialog.c: purely cosmetic.

	* libgimp/gimpdialog.c: purely fanatic.

	* libgimp/gimpwidgets.c: attach label, scale and spinbutton to the
	adjustment returned by gimp_scale_entry_new().

	* plug-ins/common/film.c: set reasonable climb_rate's for the
	advanced options's spinbuttons.
2000-02-14 13:23:12 +00:00
Sven Neumann fde64e54db tupos fixes and updates to german catalogs
--Sven
2000-02-13 12:04:32 +00:00
SHIRASAKI Yasuhiro 90c48abc1e plug-ins/common/CML_explorer.c plug-ins/common/depthmerge.c
* plug-ins/common/CML_explorer.c
        * plug-ins/common/depthmerge.c
        * plug-ins/common/despeckle.c
        * plug-ins/common/destripe.c
        * plug-ins/common/edge.c
        * plug-ins/common/fractaltrace.c
        * plug-ins/common/gqbist.c: unmarked blurb and help.

-- yasuhiro
2000-02-13 09:29:59 +00:00
Marc Lehmann 9d02cb0d45 *** empty log message *** 2000-02-13 00:11:26 +00:00
Sven Neumann 7213555631 fixed bug #5624.
--Sven
2000-02-11 02:22:01 +00:00
Sven Neumann e32c1533e2 fixed bug #6011.
--Sven
2000-02-10 23:17:22 +00:00
Sven Neumann b20f154ac8 app/interface.c app/pixmaps2.h use new icons courtesy by Tigert.
* app/interface.c
 * app/pixmaps2.h
 * app/tools.c: use new icons courtesy by Tigert.

 * plug-ins/common/gauss_iir.c
 * plug-ins/common/gauss_rle.c
 * plug-ins/common/spread.c: enlarged maximum values

--Sven
2000-02-10 01:49:45 +00:00
Garry R. Osgood f4124d81ff gimp/plug-ins/common/randomize.c Inadvertent use of wrong adjustment
2000-02-09  Garry R. Osgood <gosgood@idt.net>
* gimp/plug-ins/common/randomize.c
Inadvertent use of wrong adjustment
update callback failed to get proper
value of randomizing count from GUI.
[line 771, CVS-1.28] Closes #5948.
2000-02-10 00:08:27 +00:00
Michael Natterer 556f71ba0e hacked the ui and added widgets for the advanced options.
2000-02-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/film.c: hacked the ui and added widgets for
	the advanced options.
2000-02-09 02:32:35 +00:00
Michael Natterer a56c872b6a wanted to fix the "loading/saving jpeg causes SEGV" bugs but ended up with
2000-02-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/jpeg.c: wanted to fix the "loading/saving jpeg
	causes SEGV" bugs but ended up with just some more callbacks
	removed (works fine on my system anyway).
2000-02-08 17:37:36 +00:00
SHIRASAKI Yasuhiro f97cc48e53 fixed typo.
* plug-ins/common/max_rgb.c: fixed typo.

-- yasuhiro
2000-02-08 07:29:54 +00:00
Tor Lillqvist 636c330f42 Enclose file name with double quotes on Win32, in case it contains spaces.
2000-02-08  Tor Lillqvist  <tml@iki.fi>

* plug-ins/common/ps.c (ps_open): Enclose file name with double
quotes on Win32, in case it contains spaces.
2000-02-07 22:53:28 +00:00
Sven Neumann dd62734b87 on my way to find that undo bug in here....
--Sven
2000-02-07 22:23:02 +00:00
Michael Natterer ef17866973 app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and
2000-02-07  Michael Natterer  <mitch@gimp.org>

	* app/*
	* libgimp/*
	* plug-ins/*
	* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
	s/GimpSizeEntryUP/GimpSizeEntryUpdatePolicy/

	* libgimp/gimpcolorspace.c: renamed the parameter names to match
	the names in the header.

	* libgimp/gimphelpui.h
	* libgimp/gimpimage.c
	* libgimp/gimpmatrix.h
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpunit.[ch]
	* libgimp/gimpunitmenu.[ch]
	* libgimp/gimpwidgets.[ch]: added documentation and use g* types
	all over the place (enables cross-referencing with the glib and
	gtk+ html documentation).

	* plug-ins/common/exchange.c
	* plug-ins/common/max_rgb.c: small cleanups.

	* plug-ins/common/mapcolor.c: the color buttons were attached in
	the wrong order.
2000-02-07 20:35:13 +00:00
Stanislav Brabec ce6050ad5f win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +00:00
Garry R. Osgood 74e4ed42e0 gimp/plug-ins/sample_colorize.c Sample Colorize was not colorizing. Author
2000-02-05  Garry R. Osgood <gosgood@idt.net>
* gimp/plug-ins/sample_colorize.c
Sample Colorize was not colorizing. Author
misused gimp_selection_bounds(); assumed that
"selection is empty" indicator was this
function's return value [p_init_gdrw() line 2597]
Caused the plugin to assume an active selection
was in progress even when there wasn't. Usually,
this precluded any kind of colorization.
Sanity-checked the existence of widgets before
their passage to GTK.
2000-02-07 01:20:22 +00:00
Sven Neumann 47e196bb9a Corrected a stupid mistake I made when I changed rcm to use the
* plug-ins/rcm/rcm_misc.c: Corrected a stupid mistake I made when
  I changed rcm to use the gimp_color_space functions (fixes #5967).

* plug-ins/common/decompose.c: Fixed a minor problem Mitch
  introduced lately and removed another occurence of sprintf/gettext.


--Sven
2000-02-06 20:04:24 +00:00
Michael Natterer bce26fb34a use g* types and name the parameters in the header.
2000-02-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpcolorspace.[ch]: use g* types and name the
	parameters in the header.

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/blur.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/nova.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/plasma.c
	* plug-ins/common/randomize.c
	* plug-ins/common/unsharp.c
	* plug-ins/gflare/gflare.c
	* plug-ins/sinus/sinus.c
	* plug-ins/struc/struc.c: soem more consistency stuff.
2000-02-04 22:18:50 +00:00
Michael Natterer e20554fb84 gimprc.in user_install renamed the "gflares" dir to "gflare" in all places
2000-02-05  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* user_install
	* user_install.bat: renamed the "gflares" dir to "gflare" in all
	places because this seems to be the naming convention of all the
	other plug-in dirs.

	* libgimp/gimpwidgets.[ch]:

	- gimp_random_seed_new(): return the spinbutton and the time
	  toggle as pointers.
	- gimp_scale_entry_new(): allow the spinbutton to have a larger
	  range of possible values than the scale.

	* plugins/[all calls to the above two functions]: changed the
	calls accordingly.
	Did some more ui updates in some of these plugins (Frames saying
	"Parameter Settings", spacing etc.)

	* plug-ins/gflare/Makefile.am
	* plug-ins/gflare/gflare.c: hacked it to match the plugin ui
	standards. Didn't get rid of the gradient menus.
2000-02-04 15:12:17 +00:00
Michael Natterer 9508a095d1 Pass the values which are treated as 0% and 100% to the constructor and
2000-02-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch] gimp_coordinates_new():
	Pass the values which are treated as 0% and 100% to the
	constructor and allow the chainbutton to constrain either the
	pixel values or the aspect ratio.

	* plug-ins/common/bumpmap.c
	* plug-ins/common/sparkle.c: removed unused variables.

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/spread.c: updated the gimp_coordinates_new()
	calls.

	* plug-ins/common/tile.c: use gimp_coordinates instead of
	spinbuttons.
2000-02-02 17:59:44 +00:00
Michael Natterer dd20d22192 attach labels and the unit_menu with GTK_SHRINK.
2000-02-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpsizeentry.[ch]: attach labels and the unit_menu with
	GTK_SHRINK.

	* libgimp/gimpwidgets.[ch]: new convenience constructor
	gimp_coordinates_new() which creates a sizeentry with two fields,
	labels and a chainbutton.

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/spread.c: use the coordinate constructor.

	* plug-ins/common/mblur.c: put the settings into two separate
	frames instead of using two nested frames.

	* plug-ins/common/sample_colorize.c: don't #include <math.h>

	* plug-ins/script-fu/script-fu-scripts.c: use the libgimp ui
	functions.

	* plug-ins/script-fu/script-fu.c: hm, don't remember, I guess it
	was indentation paranoia...
2000-01-31 20:47:44 +00:00
SHIRASAKI Yasuhiro 48f3a68614 fixed typo.
* plug-ins/gap/gap_decode_mpeg_main.c: fixed typo.

        * plug-ins/common/whirlpinch.c: unmarked blurb and help.

        * po-plug-ins/POTFILES.in: removed plug-ins/perl/Gimp.c
        which doesn't contain translatable messages.

-- yasuhiro
2000-01-31 19:49:04 +00:00
Sven Neumann 4006d434df more sanity checks in gimpdrawable.c and a few i18n issues
--Sven
2000-01-31 13:07:39 +00:00
Michael Natterer 03015f85d7 merged the table attach helper functions into one function.
2000-02-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]: merged the table attach helper
	functions into one function.

	* app/*
	* plug-ins/*: changed the calls to gimp_table_attach_aligned()
	accordingly. Did minimal ui updates (spacing and stuff) in some
	files.
2000-01-31 03:13:02 +00:00
Marc Lehmann 734d4c42b0 *** empty log message *** 2000-01-31 02:32:30 +00:00
Sven Neumann 07cd86c451 use color_conversion routines out of libgimp
--Sven
2000-01-30 23:56:04 +00:00
Stanislav Brabec b1eed798d5 fixed typo 2000-01-30 23:00:03 +00:00
Sven Neumann 2747db5fa1 s/colour/color/
--Sven
2000-01-30 13:25:54 +00:00
Nick Lamb /GIMP 9e0e369e4d Images we save are full size (duh)
Applied to fix #5000 after some discussion and thought, this is really Quark's bug, but who am I to argue?
2000-01-30 05:01:58 +00:00
Michael Natterer 497ba1ecc0 badly hacked the FractalExplorer (only 18 plugins left... ;-) 2000-01-29 03:19:53 +00:00
Nick Lamb /GIMP da57754eb5 More conservative resolution behaviour in loading PNGs 2000-01-29 00:39:18 +00:00
Sven Neumann ab6afdc206 removed compiler warnings
--Sven
2000-01-28 13:12:50 +00:00
Michael Natterer 278a69918d bind the "gimp-libgimp" textdomain to get the libgimp widget translations.
2000-01-28  Michael Natterer  <mitch@gimp.org>

	* app/main.c: bind the "gimp-libgimp" textdomain to get the
	libgimp widget translations. Did some code cleanup.

	* libgimp/stdplugins-intl.h: bind "gimp-libgimp".

	* libgimp/gimpintl.h: copyright header.

	* libgimp/libgimp-intl.h: there is no dgettext_noop() function
	(typo/braino).

	* libgimp/gimpwidgets.[ch]: one more table attach helper
	function. Should probably find a general way for the two
	functions.

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/align_layers.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/threshold_alpha.c: removed the gtkW_* wrapper
	functions. Badly hacked CML_explorer (The optionmenu creation is a
	bit more ugly than before but at least consistent with the other
	files using the libgimp optionmenu constructor).
2000-01-27 19:26:00 +00:00
Michael Natterer 38c66a651c added one more option menu constructor and made the namespace more
2000-01-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]: added one more option menu constructor
	and made the namespace more consistent, minor fixes.

	* libgimp/gimpdialog.c
	* libgimp/gimpunitmenu.c: minor fixes.

	* app/preferences_dialog.c
	* plug-ins/borderaverage/borderaverage.c
	* plug-ins/common/gif.c
	* plug-ins/common/randomize.c: changed according to the above
	namespace cleanups.
2000-01-27 01:22:27 +00:00
Sven Neumann ea27590213 typos and german translation
--Sven
2000-01-27 01:00:09 +00:00
Tor Lillqvist 1af6e3110a No need to use an #ifdef for G_OS_WIN32 as the whole function is already
2000-01-27  Tor Lillqvist  <tml@iki.fi>

* app/main.c (on_signal): No need to use an #ifdef for G_OS_WIN32
as the whole function is already bypassed on Win32.

* libgimp/gimp.def
* libgimp/gimpui.def: Updates.

* plug-ins/makefile.cygwin
* plug-ins/makefile.msc: Goodbye to the megawidget library.

* plug-ins/common/papertile.c: MAIN() must be after PLUG_IN_INFO
definition.
2000-01-27 00:26:22 +00:00
Sven Neumann d9f41c33fd don't connect to the unit_changed signal
--Sven
2000-01-26 23:09:15 +00:00
Michael Natterer 65dd45da78 changed the ui to use the libgimp widget constructors, put the channel
2000-01-27  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/newsprint.c: changed the ui to use the libgimp
	widget constructors, put the channel settings into a notebook, did
	some indentation.
2000-01-26 22:38:31 +00:00
Sven Neumann 6895d48413 eeek, mitch introduced a typo with bad consequences
--Sven
2000-01-26 17:33:25 +00:00
SHIRASAKI Yasuhiro 9659b77317 i18n fix and message table update. 2000-01-26 17:17:58 +00:00
Michael Natterer 8098581577 block the sizeentry's signals while updating is's fields after a unit
2000-01-26  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpsizeentry.[ch]: block the sizeentry's signals while
	updating is's fields after a unit change and emit the
	"value_changed" signal manually afterwards. This avoids multiple
	"value_changed" signals which may cause callbacks to change the
	sizeentry in the middle of a unit update.

	* plug-ins/commion/spread.c: no need to connect to the sizeentry's
	"unit_changed" signal.
2000-01-26 00:39:40 +00:00
Sven Neumann 38ed843bb7 plugin ui changes
--Sven
2000-01-25 23:11:20 +00:00
Michael Natterer 4923047146 removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and
2000-01-25  Michael Natterer  <mitch@gimp.org>

	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
	include both <glib.h> and <gtk/gtk.h>.

	* app/*
	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
	same for MIN and MAX.

	* app/preferences_dialog.c: the "Check Size" widget was connected
	to the transparency_type variable.

	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.

	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".

	* plug-ins/*: don't include the two files.
2000-01-25 23:06:12 +00:00
Sven Neumann ed491085a2 use gimp_tile_cache_ntiles () when creating a new image, disable undo,
* plug-ins/common/colorify.c: use gimp_tile_cache_ntiles ()
* plug-ins/common/lic.c: when creating a new image, disable
  undo, enable it later when the new image is completed

--Sven
2000-01-25 19:11:57 +00:00
Michael Natterer fa30ba04c7 configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am
2000-01-25  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* po-plug-ins/POTFILES.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/megawidget/*: removed. (There were only 3 functions
	left which were used by ~5 plugins, so I moved the resp. functions
	to the plugins). More preview stuff to come...

	* app/airbrush_blob.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: use G_PI instead of M_PI.

	* app/procedural_db.h
	* libgimp/gimpenums.h
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
	indicates that "Cancel" was pressed in a plugin dialog. (Useful
	only for file load/save plugins).

	* app/fileops.[ch]
	* app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
	code cleanup in fileops.[ch]. Pop up a warning if File->Save
	failed.

	* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
	PDB_INT32.

	* libgimp/gimpmath.h: new constant G_MAXRAND which equals to
	RAND_MAX if it exists or to G_MAXINT otherwise.

	* libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
	which creates a spinbutton and a "Time" toggle.
	Call the function which does the "set_sensitive" magic from the
	radio button callback.

	* plug-ins/[75 plugins]:

	- Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
	  was pressed.
	- Standardized the file plugins' "run" functions.
	- Use G_PI and G_MAXRAND everywhere.
	- Added tons of scales and spinbuttons instead of text entries.
	- Applied uniform packing/spacings all over the place.
	- Reorganized some UIs (stuff like moving the preview to the top
	  left corner of the dialog).
	- Removed many ui helper functions and callbacks and use the stuff
	  from libgimp instead.
	- I tried not to restrict the range of possible values when I
	  replaced entries with spinbuttons/scales but may have failed,
	  though in some cases. Please test ;-)
	- #include <libgimp/gimpmath.h> where appropriate and use it's
	  constants.
	- Indentation, s/int/gint/ et.al., code cleanup.

	RFC: The plugins are definitely not useable with GIMP 1.0 any
	     more, so shouldn't we remove all the remaining compatibility
	     stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")
2000-01-25 17:46:56 +00:00
Stanislav Brabec 7a8b15754b fixed types 2000-01-25 14:13:35 +00:00
Sven Neumann 1ff1e442fb i18n fixes and updates to the polish translation 2000-01-24 20:32:42 +00:00
jaycox 8b3666c2b3 load the resolution info from the psd file.
* plug-ins/common/psd.c:  load the resolution info from the psd file.
2000-01-24 09:05:38 +00:00
GMT 2000 Austin Donnelly c5c95ff976 update my entry. I maintain newsprint.
Sat Jan 22 22:14:18 GMT 2000  Austin Donnelly  <austin@gimp.org>

	* MAINTAINERS: update my entry.
	* PLUGIN_MAINTAINERS: I maintain newsprint.

	* app/fuzzy_select.c: fix so if you move the pointer back to
	   where you started, the selection is also the same.  Can people
	   (tigert?) give this a spin - if it isn't as intuitive as the
	   old way we should roll this back.

	* plug-ins/common/jpeg.c: use volatile to get rid of "clobber"
	   warnings from GCC.  Also, fix handling of multiple COM
	   sections, so can load images such as
	   /usr/share/pixmaps/backgrounds/space/clem_full_moon_strtrk.jpg or
	   /usr/share/pixmaps/backgrounds/space/apollo08_earthrise.jpg
	   which used to segv the jpeg plugin.

	* plug-ins/common/newsprint.c: update my email address.

	* plug-ins/common/ps.c: applied gimp-kirchgessner-000116-0.patch:
	   save using PostScript level 2 features which result in files
	   60% smaller than naive level 1 method.  Peter added a
	   checkbutton to the UI to revert to level 1 algorithm, but we
	   default to level 2.  Almost everyone should have a level 2
	   printer, new printers and ghostscript are level 3 these days.
2000-01-22 22:26:20 +00:00
Nick Lamb /GIMP 32ab81a8a0 Fix bug reported by Marc Lehmann. 2000-01-22 01:48:17 +00:00
Manish Singh f44ffcd849 reverted previous plugin addition
-Yosh
2000-01-21 01:42:13 +00:00
Stanislav Brabec 6263c616ab new plugins 2000-01-20 23:28:15 +00:00
Stanislav Brabec a270c0dc2d remove unneccessary rgb_to_hsv and bugfiles 2000-01-19 14:57:19 +00:00
Sven Neumann cc58abd365 extended gauss_blur functionality and a few other minor hacks
--Sven
2000-01-18 21:01:45 +00:00
Sven Neumann 6cea0ffa81 fixed a bad bug in the wind plug-in that I just stumpled across when trying
to figure out what it actually does...


--Sven
2000-01-17 22:12:45 +00:00
Sven Neumann f6fcdca142 fixed typos and updated german translation
--Sven
2000-01-17 21:25:29 +00:00
Michael Natterer 2f4a226ed2 emit the "color_changed" signal whenever the user selects "Use FG/BG
2000-01-17  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpcolorbutton.c: emit the "color_changed" signal
	whenever the user selects "Use FG/BG Color" from the popup menu.

	* libgimp/gimpwidgets.c: gimp_table_attach_aligned(): allow the
	function to be called with label == NULL.

	* plug-ins/AlienMap/AlienMap.c
	* plug-ins/AlienMap2/AlienMap2.c
	* plug-ins/common/CEL.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/engrave.c
	* plug-ins/common/exchange.c
	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/illusion.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/mblur.c
	* plug-ins/common/oilify.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/shift.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/video.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/sgi/sgi.c: more ui updates.
2000-01-17 17:02:26 +00:00
SHIRASAKI Yasuhiro 11649fc701 plug-ins/common/csource.c plug-ins/common/header.c
* plug-ins/common/csource.c
        * plug-ins/common/header.c
        * plug-ins/common/winclipboard.c
        * po-plug-ins/POTFILES.in: added gettext support.

-- yasuhiro
2000-01-17 13:21:13 +00:00
Stanislav Brabec e304254b2f typo fix 2000-01-16 19:02:55 +00:00
Michael Natterer c5a2909aae oops, the "Add Layer Mask" dialog contained nothing after my last change.
2000-01-16  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: oops, the "Add Layer Mask" dialog contained
	nothing after my last change.

	* libgimp/gimpwidgets.c: gimp_table_attach_aligned() sets the
	yalign of the widget to 0.5 instead of 1.0.

	* plug-ins/common/align_layers.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/blur.c
	* plug-ins/common/cubism.c
	* plug-ins/common/decompose.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/mail.c
	* plug-ins/common/nova.c
	* plug-ins/common/randomize.c
	* plug-ins/common/ripple.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/shift.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spread.c: even more spinbuttons and other ui
	updates.
2000-01-16 15:38:38 +00:00
SHIRASAKI Yasuhiro 14c3c191e2 plug-ins/common/wmf.c small i18n fixes.
* plug-ins/common/wmf.c
* app/text_tool.c: small i18n fixes.

-- yasuhiro
2000-01-15 18:06:15 +00:00
Shirasaki Yasuhiro 72ae425bfc plug-ins/common/waves.c plug-ins/common/whirlpinch.c
2000-01-16  Shirasaki Yasuhiro  <yasuhiro@gnome.gr.jp>

	* plug-ins/common/waves.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/common/wind.c
	* plug-ins/common/wmf.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/pagecurl/Makefile.am
	* po-plug-ins/POTFILES.in: added gettext support.

-- yasuhiro
2000-01-15 17:22:19 +00:00
Michael Natterer 6e83e1ba0a added a float adjustment callback.
2000-01-15  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]: added a float adjustment callback.

	* plug-ins/common/bumpmap.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/destripe.c
	* plug-ins/common/gpb.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/polar.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/tileit.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/common/wind.c:

	- Some more hscale+spinbutton instead of hscale+entry widgets.
	- Get the CHECK_SIZE constants from libgimp in some plugins.
2000-01-15 15:32:28 +00:00
Sven Neumann f4fc693164 new PDB wrappers in libgimp and plugin code cleanup
--Sven
2000-01-14 21:38:47 +00:00
Sven Neumann 078f6cfe3d added gettext support for modules and fixed bug #5148
--Sven
2000-01-14 19:57:42 +00:00
Manish Singh 2e40063a6b configure.in plug-ins/Makefile.am move unsharp here, since it doesn't have
* configure.in
* plug-ins/Makefile.am
* plug-ins/common/unsharp.c: move unsharp here, since it doesn't
have any support files anymore

-Yosh
2000-01-14 19:44:39 +00:00
Michael Natterer f4c9f24e7d checked in a typo before... 2000-01-14 17:15:54 +00:00
Michael Natterer e88e3e4454 s/gtk_container_border_width/gtk_container_set_border_width/
2000-01-14  Michael Natterer  <mitch@gimp.org>

	* app/info_window.c:
	s/gtk_container_border_width/gtk_container_set_border_width/

	* plug-ins/common/engrave.c
	* plug-ins/common/noisify.c
	* plug-ins/common/oilify.c
	* plug-ins/common/polar.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/Makefile.am
	* plug-ins/maze/maze_face.c
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/struc/Makefile.am
	* plug-ins/struc/struc.c: more spinbuttons instead of entries,
	dialog layout, stuff...
2000-01-14 17:06:35 +00:00
Sven Neumann 4189d58b12 removed all apperances of gtk_tooltips_set_colors ()
--Sven
2000-01-14 15:14:16 +00:00