Gimp/app/tools
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
..
airbrush.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
airbrush.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
airbrush_blob.c configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am 2000-01-25 17:46:56 +00:00
airbrush_blob.h Update of the Xinput airbrush, fixed some bugs. It's a bit closer to a 1999-11-14 20:49:14 +00:00
bezier_select.c exchanged the big fat bigcirc cursors against a new one in the style of 2000-01-19 20:40:58 +00:00
bezier_select.h
bezier_selectP.h
blend.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
blend.h
blob.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
blob.h
brightness_contrast.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
brightness_contrast.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
bucket_fill.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
bucket_fill.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
by_color_select.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
by_color_select.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
clone.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
clone.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
color_balance.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
color_balance.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
color_picker.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
color_picker.h set the "preserve" flag to FALSE. This way the tool doesn't have to detect 1999-07-24 15:37:03 +00:00
convolve.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
convolve.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
crop.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
crop.h
curves.c laod and save for the curves tool 2000-01-20 12:22:54 +00:00
curves.h laod and save for the curves tool 2000-01-20 12:22:54 +00:00
dodgeburn.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
dodgeburn.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
edit_selection.c Remove old movement code and unused variables. 1999-12-17 20:59:37 +00:00
edit_selection.h namespace cleanups. 1999-06-21 22:12:07 +00:00
ellipse_select.c gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
ellipse_select.h
eraser.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
eraser.h app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c 1999-08-13 20:50:30 +00:00
flip_tool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
flip_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
free_select.c gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
free_select.h NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
fuzzy_select.c update my entry. I maintain newsprint. 2000-01-22 22:26:20 +00:00
fuzzy_select.h
gimpairbrushtool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpairbrushtool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpblendtool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpblendtool.h
gimpbrightnesscontrasttool.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
gimpbrightnesscontrasttool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpbucketfilltool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpbucketfilltool.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
gimpbycolorselecttool.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
gimpbycolorselecttool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpclonetool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpclonetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpcolorbalancetool.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
gimpcolorbalancetool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpconvolvetool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpconvolvetool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpcroptool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpcroptool.h
gimpcurvestool.c laod and save for the curves tool 2000-01-20 12:22:54 +00:00
gimpcurvestool.h laod and save for the curves tool 2000-01-20 12:22:54 +00:00
gimpdodgeburntool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpdodgeburntool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpeditselectiontool.c Remove old movement code and unused variables. 1999-12-17 20:59:37 +00:00
gimpeditselectiontool.h namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpellipseselecttool.c gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
gimpellipseselecttool.h
gimperasertool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimperasertool.h app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c 1999-08-13 20:50:30 +00:00
gimpfliptool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpfliptool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpfreeselecttool.c gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
gimpfreeselecttool.h NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
gimpfuzzyselecttool.c update my entry. I maintain newsprint. 2000-01-22 22:26:20 +00:00
gimpfuzzyselecttool.h
gimphistogramtool.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
gimphistogramtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimphuesaturationtool.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
gimphuesaturationtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpinktool-blob.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
gimpinktool-blob.h
gimpinktool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpinktool.h
gimpiscissorstool.c fix problem with layers with non-zero offset. 1999-12-11 00:10:09 +00:00
gimpiscissorstool.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimplevelstool.c app/gdisplay.c app/gimage_cmds.c fixed typos 2000-01-09 12:40:10 +00:00
gimplevelstool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpmagnifytool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpmagnifytool.h
gimpmeasuretool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpmeasuretool.h Added new measure tool. 1999-08-15 15:59:06 +00:00
gimpmovetool.c a whole lotta guide fixes 1999-10-13 23:07:45 +00:00
gimpmovetool.h
gimppaintoptions-gui.h allow the user to choose the default for "Dot for Dot" 2000-01-09 17:31:00 +00:00
gimppenciltool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimppenciltool.h
gimpperspectivetool.c I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpperspectivetool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpposterizetool.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
gimpposterizetool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimprectselecttool.c gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
gimprectselecttool.h gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
gimpregionselecttool.c update my entry. I maintain newsprint. 2000-01-22 22:26:20 +00:00
gimpregionselecttool.h
gimprotatetool.c I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimprotatetool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpscaletool.c I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpscaletool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpselectionoptions.h Use the context almost everywhere. 1999-10-26 18:27:27 +00:00
gimpsheartool.c I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpsheartool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpsmudgetool.c fixed bug #5176 (smudge tool crash) 2000-01-14 18:45:36 +00:00
gimpsmudgetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpsourcetool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
gimpsourcetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimptexttool.c Add Win32 workaround for yasuhiro's "i18n fix" change that introduced an 2000-01-18 23:12:26 +00:00
gimptexttool.h
gimpthresholdtool.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
gimpthresholdtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
histogram_tool.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
histogram_tool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
hue_saturation.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
hue_saturation.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
ink.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
ink.h
iscissors.c fix problem with layers with non-zero offset. 1999-12-11 00:10:09 +00:00
iscissors.h added a G_PI_2 1999-08-16 03:43:48 +00:00
levels.c app/gdisplay.c app/gimage_cmds.c fixed typos 2000-01-09 12:40:10 +00:00
levels.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
magnify.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
magnify.h
measure.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
measure.h Added new measure tool. 1999-08-15 15:59:06 +00:00
move.c a whole lotta guide fixes 1999-10-13 23:07:45 +00:00
move.h
paint_core.c Add gimpcolorspace object. 2000-01-04 17:46:41 +00:00
paint_core.h fixed bug #5176 (smudge tool crash) 2000-01-14 18:45:36 +00:00
paint_options.h allow the user to choose the default for "Dot for Dot" 2000-01-09 17:31:00 +00:00
paintbrush.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
paintbrush.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
path_tool.c a patch to the path tool from Simon Budig 1999-10-08 10:22:39 +00:00
path_tool.h app/path_tool.h app/path_tool.c app/path_toolP.h app/path_curves.h 1999-10-06 23:24:22 +00:00
path_toolP.h a patch to the path tool from Simon Budig 1999-10-08 10:22:39 +00:00
pencil.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
pencil.h
perspective_tool.c I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
perspective_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
posterize.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
posterize.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
rect_select.c gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
rect_select.h gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
rect_selectP.h gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
rotate_tool.c I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
rotate_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
scale_tool.c I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
scale_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
selection_options.h Use the context almost everywhere. 1999-10-26 18:27:27 +00:00
shear_tool.c I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
shear_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
smudge.c fixed bug #5176 (smudge tool crash) 2000-01-14 18:45:36 +00:00
smudge.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
text_tool.c Add Win32 workaround for yasuhiro's "i18n fix" change that introduced an 2000-01-18 23:12:26 +00:00
text_tool.h
threshold.c app/[all files using the dialog or action area constructors] added a 2000-01-06 16:40:17 +00:00
threshold.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
tool_options.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
tool_options.h
tools.c gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
tools.h gimp/app/disp_callbacks.c gimp/app/ellipse_select.c gimp/app/free_select.c 2000-01-19 19:06:13 +00:00
transform_core.c Fix for NULL pointer dereference by Steinar (sesse) 2000-01-22 03:01:46 +00:00
transform_core.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
transform_tool.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
transform_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
xinput_airbrush.c app/Makefile.am removed. 2000-01-14 12:41:00 +00:00
xinput_airbrush.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00