gimp/app/tools
Sven Neumann 8cfac64aac avoid modulo operation on negative values.
2000-10-26  Sven Neumann  <sven@gimp.org>

	* app/channel_ops.c (offset_ok_callback): avoid modulo operation on
	negative values.

	* app/channel_ops.c
	* app/crop.c
	* app/file_new_dialog.c
	* app/layers_dialog.c
	* app/preferences_dialog.c
	* app/rotate_tool.c
	* app/scale_tool.c: use RINT() when assigning the result of
	gimp_size_entry_get_refval() to an integer.
2000-10-26 22:02:44 +00:00
..
airbrush.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +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 win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +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 plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
bezier_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
bezier_selectP.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
blend.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
blend.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
blob.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
blob.h Let the user choose between elliptical, square, and diamond shaped brushes 1999-02-03 04:29:08 +00:00
brightness_contrast.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
brightness_contrast.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
bucket_fill.c cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
bucket_fill.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
by_color_select.c cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
by_color_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
clone.c Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +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 New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
color_balance.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
color_picker.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +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 cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
convolve.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
crop.c avoid modulo operation on negative values. 2000-10-26 22:02:44 +00:00
crop.h Toggable tools! 1999-04-27 02:09:03 +00:00
curves.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
curves.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
dodgeburn.c cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +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 plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
edit_selection.h plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
ellipse_select.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
ellipse_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
eraser.c app/convolve.c app/dodgeburn.c app/eraser.c app/paint_core.c fixed my tool 2000-06-14 14:22:47 +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 Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +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 plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
free_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
fuzzy_select.c plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
fuzzy_select.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimpairbrushtool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +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 allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
gimpblendtool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpbrightnesscontrasttool.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpbrightnesscontrasttool.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpbucketfilltool.c cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
gimpbucketfilltool.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
gimpbycolorselecttool.c cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
gimpbycolorselecttool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimpclonetool.c Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +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 New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpcolorbalancetool.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpconvolvetool.c cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
gimpconvolvetool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpcroptool.c avoid modulo operation on negative values. 2000-10-26 22:02:44 +00:00
gimpcroptool.h Toggable tools! 1999-04-27 02:09:03 +00:00
gimpcurvestool.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpcurvestool.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpdodgeburntool.c cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +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 plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
gimpeditselectiontool.h plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
gimpellipseselecttool.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
gimpellipseselecttool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimperasertool.c app/convolve.c app/dodgeburn.c app/eraser.c app/paint_core.c fixed my tool 2000-06-14 14:22:47 +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 Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +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 plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
gimpfreeselecttool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimpfuzzyselecttool.c plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
gimpfuzzyselecttool.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimphistogramtool.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
gimphistogramtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimphuesaturationtool.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimphuesaturationtool.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +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 Let the user choose between elliptical, square, and diamond shaped brushes 1999-02-03 04:29:08 +00:00
gimpinktool.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
gimpinktool.h Added new files for handling scan-converted convex polygons. (From gsumi) 1998-06-14 22:42:36 +00:00
gimpiscissorstool.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
gimpiscissorstool.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimplevelstool.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimplevelstool.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpmagnifytool.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
gimpmagnifytool.h Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
gimpmeasuretool.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
gimpmeasuretool.h Added new measure tool. 1999-08-15 15:59:06 +00:00
gimpmovetool.c plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
gimpmovetool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimppaintoptions-gui.h app/paint_options.h put the pointer to tool's private context to the 2000-02-18 21:22:13 +00:00
gimppenciltool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimppenciltool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpperspectivetool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimpperspectivetool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpposterizetool.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpposterizetool.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimprectselecttool.c plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
gimprectselecttool.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
gimpregionselecttool.c plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
gimpregionselecttool.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimprotatetool.c avoid modulo operation on negative values. 2000-10-26 22:02:44 +00:00
gimprotatetool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpscaletool.c avoid modulo operation on negative values. 2000-10-26 22:02:44 +00:00
gimpscaletool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpselectionoptions.h app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
gimpsheartool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimpsheartool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpsmudgetool.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +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 Makefile.am app/cursorutil.[ch] app/tools.c added lots of new cursors and 2000-06-14 10:59:16 +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 plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
gimptexttool.h if we cannot load the font we'd like to use, use the gtk+ default font. 2000-04-05 22:59:44 +00:00
gimpthresholdtool.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
gimpthresholdtool.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
histogram_tool.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +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 New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
hue_saturation.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
ink.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
ink.h Added new files for handling scan-converted convex polygons. (From gsumi) 1998-06-14 22:42:36 +00:00
iscissors.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
iscissors.h added a G_PI_2 1999-08-16 03:43:48 +00:00
levels.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
levels.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
magnify.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
magnify.h Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
measure.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
measure.h Added new measure tool. 1999-08-15 15:59:06 +00:00
move.c plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
move.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
paint_core.c app/paint_core.c 2000-06-27 21:26:59 +00:00
paint_core.h indentation, no real changes 2000-06-05 22:08:45 +00:00
paint_core_kernels.h app/Makefile.am app/paint_core.c moved brush subsampling kernels into its 2000-05-29 08:40:29 +00:00
paint_options.h app/paint_options.h put the pointer to tool's private context to the 2000-02-18 21:22:13 +00:00
paintbrush.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +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 allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +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/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
pencil.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
perspective_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
perspective_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
posterize.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
posterize.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
rect_select.c plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
rect_select.h app/bezier_select.h app/bezier_selectP.h app/by_color_select.[ch] 2000-03-28 23:39:32 +00:00
rect_selectP.h added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
rotate_tool.c avoid modulo operation on negative values. 2000-10-26 22:02:44 +00:00
rotate_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
scale_tool.c avoid modulo operation on negative values. 2000-10-26 22:02:44 +00:00
scale_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
selection_options.h app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
shear_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
shear_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
smudge.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +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 plugged memleak (similar to the one that was present in 2000-10-23 09:05:45 +00:00
text_tool.h if we cannot load the font we'd like to use, use the gtk+ default font. 2000-04-05 22:59:44 +00:00
threshold.c New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
threshold.h New dialog_hide functions which are utilised from convert.c to hide 2000-09-29 01:22:27 +00:00
tool_options.c app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
tool_options.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
tools.c use gimp_dialog_hide() instead of gtk_widget_hide(). Closes bug #19164. 2000-07-30 00:24:40 +00:00
tools.h cursors/background.xbm cursors/background_mask.xbm cursors/foreground.xbm 2000-07-29 16:12:40 +00:00
transform_core.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
transform_core.h app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
transform_tool.c it's more intelligent to implement the parent_context stuff with 2000-02-22 17:06:44 +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 allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
xinput_airbrush.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00