gimp/app/plug-in
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
..
gimpplugin-message.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
gimpplugin-progress.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
gimpplugin-progress.h Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* 1999-10-19 04:58:17 +00:00
gimpplugin.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
gimpplugin.h Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* 1999-10-19 04:58:17 +00:00
gimppluginmanager-call.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
gimppluginmanager-run.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
gimppluginmanager.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
gimppluginmanager.h Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* 1999-10-19 04:58:17 +00:00
gimppluginshm.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-in-def.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-in-def.h Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* 1999-10-19 04:58:17 +00:00
plug-in-message.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-in-params.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-in-params.h Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* 1999-10-19 04:58:17 +00:00
plug-in-progress.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-in-progress.h Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* 1999-10-19 04:58:17 +00:00
plug-in-run.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-in-shm.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-in.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-in.h Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* 1999-10-19 04:58:17 +00:00
plug-ins.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
plug-ins.h Really fixed #2152 this time. Yosh asked me to rename *_OK as PLUG_IN_* 1999-10-19 04:58:17 +00:00